Message OML_O21 in FHIR
Which segments of OML_O21 become which FHIR R4 resources in the Bundle, from the HL7 Version 2 to FHIR guide. Groups are shown as they appear in the structure.
- HL7 v2 definition
- Definition of OML_O21 in HL7 v2 2.8
- Resources produced
- BundleMessageHeaderProvenancePatientObservationPractitionerRoleRelatedPersonEncounterBasicCoverageAllergyIntoleranceServiceRequestSpecimenConditionDevice
| Segment | Name | FHIR element | Conditions and notes |
|---|---|---|---|
| Message Header | Bundle | ||
| MessageHeader[1] | |||
| Provenance[1] | If there is a source in MSH-4, or known based on the configuration. | ||
| Provenance[2] | |||
| Software Segment | Provenance[1].entity.what(Device) | If the software does not represent the original source system | |
| Provenance[1].entity.what(Device) | If the software represents the original source system | ||
PIDPATIENT | Patient Identification | Patient[1] | |
| Provenance[4] | If IF PID-33 AND PID-34 VALUEDOne may drop PID-33 from the condition if PID-34 Last Update Facility is still sufficient without a date. | ||
PD1PATIENT | Patient Additional Demographic | Patient[1] | |
| Observation[2] | If IF PD1-7 VALUED | ||
PRTPATIENT | Participation Information | PractitionerRole[1] | If IF PRT-4.1 EQUALS "PP" AND PRT-4.3 EQUALS "HL70443" |
| RelatedPerson[1] | If IF PRT-4.1 NOT EQUALS "PP" OR PRT-4.3 NOT EQUALS "HL70443" | ||
NK1PATIENT | Next Of Kin / Associated Parties | RelatedPerson[2] | The FHIR location will depend on the nature of the data being exchanged and how the systems use next of kin data |
| Patient[1] | The FHIR location will depend on the nature of the data being exchanged and how the systems use next of kin data | ||
PV1PATIENT.PATIENT_VISIT | Patient Visit | Encounter[1] | |
| Basic | If IF PV1-43 VALUED | ||
| Patient[1] | |||
| Coverage[1] | If IF PV1-20 VALUE | ||
PV2PATIENT.PATIENT_VISIT | Patient Visit - Additional Information | Encounter[1] | |
PRTPATIENT.PATIENT_VISIT | Participation Information | PractitionerRole[2] | |
IN1PATIENT.INSURANCE | Insurance | Coverage[1] | |
IN3PATIENT.INSURANCE | Insurance Additional Information, Certification | Coverage[1] | |
AL1PATIENT | Patient Allergy Information | AllergyIntolerance | |
ORCORDER | Common Order | ServiceRequest[1] | |
| Provenance[3] | |||
PRTORDER | Participation Information | PractitionerRole[3] | If IF PRT-4.1 EQUALS "OP" AND PRT-4.3 EQUALS "HL70443" |
TQ1ORDER.TIMING | Timing/quantity | ServiceRequest[1] | |
OBRORDER.OBSERVATION_REQUEST | Observation Request | ServiceRequest[1] | |
| Specimen[each] | |||
NTEORDER.OBSERVATION_REQUEST | Notes And Comments | ServiceRequest[1] | |
PRTORDER.OBSERVATION_REQUEST | Participation Information | PractitionerRole[4] | If IF PRT-4.1 EQUALS "SC" AND PRT-4.3 EQUALS "HL70443" |
| PractitionerRole[3] | If IF PRT-4.1 EQUALS "OP" AND PRT-4.3 EQUALS "HL70443" | ||
DG1ORDER.OBSERVATION_REQUEST | Diagnosis | Condition[1] | |
OBXORDER.OBSERVATION_REQUEST.OBSERVATION | Observation/result | Observation[1] | If IF OBX-5 LST.count LESS THAN OR EQUALS 1 OR OBX-2 IS "NA" |
| Observation[1] | If IF OBX-5 LST.count GREATER THAN 1 AND OBX-2 IS NOT "NA" | ||
PRTORDER.OBSERVATION_REQUEST.OBSERVATION | Participation Information | Device[1] | If IF PRT-10 VALUED |
| Observation[1] | If IF PRT-9 VALUED OR IF PRT-14 VALUED | ||
| PractitionerRole[7] | If IF PRT-5 VALUED | ||
NTEORDER.OBSERVATION_REQUEST.OBSERVATION | Notes And Comments | Observation[1] | |
SPMORDER.OBSERVATION_REQUEST.SPECIMEN | Specimen | Specimen |
