HL7 Version 2 to FHIR
1.0.0-ballot - ballot International flag

HL7 Version 2 to FHIR, published by HL7 International / Orders and Observations. This guide is not an authorized publication; it is the continuous build for version 1.0.0-ballot 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 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 Observation Map
.... 19.20 Datatype CWE to Organization Map
.... 19.21 Datatype CWE to PractitionerRole Map
.... 19.22 Datatype CWE to Quantity Map
.... 19.23 Datatype CWE to string Map
.... 19.24 Datatype CWE to Timing.duration Map
.... 19.25 Datatype CWE to uri Map
.... 19.26 Datatype CX to Identifier Map
.... 19.27 Datatype CX to RelatedPerson Map
.... 19.28 Datatype CX to string Map
.... 19.29 Datatype DLD 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 Annotation Map
.... 19.34 Datatype DTM to DateTime Map
.... 19.35 Datatype ED to Attachment Map
.... 19.36 Datatype ED to DocumentReference Map
.... 19.37 Datatype EI to Coding Map
.... 19.38 Datatype EI to Condition Map
.... 19.39 Datatype EI to Device Map
.... 19.40 Datatype EI to Identifier Map
.... 19.41 Datatype EI to Identifier Map
.... 19.42 Datatype EI to Identifier Map
.... 19.43 Datatype EI to Identifier Map
.... 19.44 Datatype EI to Procedure Map
.... 19.45 Datatype EIP to Identifier Map
.... 19.46 Datatype EIP to Identifier Map
.... 19.47 Datatype FN to HumanName Map
.... 19.48 Datatype FT to Annotation Map
.... 19.49 Datatype FT[Comment] to Annotation Map - Unsupported
.... 19.50 Datatype HD to extension Map
.... 19.51 Datatype HD to Identifier Map
.... 19.52 Datatype HD to Location Map
.... 19.53 Datatype HD to MessageHeader.destination Map
.... 19.54 Datatype HD to MessageHeader.destination Map
.... 19.55 Datatype HD to MessageHeader.destination Map
.... 19.56 Datatype HD to MessageHeader.destination.name Map
.... 19.57 Datatype HD to MessageHeader.source Map
.... 19.58 Datatype HD to MessageHeader.source Map
.... 19.59 Datatype HD to MessageHeader.source Map
.... 19.60 Datatype HD to MessageHeader.source.name Map
.... 19.61 Datatype HD to Organization Map
.... 19.62 Datatype HD to uri Map
.... 19.63 Datatype ID to boolean Map
.... 19.64 Datatype ID to code Map
.... 19.65 Datatype ID to CodeableConcept Map
.... 19.66 Datatype ID to CodeableConcept Map
.... 19.67 Datatype ID to Coding Map
.... 19.68 Datatype ID to string Map
.... 19.69 Datatype IS to code Map
.... 19.70 Datatype IS to CodeableConcept Map
.... 19.71 Datatype IS to string Map
.... 19.72 Datatype MSG to code Map
.... 19.73 Datatype MSG to Coding Map
.... 19.74 Datatype MSG to MessageHeader Map
.... 19.75 Datatype NA to NumericArray Map
.... 19.76 Datatype NDL to PractitionerRole Map
.... 19.77 Datatype NM to PositiveInt Map
.... 19.78 Datatype NM to Quantity Map
.... 19.79 Datatype NM to Quantity Map
.... 19.80 Datatype NR to Range Map
.... 19.81 Datatype OG to Extension Map
.... 19.82 Datatype PL to Location Map
.... 19.83 Datatype PL to Location Map - Unsupported
.... 19.84 Datatype PLN to Identifier Map
.... 19.85 Datatype PLnull to Encounter.location Map
.... 19.86 Datatype PT to Meta Map
.... 19.87 Datatype RI to Timing Map
.... 19.88 Datatype RP to Attachment Map
.... 19.89 Datatype RP to DocumentReference Map
.... 19.90 Datatype RPT to Timing Map
.... 19.91 Datatype SAD to Address Map
.... 19.92 Datatype SN to Quantity Map
.... 19.93 Datatype SN to Range Map
.... 19.94 Datatype SN to Ratio Map
.... 19.95 Datatype SPS to Specimen Map
.... 19.96 Datatype ST to CodeableConcept Map
.... 19.97 Datatype ST to Identifier Map
.... 19.98 Datatype TQ to Appointment Map
.... 19.99 Datatype TQ to MedicationRequest Map
.... 19.100 Datatype TQ to ServiceRequest Map
.... 19.101 Datatype TQ to Task Map
.... 19.102 Datatype TQ to Task Map
.... 19.103 Datatype TS to DateTime Map
.... 19.104 Datatype XAD to Address Map
.... 19.105 Datatype XCN to Annotation Map
.... 19.106 Datatype XCN to Patient Map
.... 19.107 Datatype XCN to Practitioner Map
.... 19.108 Datatype XCN to PractitionerRole Map
.... 19.109 Datatype XCN to RelatedPerson Map
.... 19.110 Datatype XON to Location Map
.... 19.111 Datatype XON to Organization Map
.... 19.112 Datatype XON to string Map
.... 19.113 Datatype XPN to HumanName Map
.... 19.114 Datatype XPN to string Map
.... 19.115 Datatype XTN to ContactPoint Map
.... 19.116 Message ADT_A01 to Bundle Map
.... 19.117 Message ADT_A02 to Bundle Map
.... 19.118 Message ADT_A05 to Bundle Map
.... 19.119 Message ADT_A06 to Bundle Map
.... 19.120 Message ADT_A09 to Bundle Map
.... 19.121 Message ADT_A11 to Bundle Map
.... 19.122 Message ADT_A17 to Bundle Map
.... 19.123 Message MDM_T02 to Bundle Map
.... 19.124 Message OML_O21 to Bundle Map
.... 19.125 Message ORM_O01 to Bundle Map
.... 19.126 Message ORU_R01 to Bundle Map
.... 19.127 Message SIU_S12 to Bundle Map
.... 19.128 Message VXU_V04 to Bundle Map
.... 19.129 Segment AIG to Appointment Map
.... 19.130 Segment AIL to Appointment Map
.... 19.131 Segment AIP to Appointment Map
.... 19.132 Segment AIS to Appointment Map
.... 19.133 Segment AIS to ServiceRequest Map
.... 19.134 Segment AL1 to AllergyIntolerance Map
.... 19.135 Segment DG1 to Condition Map
.... 19.136 Segment DG1 to Encounter Map
.... 19.137 Segment DG1 to EpisodeOfCare Map
.... 19.138 Segment EVN to Provenance Map
.... 19.139 Segment IAM to AllergyIntolerance Map
.... 19.140 Segment IN1 to Coverage Map
.... 19.141 Segment IN3 to CareTeam Map
.... 19.142 Segment MRG to Account Map
.... 19.143 Segment MSA to MessageHeader Map
.... 19.144 Segment MSH to Bundle Map
.... 19.145 Segment MSH to Encounter Map
.... 19.146 Segment MSH to MessageHeader Map
.... 19.147 Segment MSH to Provenance Map
.... 19.148 Segment MSH to Provenance Map
.... 19.149 Segment MSH to Provenance Map
.... 19.150 Segment NK1 to Patient Map
.... 19.151 Segment NK1 to RelatedPerson Map
.... 19.152 Segment NTE to Appointment Map
.... 19.153 Segment NTE to DocumentReference Map
.... 19.154 Segment NTE to Observation Map
.... 19.155 Segment NTE to ServiceRequest Map
.... 19.156 Segment OBR to DiagnosticReport Map
.... 19.157 Segment OBR to ServiceRequest Map
.... 19.158 Segment OBR to Specimen Map
.... 19.159 Segment OBX to DocumentReference Map
.... 19.160 Segment OBX to Observation Map
.... 19.161 Segment OBX to Observation Map
.... 19.162 Segment ORC to DiagnosticReport Map
.... 19.163 Segment ORC to Immunization Map
.... 19.164 Segment ORC to MedicationAdministration Map
.... 19.165 Segment ORC to Provenance Map
.... 19.166 Segment ORC to ServiceRequest Map
.... 19.167 Segment PD1 to Observation Map
.... 19.168 Segment PD1 to Patient Map
.... 19.169 Segment PD1[LivingWill] to Observation Map - Unsupported
.... 19.170 Segment PID to Account Map
.... 19.171 Segment PID to Appointment Map
.... 19.172 Segment PID to Patient Map
.... 19.173 Segment PID to Provenance Map
.... 19.174 Segment PIDnull to Observation Map
.... 19.175 Segment PIDnull to Observation Map
.... 19.176 Segment PR1 to Procedure Map
.... 19.177 Segment PRT to CareTeam Map
.... 19.178 Segment PRT to Device Map
.... 19.179 Segment PRT to Observation Map
.... 19.180 Segment PRT to Patient Map
.... 19.181 Segment PRT to Patient Map
.... 19.182 Segment PRT to PractitionerRole Map
.... 19.183 Segment PRT to RelatedPerson Map
.... 19.184 Segment PV1 to Coverage Map - Unsupported
.... 19.185 Segment PV1 to Encounter Map
.... 19.186 Segment PV1 to EncounterHistory Map
.... 19.187 Segment PV1 to Patient Map
.... 19.188 Segment PV2 to Encounter Map
.... 19.189 Segment ROL to CareTeam Map
.... 19.190 Segment ROL to Encounter Map
.... 19.191 Segment ROL to Patient Map
.... 19.192 Segment ROL to RelatedPerson Map
.... 19.193 Segment RXA to Immunization Map
.... 19.194 Segment RXO to MedicationRequest Map
.... 19.195 Segment RXR to Immunization Map
.... 19.196 Segment RXR to MedicationRequest Map
.... 19.197 Segment SCH to Appointment Map
.... 19.198 Segment SCH to Provenance Map
.... 19.199 Segment SCH to ServiceRequest Map
.... 19.200 Segment SFT to Device Map
.... 19.201 Segment SFT to MessageHeader Map
.... 19.202 Segment SPM to Specimen Map
.... 19.203 Segment TQ1 to MedicationRequest Map
.... 19.204 Segment TQ1 to ServiceRequest Map
.... 19.205 Segment TXA to DocumentReference Map
.... 19.206 Segment TXA to Provenance Map
.... 19.207 Segment TXA to Provenance Map - Unsupported
.... 19.208 Table HL70001 to Administrative Gender Map
.... 19.209 Table HL70002 to V3 MaritalStatus Map
.... 19.210 Table HL70003 to Encounter Status Map
.... 19.211 Table HL70004 to Encounter Status Map
.... 19.212 Table HL70004 to V3 ActCode Map
.... 19.213 Table HL70006 to V3 ReligiousAffiliation Map
.... 19.214 Table HL70007 to V2 0007 Map
.... 19.215 Table HL70052 to Diagnosis Role Map
.... 19.216 Table HL70062 to V3 ActReason Map
.... 19.217 Table HL70063 to V3 RoleCode Map
.... 19.218 Table HL70074 to V2 0074 Map
.... 19.219 Table HL70078 to V3 ObservationInterpretation Map
.... 19.220 Table HL70080 to V2 0080 Map
.... 19.221 Table HL70085 to Observation Status Map
.... 19.222 Table HL70092 to V2 0092 Map
.... 19.223 Table HL70119 to Request Status Map
.... 19.224 Table HL70123 to Diagnostic Report Status Map
.... 19.225 Table HL70127 to Allergy Intolerance Category Map
.... 19.226 Table HL70127 to Allergy Intolerance Type Map
.... 19.227 Table HL70127 to V2 0127 Map
.... 19.228 Table HL70128 to Allergy Intolerance Criticality Map
.... 19.229 Table HL70128 to Codesystem Reaction Event Severity Map
.... 19.230 Table HL70128 to V2 0128 Map
.... 19.231 Table HL70128null to Allergy Intolerance Criticality Map
.... 19.232 Table HL70130 to V2 0130 Map
.... 19.233 Table HL70131 to V2 0131 Map
.... 19.234 Table HL70136 to Specimen Status Map
.... 19.235 Table HL70155 to Messageheader Response Request Map
.... 19.236 Table HL70161 to V2 0161 Map
.... 19.237 Table HL70162 to V2 0162 Map
.... 19.238 Table HL70165 to Sct Map
.... 19.239 Table HL70185 to V2 0185 Map
.... 19.240 Table HL70190 to Address Use Map
.... 19.241 Table HL70201 to Contact Point Use Map
.... 19.242 Table HL70202 to Contact Point System Map
.... 19.243 Table HL70203 to V2 0203 Map
.... 19.244 Table HL70204 to V2 0204 Map
.... 19.245 Table HL70215 to V2 0215 Map
.... 19.246 Table HL70217 to V3 ActPriority Map
.... 19.247 Table HL70231 to V2 0231 Map
.... 19.248 Table HL70272 to V2 0272 Map
.... 19.249 Table HL70276 to Encounter Reason Map
.... 19.250 Table HL70278 to Codesystem Appointmentstatus Map
.... 19.251 Table HL70301 to V2 0301 Map
.... 19.252 Table HL70315 to V2 0315 Map
.... 19.253 Table HL70322 to Event Status Map
.... 19.254 Table HL70335 to V2 0335 Map
.... 19.255 Table HL70364 to V2 0364 Map
.... 19.256 Table HL70371 to V2 0371 Map
.... 19.257 Table HL70406 to V2 0406 Map
.... 19.258 Table HL70430 to V2 0430 Map
.... 19.259 Table HL70432 to V2 0432 Map
.... 19.260 Table HL70443 to V3 ParticipationType Map
.... 19.261 Table HL70444 to V2 0444 Map
.... 19.262 Table HL70480 to V3 RoleCode Map
.... 19.263 Table HL70482 to V3 RoleCode Map
.... 19.264 Table HL70485 to Request Priority Map
.... 19.265 Table HL70487 to V2 0487 Map
.... 19.266 Table HL70488 to V2 0488 Map
.... 19.267 Table HL70490 to V2 0490 Map
.... 19.268 Table HL70498 to Consent State Codes Map
.... 19.269 Table HL70528 to V3 TimingEvent Map
.... 19.270 Table HL70549 to V3 RoleCode Map
.... 19.271 Table HL70550 to V2 0550 Map