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
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.
HL7 v2 | Condition (IF True, args) | HL7 FHIR | Comments | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Sort Order | Identifier | Syntax | Name | Cardinality - Min | Cardinality - Max | Computable ANTLR | Computable FHIRPath | Narrative | Primary Target | Segment Map | References | </thead>|
1 | OML_O21.MSH | MSH | Message Header | 1 | 1 | Bundle | MSH[Bundle] | |||||
1 | OML_O21.MSH | MSH | Message Header | 1 | 1 | MessageHeader | MSH[MessageHeader] | Processing of the MSH segment results in the creation of a new MessageHeader resource | ||||
1 | OML_O21.MSH | MSH | Message Header | 1 | 1 | Provenance | MSH[Provenance] | Provenance.target=Bundle; Provenance.target=MessageHeader[MSH] | ||||
2 | OML_O21.SFT | [{SFT}] | Software | 0 | -1 | MessageHeader | SFT[MessageHeader] | Incorporate SFT content for each of the SFT instances into the MessageHeader created from the MSH segment. | ||||
3 | OML_O21.UAC | [ UAC ] | User Authentication Credential | 0 | 1 | |||||||
4 | OML_O21.NTE | [{NTE}] | Notes and Comments (for Header) | 0 | -1 | |||||||
5 | OML_O21.PATIENT | [ | --- PATIENT begin | 0 | 1 | |||||||
5.1 | OML_O21.PATIENT.PID | PID | Patient Identification | 1 | 1 | Patient | PID[Patient] | Processing of the PID segment results in the creation of a new Patient resource | ||||
5.2 | OML_O21.PATIENT.PD1 | [PD1] | Additional Demographics | 0 | 1 | Patient | PD1[Patient] | Incorporate PD1 content into the Patient created from the PID segment. | ||||
5.3 | OML_O21.PATIENT.PRT | [{PRT}] | Participation (for Patient) | 0 | -1 | IF PRT-4.1 EQUALS "PP" AND PRT-4.3 EQUALS "HL70443" | (element("4.1")="PP")and(element("4.3")="HL70443") | PractitionerRole | PRT[PractitionerRole] | Patient[1].generalPractitioner.reference=PractitionerRole[1].id | Incorporate PRT content into the Patient created from the PID segment when the PRT contains practitioner related data. | |
5.3 | OML_O21.PATIENT.PRT | [{PRT}] | Participation (for Patient) | 0 | -1 | IF PRT-4.1 NOT EQUALS "PP" OR PRT-4.3 NOT EQUALS "HL70443" | (element("4.1"!)="PP")or(element("4.3")!="HL70443") | RelatedPerson | PRT[RelatedPerson] | RelatedPerson[1].patient.reference=Patient[1].id | ||
5.4 | OML_O21.PATIENT.NTE | [{NTE}] | Notes and Comments (for Patient ID) | 0 | -1 | |||||||
5.6 | OML_O21.PATIENT.NK1 | [{NK1}] | Next of Kin/Associated Parties | 0 | -1 | The FHIR location will depend on the nature of the data being exchanged and how the systems use next of kin data | RelatedPerson | NK1[RelatedPerson] | RelatedPerson[2].patient.reference=Patient[1].id | 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.6 | OML_O21.PATIENT.NK1 | [{NK1}] | Next of Kin/Associated Parties | 0 | -1 | The FHIR location will depend on the nature of the data being exchanged and how the systems use next of kin data | Patient | NK1[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.7 | OML_O21.PATIENT.ARV | [{ARV}] | Access Restrictions | 0 | -1 | |||||||
5.8 | OML_O21.PATIENT.PATIENT_VISIT | [ | --- PATIENT_VISIT begin | 0 | 1 | |||||||
5.8.1 | OML_O21.PATIENT.PATIENT_VISIT.PV1 | PV1 | Patient Visit | 1 | 1 | Encounter | PV1[Encounter] | Encounter.subject=Patient[PID] | Processing of the PV1 segment results in the creation of a new Encounter resource | |||
5.8.1 | OML_O21.PATIENT.PATIENT_VISIT.PV1 | PV1 | Patient Visit | 1 | 1 | Patient | PV1[Patient] | |||||
5.8.2 | OML_O21.PATIENT.PATIENT_VISIT.PV2 | [ PV2 ] | Patient Visit- Additional Info | 0 | 1 | Encounter | PV2[Encounter] | Incorporate PV2 content into the Encounter created from the PV1 segment. | ||||
5.8.3 | OML_O21.PATIENT.PATIENT_VISIT.PRT | [{PRT}] | Participation (for Patient Visit) | 0 | -1 | PractitionerRole | PRT[PractitionerRole] | Encounter[1].participant.individual.reference=PractitionerRole[2].id | Incorporate PRT content into the Encounter created from the PV1 segment. | |||
5.8.4 | /OML_O21.PATIENT.PATIENT_VISIT | ] | --- PATIENT_VISIT end | |||||||||
5.9 | OML_O21.PATIENT.INSURANCE | [{ | --- INSURANCE begin | 0 | -1 | |||||||
5.9.1 | OML_O21.PATIENT.INSURANCE.IN1 | IN1 | Insurance | 1 | 1 | Coverage | IN1[Coverage] | Coverage.subscriber=Patient[PID] | Processing of the IN1 segment results in the creation of a new Coverage resource | |||
5.9.2 | OML_O21.PATIENT.INSURANCE.IN2 | [ IN2 ] | Insurance Additional Information | 0 | 1 | Coverage | IN2[Coverage] | Incorporate IN2 content into the Coverage created from the IN1 segment. | ||||
5.9.3 | OML_O21.PATIENT.INSURANCE.IN3 | [ IN3 ] | Insurance Additional Information, Certification | 0 | 1 | Coverage | IN3[Coverage] | Incorporate IN3 content into the Coverage created from the IN1 segment. | ||||
5.9 | /OML_O21.PATIENT.INSURANCE | }] | --- INSURANCE end | |||||||||
5.10 | OML_O21.PATIENT.AL1 | [ GT1 ] | Guarantor | 0 | 1 | |||||||
5.11 | OML_O21.PATIENT.AL1 | [{AL1}] | Allergy Information | 0 | -1 | AllergyIntolerance | AL1 | AllergyIntolerance.patient=Patient[PID] | Processing of the AL1 segment results in the creation of a new AllergyIntolerance resource | |||
5 | /OML_O21.PATIENT | ] | --- PATIENT end | |||||||||
6 | OML_O21.ORDER | { | --- ORDER begin | 1 | -1 | |||||||
6.1 | OML_O21.ORDER.ORC | ORC | Common Order | 1 | 1 | ServiceRequest | ORC[ServiceRequest] | ServiceRequest.subject=Patient[PID] | Processing of each ORC segment results in the creation of a new ServiceRequest resource | |||
6.1 | OML_O21.ORDER.ORC | ORC | Common Order | 1 | 1 | Provenance | ORC[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.2 | OML_O21.ORDER.PRT | [{PRT}] | Participation (for Common Order) | 0 | -1 | IF PRT-4.1 EQUALS "OP" AND PRT-4.3 EQUALS "HL70443" | (element("4.1")="OP")and(element("4.3")="HL70443") | PractitionerRole | PRT[PractitionerRole] | ServiceRequest[1].requester.reference=PractitionerRole[3].id | ||
6.3 | OML_O21.ORDER.TIMING | [{ | --- TIMING begin | 0 | -1 | |||||||
6.3.1 | OML_O21.ORDER.TIMING.TQ1 | TQ1 | Timing/Quantity | 1 | 1 | ServiceRequest | TQ1[ServiceRequest] | |||||
6.3.2 | OML_O21.ORDER.TIMING.TQ2 | [{TQ2}] | Timing/Quantity Order Sequence | 0 | -1 | ServiceRequest | TQ2[ServiceRequest] | |||||
6.3.3 | /OML_O21.ORDER.TIMING | }] | --- TIMING end | |||||||||
6.4 | OML_O21.ORDER.OBSERVATION_REQUEST | [ | --- OBSERVATION_REQUEST begin | 0 | 1 | |||||||
6.4.1 | OML_O21.ORDER.OBSERVATION_REQUEST.OBR | OBR | Observation Request | 1 | 1 | ServiceRequest | OBR[ServiceRequest] | Incorporate OBR content into the ServiceRequest created from the ORC segment in the same segment group. | ||||
6.4.2 | OML_O21.ORDER.OBSERVATION_REQUEST.TCD | [ TCD ] | Test Code Details | 0 | 1 | |||||||
6.4.3 | OML_O21.ORDER.OBSERVATION_REQUEST.NTE | [{NTE}] | Notes and Comments (for Detail) | 0 | -1 | ServiceRequest | NTE[ServiceRequest] | |||||
6.4.4 | OML_O21.ORDER.OBSERVATION_REQUEST.PRT | [{PRT}] | Participation (for Observation Request) | 0 | -1 | IF PRT-4.1 EQUALS "SC" AND PRT-4.3 EQUALS "HL70443" | (element("4.1")="SC")and(element("4.3")="HL70443") | PractitionerRole | PRT[PractitionerRole] | ServiceRequest[1].specimen[1](Specimen.collection.collector.reference)=PractitionerRole[4].id | ||
6.4.4 | OML_O21.ORDER.OBSERVATION_REQUEST.PRT | [{PRT}] | Participation (for Observation Request) | 0 | -1 | IF PRT-4.1 EQUALS "OP" AND PRT-4.3 EQUALS "HL70443" | (element("4.1")="OP")and(element("4.3")="HL70443") | PractitionerRole | PRT[PractitionerRole] | ServiceRequest[1].requester.reference=PractitionerRole[3].id | ||
6.4.5 | OML_O21.ORDER.OBSERVATION_REQUEST.CTD | [ CTD ] | Contact Data | 0 | 1 | |||||||
6.4.6 | OML_O21.ORDER.OBSERVATION_REQUEST.DG1 | [{DG1}] | Diagnosis | 0 | -1 | Condition | DG1[Condition] | ServiceRequest[1].reasonReference.reference=Condition[1].id; Condition[1].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 | |||
6.4.7 | OML_O21.ORDER.OBSERVATION_REQUEST.OBSERVATION | [{ | --- OBSERVATION begin | 0 | -1 | |||||||
6.4.7.1 | OML_O21.ORDER.OBSERVATION_REQUEST.OBSERVATION.OBX | OBX | Observation/Result | 1 | 1 | IF OBX-29 IN ("QST", "SCI") | Observation | OBX[Observation] | ServiceRequest[1].supportingInfo.reference=Observation[1].id; Observation[1].subject.id=Patient[1].id | |||
6.4.7.1 | OML_O21.ORDER.OBSERVATION_REQUEST.OBSERVATION.OBX | OBX | Observation/Result | 1 | 1 | IF OBX-29="Q...... | ||||||
6.4.7.2 | OML_O21.ORDER.OBSERVATION_REQUEST.OBSERVATION.PRT | [{PRT}] | Participation (for OBX) | 0 | -1 | IF PRT-10 VALUED | Device | PRT[Device] | Observation[2].device.reference=Device.id | |||
6.4.7.2 | OML_O21.ORDER.OBSERVATION_REQUEST.OBSERVATION.PRT | [{PRT}] | Participation (for OBX) | 0 | -1 | IF PRT-9 VALUED OR IF PRT-14 VALUED | Observation | PRT[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.2 | OML_O21.ORDER.OBSERVATION_REQUEST.OBSERVATION.PRT | [{PRT}] | Participation (for OBX) | 0 | -1 | IF PRT-5 VALUED | PractitionerRole | PRT[PractitionerRole] | Observation[2].performer.reference=PractitionerRole[7].id | Incorporate PRT content into the Observation created from the OBX segment in the same segment group when it represents observation practitioner information. | ||
6.4.7.3 | OML_O21.ORDER.OBSERVATION_REQUEST.OBSERVATION.TCD | [ TCD ] | Test Code Detail | 0 | 1 | |||||||
6.4.7.4 | OML_O21.ORDER.OBSERVATION_REQUEST.OBSERVATION.NTE | [{NTE}] | Notes and Comments (for Results) | 0 | -1 | Observation | NTE[Observation] | |||||
6.4.7.5 | /OML_O21.ORDER.OBSERVATION_REQUEST.OBSERVATION | }] | --- OBSERVATION end | |||||||||
6.4.8 | OML_O21.ORDER.OBSERVATION_REQUEST.SPECIMEN | [{ | --- SPECIMEN begin | 0 | -1 | |||||||
6.4.8.1 | OML_O21.ORDER.OBSERVATION_REQUEST.SPECIMEN.SPM | SPM | Specimen | 1 | 1 | Specimen | SPM[Specimen] | ServiceRequest[1].specimen.reference=Specimen[SPM].id | ||||
6.4.8.1 | OML_O21.ORDER.OBSERVATION_REQUEST.SPECIMEN.SPM | SPM | Specimen | 1 | 1 | IF SPM-21 VALUED | ServiceRequest[1].specimen.#ext-rejectReason#=SPM-21 | This 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.2 | OML_O21.ORDER.OBSERVATION_REQUEST.SPECIMEN.SPECIMEN_OBSERVATION | [{ | --- SPECIMEN_OBSERVATION begin | 0 | -1 | |||||||
6.4.8.2.1 | OML_O21.ORDER.OBSERVATION_REQUEST.SPECIMEN.SPECIMEN_OBSERVATION.OBX | OBX | Observation/Result related to specimen | 1 | 1 | |||||||
6.4.8.2.2 | OML_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.3 | OML_O21.ORDER.OBSERVATION_REQUEST.SPECIMEN.CONTAINER | [{ | --- CONTAINER begin | 0 | -1 | |||||||
6.4.8.3.1 | OML_O21.ORDER.OBSERVATION_REQUEST.SPECIMEN.CONTAINER.SAC | SAC | Specimen Container | 1 | 1 | |||||||
6.4.8.3.2 | OML_O21.ORDER.OBSERVATION_REQUEST.SPECIMEN.CONTAINER.CONTAINER_OBSERVATION | [{ | --- CONTAINER_OBSERVATION begin | 0 | -1 | |||||||
6.4.8.3.2.1 | OML_O21.ORDER.OBSERVATION_REQUEST.SPECIMEN.CONTAINER.CONTAINER_OBSERVATION.OBX | OBX | Observation/Result related to container | 1 | 1 | |||||||
6.4.8.3.2.2 | OML_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.9 | OML_O21.ORDER.OBSERVATION_REQUEST.SGH | [SGH] | Segment Group Header | |||||||||
6.4.10 | OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT | [{ | --- PRIOR_RESULT begin | |||||||||
6.4.10.1 | OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.PATIENT_PRIOR | [ | --- PATIENT_PRIOR begin | |||||||||
6.4.10.1.2 | OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.PATIENT_PRIOR.PID | PID | Patient Identification– previous result | |||||||||
6.4.10.1.3 | OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.PATIENT_PRIOR.PD1 | [PD1] | Additional Demographics – previous result | |||||||||
6.4.10.1.4 | OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.PATIENT_PRIOR.PRT | [{PRT}] | Participation (for Patient Prior) | |||||||||
6.4.10.1.5 | OML_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.2 | OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.RESULT_VISIT_PRIOR | [ | --- PATIENT_VISIT_PRIOR begin | |||||||||
6.4.10.2.1 | OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.RESULT_VISIT_PRIOR.PV1 | PV1 | Patient Visit– previous result | |||||||||
6.4.10.2.2 | OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.RESULT_VISIT_PRIOR.PV2 | [ PV2 ] | Patient Visit Add. Info – previous result | |||||||||
6.4.10.2.3 | OML_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.4 | OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.ORDER_PRIOR | { | --- ORDER_PRIOR begin | |||||||||
6.4.10.4.1 | OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.ORDER_PRIOR.ORC | ORC | Common Order- previous result | |||||||||
6.4.10.4.2 | OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.ORDER_PRIOR.PRT | [{PRT}] | Participation | |||||||||
6.4.10.4.3 | OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.ORDER_PRIOR.OBR | OBR | Order Detail- previous result | |||||||||
6.4.10.4.4 | OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.ORDER_PRIOR.NTE | [{NTE}] | Notes and Comments- previous result | |||||||||
6.4.10.4.5 | OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.ORDER_PRIOR.PRT | [{PRT}] | Participation (for Order Prior) | |||||||||
6.4.10.4.6 | OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.ORDER_PRIOR.TIMING_PRIOR | [{ | --- TIMING_PRIOR begin | |||||||||
6.4.10.4.6.1 | OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.ORDER_PRIOR.TIMING_PRIOR.TQ1 | TQ1 | Timing/Quantity | |||||||||
6.4.10.4.6.2 | OML_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.7 | OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.ORDER_PRIOR.OBSERVATION_PRIOR | { | --- OBSERVATION_PRIOR begin | |||||||||
6.4.10.4.7.1 | OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.ORDER_PRIOR.OBSERVATION_PRIOR.OBX | OBX | Observation/Result- previous result | |||||||||
6.4.10.4.7.2 | OML_O21.ORDER.OBSERVATION_REQUEST.PRIOR_RESULT.ORDER_PRIOR.OBSERVATION_PRIOR.PRT | [{PRT}] | Participation (for Observation Prior) | |||||||||
6.4.10.4.7.3 | OML_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.11 | OML_O21.ORDER.OBSERVATION_REQUEST.SGT | [SGT] | Segment Group Trailer | |||||||||
6.4.12 | /OML_O21.ORDER.OBSERVATION_REQUEST | ] | --- OBSERVATION_REQUEST end | |||||||||
6.5 | OML_O21.ORDER.FT1 | [{FT1}] | Financial Transaction | |||||||||
6.6 | OML_O21.ORDER.CTI | [{CTI}] | Clinical Trial Identification | |||||||||
6.7 | OML_O21.ORDER.BLG | [ BLG ] | Billing Segment | |||||||||
6.8 | /OML_O21.ORDER | } | --- ORDER end |
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 Details | Relationship | Destination Concept Details | Comment | |||||||
Code from | Code from | Code from | Code from | Code from | Code from | Code from | ||||
OML_O21.MSH | MSH[Bundle] | is equivalent to | Bundle | |||||||
OML_O21.MSH | MSH[MessageHeader] | is equivalent to | MessageHeader[1] | Processing of the MSH segment results in the creation of a new MessageHeader resource | ||||||
OML_O21.MSH | MSH[Provenance] | Provenance.target=Bundle; Provenance.target=MessageHeader[MSH] | is equivalent to | Provenance[1] | ||||||
OML_O21.SFT | SFT[MessageHeader] | is equivalent to | MessageHeader[1] | Incorporate SFT content for each of the SFT instances into the MessageHeader created from the MSH segment. | ||||||
OML_O21.PATIENT.PID | PID[Patient] | is equivalent to | Patient[1] | Processing of the PID segment results in the creation of a new Patient resource | ||||||
OML_O21.PATIENT.PD1 | PD1[Patient] | is equivalent to | Patient[1] | Incorporate PD1 content into the Patient created from the PID segment. | ||||||
OML_O21.PATIENT.PRT | PRT[PractitionerRole] | Patient[1].generalPractitioner.reference=PractitionerRole[1].id | is equivalent to | PractitionerRole[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.PRT | PRT[RelatedPerson] | RelatedPerson[1].patient.reference=Patient[1].id | is equivalent to | RelatedPerson[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.NK1 | NK1[RelatedPerson] | RelatedPerson[2].patient.reference=Patient[1].id | is equivalent to | RelatedPerson[2] | The FHIR location will depend on the nature of the data being exchanged and how the systems use next of kin data | 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. | ||||
OML_O21.PATIENT.NK1 | NK1[Patient] | is equivalent to | Patient[1] | The FHIR location will depend on the nature of the data being exchanged and how the systems use next of kin data | 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. | |||||
OML_O21.PATIENT.PATIENT_VISIT.PV1 | PV1[Encounter] | Encounter.subject=Patient[PID] | is equivalent to | Encounter[1] | Processing of the PV1 segment results in the creation of a new Encounter resource | |||||
OML_O21.PATIENT.PATIENT_VISIT.PV1 | PV1[Patient] | is equivalent to | Patient[1] | |||||||
OML_O21.PATIENT.PATIENT_VISIT.PV2 | PV2[Encounter] | is equivalent to | Encounter[1] | Incorporate PV2 content into the Encounter created from the PV1 segment. | ||||||
OML_O21.PATIENT.PATIENT_VISIT.PRT | PRT[PractitionerRole] | Encounter[1].participant.individual.reference=PractitionerRole[2].id | is equivalent to | PractitionerRole[2] | Incorporate PRT content into the Encounter created from the PV1 segment. | |||||
OML_O21.PATIENT.INSURANCE.IN1 | IN1[Coverage] | Coverage.subscriber=Patient[PID] | is equivalent to | Coverage[1] | Processing of the IN1 segment results in the creation of a new Coverage resource | |||||
OML_O21.PATIENT.INSURANCE.IN2 | IN2[Coverage] | is equivalent to | Coverage[1] | Incorporate IN2 content into the Coverage created from the IN1 segment. | ||||||
OML_O21.PATIENT.INSURANCE.IN3 | IN3[Coverage] | is equivalent to | Coverage[1] | Incorporate IN3 content into the Coverage created from the IN1 segment. | ||||||
OML_O21.PATIENT.AL1 | AL1 | AllergyIntolerance.patient=Patient[PID] | is equivalent to | AllergyIntolerance | Processing of the AL1 segment results in the creation of a new AllergyIntolerance resource | |||||
OML_O21.ORDER.ORC | ORC[ServiceRequest] | ServiceRequest.subject=Patient[PID] | is equivalent to | ServiceRequest[1] | Processing of each ORC segment results in the creation of a new ServiceRequest resource | |||||
OML_O21.ORDER.ORC | ORC[Provenance] | Provenance.target=ServiceRequest[ORC] | is equivalent to | Provenance[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.PRT | PRT[PractitionerRole] | ServiceRequest[1].requester.reference=PractitionerRole[3].id | is equivalent to | PractitionerRole[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.TQ1 | TQ1[ServiceRequest] | is equivalent to | ServiceRequest[1] | |||||||
OML_O21.ORDER.TIMING.TQ2 | TQ2[ServiceRequest] | is equivalent to | ServiceRequest[1] | |||||||
OML_O21.ORDER.OBSERVATION_REQUEST.OBR | OBR[ServiceRequest] | is equivalent to | ServiceRequest[1] | Incorporate OBR content into the ServiceRequest created from the ORC segment in the same segment group. | ||||||
OML_O21.ORDER.OBSERVATION_REQUEST.NTE | NTE[ServiceRequest] | is equivalent to | ServiceRequest[1] | |||||||
OML_O21.ORDER.OBSERVATION_REQUEST.PRT | PRT[PractitionerRole] | ServiceRequest[1].specimen[1](Specimen.collection.collector.reference)=PractitionerRole[4].id | is equivalent to | PractitionerRole[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.PRT | PRT[PractitionerRole] | ServiceRequest[1].requester.reference=PractitionerRole[3].id | is equivalent to | PractitionerRole[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.DG1 | DG1[Condition] | ServiceRequest[1].reasonReference.reference=Condition[1].id; Condition[1].subject.reference=Patient[1].id | is equivalent to | Condition[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.OBX | OBX[Observation] | ServiceRequest[1].supportingInfo.reference=Observation[1].id; Observation[1].subject.id=Patient[1].id | is equivalent to | Observation[1] | IF OBX-29 IN ("QST", "SCI") | |||||
OML_O21.ORDER.OBSERVATION_REQUEST.OBSERVATION.PRT | PRT[Device] | Observation[2].device.reference=Device.id | is equivalent to | Device | IF PRT-10 VALUED | |||||
OML_O21.ORDER.OBSERVATION_REQUEST.OBSERVATION.PRT | PRT[Observation-Location] | is equivalent to | Observation[2] | IF PRT-9 VALUED OR IF PRT-14 VALUED | Incorporate 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.PRT | PRT[PractitionerRole] | Observation[2].performer.reference=PractitionerRole[7].id | is equivalent to | PractitionerRole[7] | IF PRT-5 VALUED | Incorporate 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.NTE | NTE[Observation] | is equivalent to | Observation[1] | |||||||
OML_O21.ORDER.OBSERVATION_REQUEST.SPECIMEN.SPM | SPM[Specimen] | ServiceRequest[1].specimen.reference=Specimen[SPM].id | is equivalent to | Specimen |