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 OML_O21 to Bundle Map

This ConceptMap represents the mapping from the HL7 V2 OML_O21 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
1OML_O21.MSHMSHMessage Header11BundleMSH[Bundle]
1OML_O21.MSHMSHMessage Header11MessageHeaderMSH[MessageHeader]Processing of the MSH segment results in the creation of a new MessageHeader resource
1OML_O21.MSHMSHMessage Header11ProvenanceMSH[Provenance]Provenance.target=Bundle; Provenance.target=MessageHeader[MSH]
2OML_O21.SFT[{SFT}]Software0-1MessageHeaderSFT[MessageHeader]Incorporate SFT content for each of the SFT instances into the MessageHeader created from the MSH segment.
3OML_O21.UAC[ UAC ]User Authentication Credential01
4OML_O21.NTE[{NTE}]Notes and Comments (for Header)0-1
5OML_O21.PATIENT[--- PATIENT begin01
5.1OML_O21.PATIENT.PIDPIDPatient Identification11PatientPID[Patient]Processing of the PID segment results in the creation of a new Patient resource
5.2OML_O21.PATIENT.PD1[PD1]Additional Demographics01PatientPD1[Patient]Incorporate PD1 content into the Patient created from the PID segment.
5.3OML_O21.PATIENT.PRT[{PRT}]Participation (for Patient)0-1IF PRT-4.1 EQUALS "PP" AND PRT-4.3 EQUALS "HL70443"(element("4.1")="PP")and(element("4.3")="HL70443")PractitionerRolePRT[PractitionerRole]Patient[1].generalPractitioner.reference=PractitionerRole[1].idIncorporate PRT content into the Patient created from the PID segment when the PRT contains practitioner related data.
5.3OML_O21.PATIENT.PRT[{PRT}]Participation (for Patient)0-1IF PRT-4.1 NOT EQUALS "PP" OR PRT-4.3 NOT EQUALS "HL70443"(element("4.1"!)="PP")or(element("4.3")!="HL70443")RelatedPersonPRT[RelatedPerson]RelatedPerson[1].patient.reference=Patient[1].id
5.4OML_O21.PATIENT.NTE[{NTE}]Notes and Comments (for Patient ID)0-1
5.6OML_O21.PATIENT.NK1[{NK1}]Next of Kin/Associated Parties0-1The FHIR location will depend on the nature of the data being exchanged and how the systems use next of kin dataRelatedPersonNK1[RelatedPerson]RelatedPerson[2].patient.reference=Patient[1].idTypically, each NK1 will be translated to either a new RelatedPerson resource or added as a new occurrence of Patient.contact, but it's possible to insert the NK1 data into both structures.
5.6OML_O21.PATIENT.NK1[{NK1}]Next of Kin/Associated Parties0-1The FHIR location will depend on the nature of the data being exchanged and how the systems use next of kin dataPatientNK1[Patient]Typically, each NK1 will be translated to either a new RelatedPerson resource or added as a new occurrence of Patient.contact, but it's possible to insert the NK1 data into both structures.
5.7OML_O21.PATIENT.ARV[{ARV}]Access Restrictions0-1
5.8OML_O21.PATIENT.PATIENT_VISIT[--- PATIENT_VISIT begin01
5.8.1OML_O21.PATIENT.PATIENT_VISIT.PV1PV1Patient Visit11EncounterPV1[Encounter]Encounter.subject=Patient[PID]Processing of the PV1 segment results in the creation of a new Encounter resource
5.8.1OML_O21.PATIENT.PATIENT_VISIT.PV1PV1Patient Visit11PatientPV1[Patient]
5.8.2OML_O21.PATIENT.PATIENT_VISIT.PV2[ PV2 ]Patient Visit- Additional Info01EncounterPV2[Encounter]Incorporate PV2 content into the Encounter created from the PV1 segment.
5.8.3OML_O21.PATIENT.PATIENT_VISIT.PRT[{PRT}]Participation (for Patient Visit)0-1PractitionerRolePRT[PractitionerRole]Encounter[1].participant.individual.reference=PractitionerRole[2].idIncorporate PRT content into the Encounter created from the PV1 segment.
5.8.4/OML_O21.PATIENT.PATIENT_VISIT]--- PATIENT_VISIT end
5.9OML_O21.PATIENT.INSURANCE[{--- INSURANCE begin0-1
5.9.1OML_O21.PATIENT.INSURANCE.IN1IN1Insurance11CoverageIN1[Coverage]Coverage.subscriber=Patient[PID]Processing of the IN1 segment results in the creation of a new Coverage resource
5.9.2OML_O21.PATIENT.INSURANCE.IN2[ IN2 ]Insurance Additional Information01CoverageIN2[Coverage]Incorporate IN2 content into the Coverage created from the IN1 segment.
5.9.3OML_O21.PATIENT.INSURANCE.IN3[ IN3 ]Insurance Additional Information, Certification01CoverageIN3[Coverage]Incorporate IN3 content into the Coverage created from the IN1 segment.
5.9/OML_O21.PATIENT.INSURANCE}]--- INSURANCE end
5.10OML_O21.PATIENT.AL1[ GT1 ]Guarantor01
5.11OML_O21.PATIENT.AL1[{AL1}]Allergy Information0-1AllergyIntoleranceAL1AllergyIntolerance.patient=Patient[PID]Processing of the AL1 segment results in the creation of a new AllergyIntolerance resource
5/OML_O21.PATIENT]--- PATIENT end
6OML_O21.ORDER{--- ORDER begin1-1
6.1OML_O21.ORDER.ORCORCCommon Order11ServiceRequestORC[ServiceRequest]ServiceRequest.subject=Patient[PID]Processing of each ORC segment results in the creation of a new ServiceRequest resource
6.1OML_O21.ORDER.ORCORCCommon Order11ProvenanceORC[Provenance]Provenance.target=ServiceRequest[ORC]Using Provenance is the preferred way, but a local implementation may decide to add extensions to the main resource. As the use and guidance of Provenance matures we wil revisit this later.
6.2OML_O21.ORDER.PRT[{PRT}]Participation (for Common Order)0-1IF PRT-4.1 EQUALS "OP" AND PRT-4.3 EQUALS "HL70443"(element("4.1")="OP")and(element("4.3")="HL70443")PractitionerRolePRT[PractitionerRole]ServiceRequest[1].requester.reference=PractitionerRole[3].id
6.3OML_O21.ORDER.TIMING[{--- TIMING begin0-1
6.3.1OML_O21.ORDER.TIMING.TQ1TQ1Timing/Quantity11ServiceRequestTQ1[ServiceRequest]
6.3.2OML_O21.ORDER.TIMING.TQ2[{TQ2}]Timing/Quantity Order Sequence0-1ServiceRequestTQ2[ServiceRequest]
6.3.3/OML_O21.ORDER.TIMING}]--- TIMING end
6.4OML_O21.ORDER.OBSERVATION_REQUEST[--- OBSERVATION_REQUEST begin01
6.4.1OML_O21.ORDER.OBSERVATION_REQUEST.OBROBRObservation Request11ServiceRequestOBR[ServiceRequest]Incorporate OBR content into the ServiceRequest created from the ORC segment in the same segment group.
6.4.2OML_O21.ORDER.OBSERVATION_REQUEST.TCD[ TCD ]Test Code Details01
6.4.3OML_O21.ORDER.OBSERVATION_REQUEST.NTE[{NTE}]Notes and Comments (for Detail)0-1ServiceRequestNTE[ServiceRequest]
6.4.4OML_O21.ORDER.OBSERVATION_REQUEST.PRT[{PRT}]Participation (for Observation Request)0-1IF PRT-4.1 EQUALS "SC" AND PRT-4.3 EQUALS "HL70443"(element("4.1")="SC")and(element("4.3")="HL70443")PractitionerRolePRT[PractitionerRole]ServiceRequest[1].specimen[1](Specimen.collection.collector.reference)=PractitionerRole[4].id
6.4.4OML_O21.ORDER.OBSERVATION_REQUEST.PRT[{PRT}]Participation (for Observation Request)0-1IF PRT-4.1 EQUALS "OP" AND PRT-4.3 EQUALS "HL70443"(element("4.1")="OP")and(element("4.3")="HL70443")PractitionerRolePRT[PractitionerRole]ServiceRequest[1].requester.reference=PractitionerRole[3].id
6.4.5OML_O21.ORDER.OBSERVATION_REQUEST.CTD[ CTD ]Contact Data01
6.4.6OML_O21.ORDER.OBSERVATION_REQUEST.DG1[{DG1}]Diagnosis0-1ConditionDG1[Condition]ServiceRequest[1].reasonReference.reference=Condition[1].id; Condition[1].subject.reference=Patient[1].idProcessing of the DG1 segment results in the creation of a new Condition resource which is referenced in the ServiceRequest created by the ORC segment
6.4.7OML_O21.ORDER.OBSERVATION_REQUEST.OBSERVATION[{--- OBSERVATION begin0-1
6.4.7.1OML_O21.ORDER.OBSERVATION_REQUEST.OBSERVATION.OBXOBXObservation/Result11IF OBX-29 IN ("QST", "SCI")ObservationOBX[Observation]ServiceRequest[1].supportingInfo.reference=Observation[1].id; Observation[1].subject.id=Patient[1].id
6.4.7.1OML_O21.ORDER.OBSERVATION_REQUEST.OBSERVATION.OBXOBXObservation/Result11IF OBX-29="Q......
6.4.7.2OML_O21.ORDER.OBSERVATION_REQUEST.OBSERVATION.PRT[{PRT}]Participation (for OBX)0-1IF PRT-10 VALUEDDevicePRT[Device]Observation[2].device.reference=Device.id
6.4.7.2OML_O21.ORDER.OBSERVATION_REQUEST.OBSERVATION.PRT[{PRT}]Participation (for OBX)0-1IF PRT-9 VALUED OR IF PRT-14 VALUEDObservationPRT[Observation-Location]Incorporate PRT content into the Observation created from the OBX segment in the same segment group when it represents observation location information.
6.4.7.2OML_O21.ORDER.OBSERVATION_REQUEST.OBSERVATION.PRT[{PRT}]Participation (for OBX)0-1IF PRT-5 VALUEDPractitionerRolePRT[PractitionerRole]Observation[2].performer.reference=PractitionerRole[7].idIncorporate PRT content into the Observation created from the OBX segment in the same segment group when it represents observation practitioner information.
6.4.7.3OML_O21.ORDER.OBSERVATION_REQUEST.OBSERVATION.TCD[ TCD ]Test Code Detail01
6.4.7.4OML_O21.ORDER.OBSERVATION_REQUEST.OBSERVATION.NTE[{NTE}]Notes and Comments (for Results)0-1ObservationNTE[Observation]
6.4.7.5/OML_O21.ORDER.OBSERVATION_REQUEST.OBSERVATION}]--- OBSERVATION end
6.4.8OML_O21.ORDER.OBSERVATION_REQUEST.SPECIMEN[{--- SPECIMEN begin0-1
6.4.8.1OML_O21.ORDER.OBSERVATION_REQUEST.SPECIMEN.SPMSPMSpecimen11SpecimenSPM[Specimen]ServiceRequest[1].specimen.reference=Specimen[SPM].id
6.4.8.1OML_O21.ORDER.OBSERVATION_REQUEST.SPECIMEN.SPMSPMSpecimen11IF SPM-21 VALUEDServiceRequest[1].specimen.#ext-rejectReason#=SPM-21This provides a reject reason for the specimen in context of the specific test as the specimen may still be usable for other tests.
6.4.8.2OML_O21.ORDER.OBSERVATION_REQUEST.SPECIMEN.SPECIMEN_OBSERVATION[{--- SPECIMEN_OBSERVATION begin0-1
6.4.8.2.1OML_O21.ORDER.OBSERVATION_REQUEST.SPECIMEN.SPECIMEN_OBSERVATION.OBXOBXObservation/Result related to specimen11
6.4.8.2.2OML_O21.ORDER.OBSERVATION_REQUEST.SPECIMEN.SPECIMEN_OBSERVATION.PRT[{PRT}]Participation (for Specimen Observation)0-1
6.4.8.2.3/OML_O21.ORDER.OBSERVATION_REQUEST.SPECIMEN.SPECIMEN_OBSERVATION}]--- SPECIMEN_OBSERVATION end
6.4.8.3OML_O21.ORDER.OBSERVATION_REQUEST.SPECIMEN.CONTAINER[{--- CONTAINER begin0-1
6.4.8.3.1OML_O21.ORDER.OBSERVATION_REQUEST.SPECIMEN.CONTAINER.SACSACSpecimen Container11
6.4.8.3.2OML_O21.ORDER.OBSERVATION_REQUEST.SPECIMEN.CONTAINER.CONTAINER_OBSERVATION[{--- CONTAINER_OBSERVATION begin0-1
6.4.8.3.2.1OML_O21.ORDER.OBSERVATION_REQUEST.SPECIMEN.CONTAINER.CONTAINER_OBSERVATION.OBXOBXObservation/Result related to container11
6.4.8.3.2.2OML_O21.ORDER.OBSERVATION_REQUEST.SPECIMEN.CONTAINER.CONTAINER_OBSERVATION.PRT[{PRT}]Participation (for Container Observation)0-1
6.4.8.3.2.3/OML_O21.ORDER.OBSERVATION_REQUEST.SPECIMEN.CONTAINER.CONTAINER_OBSERVATION}]--- CONTAINER_OBSERVATION end
6.4.8.3.3/OML_O21.ORDER.OBSERVATION_REQUEST.SPECIMEN.CONTAINER}]--- CONTAINER end
6.4.8.4/OML_O21.ORDER.OBSERVATION_REQUEST.SPECIMEN}]--- SPECIMEN end
6.4.9OML_O21.ORDER.OBSERVATION_REQUEST.SGH[SGH]Segment Group Header
6.4.10OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT[{--- PRIOR_RESULT begin
6.4.10.1OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.PATIENT_PRIOR[--- PATIENT_PRIOR begin
6.4.10.1.2OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.PATIENT_PRIOR.PIDPIDPatient Identification– previous result
6.4.10.1.3OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.PATIENT_PRIOR.PD1[PD1]Additional Demographics – previous result
6.4.10.1.4OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.PATIENT_PRIOR.PRT[{PRT}]Participation (for Patient Prior)
6.4.10.1.5OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.PATIENT_PRIOR.ARV[{ARV}]Access Restrictions
6.4.10.1.6/OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.PATIENT_PRIOR]--- PATIENT_PRIOR end
6.4.10.2OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.RESULT_VISIT_PRIOR[--- PATIENT_VISIT_PRIOR begin
6.4.10.2.1OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.RESULT_VISIT_PRIOR.PV1PV1Patient Visit– previous result
6.4.10.2.2OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.RESULT_VISIT_PRIOR.PV2[ PV2 ]Patient Visit Add. Info – previous result
6.4.10.2.3OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.RESULT_VISIT_PRIOR.PRT[{PRT}]Participation (for Patient Visit Prior)
6.4.10.2.4/OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.RESULT_VISIT_PRIOR]--- PATIENT_VISIT_PRIOR end
6.4.10.3/OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.AL1[{AL1}]Allergy Information- previous result
6.4.10.4OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.ORDER_PRIOR{--- ORDER_PRIOR begin
6.4.10.4.1OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.ORDER_PRIOR.ORCORCCommon Order- previous result
6.4.10.4.2OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.ORDER_PRIOR.PRT[{PRT}]Participation
6.4.10.4.3OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.ORDER_PRIOR.OBROBROrder Detail- previous result
6.4.10.4.4OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.ORDER_PRIOR.NTE[{NTE}]Notes and Comments- previous result
6.4.10.4.5OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.ORDER_PRIOR.PRT[{PRT}]Participation (for Order Prior)
6.4.10.4.6OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.ORDER_PRIOR.TIMING_PRIOR[{--- TIMING_PRIOR begin
6.4.10.4.6.1OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.ORDER_PRIOR.TIMING_PRIOR.TQ1TQ1Timing/Quantity
6.4.10.4.6.2OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.ORDER_PRIOR.TIMING_PRIOR.TQ2[{TQ2}]Timing/Quantity Order Sequence
6.4.10.4.6.3/OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.ORDER_PRIOR.TIMING_PRIOR}]--- TIMING_PRIOR end
6.4.10.4.7OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.ORDER_PRIOR.OBSERVATION_PRIOR{--- OBSERVATION_PRIOR begin
6.4.10.4.7.1OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.ORDER_PRIOR.OBSERVATION_PRIOR.OBXOBXObservation/Result- previous result
6.4.10.4.7.2OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.ORDER_PRIOR.OBSERVATION_PRIOR.PRT[{PRT}]Participation (for Observation Prior)
6.4.10.4.7.3OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.ORDER_PRIOR.OBSERVATION_PRIOR.NTE[{NTE}]Notes and Comments- previous result
6.4.10.4.7.4/OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.ORDER_PRIOR.OBSERVATION_PRIOR}--- OBSERVATION_PRIOR end
6.4.10.4.8/OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.ORDER_PRIOR}--- ORDER_PRIOR end
6.4.10.5/OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT}]--- PRIOR_RESULT end
6.4.11OML_O21.ORDER.OBSERVATION_REQUEST.SGT[SGT]Segment Group Trailer
6.4.12/OML_O21.ORDER.OBSERVATION_REQUEST]--- OBSERVATION_REQUEST end
6.5OML_O21.ORDER.FT1[{FT1}]Financial Transaction
6.6OML_O21.ORDER.CTI[{CTI}]Clinical Trial Identification
6.7OML_O21.ORDER.BLG[ BLG ]Billing Segment
6.8/OML_O21.ORDER}--- ORDER end

Formats: XML, JSON, Turtle

MessageOML_O21toBundle (http://hl7.org/fhir/uv/v2mappings/message-oml-o21-to-bundle)

Mapping from OML_O21 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 OML_O21 to the FHIR Message Bundle.


Source Concept DetailsRelationshipDestination Concept DetailsComment
Code from Code from Code from Code from Code from Code from Code from
OML_O21.MSHMSH[Bundle]is equivalent toBundle
OML_O21.MSHMSH[MessageHeader]is equivalent toMessageHeader[1]Processing of the MSH segment results in the creation of a new MessageHeader resource
OML_O21.MSHMSH[Provenance]Provenance.target=Bundle; Provenance.target=MessageHeader[MSH]is equivalent toProvenance[1]
OML_O21.SFTSFT[MessageHeader]is equivalent toMessageHeader[1]Incorporate SFT content for each of the SFT instances into the MessageHeader created from the MSH segment.
OML_O21.PATIENT.PIDPID[Patient]is equivalent toPatient[1]Processing of the PID segment results in the creation of a new Patient resource
OML_O21.PATIENT.PD1PD1[Patient]is equivalent toPatient[1]Incorporate PD1 content into the Patient created from the PID segment.
OML_O21.PATIENT.PRTPRT[PractitionerRole]Patient[1].generalPractitioner.reference=PractitionerRole[1].idis equivalent toPractitionerRole[1]IF PRT-4.1 EQUALS "PP" AND PRT-4.3 EQUALS "HL70443"(element("4.1")="PP")and(element("4.3")="HL70443")Incorporate PRT content into the Patient created from the PID segment when the PRT contains practitioner related data.
OML_O21.PATIENT.PRTPRT[RelatedPerson]RelatedPerson[1].patient.reference=Patient[1].idis equivalent toRelatedPerson[1]IF PRT-4.1 NOT EQUALS "PP" OR PRT-4.3 NOT EQUALS "HL70443"(element("4.1"!)="PP")or(element("4.3")!="HL70443")
OML_O21.PATIENT.NK1NK1[RelatedPerson]RelatedPerson[2].patient.reference=Patient[1].idis equivalent toRelatedPerson[2]The FHIR location will depend on the nature of the data being exchanged and how the systems use next of kin dataTypically, each NK1 will be translated to either a new RelatedPerson resource or added as a new occurrence of Patient.contact, but it's possible to insert the NK1 data into both structures.
OML_O21.PATIENT.NK1NK1[Patient]is equivalent toPatient[1]The FHIR location will depend on the nature of the data being exchanged and how the systems use next of kin dataTypically, each NK1 will be translated to either a new RelatedPerson resource or added as a new occurrence of Patient.contact, but it's possible to insert the NK1 data into both structures.
OML_O21.PATIENT.PATIENT_VISIT.PV1PV1[Encounter]Encounter.subject=Patient[PID]is equivalent toEncounter[1]Processing of the PV1 segment results in the creation of a new Encounter resource
OML_O21.PATIENT.PATIENT_VISIT.PV1PV1[Patient]is equivalent toPatient[1]
OML_O21.PATIENT.PATIENT_VISIT.PV2PV2[Encounter]is equivalent toEncounter[1]Incorporate PV2 content into the Encounter created from the PV1 segment.
OML_O21.PATIENT.PATIENT_VISIT.PRTPRT[PractitionerRole]Encounter[1].participant.individual.reference=PractitionerRole[2].idis equivalent toPractitionerRole[2]Incorporate PRT content into the Encounter created from the PV1 segment.
OML_O21.PATIENT.INSURANCE.IN1IN1[Coverage]Coverage.subscriber=Patient[PID]is equivalent toCoverage[1]Processing of the IN1 segment results in the creation of a new Coverage resource
OML_O21.PATIENT.INSURANCE.IN2IN2[Coverage]is equivalent toCoverage[1]Incorporate IN2 content into the Coverage created from the IN1 segment.
OML_O21.PATIENT.INSURANCE.IN3IN3[Coverage]is equivalent toCoverage[1]Incorporate IN3 content into the Coverage created from the IN1 segment.
OML_O21.PATIENT.AL1AL1AllergyIntolerance.patient=Patient[PID]is equivalent toAllergyIntoleranceProcessing of the AL1 segment results in the creation of a new AllergyIntolerance resource
OML_O21.ORDER.ORCORC[ServiceRequest]ServiceRequest.subject=Patient[PID]is equivalent toServiceRequest[1]Processing of each ORC segment results in the creation of a new ServiceRequest resource
OML_O21.ORDER.ORCORC[Provenance]Provenance.target=ServiceRequest[ORC]is equivalent toProvenance[3]Using Provenance is the preferred way, but a local implementation may decide to add extensions to the main resource. As the use and guidance of Provenance matures we wil revisit this later.
OML_O21.ORDER.PRTPRT[PractitionerRole]ServiceRequest[1].requester.reference=PractitionerRole[3].idis equivalent toPractitionerRole[3]IF PRT-4.1 EQUALS "OP" AND PRT-4.3 EQUALS "HL70443"(element("4.1")="OP")and(element("4.3")="HL70443")
OML_O21.ORDER.TIMING.TQ1TQ1[ServiceRequest]is equivalent toServiceRequest[1]
OML_O21.ORDER.TIMING.TQ2TQ2[ServiceRequest]is equivalent toServiceRequest[1]
OML_O21.ORDER.OBSERVATION_REQUEST.OBROBR[ServiceRequest]is equivalent toServiceRequest[1]Incorporate OBR content into the ServiceRequest created from the ORC segment in the same segment group.
OML_O21.ORDER.OBSERVATION_REQUEST.NTENTE[ServiceRequest]is equivalent toServiceRequest[1]
OML_O21.ORDER.OBSERVATION_REQUEST.PRTPRT[PractitionerRole]ServiceRequest[1].specimen[1](Specimen.collection.collector.reference)=PractitionerRole[4].idis equivalent toPractitionerRole[4]IF PRT-4.1 EQUALS "SC" AND PRT-4.3 EQUALS "HL70443"(element("4.1")="SC")and(element("4.3")="HL70443")
OML_O21.ORDER.OBSERVATION_REQUEST.PRTPRT[PractitionerRole]ServiceRequest[1].requester.reference=PractitionerRole[3].idis equivalent toPractitionerRole[3]IF PRT-4.1 EQUALS "OP" AND PRT-4.3 EQUALS "HL70443"(element("4.1")="OP")and(element("4.3")="HL70443")
OML_O21.ORDER.OBSERVATION_REQUEST.DG1DG1[Condition]ServiceRequest[1].reasonReference.reference=Condition[1].id; Condition[1].subject.reference=Patient[1].idis equivalent toCondition[1]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
OML_O21.ORDER.OBSERVATION_REQUEST.OBSERVATION.OBXOBX[Observation]ServiceRequest[1].supportingInfo.reference=Observation[1].id; Observation[1].subject.id=Patient[1].idis equivalent toObservation[1]IF OBX-29 IN ("QST", "SCI")
OML_O21.ORDER.OBSERVATION_REQUEST.OBSERVATION.PRTPRT[Device]Observation[2].device.reference=Device.idis equivalent toDeviceIF PRT-10 VALUED
OML_O21.ORDER.OBSERVATION_REQUEST.OBSERVATION.PRTPRT[Observation-Location]is equivalent toObservation[2]IF PRT-9 VALUED OR IF PRT-14 VALUEDIncorporate PRT content into the Observation created from the OBX segment in the same segment group when it represents observation location information.
OML_O21.ORDER.OBSERVATION_REQUEST.OBSERVATION.PRTPRT[PractitionerRole]Observation[2].performer.reference=PractitionerRole[7].idis equivalent toPractitionerRole[7]IF PRT-5 VALUEDIncorporate PRT content into the Observation created from the OBX segment in the same segment group when it represents observation practitioner information.
OML_O21.ORDER.OBSERVATION_REQUEST.OBSERVATION.NTENTE[Observation]is equivalent toObservation[1]
OML_O21.ORDER.OBSERVATION_REQUEST.SPECIMEN.SPMSPM[Specimen]ServiceRequest[1].specimen.reference=Specimen[SPM].idis equivalent toSpecimen

Notes: