US Veterans Health Administration FHIR Map Set Implementation Guide
1.3.1 - 250401 United States of America flag

Publication Build: This will be filled in by the publication tooling

Resource Profile: EncounterOutpatient - Mappings

Active as of 2025-03-31

Mappings for the EncounterOutpatient resource profile.

Scroll down for the Raw FHIR, CDW & SDA mappings (if any).

Note that the CDW and SDA mappings are derived from a look-up based on the VistA source mappings in CDW and VPR SDA.

Mapping Sources

Use Case: Encounter: Outpatient (Source)ICD DIAGNOSIS (80).01CODE NUMBERCPT (81).01CPT CODE2SHORT NAMENEW PERSON (200)PATIENT/IHS (9000001).01NAMEVISIT (9000010).01VISIT/ADMIT DATE&TIME.05PATIENT NAME.06LOC. OF ENCOUNTER.07SERVICE CATEGORY.08DSS ID.18CHECK OUT DATE&TIME.22HOSPITAL LOCATION15001VISIT ID15002PATIENT STATUS IN/OUTOUTPATIENT ENCOUNTER (409.68).1APPOINTMENT TYPEAPPOINTMENT TYPE (409.1).01NAMEV POV (9000010.07).01POV.16PROBLEM LIST ENTRYLOCATION (9999999.06).01NAMEV PROVIDER (9000010.06).01PROVIDER.04PRIMARY/SECONDARYV CPT (9000010.18).01CPT[SERVICE CONNECTED][Not SERVICE CONNECTED]

Raw Mappings

key status direction source mapApproach mapCase FHIR Path subPath mapValue mapParameter mapComment FHIR URL | Ver
429 team-approved V2F VISIT - VISIT ID (9000010-15001) source value Encounter.identifier .value .system=http://va.gov/identifiers/$Sta3n/9000010-15001 http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
429-1 team-approved V2F fixed value Encounter.identifier .system http://va.gov/identifiers/$Sta3n/9000010-15001 generated from mapParameter line 1 http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
430 team-approved V2F VISIT - VISIT/ADMIT DATE&TIME (9000010-.01) fixed value null or > now Encounter.status #planned http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
431 team-approved V2F VISIT - VISIT/ADMIT DATE&TIME (9000010-.01) fixed value not null, < now, .18 null Encounter.status #in-progress http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
432 team-approved V2F VISIT - CHECK OUT DATE&TIME (9000010-.18) fixed value not null, < now Encounter.status #finished http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
2035 for review V2F OUTPATIENT ENCOUNTER - APPOINTMENT TYPE > APPOINTMENT TYPE - NAME (409.68-.1 > 409.1-.01) fixed value SERVICE CONNECTED Encounter.extension[http://va.gov/fhir/StructureDefinition/resource-serviceConnection].valueCoding http://va.gov/fhir/vistaDefinedTerms/409.1#SC "Service Connected" Outpatient Encounter points to Visit (409.68-.05) http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
2036 for review V2F OUTPATIENT ENCOUNTER - APPOINTMENT TYPE > APPOINTMENT TYPE - NAME (409.68-.1 > 409.1-.01) fixed value Not SERVICE CONNECTED Encounter.extension[http://va.gov/fhir/StructureDefinition/resource-serviceConnection].valueCoding http://va.gov/fhir/vistaDefinedTerms/409.1#NSC "Not Service Connected" Outpatient Encounter points to Visit (409.68-.05) http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
439 team-approved V2F VISIT - SERVICE CATEGORY (9000010-.07) source value Encounter.serviceType.coding .code .system=http://va.gov/terminology/VistADefinedTerms/9000010-.07 http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
439-1 team-approved V2F fixed value Encounter.serviceType.coding .system http://va.gov/terminology/VistADefinedTerms/9000010-.07 generated from mapParameter line 1 http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
440 team-approved V2F VISIT - PATIENT NAME > PATIENT/IHS - NAME (9000010-.05 > 9000001-.01) reference Encounter.subject /Patient http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
443 team-approved V2F VISIT - VISIT/ADMIT DATE&TIME (9000010-.01) source value Encounter.period .start http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
444 team-approved V2F VISIT - CHECK OUT DATE&TIME (9000010-.18) source value Encounter.period .end http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
447 team-approved V2F V POV - POV > ICD DIAGNOSIS - CODE NUMBER (9000010.07-.01 > 80-.01) source value Encounter.reasonCode.coding .code .system=termmap({VF_ICDCodingSystems,CODING SYSTEM(1.1)}) http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
447-1 team-approved V2F fixed value Encounter.reasonCode.coding .system urn:see-termmap-in-mapParameter generated from mapParameter line 1 http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
452 team-approved V2F V POV - PROBLEM LIST ENTRY (9000010.07-.16) reference Encounter.diagnosis.condition /ConditionEncounterDiagnosis http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
2030 for review V2F target not supported Encounter.hospitalization because of must-support: Outpatient so no hospitalization http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
458 team-approved V2F VISIT - DSS ID (9000010-.08) reference Encounter.location[va-stop].location /Location Stop Code http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
459 team-approved V2F VISIT - HOSPITAL LOCATION (9000010-.22) reference Encounter.location[va-loc].location /Location http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
614 for review V2F VISIT - PATIENT STATUS IN/OUT (9000010-15002) terminologyMaps Encounter.class VF_encounterClass 84% are Outpatient (2024 Jan-Mar) http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
1599 for review V2F VISIT - LOC. OF ENCOUNTER > LOCATION - NAME (9000010-.06 > 9999999.06-.01) reference Encounter.serviceProvider /Organization http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
1614 for review V2F V PROVIDER - PROVIDER > NEW PERSON (9000010.06-.01 > 200-) reference Encounter.participant .individual /Practitioner http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
1854 for review V2F V PROVIDER - PRIMARY/SECONDARY (9000010.06-.04) terminologyMaps Encounter.participant .type VF_encounterParticipationType http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
1615 for review V2F V CPT - CPT > CPT (9000010.18-.01 > 81-) source value Encounter.type .coding.system=http://www.ama-assn.org/go/cpt
.coding.code = {CPT CODE (.01)}
.coding.display = {SHORT NAME (2)} 
.text = {SHORT NAME (2)}
http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
1615-1 for review V2F fixed value Encounter.type .coding.system http://www.ama-assn.org/go/cpt generated from mapParameter line 1 http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
1615-2 for review V2F V CPT - CPT > CPT - CPT CODE (9000010.18-.01 > 81-.01) source value Encounter.type .coding.code generated from mapParameter line 2 http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
1615-3 for review V2F V CPT - CPT > CPT - SHORT NAME (9000010.18-.01 > 81-2) source value Encounter.type .coding.display generated from mapParameter line 3 http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
1615-4 for review V2F V CPT - CPT > CPT - SHORT NAME (9000010.18-.01 > 81-2) source value Encounter.type .text generated from mapParameter line 4 http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
1799 for review V2F target not supported Encounter.participant.period http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1

Mappings for Veterans Health Information Systems Technology and Architecture (VistA) ()

EncounterOutpatient
Encounter
   extension
   extension (resource-serviceConnection)
      value[x]2035: fixed value = http://va.gov/fhir/vistaDefinedTerms/409.1#SC "Service Connected" when OUTPATIENT ENCOUNTER - APPOINTMENT TYPE > APPOINTMENT TYPE - NAME (409.68-.1 > 409.1-.01) if SERVICE CONNECTED, 2036: fixed value = http://va.gov/fhir/vistaDefinedTerms/409.1#NSC "Not Service Connected" when OUTPATIENT ENCOUNTER - APPOINTMENT TYPE > APPOINTMENT TYPE - NAME (409.68-.1 > 409.1-.01) if Not SERVICE CONNECTED

Outpatient Encounter points to Visit (409.68-.05)

,

Outpatient Encounter points to Visit (409.68-.05)

   identifier
      system429-1: fixed value = http://va.gov/identifiers/$Sta3n/9000010-15001

generated from mapParameter line 1

      value429: source value based on VISIT - VISIT ID (9000010-15001)
   status430: fixed value = #planned when VISIT - VISIT/ADMIT DATE&TIME (9000010-.01) if null or > now, 431: fixed value = #in-progress when VISIT - VISIT/ADMIT DATE&TIME (9000010-.01) if not null, < now, .18 null, 432: fixed value = #finished when VISIT - CHECK OUT DATE&TIME (9000010-.18) if not null, < now, ,
   class614: terminologyMaps using VF_encounterClass on VISIT - PATIENT STATUS IN/OUT (9000010-15002)

84% are Outpatient (2024 Jan-Mar)

   type1615: source value based on V CPT - CPT > CPT (9000010.18-.01 > 81-)
      coding
         system1615-1: fixed value = http://www.ama-assn.org/go/cpt

generated from mapParameter line 1

         code1615-2: source value based on V CPT - CPT > CPT - CPT CODE (9000010.18-.01 > 81-.01)

generated from mapParameter line 2

         display1615-3: source value based on V CPT - CPT > CPT - SHORT NAME (9000010.18-.01 > 81-2)

generated from mapParameter line 3

      text1615-4: source value based on V CPT - CPT > CPT - SHORT NAME (9000010.18-.01 > 81-2)

generated from mapParameter line 4

   serviceType
      coding
         system439-1: fixed value = http://va.gov/terminology/VistADefinedTerms/9000010-.07

generated from mapParameter line 1

         code439: source value based on VISIT - SERVICE CATEGORY (9000010-.07)
   subject440: reference based on VISIT - PATIENT NAME > PATIENT/IHS - NAME (9000010-.05 > 9000001-.01)
   participant
      type1854: terminologyMaps using VF_encounterParticipationType on V PROVIDER - PRIMARY/SECONDARY (9000010.06-.04)
      period1799: target not supported
      individual1614: reference based on V PROVIDER - PROVIDER > NEW PERSON (9000010.06-.01 > 200-)
   period
      start443: source value based on VISIT - VISIT/ADMIT DATE&TIME (9000010-.01)
      end444: source value based on VISIT - CHECK OUT DATE&TIME (9000010-.18)
   reasonCode
      coding
         system447-1: fixed value = urn:see-termmap-in-mapParameter

generated from mapParameter line 1

         code447: source value based on V POV - POV > ICD DIAGNOSIS - CODE NUMBER (9000010.07-.01 > 80-.01)
   diagnosis
      condition452: reference based on V POV - PROBLEM LIST ENTRY (9000010.07-.16)
   hospitalization2030: target not supported

because of must-support: Outpatient so no hospitalization

   location
   location (va-stop)
      location458: reference based on VISIT - DSS ID (9000010-.08)

Stop Code

   location (va-loc)
      location459: reference based on VISIT - HOSPITAL LOCATION (9000010-.22)
   serviceProvider1599: reference based on VISIT - LOC. OF ENCOUNTER > LOCATION - NAME (9000010-.06 > 9999999.06-.01)

Mappings for Clinical Data Warehouse (CDW) ()

EncounterOutpatient
Encounter
   extension
   extension (resource-serviceConnection)
      value[x]Outpat.Visit.AppointmentTypeIEN,Outpat.Workload.AppointmentTypeIEN Dim.AppointmentType.AppointmentType
   identifier
      valueOutpat.Visit.VisitIdentifier,Outpat.Workload.VisitIdentifier
   statusImmun.ImmunizationContraRefusalEvent.VisitDateTime,Outpat.Visit.VisitDateTime,Outpat.VisitLogic.VisitDateTime,Outpat.Workload.VisitDateTime, Outpat.Visit.CheckOutDateTime,Outpat.Workload.CheckOutDateTime
   classOutpat.Visit.PatientStatusInOut,Outpat.Workload.PatientStatusInOut
   typeOutpat.VProcedure.CPTIEN,Outpat.VProcedureCPTModifier.CPTIEN,Outpat.VProcedureDiagnosis.CPTIEN,Outpat.WorkloadVProcedure.CPTIEN,Outpat.WorkloadVProcedureCPTModifier.CPTIEN,Outpat.WorkloadVProcedureDiagnosis.CPTIEN
      coding
         codeOutpat.VProcedure.CPTIEN,Outpat.VProcedureCPTModifier.CPTIEN,Outpat.VProcedureDiagnosis.CPTIEN,Outpat.WorkloadVProcedure.CPTIEN,Outpat.WorkloadVProcedureCPTModifier.CPTIEN,Outpat.WorkloadVProcedureDiagnosis.CPTIEN Dim.CPT.CPTCode,Dim.CPT.CPTCode
         displayOutpat.VProcedure.CPTIEN,Outpat.VProcedureCPTModifier.CPTIEN,Outpat.VProcedureDiagnosis.CPTIEN,Outpat.WorkloadVProcedure.CPTIEN,Outpat.WorkloadVProcedureCPTModifier.CPTIEN,Outpat.WorkloadVProcedureDiagnosis.CPTIEN Dim.CPT.CPTName,Dim.CPT.CPTName
      textOutpat.VProcedure.CPTIEN,Outpat.VProcedureCPTModifier.CPTIEN,Outpat.VProcedureDiagnosis.CPTIEN,Outpat.WorkloadVProcedure.CPTIEN,Outpat.WorkloadVProcedureCPTModifier.CPTIEN,Outpat.WorkloadVProcedureDiagnosis.CPTIEN Dim.CPT.CPTName,Dim.CPT.CPTName
   serviceType
      coding
         codeOutpat.Visit.ServiceCategory,Outpat.Workload.ServiceCategory
   subjectOutpat.Visit.PatientIEN,Outpat.Workload.PatientIEN
   participant
      typeOutpat.VProvider.PrimarySecondary,Outpat.WorkloadVProvider.PrimarySecondary
      individualOutpat.VProvider.ProviderIEN,Outpat.WorkloadVProvider.ProviderIEN
   period
      startImmun.ImmunizationContraRefusalEvent.VisitDateTime,Outpat.Visit.VisitDateTime,Outpat.VisitLogic.VisitDateTime,Outpat.Workload.VisitDateTime
      endOutpat.Visit.CheckOutDateTime,Outpat.Workload.CheckOutDateTime
   reasonCode
      coding
         codeOutpat.VDiagnosis.ICDIEN,Outpat.WorkloadVDiagnosis.ICDIEN Dim.ICD10.ICD10Code,Dim.ICD9.ICD9Code
   diagnosis
      conditionOutpat.VDiagnosis.ProblemListIEN,Outpat.WorkloadVDiagnosis.ProblemListIEN
   location
   location (va-stop)
      locationOutpat.Visit.PrimaryStopCodeIEN,Outpat.Visit.SecondaryStopCodeIEN,Outpat.Workload.PrimaryStopCodeIEN,Outpat.Workload.SecondaryStopCodeIEN
   location (va-loc)
      locationOutpat.Visit.LocationIEN,Outpat.Workload.LocationIEN
   serviceProviderOutpat.Visit.InstitutionIEN,Outpat.Workload.InstitutionIEN

Mappings for Summary Document Architecure (SDA) ()

EncounterOutpatient
Encounter
   identifier
      valueEncounter.Extension[EncounterExtension].VisitID,Encounter.Extension[EncounterExtension].VisitID
   statusEncounter.ConsultingClinician[CareProvider].Description,Encounter.ConsultingClinician[CareProvider].Name, Encounter.ToTime
   typeEncounter.Extension[EncounterExtension].Cpt,Encounter.Extension[EncounterExtension].Cpt,Procedure.Procedure,Procedure.Procedure[CodeTableDetail.Procedure].Code
      coding
         codeEncounter.Extension[EncounterExtension].Cpt,Encounter.Extension[EncounterExtension].Cpt,Procedure.Procedure,Procedure.Procedure[CodeTableDetail.Procedure].Code
         displayEncounter.Extension[EncounterExtension].Cpt,Encounter.Extension[EncounterExtension].Cpt,Procedure.Procedure,Procedure.Procedure[CodeTableDetail.Procedure].Code
      textEncounter.Extension[EncounterExtension].Cpt,Encounter.Extension[EncounterExtension].Cpt,Procedure.Procedure,Procedure.Procedure[CodeTableDetail.Procedure].Code
   serviceType
      coding
         codeEncounter.EncounterCodedType,Encounter.ExternalId,Encounter.ToTime
   subjectEncounter.EncounterMRN
   participant
      individualEncounter.ConsultingClinicians
   period
      startEncounter.ConsultingClinician[CareProvider].Description,Encounter.ConsultingClinician[CareProvider].Name
      endEncounter.ToTime
   reasonCode
      coding
         codeDiagnosis.Diagnosis,Diagnosis.Diagnosis[CodeTableDetail.Diagnosis].Code
   diagnosis
      conditionDiagnosis.Extension[DiagnosisExtension].ProblemId
   location
   location (va-stop)
      locationEncounter.Extension[EncounterExtension].StopCode
   location (va-loc)
      locationEncounter.ExternalId,Encounter.HealthCareFacility
   serviceProviderEncounter.EncounterMRNAA,Encounter.EncounterNumberAssigningAuthority,Encounter.EnteredAt

Mappings for Workflow Pattern (http://hl7.org/fhir/workflow)

EncounterOutpatient
EncounterEvent
   identifierEvent.identifier
   statusEvent.status
   typeEvent.code
   serviceTypeEvent.code
   subjectEvent.subject
   episodeOfCareEvent.context
   basedOnEvent.basedOn
   participantEvent.performer
      typeEvent.performer.function
      individualEvent.performer.actor
   appointmentEvent.basedOn
   periodEvent.occurrence[x]
   lengthEvent.occurrence[x]
   reasonCodeEvent.reasonCode
   reasonReferenceEvent.reasonCode
   diagnosis
      conditionEvent.reasonReference
   location
      locationEvent.location
   location (va-stop)
      locationEvent.location
   location (va-loc)
      locationEvent.location
   serviceProviderEvent.performer.actor
   partOfEvent.partOf

Mappings for RIM Mapping (http://hl7.org/v3)

EncounterOutpatient
EncounterEntity. Role, or Act, Encounter[@moodCode='EVN']
   textAct.text?
   containedN/A
   extension
   extension (resource-serviceConnection)
      idn/a
      urlN/A
      value[x]N/A
   modifierExtensionN/A
   identifier.id
      idn/a
      extensionn/a
      useRole.code or implied by context
      typeRole.code or implied by context
      systemII.root or Role.id.root
      valueII.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
      periodRole.effectiveTime or implied by context
      assignerII.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
   status.statusCode
   statusHistoryn/a
      idn/a
      extensionn/a
      modifierExtensionN/A
      statusn/a
      periodn/a
   class.inboundRelationship[typeCode=SUBJ].source[classCode=LIST].code
   classHistoryn/a
      idn/a
      extensionn/a
      modifierExtensionN/A
      classn/a
      periodn/a
   type.code
      idn/a
      extensionn/a
      codingunion(., ./translation)
         idn/a
         extensionn/a
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.codingRationale
      text./originalText[mediaType/code="text/plain"]/data
   serviceTypen/a
      idn/a
      extensionn/a
      codingunion(., ./translation)
         idn/a
         extensionn/a
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.codingRationale
      text./originalText[mediaType/code="text/plain"]/data
   priority.priorityCode
   subject.participation[typeCode=SBJ]/role[classCode=PAT]
   episodeOfCaren/a
   basedOn.reason.ClinicalDocument
   participant.participation[typeCode=PFM]
      idn/a
      extensionn/a
      modifierExtensionN/A
      type.functionCode
      period.time
      individual.role
   appointment.outboundRelationship[typeCode=FLFS].target[classCode=ENC, moodCode=APT]
   period.effectiveTime (low & high)
      idn/a
      extensionn/a
      start./low
      end./high
   length.lengthOfStayQuantity
   reasonCode.reasonCode
      idn/a
      extensionn/a
      codingunion(., ./translation)
         idn/a
         extensionn/a
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.codingRationale
      text./originalText[mediaType/code="text/plain"]/data
   reasonReference.reasonCode
   diagnosis.outboundRelationship[typeCode=RSON]
      idn/a
      extensionn/a
      modifierExtensionN/A
      condition.outboundRelationship[typeCode=RSON].target
      usen/a
      rank.outboundRelationship[typeCode=RSON].priority
   account.pertains.A_Account
   hospitalization.outboundRelationship[typeCode=COMP].target[classCode=ENC, moodCode=EVN]
      idn/a
      extensionn/a
      modifierExtensionN/A
      preAdmissionIdentifier.id
      origin.participation[typeCode=ORG].role
      admitSource.admissionReferralSourceCode
      reAdmissionn/a
      dietPreference.outboundRelationship[typeCode=COMP].target[classCode=SBADM, moodCode=EVN, code="diet"]
      specialCourtesy.specialCourtesiesCode
      specialArrangement.specialArrangementCode
      destination.participation[typeCode=DST]
      dischargeDisposition.dischargeDispositionCode
   location.participation[typeCode=LOC]
      idn/a
      extensionn/a
      modifierExtensionN/A
      location.role
      status.role.statusCode
      period.time
   location (va-stop).participation[typeCode=LOC]
      idn/a
      extensionn/a
      modifierExtensionN/A
      location.role
      status.role.statusCode
      period.time
   location (va-loc).participation[typeCode=LOC]
      idn/a
      extensionn/a
      modifierExtensionN/A
      location.role
      status.role.statusCode
      period.time
   serviceProvider.particiaption[typeCode=PFM].role
   partOf.inboundRelationship[typeCode=COMP].source[classCode=COMP, moodCode=EVN]

Mappings for FiveWs Pattern Mapping (http://hl7.org/fhir/fivews)

EncounterOutpatient
Encounter
   identifierFiveWs.identifier
   statusFiveWs.status
   classFiveWs.class
   typeFiveWs.class
   priorityFiveWs.grade
   subjectFiveWs.subject[x], FiveWs.subject
   episodeOfCareFiveWs.context
   participant
      individualFiveWs.who
   periodFiveWs.done[x]
   reasonCodeFiveWs.why[x]
   reasonReferenceFiveWs.why[x]
   diagnosis
      conditionFiveWs.why[x]
   location
      locationFiveWs.where[x]
   location (va-stop)
      locationFiveWs.where[x]
   location (va-loc)
      locationFiveWs.where[x]

Mappings for HL7 v2 Mapping (http://hl7.org/v2)

EncounterOutpatient
Encounter
   identifierPV1-19
      useN/A
      typeCX.5
      systemCX.4 / EI-2-4
      valueCX.1 / EI.1
      periodCX.7 + CX.8
      assignerCX.4 / (CX.4,CX.9,CX.10)
   statusNo clear equivalent in HL7 v2; active/finished could be inferred from PV1-44, PV1-45, PV2-24; inactive could be inferred from PV2-16
   classPV1-2
   typePV1-4 / PV1-18
      codingC*E.1-8, C*E.10-22
         systemC*E.3
         versionC*E.7
         codeC*E.1
         displayC*E.2 - but note this is not well followed
         userSelectedSometimes implied by being first
      textC*E.9. But note many systems use C*E.2 for this
   serviceTypePV1-10
      codingC*E.1-8, C*E.10-22
         systemC*E.3
         versionC*E.7
         codeC*E.1
         displayC*E.2 - but note this is not well followed
         userSelectedSometimes implied by being first
      textC*E.9. But note many systems use C*E.2 for this
   priorityPV2-25
   subjectPID-3
   episodeOfCarePV1-54, PV1-53
   participantROL
      typeROL-3 (or maybe PRT-4)
      periodROL-5, ROL-6 (or maybe PRT-5)
      individualROL-4
   appointmentSCH-1 / SCH-2
   periodPV1-44, PV1-45
      startDR.1
      endDR.2
   length(PV1-45 less PV1-44) iff ( (PV1-44 not empty) and (PV1-45 not empty) ); units in minutes
   reasonCodeEVN-4 / PV2-3 (note: PV2-3 is nominally constrained to inpatient admissions; HL7 v2 makes no vocabulary suggestions for PV2-3; would not expect PV2 segment or PV2-3 to be in use in all implementations )
      codingC*E.1-8, C*E.10-22
         systemC*E.3
         versionC*E.7
         codeC*E.1
         displayC*E.2 - but note this is not well followed
         userSelectedSometimes implied by being first
      textC*E.9. But note many systems use C*E.2 for this
   reasonReferenceEVN-4 / PV2-3 (note: PV2-3 is nominally constrained to inpatient admissions; HL7 v2 makes no vocabulary suggestions for PV2-3; would not expect PV2 segment or PV2-3 to be in use in all implementations )
   diagnosis
      conditionResources that would commonly referenced at Encounter.indication would be Condition and/or Procedure. These most closely align with DG1/PRB and PR1 respectively.
   hospitalization
      preAdmissionIdentifierPV1-5
      admitSourcePV1-14
      reAdmissionPV1-13
      dietPreferencePV1-38
      specialCourtesyPV1-16
      specialArrangementPV1-15 / OBR-30 / OBR-43
      destinationPV1-37
      dischargeDispositionPV1-36
   location
      locationPV1-3 / PV1-6 / PV1-11 / PV1-42 / PV1-43
   location (va-stop)
      locationPV1-3 / PV1-6 / PV1-11 / PV1-42 / PV1-43
   location (va-loc)
      locationPV1-3 / PV1-6 / PV1-11 / PV1-42 / PV1-43
   serviceProviderPL.6 & PL.1