HL7 Version 2 to FHIR
0.1.0 - STU1 Ballot

This page is part of the HL7 Version 2 to FHIR (v0.1.0: STU 1 Ballot 1) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

ConceptMap: Message ORM_O01 to Bundle Map

This ConceptMap represents the mapping from the HL7 V2 ORM_O01 Message to the FHIR Message Bundle. See also the FHIR Shorthand or the CSV Source.

</thead> </table>
HL7 v2Condition (IF True, args)HL7 FHIRComments
Sort OrderIdentifierSyntaxNameCardinality - MinCardinality - MaxComputable ANTLRComputable FHIRPathNarrativePrimary TargetSegment MapReferences
1ORM_O01.MSHMSHMessage Header11BundleMSH[Bundle]
1ORM_O01.MSHMSHMessage Header11MessageHeaderMSH[MessageHeader]Processing of the MSH segment results in the creation of a new MessageHeader resource
1ORM_O01.MSHMSHMessage Header11ProvenanceMSH[Provenance]Provenance.target=Bundle; Provenance.target=MessageHeader[MSH]
1ORM_O01.MSHMSHMessage Header11TaskMSH[Task]
2ORM_O01.NTE[{ NTE }]Notes and Comments (for Header)0-1Incorporate SFT content for each of the SFT instances into the MessageHeader created from the MSH segment.
3ORM_O01.PATIENT[ PATIENT begin01
3.1ORM_O01.PATIENT.PIDPIDPatient Identification11PatientPID[Patient]Processing of the PID segment results in the creation of a new Patient resource
3.2ORM_O01.PATIENT.PD1[ PD1 ]Additional Demographics01PatientPD1[Patient]Incorporate PD1 content into the Patient created from the PID segment.
3.3ORM_O01.PATIENT.NTE[{ NTE }]Notes and Comments (for Patient ID)0-1
3.4ORM_O01.PATIENT.VISIT[PATIENT_VISIT begin01
3.4.1ORM_O01.PATIENT.VISIT.PV1PV1Patient Visit11EncounterPV1[Encounter]Encounter.subject.reference=Patient[1].idProcessing of the PV1 segment results in the creation of a new Encounter resource
3.4.1ORM_O01.PATIENT.VISIT.PV1PV1Patient Visit11PatientPV1[Patient]
3.4.2ORM_O01.PATIENT.VISIT.PV2[ PV2 ]Patient Visit- Additional Info01EncounterPV2[Encounter]Incorporate PV2 content into the Encounter created from the PV1 segment.
3.4.3/ORM_O01.PATIENT.VISIT]PATIENT_VISIT end
3.5ORM_O01.PATIENT.INSURANCE[{INSURANCE begin0-1
3.5.1ORM_O01.PATIENT.INSURANCE.IN1IN1Insurance11CoverageIN1[Coverage]Coverage.subscriber.reference=Patient[1].idProcessing of the IN1 segment results in the creation of a new Coverage resource
3.5.2ORM_O01.PATIENT.INSURANCE.IN2[ IN2 ]Insurance Additional Info01CoverageIN2[Coverage]Incorporate IN2 content into the Coverage created from the IN1 segment.
3.5.3ORM_O01.PATIENT.INSURANCE.IN3[ IN3 ]Insurance Add'l Info – Cert.01CoverageIN3[Coverage]Incorporate IN3 content into the Coverage created from the IN1 segment.
3.5.4/ORM_O01.PATIENT.INSURANCE}]INSURANCE end
3.6ORM_O01.PATIENT.GT1[ GT1 ]Guarantor01
3.7ORM_O01.PATIENT.AL1[{ AL1 }]Allergy Information0-1AllergyIntoleranceAL1AllergyIntolerance.patient.reference=Patient[1].idProcessing of the AL1 segment results in the creation of a new AllergyIntolerance resource
3.8/ORM_O01.PATIENT]PATIENT end
4ORM_O01.ORDER{ORDER begin1-1
4.1ORM_O01.ORDER.ORCORCCommon Order11ServiceRequestORC[ServiceRequest]ServiceRequest.subject.reference=Patient[1].idProcessing of each ORC segment results in the creation of a new ServiceRequest resource
4.1ORM_O01.ORDER.ORCORCCommon Order11IF ORC.1 EQUALS "NW"ORC.element("1")="NW"If the receiving system should perform the orderTaskORC[Task-New Order]Task.basedOn.reference=ServiceRequest[1].id; Task.encounter.reference=Encounter[1].id; Task.for.reference=Patient[1].id; Task.reasonReference=Condition[1]id; Task.insurance.reference=Coverage[1].idProcessing of each ORC segment results in the creation of a new Task resource which is linked back to the ServiceRequest created for the same ORC segment. =*= The creation of a Task resource and its inclusion in the FHIR bundle should only happen when the receiving system is responsible for fulfillment of the ServiceRequest. Other systems may receive notification of the order, but should not receive a Task Resource if they are not the intended filler system.
4.1ORM_O01.ORDER.ORCORCCommon Order11IF ORC.1 EQUALS "OC"ORC.element("1")="OC"TaskORC[Task-CancelOrder]Task.basedOn.reference=ServiceRequest[1].id; Task.encounter.reference=Encounter[1].id; Task.for.reference=Patient[1].id; Task.reasonReference=Condition[1].id; Task.insurance.reference=Coverage[1].id
4.1ORM_O01.ORDER.ORCORCCommon Order11ProvenanceORC[Provenance]Provenance.target=ServiceRequest[ORC]
4.2.beginORM_O01.ORDER_DETAIL[ORDER_DETAIL begin01
4.2.1.beginORM_O01.ORDER_DETAIL.CHOICE<
4.2.1.1ORM_O01.ORDER_DETAIL.CHOICE.OBROBROrder Detail Segment OBR, etc.01IF PID VALUEDServiceRequestOBR[ServiceRequest]Incorporate OBR content into the ServiceRequest created from the ORC segment in the same segment group.
4.2.1.1ORM_O01.ORDER_DETAIL.CHOICE.OBROBROrder Detail Segment OBR, etc.01IF PID NOT VALUEDSupplyRequestOBR[ServiceRequest]
4.2.1.2ORM_O01.ORDER_DETAIL.CHOICE|
4.2.1.3ORM_O01.ORDER_DETAIL.CHOICE.RQDRQDRequisition Detail01
4.2.1.4ORM_O01.ORDER_DETAIL.CHOICE|
4.2.1.5ORM_O01.ORDER_DETAIL.CHOICE.RQ1RQ1Requisition Detail-101
4.2.1.6ORM_O01.ORDER_DETAIL.CHOICE|
4.2.1.7ORM_O01.ORDER_DETAIL.CHOICE.RXORXOPharmacy/Treatment Order01MedicationRequestRXO[MedicationRequest]
4.2.1.8ORM_O01.ORDER_DETAIL.CHOICE|
4.2.1.9ORM_O01.ORDER_DETAIL.CHOICE.ODSODSDietary Orders, Supplements, and Preferences01IF PID NOT VALUEDSupplyRequest
4.2.1.10ORM_O01.ORDER_DETAIL.CHOICE|
4.2.1.11ORM_O01.ORDER_DETAIL.CHOICE.ODTODTDiet Tray Instructions01
4.2.1.12/ORM_O01.ORDER_DETAIL.CHOICE>
4.2.2ORM_O01.ORDER_DETAIL.NTE[{ NTE }]Notes and Comments (for Detail)0-1ServiceRequest.noteNTE[Annotation]
4.2.3ORM_O01.ORDER_DETAIL.CTD[ CTD ]Contact Data 101
4.2.4ORM_O01.ORDER_DETAIL.DG1[{ DG1 }]Diagnosis0-1ServiceRequest.reasonReference(Condition)DG1[Condition]ServiceRequest[1].reasonReference(Condition.subject.reference=Patient[1].id)Processing of the DG1 segment results in the creation of a new Condition resource which is referenced in the ServiceRequest created by the ORC segment
4.2.5ORM_O01.ORDER_DETAIL.OBSERVATION[{OBSERVATION begin0-1
4.2.5.1ORM_O01.ORDER_DETAIL.OBSERVATION.OBXOBXObservation/Result11
4.2.5.2ORM_O01.ORDER_DETAIL.OBSERVATION.NTE[{ NTE }]Notes and Comments (for Results)0-1
4.2.5.3/ORM_O01.ORDER_DETAIL.OBSERVATION}]OBSERVATION end
4.2.6/ORM_O01.ORDER_DETAIL]ORDER_DETAIL end
4.3ORM_O01.ORDER.FT1[{ FT1 }]Financial Transaction0-1
4.4ORM_O01.ORDER.CTI[{ CTI }]Clinical Trial Identification0-1
4.5ORM_O01.ORDER.BLG[ BLG ]Billing Segment01
4.6/ORM_O01.ORDER}ORDER end

Formats: XML, JSON, Turtle

MessageORM_O01toBundle (http://hl7.org/fhir/uv/v2mappings/message-orm-o01-to-bundle)

Mapping from ORM_O01 to Bundle

ACTIVE (not intended for production usage). Published on 2020-08-12 by HL7 International (HL7 Orders and Observations Workgroup: http://hl7.org/Special/committ..., Keith W. Boone: kboone@ainq.com). Copyright (c) 2020, HL7 International, Inc., All Rights Reserved.

This ConceptMap represents a mapping from the HL7 V2 Message ORM_O01 to the FHIR Message Bundle.


Source Concept DetailsRelationshipDestination Concept DetailsComment
Code from Code from Code from Code from Code from Code from Code from
ORM_O01.MSHMSH[Bundle]is equivalent toBundle
ORM_O01.MSHMSH[MessageHeader]is equivalent toMessageHeader[1]Processing of the MSH segment results in the creation of a new MessageHeader resource
ORM_O01.MSHMSH[Provenance]Provenance.target=Bundle; Provenance.target=MessageHeader[MSH]is equivalent toProvenance[1]
ORM_O01.MSHMSH[Task]is equivalent toTask[1]
ORM_O01.PATIENT.PIDPID[Patient]is equivalent toPatient[1]Processing of the PID segment results in the creation of a new Patient resource
ORM_O01.PATIENT.PD1PD1[Patient]is equivalent toPatient[1]Incorporate PD1 content into the Patient created from the PID segment.
ORM_O01.PATIENT.VISIT.PV1PV1[Encounter]Encounter.subject.reference=Patient[1].idis equivalent toEncounterProcessing of the PV1 segment results in the creation of a new Encounter resource
ORM_O01.PATIENT.VISIT.PV1PV1[Patient]is equivalent toPatient[1]
ORM_O01.PATIENT.VISIT.PV2PV2[Encounter]is equivalent toEncounterIncorporate PV2 content into the Encounter created from the PV1 segment.
ORM_O01.PATIENT.INSURANCE.IN1IN1[Coverage]Coverage.subscriber.reference=Patient[1].idis equivalent toCoverageProcessing of the IN1 segment results in the creation of a new Coverage resource
ORM_O01.PATIENT.INSURANCE.IN2IN2[Coverage]is equivalent toCoverageIncorporate IN2 content into the Coverage created from the IN1 segment.
ORM_O01.PATIENT.INSURANCE.IN3IN3[Coverage]is equivalent toCoverageIncorporate IN3 content into the Coverage created from the IN1 segment.
ORM_O01.PATIENT.AL1AL1AllergyIntolerance.patient.reference=Patient[1].idis equivalent toAllergyIntoleranceProcessing of the AL1 segment results in the creation of a new AllergyIntolerance resource
ORM_O01.ORDER.ORCORC[ServiceRequest]ServiceRequest.subject.reference=Patient[1].idis equivalent toServiceRequest[1]Processing of each ORC segment results in the creation of a new ServiceRequest resource
ORM_O01.ORDER.ORCORC[Task-New Order]Task.basedOn.reference=ServiceRequest[1].id; Task.encounter.reference=Encounter[1].id; Task.for.reference=Patient[1].id; Task.reasonReference=Condition[1]id; Task.insurance.reference=Coverage[1].idis equivalent toTask[1]IF ORC.1 EQUALS "NW"ORC.element("1")="NW"If the receiving system should perform the orderProcessing of each ORC segment results in the creation of a new Task resource which is linked back to the ServiceRequest created for the same ORC segment. =*= The creation of a Task resource and its inclusion in the FHIR bundle should only happen when the receiving system is responsible for fulfillment of the ServiceRequest. Other systems may receive notification of the order, but should not receive a Task Resource if they are not the intended filler system.
ORM_O01.ORDER.ORCORC[Task-CancelOrder]Task.basedOn.reference=ServiceRequest[1].id; Task.encounter.reference=Encounter[1].id; Task.for.reference=Patient[1].id; Task.reasonReference=Condition[1].id; Task.insurance.reference=Coverage[1].idis equivalent toTask[1]IF ORC.1 EQUALS "OC"ORC.element("1")="OC"
ORM_O01.ORDER.ORCORC[Provenance]Provenance.target=ServiceRequest[ORC]is equivalent toProvenance
ORM_O01.ORDER_DETAIL.CHOICE.OBROBR[ServiceRequest]is equivalent toServiceRequest[1]IF PID VALUEDIncorporate OBR content into the ServiceRequest created from the ORC segment in the same segment group.
ORM_O01.ORDER_DETAIL.CHOICE.OBROBR[ServiceRequest]is equivalent toSupplyRequest[1]IF PID NOT VALUED
ORM_O01.ORDER_DETAIL.CHOICE.RXORXO[MedicationRequest]is equivalent toMedicationRequest
ORM_O01.ORDER_DETAIL.CHOICE.ODSis equivalent toSupplyRequestIF PID NOT VALUED
ORM_O01.ORDER_DETAIL.NTENTE[Annotation]is equivalent toServiceRequest[1].note
ORM_O01.ORDER_DETAIL.DG1DG1[Condition]ServiceRequest[1].reasonReference(Condition.subject.reference=Patient[1].id)is equivalent toServiceRequest[1].reasonReference(Condition)Processing of the DG1 segment results in the creation of a new Condition resource which is referenced in the ServiceRequest created by the ORC segment

Notes: