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
Official URL: http://hl7.org/fhir/uv/v2mappings/message-oml-o21-to-bundle | Version: 1.0.0-ballot | |||
Active as of 2024-10-30 | Computable Name: MessageOML_O21ToBundle | |||
Copyright/Legal: 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.
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 | |
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 | If there is a source in MSH-4, or known based on the configuration. | Provenance | MSH[Provenance-Source] | Provenance[1].target.reference=Bundle.id; Provenance[1].target.reference=MessageHeader[1].id | If the FHIR transformation does not yield a FHIR message, but only a set of resource (APIs, repository, etc.) than one should consider attaching this Provenance resource instance to the relevant FHIR resources generated. | ||
1 | OML_O21.MSH | MSH | Message Header | 1 | 1 | Provenance | MSH[Provenance-Transformation] | Provenance[2].target.reference=Bundle.id | If the FHIR transformation does not yield a FHIR Bunlde, but only a set of resource (APIs, repository, etc.) than one should consider attaching this Provenance resource instance to the relevant FHIR resources generated. | |||
2 | OML_O21.SFT | [{SFT}] | Software | 0 | -1 | If the software does represent not the original source system | Provenance.entity.what(Device) | SFT[Device] | Provenance[1].entity.what.reference=Device.id Provenance[1].entity.role="derivation" | |||
2 | OML_O21.SFT | [{SFT}] | Software | 0 | -1 | If the software represents the original source system | Provenance.entity.what(Device) | SFT[Device] | Provenance[1].entity.what.reference=Device.id Provenance[1].entity.role="source" | |||
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.1 | OML_O21.PATIENT.PID | PID | Patient Identification | 1 | 1 | IF PID-33 AND PID-34 VALUED | One may drop PID-33 from the condition if PID-34 Last Update Facility is still sufficient without a date. | Provenance | PID[Provenance-Patient] | Provenance.target.reference=Patient[1].id | ||
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.2 | OML_O21.PATIENT.PD1 | [PD1] | Additional Demographics | 0 | 1 | IF PD1-7 VALUED | Observation | PD1[Observation-LivingWill] | Observation[2].subject.reference=Patient[1].id | |||
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 | IF PV1-43 VALUED | EncounterHistory | PV1[EncounterHistory] | EncounterHistory.subject.reference=Patient[1].id | |||
5.8.1 | OML_O21.PATIENT.PATIENT_VISIT.PV1 | PV1 | Patient Visit | 1 | 1 | Patient | PV1[Patient] | |||||
5.8.1 | OML_O21.PATIENT.PATIENT_VISIT.PV1 | PV1 | Patient Visit | 1 | 1 | IF PV1-20 VALUE | Coverage | PV1[Coverage] | Coverage.beneficiary.reference=Patient[1].id | |||
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 | |||||||
5.9.3 | OML_O21.PATIENT.INSURANCE.IN3 | [ IN3 ] | Insurance Additional Information, Certification | 0 | 1 | Coverage | IN3[CareTeam] | |||||
5.9 | /OML_O21.PATIENT.INSURANCE | }] | --- INSURANCE end | |||||||||
5.10 | OML_O21.PATIENT.GT1 | [ GT1 ] | Guarantor | 0 | 1 | |||||||
5.11 | OML_O21.PATIENT.AL1 | [{AL1}] | Allergy Information | 0 | -1 | AllergyIntolerance | AL1[AllergyIntolerance] | AllergyIntolerance.patient=Patient[PID] | Processing of the AL1 segment results in the creation of a new AllergyIntolerance resource | |||
5.12 | /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 | |||||||
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.1 | OML_O21.ORDER.OBSERVATION_REQUEST.OBR | OBR | Observation Request | 1 | 1 | Specimen | OBR[Specimen] | |||||
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-5 LST.count GREATER THAN 1 | 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-5 LST.count LESS THAN OR EQUALS 1 | Observation | OBX[Observation-Component] | ServiceRequest[1].supportingInfo.reference=Observation[1].id; Observation[1].subject.id=Patient[1].id | |||
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[1].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[1].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 |
Generated Narrative: ConceptMap message-oml-o21-to-bundle
Mapping from OML_O21 to Bundle
Group 1 Mapping from unspecified code system
to unspecified code system
Source Code | Relationship | Target Code | Comment |
OML_O21.MSH (Message Header) | is equivalent to | Bundle | |
OML_O21.MSH (Message Header) | is equivalent to | MessageHeader[1] | Processing of the MSH segment results in the creation of a new MessageHeader resource |
OML_O21.MSH (Message Header) | is equivalent to | Provenance[1] | If the FHIR transformation does not yield a FHIR message, but only a set of resource (APIs, repository, etc.) than one should consider attaching this Provenance resource instance to the relevant FHIR resources generated. |
OML_O21.MSH (Message Header) | is equivalent to | Provenance[2] | If the FHIR transformation does not yield a FHIR Bunlde, but only a set of resource (APIs, repository, etc.) than one should consider attaching this Provenance resource instance to the relevant FHIR resources generated. |
OML_O21.SFT (Software) | is equivalent to | Provenance[1].entity.what(Device) | |
OML_O21.SFT (Software) | is equivalent to | Provenance[1].entity.what(Device) | |
OML_O21.PATIENT.PID (Patient Identification) | is equivalent to | Patient[1] | Processing of the PID segment results in the creation of a new Patient resource |
OML_O21.PATIENT.PID (Patient Identification) | is equivalent to | Provenance[4] | |
OML_O21.PATIENT.PD1 (Additional Demographics) | is equivalent to | Patient[1] | Incorporate PD1 content into the Patient created from the PID segment. |
OML_O21.PATIENT.PD1 (Additional Demographics) | is equivalent to | Observation[2] | |
OML_O21.PATIENT.PRT (Participation (for Patient)) | is equivalent to | PractitionerRole[1] | Incorporate PRT content into the Patient created from the PID segment when the PRT contains practitioner related data. |
OML_O21.PATIENT.PRT (Participation (for Patient)) | is equivalent to | RelatedPerson[1] | |
OML_O21.PATIENT.NK1 (Next of Kin/Associated Parties) | is equivalent to | RelatedPerson[2] | 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 (Next of Kin/Associated Parties) | is equivalent to | Patient[1] | 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 (Patient Visit) | 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 (Patient Visit) | is equivalent to | EncounterHistory | |
OML_O21.PATIENT.PATIENT_VISIT.PV1 (Patient Visit) | is equivalent to | Patient[1] | |
OML_O21.PATIENT.PATIENT_VISIT.PV1 (Patient Visit) | is equivalent to | Coverage[1] | |
OML_O21.PATIENT.PATIENT_VISIT.PV2 (Patient Visit- Additional Info) | is equivalent to | Encounter[1] | Incorporate PV2 content into the Encounter created from the PV1 segment. |
OML_O21.PATIENT.PATIENT_VISIT.PRT (Participation (for Patient Visit)) | is equivalent to | PractitionerRole[2] | Incorporate PRT content into the Encounter created from the PV1 segment. |
OML_O21.PATIENT.INSURANCE.IN1 (Insurance) | is equivalent to | Coverage[1] | Processing of the IN1 segment results in the creation of a new Coverage resource |
OML_O21.PATIENT.INSURANCE.IN3 (Insurance Additional Information, Certification) | is equivalent to | Coverage[1] | |
OML_O21.PATIENT.AL1 (Allergy Information) | is equivalent to | AllergyIntolerance | Processing of the AL1 segment results in the creation of a new AllergyIntolerance resource |
OML_O21.ORDER.ORC (Common Order) | is equivalent to | ServiceRequest[1] | Processing of each ORC segment results in the creation of a new ServiceRequest resource |
OML_O21.ORDER.ORC (Common Order) | 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 (Participation (for Common Order)) | is equivalent to | PractitionerRole[3] | |
OML_O21.ORDER.TIMING.TQ1 (Timing/Quantity) | is equivalent to | ServiceRequest[1] | |
OML_O21.ORDER.OBSERVATION_REQUEST.OBR (Observation Request) | 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.OBR (Observation Request) | is equivalent to | Specimen[each] | |
OML_O21.ORDER.OBSERVATION_REQUEST.NTE (Notes and Comments (for Detail)) | is equivalent to | ServiceRequest[1] | |
OML_O21.ORDER.OBSERVATION_REQUEST.PRT (Participation (for Observation Request)) | is equivalent to | PractitionerRole[4] | |
OML_O21.ORDER.OBSERVATION_REQUEST.PRT (Participation (for Observation Request)) | is equivalent to | PractitionerRole[3] | |
OML_O21.ORDER.OBSERVATION_REQUEST.DG1 (Diagnosis) | 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 (Observation/Result) | is equivalent to | Observation[1] | |
OML_O21.ORDER.OBSERVATION_REQUEST.OBSERVATION.OBX (Observation/Result) | is equivalent to | Observation[1] | |
OML_O21.ORDER.OBSERVATION_REQUEST.OBSERVATION.PRT (Participation (for OBX)) | is equivalent to | Device[1] | |
OML_O21.ORDER.OBSERVATION_REQUEST.OBSERVATION.PRT (Participation (for OBX)) | is equivalent to | Observation[1] | 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 (Participation (for OBX)) | is equivalent to | PractitionerRole[7] | 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 (Notes and Comments (for Results)) | is equivalent to | Observation[1] | |
OML_O21.ORDER.OBSERVATION_REQUEST.SPECIMEN.SPM (Specimen) | is equivalent to | Specimen |