HL7 Version 2 to FHIR
1.0.0 - CI Build International flag

HL7 Version 2 to FHIR, published by HL7 International. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/v2-to-fhir/ and changes regularly. See the Directory of published versions

Table of Contents

.. 0 Table of Contents
... 1 V2 to FHIR
... 2 Introduction
... 3 Mapping Guidelines
... 4 Questions
... 5 Glossary
... 6 Acknowledgements
... 7 IP Acknowledgements & IG Analysis
... 8 Mappings
... 9 Message Maps
... 10 Segment Maps
... 11 Datatype Maps
... 12 Coding System Maps
... 13 Implementation Considerations
... 14 Validation
... 15 Test Conversions
... 16 Profiles
... 17 ANTLR Condition Syntax
... 18 Links
... 19 Artifacts Summary
.... 19.1 RelatedArtifact
.... 19.2 TypeInfo
.... 19.3 Datatype CE to CodeableConcept Map
.... 19.4 Datatype CF to CodeableConcept Map
.... 19.5 Datatype CM[Source] to Specimen Map
.... 19.6 Datatype CNE to CodeableConcept Map
.... 19.7 Datatype CNN to Practitioner Map
.... 19.8 Datatype CQ to Code Map
.... 19.9 Datatype CQ to Decimal Map
.... 19.10 Datatype CQ to Quantity Map
.... 19.11 Datatype CQ to UnsignedInt Map
.... 19.12 Datatype CWE to Annotation Map
.... 19.13 Datatype CWE to code Map
.... 19.14 Datatype CWE to CodeableConcept Map
.... 19.15 Datatype CWE to Coding Map
.... 19.16 Datatype CWE to Device Map
.... 19.17 Datatype CWE to Duration Map
.... 19.18 Datatype CWE to Identifier Map
.... 19.19 Datatype CWE to Organization Map
.... 19.20 Datatype CWE to PractitionerRole Map
.... 19.21 Datatype CWE to Quantity Map
.... 19.22 Datatype CWE to string Map
.... 19.23 Datatype CWE to Timing.duration Map
.... 19.24 Datatype CWE to uri Map
.... 19.25 Datatype CWE[SupportingInfo] to Observation Map
.... 19.26 Datatype CX to Identifier Map
.... 19.27 Datatype CX to string Map
.... 19.28 Datatype CX[Mother] to RelatedPerson Map
.... 19.29 Datatype DLD[Discharge] to Location Map
.... 19.30 Datatype DLN to Identifier Map
.... 19.31 Datatype DR to DateTime Map
.... 19.32 Datatype DR to Period Map
.... 19.33 Datatype DTM to DateTime Map
.... 19.34 Datatype ED to Attachment Map
.... 19.35 Datatype EI to Coding Map
.... 19.36 Datatype EI to Condition Map
.... 19.37 Datatype EI to Procedure Map
.... 19.38 Datatype EIP[FillerAssignedIdentifier] to Identifier Map
.... 19.39 Datatype EIP[PlacerAssignedIdentifier] to Identifier Map
.... 19.40 Datatype EI[DefaultAssigner] to Identifier Map
.... 19.41 Datatype EI[Extension] to Identifier Map
.... 19.42 Datatype EI[Organization] to Identifier Map
.... 19.43 Datatype EI[System] to Identifier Map
.... 19.44 Datatype EI[UDICarrier] to Device Map
.... 19.45 Datatype FN to HumanName Map
.... 19.46 Datatype HD to Identifier Map
.... 19.47 Datatype HD to Location Map
.... 19.48 Datatype HD to MessageHeader.destination.name Map
.... 19.49 Datatype HD to MessageHeader.source.endpoint Map
.... 19.50 Datatype HD to MessageHeader.source.name Map
.... 19.51 Datatype HD to Organization Map
.... 19.52 Datatype HD to uri Map
.... 19.53 Datatype HD[AssigningAuthority] to extension Map
.... 19.54 Datatype HD[endpoint] to MessageHeader.destination Map
.... 19.55 Datatype ID to boolean Map
.... 19.56 Datatype ID to code Map
.... 19.57 Datatype ID to CodeableConcept Map
.... 19.58 Datatype ID to Coding Map
.... 19.59 Datatype ID to string Map
.... 19.60 Datatype ID[UniversalID] to CodeableConcept Map
.... 19.61 Datatype IS to code Map
.... 19.62 Datatype IS to CodeableConcept Map
.... 19.63 Datatype IS to string Map
.... 19.64 Datatype MSG to code Map
.... 19.65 Datatype MSG to Coding Map
.... 19.66 Datatype MSG to MessageHeader Map
.... 19.67 Datatype NA to NumericArray Map
.... 19.68 Datatype NDL to PractitionerRole Map
.... 19.69 Datatype NM to PositiveInt Map
.... 19.70 Datatype NM to Quantity Map
.... 19.71 Datatype NM[LengthOfStay] to Quantity Map
.... 19.72 Datatype NR to Range Map
.... 19.73 Datatype PL to Location Map
.... 19.74 Datatype PLN to Identifier Map
.... 19.75 Datatype PT to Meta Map
.... 19.76 Datatype RI to Timing Map
.... 19.77 Datatype RP to Attachment Map
.... 19.78 Datatype RPT to Timing Map
.... 19.79 Datatype SAD to Address Map
.... 19.80 Datatype SN to Quantity Map
.... 19.81 Datatype SN to Range Map
.... 19.82 Datatype SN to Ratio Map
.... 19.83 Datatype ST to CodeableConcept Map
.... 19.84 Datatype ST to Identifier Map
.... 19.85 Datatype TQ to Appointment Map
.... 19.86 Datatype TQ to MedicationRequest Map
.... 19.87 Datatype TQ to ServiceRequest Map
.... 19.88 Datatype TQ[ExecutionPeriod] to Task Map
.... 19.89 Datatype TQ[Priority] to Task Map
.... 19.90 Datatype TS to DateTime Map
.... 19.91 Datatype XAD to Address Map
.... 19.92 Datatype XCN to Patient Map
.... 19.93 Datatype XCN to Practitioner Map
.... 19.94 Datatype XCN to PractitionerRole Map
.... 19.95 Datatype XCN to RelatedPerson Map
.... 19.96 Datatype XON to Location Map
.... 19.97 Datatype XON to Organization Map
.... 19.98 Datatype XON to string Map
.... 19.99 Datatype XPN to HumanName Map
.... 19.100 Datatype XPN to string Map
.... 19.101 Datatype XTN to ContactPoint Map
.... 19.102 Message ADT_A01 to Bundle Map
.... 19.103 Message ADT_A02 to Bundle Map
.... 19.104 Message ADT_A05 to Bundle Map
.... 19.105 Message ADT_A06 to Bundle Map
.... 19.106 Message ADT_A09 to Bundle Map
.... 19.107 Message ADT_A17 to Bundle Map
.... 19.108 Message OML_O21 to Bundle Map
.... 19.109 Message ORM_O01 to Bundle Map
.... 19.110 Message ORU_R01 to Bundle Map
.... 19.111 Message SIU_S12 to Bundle Map
.... 19.112 Message VXU_V04 to Bundle Map
.... 19.113 Segment AIG to Appointment Map
.... 19.114 Segment AIL to Appointment Map
.... 19.115 Segment AIP to Appointment Map
.... 19.116 Segment AIS to Appointment Map
.... 19.117 Segment AIS to ServiceRequest Map
.... 19.118 Segment AL1 to AllergyIntolerance Map
.... 19.119 Segment DG1 to Condition Map
.... 19.120 Segment DG1 to Encounter Map
.... 19.121 Segment DG1 to EpisodeOfCare Map
.... 19.122 Segment EVN to Provenance Map
.... 19.123 Segment IAM to AllergyIntolerance Map
.... 19.124 Segment IN1 to Coverage Map
.... 19.125 Segment IN3 to CareTeam Map
.... 19.126 Segment MRG to Account Map
.... 19.127 Segment MSA to MessageHeader Map
.... 19.128 Segment MSH to Bundle Map
.... 19.129 Segment MSH to Encounter Map
.... 19.130 Segment MSH to MessageHeader Map
.... 19.131 Segment MSH[Operator] to Provenance Map
.... 19.132 Segment MSH[Source] to Provenance Map
.... 19.133 Segment MSH[Transformation] to Provenance Map
.... 19.134 Segment NK1 to Patient Map
.... 19.135 Segment NK1 to RelatedPerson Map
.... 19.136 Segment NTE to Appointment Map
.... 19.137 Segment NTE to Observation Map
.... 19.138 Segment NTE to ServiceRequest Map
.... 19.139 Segment OBR to DiagnosticReport Map
.... 19.140 Segment OBR to ServiceRequest Map
.... 19.141 Segment OBR to Specimen Map
.... 19.142 Segment OBX to Observation Map
.... 19.143 Segment OBX[Component] to Observation Map
.... 19.144 Segment OBX[Observation-Component] to ServiceRequest.supportingInfo Map
.... 19.145 Segment OBX[Observation] to ServiceRequest.supportingInfo Map
.... 19.146 Segment ORC to DiagnosticReport Map
.... 19.147 Segment ORC to Immunization Map
.... 19.148 Segment ORC to MedicationAdministration Map
.... 19.149 Segment ORC to Provenance Map
.... 19.150 Segment ORC to ServiceRequest Map
.... 19.151 Segment PD1 to Patient Map
.... 19.152 Segment PID to Account Map
.... 19.153 Segment PID to Appointment Map
.... 19.154 Segment PID to Patient Map
.... 19.155 Segment PID[EthnicGroup] to Observation Map
.... 19.156 Segment PID[Patient] to Provenance Map
.... 19.157 Segment PID[Race] to Observation Map
.... 19.158 Segment PR1 to Procedure Map
.... 19.159 Segment PRT to CareTeam Map
.... 19.160 Segment PRT to Device Map
.... 19.161 Segment PRT to PractitionerRole Map
.... 19.162 Segment PRT to RelatedPerson Map
.... 19.163 Segment PRT[GeneralPractitioner-PractitionerRole] to Patient Map
.... 19.164 Segment PRT[GeneralPractitioner-Practitioner] to Patient Map
.... 19.165 Segment PRT[Location] to Observation Map
.... 19.166 Segment PV1 to Encounter Map
.... 19.167 Segment PV1 to Patient Map
.... 19.168 Segment PV2 to Encounter Map
.... 19.169 Segment ROL to CareTeam Map
.... 19.170 Segment ROL to RelatedPerson Map
.... 19.171 Segment ROL[GeneralPractitioner] to Patient Map
.... 19.172 Segment ROL[PractitionerRole] to Encounter Map
.... 19.173 Segment RXA to Immunization Map
.... 19.174 Segment RXO to MedicationRequest Map
.... 19.175 Segment RXR to Immunization Map
.... 19.176 Segment RXR to MedicationRequest Map
.... 19.177 Segment SCH to Appointment Map
.... 19.178 Segment SCH to Provenance Map
.... 19.179 Segment SCH to ServiceRequest Map
.... 19.180 Segment SFT to Device Map
.... 19.181 Segment SFT to MessageHeader Map
.... 19.182 Segment SPM to Specimen Map
.... 19.183 Segment TQ1 to MedicationRequest Map
.... 19.184 Segment TQ1 to ServiceRequest Map
.... 19.185 Table HL70001 to Administrative Gender Map
.... 19.186 Table HL70002 to V3 MaritalStatus Map
.... 19.187 Table HL70003 to Encounter Status Map
.... 19.188 Table HL70004 to Encounter Status Map
.... 19.189 Table HL70004 to V3 ActCode Map
.... 19.190 Table HL70006 to V3 ReligiousAffiliation Map
.... 19.191 Table HL70007 to V2 0007 Map
.... 19.192 Table HL70052 to Diagnosis Role Map
.... 19.193 Table HL70062 to V3 ActReason Map
.... 19.194 Table HL70063 to V3 RoleCode Map
.... 19.195 Table HL70074 to V2 0074 Map
.... 19.196 Table HL70078 to V3 ObservationInterpretation Map
.... 19.197 Table HL70080 to V2 0080 Map
.... 19.198 Table HL70085 to Observation Status Map
.... 19.199 Table HL70092 to V2 0092 Map
.... 19.200 Table HL70123[Queries] to Diagnostic Report Status Map
.... 19.201 Table HL70127 to Allergy Intolerance Category Map
.... 19.202 Table HL70127 to Allergy Intolerance Type Map
.... 19.203 Table HL70127 to V2 0127 Map
.... 19.204 Table HL70128 to Codesystem Reaction Event Severity Map
.... 19.205 Table HL70128[original] to Allergy Intolerance Criticality Map
.... 19.206 Table HL70130 to V2 0130 Map
.... 19.207 Table HL70131 to V2 0131 Map
.... 19.208 Table HL70136 to Specimen Status Map
.... 19.209 Table HL70155 to Messageheader Response Request Map
.... 19.210 Table HL70161 to V2 0161 Map
.... 19.211 Table HL70162 to V2 0162 Map
.... 19.212 Table HL70165 to Sct Map
.... 19.213 Table HL70185 to V2 0185 Map
.... 19.214 Table HL70190 to Address Use Map
.... 19.215 Table HL70201 to Contact Point Use Map
.... 19.216 Table HL70202 to Contact Point System Map
.... 19.217 Table HL70203 to V2 0203 Map
.... 19.218 Table HL70204 to V2 0204 Map
.... 19.219 Table HL70215 to V2 0215 Map
.... 19.220 Table HL70217 to V3 ActPriority Map
.... 19.221 Table HL70231 to V2 0231 Map
.... 19.222 Table HL70276 to Encounter Reason Map
.... 19.223 Table HL70278 to Codesystem Appointmentstatus Map
.... 19.224 Table HL70301 to V2 0301 Map
.... 19.225 Table HL70315 to V2 0315 Map
.... 19.226 Table HL70322 to Event Status Map
.... 19.227 Table HL70335 to V2 0335 Map
.... 19.228 Table HL70364 to V2 0364 Map
.... 19.229 Table HL70371 to V2 0371 Map
.... 19.230 Table HL70406 to V2 0406 Map
.... 19.231 Table HL70430 to V2 0430 Map
.... 19.232 Table HL70432 to V2 0432 Map
.... 19.233 Table HL70443 to V3 ParticipationType Map
.... 19.234 Table HL70444 to V2 0444 Map
.... 19.235 Table HL70480 to V3 RoleCode Map
.... 19.236 Table HL70485 to Request Priority Map
.... 19.237 Table HL70487 to V2 0487 Map
.... 19.238 Table HL70488 to V2 0488 Map
.... 19.239 Table HL70490 to V2 0490 Map
.... 19.240 Table HL70498 to Consent State Codes Map
.... 19.241 Table HL70528 to V3 TimingEvent Map
.... 19.242 Table HL70549 to V3 RoleCode Map
.... 19.243 Table HL70550 to V2 0550 Map