US Veterans Health Administration FHIR Map Set Implementation Guide
1.6.49 - 250701 United States of America flag

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

Resource Profile: EncounterInpatientEncounter - Mappings

Draft as of 2025-06-13

Mappings for the EncounterInpatientEncounter resource profile.

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

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

Mapping Sources

Use Case: Encounter: Inpatient (Source)Use Case: Encounter: Inpatient (Source)WARD LOCATION (42)44HOSPITAL LOCATION FILE POINTERPTF (45).001NUMBER.01PATIENT2ADMISSION DATE2.1INTERNAL ADMISSION #2.2WARD AT DISCHARGE3FACILITY20SOURCE OF ADMISSION21.1TRANSFERRING FACILITY70DISCHARGE DATE75PLACE OF DISPOSITION76.1RECEIVING FACILITY79PRINCIPAL DIAGNOSIS79.1PROVIDER79.*SECONDARY DIAGNOSIS 1-2445.01+to+45.05PROCEDURE 1-5INPATIENT CPT CODE (46).01CPT CODEICD DIAGNOSIS (80).01CODE NUMBERCPT (81).01CPT CODE2SHORT NAMEICD OPERATION/PROCEDURE (80.1).01CODE NUMBERSOURCE OF ADMISSION (45.1).01PTF CODE

Cross Mappings

FHIR Path VistA CDW SDA VPR
Encounter.identifier[va-IEN].value 45-.001      
Encounter.identifier[va-IA].value 45-2.1      
Encounter.status 45-70 Inpat.Census.CensusDateSID
Inpat.Census.CensusDateTime
Inpat.Census501.CensusDateTime
Inpat.Census501Diagnosis.CensusDateTime
Inpat.Census535.CensusDateTime
Inpat.CensusDiagnosis.CensusDateTime
Inpat.CensusICDProcedure.CensusDateTime
Inpat.CensusSurgicalProcedure.CensusDateTime
Inpat.Inpatient.DischargeDateTime
Inpat.Inpatient501Transaction.DischargeDateTime
Inpat.Inpatient501TransactionDiagnosis.DischargeDateTime
Inpat.Inpatient535Multiple.DischargeDateTime
Inpat.Inpatient535Transaction.DischargeDateTime
Inpat.InpatientDiagnosis.DischargeDateTime
Inpat.InpatientFeeBasis.DischargeDateTime
Inpat.InpatientFeeDiagnosis.DischargeDateTime
Inpat.InpatientICDProcedure.DischargeDateTime
Inpat.InpatientSurgicalProcedure.DischargeDateTime
Diagnosis.ToTime  
Encounter.subject 45-.01 Inpat.Census.PatientIEN
Inpat.Census501.PatientIEN
Inpat.Census501.PatientSID
Inpat.Census535.PatientIEN
Inpat.CensusDiagnosis.PatientIEN
Inpat.CensusICDProcedure.PatientIEN
Inpat.CensusSurgicalProcedure.PatientIEN
Inpat.Inpatient.PatientIEN
Inpat.Inpatient501Transaction.PatientIEN
Inpat.Inpatient535Transaction.PatientIEN
Inpat.InpatientDiagnosis.PatientIEN
Inpat.InpatientDischargeDiagnosis.PatientIEN
Inpat.InpatientFeeBasis.PatientIEN
Inpat.InpatientFeeDiagnosis.PatientIEN
Inpat.InpatientICDProcedure.PatientIEN
Inpat.InpatientSurgicalProcedure.PatientIEN
Inpat.PresentOnAdmission.PatientIEN
Diagnosis.Diagnosis[CodeTableDetail.Diagnosis].Code  
Encounter.participant.individual 45-79.1   Diagnosis.DiagnosingClinician  
Encounter.period.start 45-2 Inpat.Census.AdmitDateSID
Inpat.Census.AdmitDateTime
Inpat.Census501.AdmitDateTime
Inpat.Census501Diagnosis.AdmitDateTime
Inpat.Census535.AdmitDateTime
Inpat.CensusDiagnosis.AdmitDateTime
Inpat.CensusICDProcedure.AdmitDateTime
Inpat.CensusSurgicalProcedure.AdmitDateTime
Inpat.Inpatient.AdmitDateTime
Inpat.Inpatient501Multiple.AdmitDateTime
Inpat.Inpatient501Transaction.AdmitDateTime
Inpat.Inpatient535Multiple.AdmitDateTime
Inpat.Inpatient535Transaction.AdmitDateTime
Inpat.InpatientDischargeDiagnosis.AdmitDateTime
Inpat.InpatientFeeBasis.AdmitDateTime
Inpat.InpatientFeeDiagnosis.AdmitDateTime
Inpat.InpatientICDProcedure.AdmitDateTime
Inpat.InpatientSurgicalProcedure.AdmitDateTime
Diagnosis.FromTime  
Encounter.period.end 45-70 Inpat.Census.CensusDateSID
Inpat.Census.CensusDateTime
Inpat.Census501.CensusDateTime
Inpat.Census501Diagnosis.CensusDateTime
Inpat.Census535.CensusDateTime
Inpat.CensusDiagnosis.CensusDateTime
Inpat.CensusICDProcedure.CensusDateTime
Inpat.CensusSurgicalProcedure.CensusDateTime
Inpat.Inpatient.DischargeDateTime
Inpat.Inpatient501Transaction.DischargeDateTime
Inpat.Inpatient501TransactionDiagnosis.DischargeDateTime
Inpat.Inpatient535Multiple.DischargeDateTime
Inpat.Inpatient535Transaction.DischargeDateTime
Inpat.InpatientDiagnosis.DischargeDateTime
Inpat.InpatientFeeBasis.DischargeDateTime
Inpat.InpatientFeeDiagnosis.DischargeDateTime
Inpat.InpatientICDProcedure.DischargeDateTime
Inpat.InpatientSurgicalProcedure.DischargeDateTime
Diagnosis.ToTime  
Encounter.reasonCode[va-principle].coding.code 45-79 Inpat.Inpatient.PrincipalDiagnosisICDIEN Diagnosis.Diagnosis
Diagnosis.DiagnosisType
 
Encounter.reasonCode[va-secondary].coding.code 80-.01 Dim.ICD10.ICD10Code
Dim.ICD9.ICD9Code
   
Encounter.reasonCode[va-procedure].coding.code 80.1-.01 Dim.ICD10Procedure.ICD10ProcedureCode
Dim.ICD9Procedure.ICD9ProcedureCode
   
Encounter.hospitalization.admitSource.coding.code 45.1-.01 Dim.AdmitSource.AdmitSourceCode    
Encounter.hospitalization.admitSource.coding 45.1-.01 Dim.AdmitSource.AdmitSourceCode    
Encounter.hospitalization.origin.display 45-21.1 Inpat.Census.TransferringFacility
Inpat.Inpatient.TransferFromFacility
Inpat.InpatientFeeBasis.TransferringFacility
   
Encounter.hospitalization.destination.display 45-76.1 Inpat.Census.ReceivingFacility
Inpat.Inpatient.TransferToFacility
Inpat.InpatientFeeBasis.ReceivingFacility
   
Encounter.hospitalization.dischargeDisposition.coding.code 45-75 Inpat.Census.PlaceOfDispositionIEN
Inpat.Inpatient.PlaceOfDispositionIEN
Inpat.InpatientFeeBasis.PlaceOfDispositionIEN
   
Encounter.location[va-ward].location 42-44 Dim.WardLocation.LocationIEN    
Encounter.location[va-facility].location 45-3 Inpat.Census.DischargeFacility
Inpat.Inpatient.DischargeFromFacility
Inpat.InpatientFeeBasis.DischargeFacility
Diagnosis.EnteredAt
Procedure.EnteredAt
 
Encounter.serviceProvider 45-3 Inpat.Census.DischargeFacility
Inpat.Inpatient.DischargeFromFacility
Inpat.InpatientFeeBasis.DischargeFacility
Diagnosis.EnteredAt
Procedure.EnteredAt
 
Encounter.type 81-      
Encounter.type.coding.code 81-.01 Dim.CPT.CPTCode
Dim.CPT.CPTCode
   
Encounter.type.coding.display 81-2 Dim.CPT.CPTName
Dim.CPT.CPTName
   
Encounter.type.text 81-2 Dim.CPT.CPTName
Dim.CPT.CPTName
   

Raw Mappings

key status direction source mapApproach mapCase FHIR Path subPath mapValue mapParameter mapComment FHIR URL | Ver
427 team-approved V2F PTF - NUMBER (45-.001) source value Encounter.identifier[va-IEN] .value .system= http://va.gov/identifiers/$Sta3n/45
.type.text = "IEN"
removed use=IFN typo and split of class to new mapset row http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
1601 for review V2F fixed value Encounter.class http://terminology.hl7.org/CodeSystem/v3-ActCode#IMP http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
428 team-approved V2F PTF - INTERNAL ADMISSION # (45-2.1) source value Encounter.identifier[va-IA] .value .system=http://va.gov/identifiers/$Sta3n/45-2.1
.type.text = "Internal Admission #"
http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
433 team-approved V2F PTF - ADMISSION DATE (45-2) fixed value null or > now Encounter.status #planned http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
434 team-approved V2F PTF - ADMISSION DATE (45-2) fixed value not null, < now, field 70 null Encounter.status #in-progress http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
435 team-approved V2F PTF - DISCHARGE DATE (45-70) fixed value not null Encounter.status #finished http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
441 team-approved V2F PTF - PATIENT (45-.01) reference Encounter.subject /Patient http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
442 team-approved V2F PTF - PROVIDER (45-79.1) reference Encounter.participant .individual /Practitioner .type.coding = http://terminology.hl7.org/CodeSystem/v3-ParticipationType#PPRF http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
445 team-approved V2F PTF - ADMISSION DATE (45-2) source value Encounter.period .start http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
446 team-approved V2F PTF - DISCHARGE DATE (45-70) source value Encounter.period .end http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
448 team-approved V2F PTF - PRINCIPAL DIAGNOSIS (45-79) source value Encounter.reasonCode[va-principle].coding .code .system=termmap({VF_ICDCodingSystems,CODING SYSTEM(1.1)}) http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
1723 for review V2F reference Encounter.diagnosis .condition Condition .rank=1 This points to the Condition identified at #956 http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
449 team-approved V2F PTF - SECONDARY DIAGNOSIS 1-24 > ICD DIAGNOSIS - CODE NUMBER (45-79.* > 80-.01) source value Encounter.reasonCode[va-secondary].coding .code .system=termmap({VF_ICDCodingSystems,CODING SYSTEM(1.1)}) *) 79.16-79.19,79.201,79.21-79.24,79.241-79.249,79.2491,79.24911-79.24915 http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
450 team-approved V2F PTF - PROCEDURE 1-5 > ICD OPERATION/PROCEDURE - CODE NUMBER (45-45.01+to+45.05 > 80.1-.01) source value Encounter.reasonCode[va-procedure].coding .code .system=http://www.cms.gov/Medicare/Coding/ICD10 45.01-45.05 http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
453 team-approved V2F PTF - SOURCE OF ADMISSION > SOURCE OF ADMISSION - PTF CODE (45-20 > 45.1-.01) source value Encounter.hospitalization.admitSource.coding .code .system = http://va.gov/terminology/vistaDefinedTerms/45.1 http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
955 team-approved V2F PTF - SOURCE OF ADMISSION > SOURCE OF ADMISSION - PTF CODE (45-20 > 45.1-.01) terminologyMaps Encounter.hospitalization.admitSource.coding VF_SourceOfAdmission preferred binding http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
454 team-approved V2F PTF - TRANSFERRING FACILITY (45-21.1) source value Encounter.hospitalization.origin .display http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
455 team-approved V2F PTF - RECEIVING FACILITY (45-76.1) source value Encounter.hospitalization.destination .display http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
456 team-approved V2F PTF - PLACE OF DISPOSITION (45-75) source value Encounter.hospitalization.dischargeDisposition.coding .code .system = http://va.gov/terminology/vistaDefinedTerms/45.6 http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
460 team-approved V2F PTF - WARD AT DISCHARGE > WARD LOCATION - HOSPITAL LOCATION FILE POINTER (45-2.2 > 42-44) reference Encounter.location[va-ward].location /Location computed 45-2.2 is in CDW ; DIM WardLocation.SID 104.302 indirect pointer http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
461 team-approved V2F PTF - FACILITY (45-3) reference Encounter.location[va-facility].location /Location This is the Sta3n http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
1600 for review V2F PTF - FACILITY (45-3) reference Encounter.serviceProvider /Organization http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
1616 for review V2F INPATIENT CPT CODE - CPT CODE > CPT (46-.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
1800 for review V2F target not supported Encounter.participant.period http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter | 5.0.1
2144 in process V2F target not supported Encounter.reasonReference auto added because of must-support http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter

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

EncounterInpatientEncounter
Encounter
   identifier
      type
   identifier (va-IEN)
      type
         text427-2: fixed value = IEN

generated from mapParameter line 2

      system427-1: fixed value = http://va.gov/identifiers/$Sta3n/45

generated from mapParameter line 1

      value427: source value based on PTF - NUMBER (45-.001)

removed use=IFN typo and split of class to new mapset row

   identifier (va-IA)
      type
         text428-2: fixed value = Internal Admission #

generated from mapParameter line 2

      system428-1: fixed value = http://va.gov/identifiers/$Sta3n/45-2.1

generated from mapParameter line 1

      value428: source value based on PTF - INTERNAL ADMISSION # (45-2.1)
   status433: fixed value = #planned when PTF - ADMISSION DATE (45-2) if null or > now, 434: fixed value = #in-progress when PTF - ADMISSION DATE (45-2) if not null, < now, field 70 null, 435: fixed value = #finished when PTF - DISCHARGE DATE (45-70) if not null, ,
   class1601: fixed value = http://terminology.hl7.org/CodeSystem/v3-ActCode#IMP
   type1616: source value based on INPATIENT CPT CODE - CPT CODE > CPT (46-.01 > 81-)
      coding
         system1616-1: fixed value = http://www.ama-assn.org/go/cpt

generated from mapParameter line 1

         code1616-2: source value based on INPATIENT CPT CODE - CPT CODE > CPT - CPT CODE (46-.01 > 81-.01)

generated from mapParameter line 2

         display1616-3: source value based on INPATIENT CPT CODE - CPT CODE > CPT - SHORT NAME (46-.01 > 81-2)

generated from mapParameter line 3

      text1616-4: source value based on INPATIENT CPT CODE - CPT CODE > CPT - SHORT NAME (46-.01 > 81-2)

generated from mapParameter line 4

   subject441: reference based on PTF - PATIENT (45-.01)
   participant
      type
         coding442-1: fixed value = http://terminology.hl7.org/CodeSystem/v3-ParticipationType#PPRF

generated from mapParameter line 1

      period1800: target not supported
      individual442: reference based on PTF - PROVIDER (45-79.1)
   period
      start445: source value based on PTF - ADMISSION DATE (45-2)
      end446: source value based on PTF - DISCHARGE DATE (45-70)
   reasonCode
   reasonCode (va-principle)
      coding
         system448-1: fixed value = urn:see-termmap-in-mapParameter

generated from mapParameter line 1

         code448: source value based on PTF - PRINCIPAL DIAGNOSIS (45-79)
   reasonCode (va-secondary)
      coding
         system449-1: fixed value = urn:see-termmap-in-mapParameter

generated from mapParameter line 1

         code449: source value based on PTF - SECONDARY DIAGNOSIS 1-24 > ICD DIAGNOSIS - CODE NUMBER (45-79.* > 80-.01)

*) 79.16-79.19,79.201,79.21-79.24,79.241-79.249,79.2491,79.24911-79.24915

   reasonCode (va-procedure)
      coding
         system450-1: fixed value = http://www.cms.gov/Medicare/Coding/ICD10

generated from mapParameter line 1

         code450: source value based on PTF - PROCEDURE 1-5 > ICD OPERATION/PROCEDURE - CODE NUMBER (45-45.01+to+45.05 > 80.1-.01)

45.01-45.05

   reasonReference2144: target not supported

auto added because of must-support

   diagnosis
      condition1723: reference

This points to the Condition identified at #956

      rank1723-1: fixed value = 1

generated from mapParameter line 1

   hospitalization
      origin
         display454: source value based on PTF - TRANSFERRING FACILITY (45-21.1)
      admitSource
         coding955: terminologyMaps using VF_SourceOfAdmission on PTF - SOURCE OF ADMISSION > SOURCE OF ADMISSION - PTF CODE (45-20 > 45.1-.01)

preferred binding

            system453-1: fixed value = http://va.gov/terminology/vistaDefinedTerms/45.1

generated from mapParameter line 1

            code453: source value based on PTF - SOURCE OF ADMISSION > SOURCE OF ADMISSION - PTF CODE (45-20 > 45.1-.01)
      destination
         display455: source value based on PTF - RECEIVING FACILITY (45-76.1)
      dischargeDisposition
         coding
            system456-1: fixed value = http://va.gov/terminology/vistaDefinedTerms/45.6

generated from mapParameter line 1

            code456: source value based on PTF - PLACE OF DISPOSITION (45-75)
   location
   location (va-ward)
      location460: reference based on PTF - WARD AT DISCHARGE > WARD LOCATION - HOSPITAL LOCATION FILE POINTER (45-2.2 > 42-44)

computed 45-2.2 is in CDW ; DIM WardLocation.SID 104.302 indirect pointer

   location (va-facility)
      location461: reference based on PTF - FACILITY (45-3)

This is the Sta3n

   serviceProvider1600: reference based on PTF - FACILITY (45-3)

Mappings for Clinical Data Warehouse (CDW) ()

EncounterInpatientEncounter
Encounter
   statusInpat.Census.AdmitDateSID Inpat.Census.AdmitDateTime Inpat.Census501.AdmitDateTime Inpat.Census501Diagnosis.AdmitDateTime Inpat.Census535.AdmitDateTime Inpat.CensusDiagnosis.AdmitDateTime Inpat.CensusICDProcedure.AdmitDateTime Inpat.CensusSurgicalProcedure.AdmitDateTime Inpat.Inpatient.AdmitDateTime Inpat.Inpatient501Multiple.AdmitDateTime Inpat.Inpatient501Transaction.AdmitDateTime Inpat.Inpatient535Multiple.AdmitDateTime Inpat.Inpatient535Transaction.AdmitDateTime Inpat.InpatientDischargeDiagnosis.AdmitDateTime Inpat.InpatientFeeBasis.AdmitDateTime Inpat.InpatientFeeDiagnosis.AdmitDateTime Inpat.InpatientICDProcedure.AdmitDateTime Inpat.InpatientSurgicalProcedure.AdmitDateTime, Inpat.Census.CensusDateSID Inpat.Census.CensusDateTime Inpat.Census501.CensusDateTime Inpat.Census501Diagnosis.CensusDateTime Inpat.Census535.CensusDateTime Inpat.CensusDiagnosis.CensusDateTime Inpat.CensusICDProcedure.CensusDateTime Inpat.CensusSurgicalProcedure.CensusDateTime Inpat.Inpatient.DischargeDateTime Inpat.Inpatient501Transaction.DischargeDateTime Inpat.Inpatient501TransactionDiagnosis.DischargeDateTime Inpat.Inpatient535Multiple.DischargeDateTime Inpat.Inpatient535Transaction.DischargeDateTime Inpat.InpatientDiagnosis.DischargeDateTime Inpat.InpatientFeeBasis.DischargeDateTime Inpat.InpatientFeeDiagnosis.DischargeDateTime Inpat.InpatientICDProcedure.DischargeDateTime Inpat.InpatientSurgicalProcedure.DischargeDateTime
   typeInpat.InpatientCPTProcedure.CPTIEN
      coding
         codeInpat.InpatientCPTProcedure.CPTIEN Dim.CPT.CPTCode Dim.CPT.CPTCode
         displayInpat.InpatientCPTProcedure.CPTIEN Dim.CPT.CPTName Dim.CPT.CPTName
      textInpat.InpatientCPTProcedure.CPTIEN Dim.CPT.CPTName Dim.CPT.CPTName
   subjectInpat.Census.PatientIEN Inpat.Census501.PatientIEN Inpat.Census501.PatientSID Inpat.Census535.PatientIEN Inpat.CensusDiagnosis.PatientIEN Inpat.CensusICDProcedure.PatientIEN Inpat.CensusSurgicalProcedure.PatientIEN Inpat.Inpatient.PatientIEN Inpat.Inpatient501Transaction.PatientIEN Inpat.Inpatient535Transaction.PatientIEN Inpat.InpatientDiagnosis.PatientIEN Inpat.InpatientDischargeDiagnosis.PatientIEN Inpat.InpatientFeeBasis.PatientIEN Inpat.InpatientFeeDiagnosis.PatientIEN Inpat.InpatientICDProcedure.PatientIEN Inpat.InpatientSurgicalProcedure.PatientIEN Inpat.PresentOnAdmission.PatientIEN
   period
      startInpat.Census.AdmitDateSID Inpat.Census.AdmitDateTime Inpat.Census501.AdmitDateTime Inpat.Census501Diagnosis.AdmitDateTime Inpat.Census535.AdmitDateTime Inpat.CensusDiagnosis.AdmitDateTime Inpat.CensusICDProcedure.AdmitDateTime Inpat.CensusSurgicalProcedure.AdmitDateTime Inpat.Inpatient.AdmitDateTime Inpat.Inpatient501Multiple.AdmitDateTime Inpat.Inpatient501Transaction.AdmitDateTime Inpat.Inpatient535Multiple.AdmitDateTime Inpat.Inpatient535Transaction.AdmitDateTime Inpat.InpatientDischargeDiagnosis.AdmitDateTime Inpat.InpatientFeeBasis.AdmitDateTime Inpat.InpatientFeeDiagnosis.AdmitDateTime Inpat.InpatientICDProcedure.AdmitDateTime Inpat.InpatientSurgicalProcedure.AdmitDateTime
      endInpat.Census.CensusDateSID Inpat.Census.CensusDateTime Inpat.Census501.CensusDateTime Inpat.Census501Diagnosis.CensusDateTime Inpat.Census535.CensusDateTime Inpat.CensusDiagnosis.CensusDateTime Inpat.CensusICDProcedure.CensusDateTime Inpat.CensusSurgicalProcedure.CensusDateTime Inpat.Inpatient.DischargeDateTime Inpat.Inpatient501Transaction.DischargeDateTime Inpat.Inpatient501TransactionDiagnosis.DischargeDateTime Inpat.Inpatient535Multiple.DischargeDateTime Inpat.Inpatient535Transaction.DischargeDateTime Inpat.InpatientDiagnosis.DischargeDateTime Inpat.InpatientFeeBasis.DischargeDateTime Inpat.InpatientFeeDiagnosis.DischargeDateTime Inpat.InpatientICDProcedure.DischargeDateTime Inpat.InpatientSurgicalProcedure.DischargeDateTime
   reasonCode
   reasonCode (va-principle)
      coding
         codeInpat.Inpatient.PrincipalDiagnosisICDIEN
   reasonCode (va-secondary)
      coding
         codeDim.ICD10.ICD10Code Dim.ICD9.ICD9Code
   reasonCode (va-procedure)
      coding
         codeDim.ICD10Procedure.ICD10ProcedureCode Dim.ICD9Procedure.ICD9ProcedureCode
   hospitalization
      origin
         displayInpat.Census.TransferringFacility Inpat.Inpatient.TransferFromFacility Inpat.InpatientFeeBasis.TransferringFacility
      admitSource
         codingInpat.Census.AdmitSourceIEN Inpat.Inpatient.AdmitSourceIEN Inpat.InpatientFeeBasis.AdmitSourceIEN Dim.AdmitSource.AdmitSourceCode
            codeInpat.Census.AdmitSourceIEN Inpat.Inpatient.AdmitSourceIEN Inpat.InpatientFeeBasis.AdmitSourceIEN Dim.AdmitSource.AdmitSourceCode
      destination
         displayInpat.Census.ReceivingFacility Inpat.Inpatient.TransferToFacility Inpat.InpatientFeeBasis.ReceivingFacility
      dischargeDisposition
         coding
            codeInpat.Census.PlaceOfDispositionIEN Inpat.Inpatient.PlaceOfDispositionIEN Inpat.InpatientFeeBasis.PlaceOfDispositionIEN
   location
   location (va-ward)
      locationInpat.Inpatient.Discharge45WardLocationIEN Dim.WardLocation.LocationIEN
   location (va-facility)
      locationInpat.Census.DischargeFacility Inpat.Inpatient.DischargeFromFacility Inpat.InpatientFeeBasis.DischargeFacility
   serviceProviderInpat.Census.DischargeFacility Inpat.Inpatient.DischargeFromFacility Inpat.InpatientFeeBasis.DischargeFacility

Mappings for Summary Document Architecure (SDA) ()

EncounterInpatientEncounter
Encounter
   statusDiagnosis.FromTime, Diagnosis.ToTime
   subjectDiagnosis.Diagnosis[CodeTableDetail.Diagnosis].Code
   participant
      individualDiagnosis.DiagnosingClinician
   period
      startDiagnosis.FromTime
      endDiagnosis.ToTime
   reasonCode
   reasonCode (va-principle)
      coding
         codeDiagnosis.Diagnosis Diagnosis.DiagnosisType
   location
   location (va-ward)
   location (va-facility)
      locationDiagnosis.EnteredAt Procedure.EnteredAt
   serviceProviderDiagnosis.EnteredAt Procedure.EnteredAt

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

EncounterInpatientEncounter
EncounterEvent
   identifierEvent.identifier
   identifier (va-IEN)Event.identifier
   identifier (va-IA)Event.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
   reasonCode (va-principle)Event.reasonCode
   reasonCode (va-secondary)Event.reasonCode
   reasonCode (va-procedure)Event.reasonCode
   reasonReferenceEvent.reasonCode
   diagnosis
      conditionEvent.reasonReference
   location
      locationEvent.location
   location (va-ward)
      locationEvent.location
   location (va-facility)
      locationEvent.location
   serviceProviderEvent.performer.actor
   partOfEvent.partOf

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

EncounterInpatientEncounter
EncounterEntity. Role, or Act, Encounter[@moodCode='EVN']
   textAct.text?
   containedN/A
   extensionN/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
   identifier (va-IEN).id
      idn/a
      extensionn/a
      useRole.code or implied by context
      typeRole.code or implied by context
         idn/a
         extensionn/a
         codingunion(., ./translation)
         text./originalText[mediaType/code="text/plain"]/data
      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
   identifier (va-IA).id
      idn/a
      extensionn/a
      useRole.code or implied by context
      typeRole.code or implied by context
         idn/a
         extensionn/a
         codingunion(., ./translation)
         text./originalText[mediaType/code="text/plain"]/data
      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
   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
         idn/a
         extensionn/a
         codingunion(., ./translation)
         text./originalText[mediaType/code="text/plain"]/data
      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
   reasonCode (va-principle).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
   reasonCode (va-secondary).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
   reasonCode (va-procedure).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
         idn/a
         extensionn/a
         referenceN/A
         typeN/A
         identifier.identifier
         displayN/A
      admitSource.admissionReferralSourceCode
         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
      reAdmissionn/a
      dietPreference.outboundRelationship[typeCode=COMP].target[classCode=SBADM, moodCode=EVN, code="diet"]
      specialCourtesy.specialCourtesiesCode
      specialArrangement.specialArrangementCode
      destination.participation[typeCode=DST]
         idn/a
         extensionn/a
         referenceN/A
         typeN/A
         identifier.identifier
         displayN/A
      dischargeDisposition.dischargeDispositionCode
         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
   location.participation[typeCode=LOC]
      idn/a
      extensionn/a
      modifierExtensionN/A
      location.role
      status.role.statusCode
      period.time
   location (va-ward).participation[typeCode=LOC]
      idn/a
      extensionn/a
      modifierExtensionN/A
      location.role
      status.role.statusCode
      period.time
   location (va-facility).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)

EncounterInpatientEncounter
Encounter
   identifierFiveWs.identifier
   identifier (va-IEN)FiveWs.identifier
   identifier (va-IA)FiveWs.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]
   reasonCode (va-principle)FiveWs.why[x]
   reasonCode (va-secondary)FiveWs.why[x]
   reasonCode (va-procedure)FiveWs.why[x]
   reasonReferenceFiveWs.why[x]
   diagnosis
      conditionFiveWs.why[x]
   location
      locationFiveWs.where[x]
   location (va-ward)
      locationFiveWs.where[x]
   location (va-facility)
      locationFiveWs.where[x]

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

EncounterInpatientEncounter
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)
   identifier (va-IEN)PV1-19
      useN/A
      typeCX.5
         codingC*E.1-8, C*E.10-22
         textC*E.9. But note many systems use C*E.2 for this
      systemCX.4 / EI-2-4
      valueCX.1 / EI.1
      periodCX.7 + CX.8
      assignerCX.4 / (CX.4,CX.9,CX.10)
   identifier (va-IA)PV1-19
      useN/A
      typeCX.5
         codingC*E.1-8, C*E.10-22
         textC*E.9. But note many systems use C*E.2 for this
      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
   priorityPV2-25
   subjectPID-3
   episodeOfCarePV1-54, PV1-53
   participantROL
      typeROL-3 (or maybe PRT-4)
         codingC*E.1-8, C*E.10-22
         textC*E.9. But note many systems use C*E.2 for this
      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 )
   reasonCode (va-principle)EVN-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
   reasonCode (va-secondary)EVN-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
   reasonCode (va-procedure)EVN-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
         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
      reAdmissionPV1-13
      dietPreferencePV1-38
      specialCourtesyPV1-16
      specialArrangementPV1-15 / OBR-30 / OBR-43
      destinationPV1-37
      dischargeDispositionPV1-36
         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
   location
      locationPV1-3 / PV1-6 / PV1-11 / PV1-42 / PV1-43
   location (va-ward)
      locationPV1-3 / PV1-6 / PV1-11 / PV1-42 / PV1-43
   location (va-facility)
      locationPV1-3 / PV1-6 / PV1-11 / PV1-42 / PV1-43
   serviceProviderPL.6 & PL.1