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: Segment OBX to Observation Map

This ConceptMap represents the mapping from the HL7 V2 OBX Segment to the FHIR Observation Resource. See also the FHIR Shorthand or the CSV Source.

HL7 v2Condition (IF True, args)HL7 FHIRComments
Sort OrderIdentifierNameData TypeCardinality - MinCardinality - MaxComputable ANTLRComputable FHIRPathNarrativeFHIR AttributeExtensionData TypeCardinality - MinCardinality - MaxData Type MappingAssignmentVocabulary Mapping
(IS, ID, CE, CEN, CWE)
1OBX-1Set ID – OBXSI01
2OBX-2Value TypeID01ValueType
3OBX-3Observation IdentifierCWE11Observation.codeObservation.CodeableConcept11CWE[CodeableConcept]
3OBX-3Observation IdentifierCWE11Observation.component.codeObservation.CodeableConcept11CWE[CodeableConcept]
4OBX-4Observation Sub-IDST01If OBX represents a part of a structure. See implementation guide where sub-id is used for additional guidanceObservation.partOf or Observation.hasMember or Observation.DerivedFrom
5OBX-5Observation Valuevaries0-1IF OBX-2 EQUALS "NM"Observation.component.valueQuantityObservation.quantity01
5OBX-5Observation Valuevaries0-1IF OBX-2 IN ("ST", "FT", "TX")Any markup in ST, FT or TX data may not present properly given that valueString is a string data typeObservation.component.valueStringObservation.string01
5OBX-5Observation Valuevaries0-1IF OBX-2 IN ("CF", "CNE", "CWE", "CE")Observation.component.valueCodeableConceptObservation.CodeableConcept01CWE[CodeableConcept]
5OBX-5Observation Valuevaries0-1IF OBX-2 EQUALS "IS"Observation.component.valueCodeableConceptObservation.CodeableConcept01IS[CodeableConcept]
5OBX-5Observation Valuevaries0-1IF OBX-2 EQUALS "DR"Observation.component.valuePeriodObservation.Period01DR[Period]
5OBX-5Observation Valuevaries0-1IF OBX-2 IN ("DTM", "DT")Observation.component.valueDateTimeObservation.dateTime01
5OBX-5Observation Valuevaries0-1IF OBX-2 EQUALS "NR"Observation.component.valueRangeObservation.Range01NR[Range]
5OBX-5Observation Valuevaries0-1IF OBX-2 EQUALS "VR"Observation.component.valueStringObservation.string01OBX-5.1+"-"+OBX-5.2
5OBX-5Observation Valuevaries0-1IF OBX-2 EQUALS "TM"Observation.component.valueTimeObservation.time01
5OBX-5Observation Valuevaries0-1IF (OBX-2 EQUALS "SN" AND OBX-5.3 IN (":", "/")Observation.component.valueRatioObservation.Ratio01SN[Ratio]
5OBX-5Observation Valuevaries0-1IF OBX-2 EQUALS "SN" and OBX-5.3 EQUALS "-"Observation.component.valueRangeObservation.Range01SN[Range]
5OBX-5Observation Valuevaries0-1IF OBX-2 EQUALS "SN" and OBX-5.3 EQUALS "+"Observation.component.valueStringObservation.string01OBX-5.1+" "+OBX-5.2+" "+OBX-5.3+" "+OBX-5.4
5OBX-5Observation Valuevaries0-1IF OBX-2 EQUALS "SN" and OBX-5.3 NOT IN (":", "/", "-", "+")Observation.component.valueQuantityObservation.Quantity01SN[Quantity]
5OBX-5Observation Valuevaries0-1IF OBX-2 EQUALS "NA"Observation.component.valueSampledDataObservation.SampledData01
5OBX-5Observation Valuevaries0-1IF OBX-2 EQUALS "ED" AND IF OBX-5.4 EQUALS "Base64"Observation.component[forEachOBX-5Instance].#ext-valueAttachment#Observation.Attachment01ED[Attachment]
5OBX-5Observation Valuevaries0-1IF OBX-2 EQUALS "EI"
5OBX-5Observation Valuevaries0-1IF OBX-2 EQUALS "RP"Observation.component[forEachOBX-5Instance]#ext-valueAttachment#Observation.Attachment01RP[Attachment]
6OBX-6UnitsCWE01IF OBX-2 EQUALS "SN" and OBX-5.3 NOT IN (":", "/", "-", "+")Observation.component.valueQuantityObservation.QuantityCWE[Quantity]
6OBX-6UnitsCWE01IF OBX-2 IN ("NA", "NM")Observation.component.valueQuantityObservation.QuantityCWE[Quantity]
6OBX-6UnitsCWE01IF OBX-2 EQUALS "SN" AND OBX-5.3 EQUALS "-"Observation.component.valueRange.lowObservation.SimpleQuantityCWE[Quantity]
6OBX-6UnitsCWE01IF OBX-2 EQUALS "SN" AND OBX-5.3 EQUALS "-"Observation.component.valueRange.highObservation.SimpleQuantityCWE[Quantity]
6OBX-6UnitsCWE01IF (OBX-2 EQUALS "SN" AND (OBX-5.3 IN (":", "/"))Observation.component.valueRatio.numeratorObservation.QuantityCWE[Quantity]
6OBX-6UnitsCWE01IF (OBX-2 EQUALS "SN" AND (OBX-5.3 IN (":", "/"))Observation.component.valueRatio.denominatorObservation.QuantityCWE[Quantity]
7OBX-7References RangeST01Observation.component.referenceRange.text
8OBX-8Interpretation CodesCWE0-1Observation.interpretationObservation.CodeableConcept0-1CWE[CodeableConcept]InterpretationCode
9OBX-9ProbabilityNM01
10OBX-10Nature of Abnormal TestID0-1Observation.component.#ext-natureOfAbnormalTest#Observation.CodeableConcept0-1CWE[CodeableConcept]NatureOfAbnormalTesting
11OBX-11Observation Result StatusID11Observation.statusObservation.code11ObservationStatus
12OBX-12Effective Date of Reference RangeDTM01
13OBX-13User Defined Access ChecksST01
14OBX-14Date/Time of the ObservationDTM01Observation.effectiveDateTimeObservation.dateTime01
15OBX-15Producer's IDCWE01Observation.#ext-producerIdentifier#Observation.CodeableConcept01CWE[CodeableConcept]
16OBX-16Responsible ObserverXCN0-1Observation.performer(Observation.PractitionerRole.practitioner(Observation.Practitioner)Reference(Observation.PractitionerRole)0-1XCN[PractitionerRole]
16OBX-16Responsible ObserverXCN0-1Observation.performer(Observation.PractitionerRole.codeObservation.CodeableConcept0-1
17OBX-17Observation MethodCWE0-1Observation.methodObservation.CodeableConcept01CWE[CodeableConcept]
18OBX-18Equipment Instance IdentifierEI0-1Observation.device(Observation.Device.identifier)Observation.Identifier0-1EI[Identifier]
19OBX-19Date/Time of the AnalysisDTM01Observation.#ext-analysisDateTime#Observation.dateTime01
20OBX-20Observation SiteCWE0-1Observation.bodySiteObservation.CodeableConcept01CWE[CodeableConcept]
21OBX-21Observation Instance IdentifierEI01Observation.identifierObservation.Identifier0-1EI[Identifier]
21OBX-21Observation Instance IdentifierEI01Observation.identifier.type.coding.codeObservation.code01"FILL"
22OBX-22Mood CodeCNE01
23OBX-23Performing Organization NameXON01Observation.performer(Observation.Organization)Reference(Observation.Organization)0-1XON[Organization]
23OBX-23Performing Organization NameXON01IF OBX-25 VALUEDObservation.performer(Observation.PractitionerRole.organization(Observation.Organization)Reference(Observation.Organization)0-1XON[Organization]
24OBX-24Performing Organization AddressXAD01Observation.performer(Observation.Organization.address)Observation.Address0-1XAD[Address]
24OBX-24Performing Organization AddressXAD01IF OBX-25 VALUEDObservation.performer(Observation.PractitionerRole.organization(Observation.Organization.address)Observation.Address0-1XAD[Address]
25OBX-25Performing Organization Medical DirectorXCN01Observation.performer(Observation.PractitionerRole)Reference(Observation.PractitionerRole)01XCN[PractitionerRole]
25OBX-25Performing Organization Medical DirectorXCN01Observation.performer(Observation.PractitionerRole.codeObservation.code"#ext-LabMedicalDirector#"
26OBX-26Patient Results Release CategoryID01
27OBX-27Root CauseCWE01
28OBX-28Local Process ControlCWE0-1
29OBX-29Observation TypeID01Observation.#ext-type#Observation.code01
30OBX-30Observation Sub-TypeID01Observation.#ext-subType#Observation.code01

Formats: XML, JSON, Turtle

SegmentOBXComponenttoObservation (http://hl7.org/fhir/uv/v2mappings/segment-obxcomponent-to-observation)

Mapping from OBX to Observation

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 Segment OBX to the FHIR Observation Resource.


Source Concept DetailsRelationshipDestination Concept Details
Code from Code from Code from Code from Code from Code from Code from
OBX-3CWE[CodeableConcept]is equivalent tocode
OBX-3CWE[CodeableConcept]is equivalent tocomponent[forEachOBX-5Instance].code
OBX-5is equivalent tocomponent[forEachOBX-5Instance].valueQuantityIF OBX-2 EQUALS "NM"
OBX-5is equivalent tocomponent[forEachOBX-5Instance].valueStringIF OBX-2 IN ("ST", "FT", "TX")Any markup in ST, FT or TX data may not present properly given that valueString is a string data type
OBX-5CWE[CodeableConcept]is equivalent tocomponent[forEachOBX-5Instance].valueCodeableConceptIF OBX-2 IN ("CF", "CNE", "CWE", "CE")
OBX-5IS[CodeableConcept]is equivalent tocomponent[forEachOBX-5Instance].valueCodeableConceptIF OBX-2 EQUALS "IS"
OBX-5DR[Period]is equivalent tocomponent[forEachOBX-5Instance].valuePeriodIF OBX-2 EQUALS "DR"
OBX-5is equivalent tocomponent[forEachOBX-5Instance].valueDateTimeIF OBX-2 IN ("DTM", "DT")
OBX-5NR[Range]is equivalent tocomponent[forEachOBX-5Instance].valueRangeIF OBX-2 EQUALS "NR"
OBX-5OBX-5.1+"-"+OBX-5.2is equivalent tocomponent[forEachOBX-5Instance].valueStringIF OBX-2 EQUALS "VR"
OBX-5is equivalent tocomponent[forEachOBX-5Instance].valueTimeIF OBX-2 EQUALS "TM"
OBX-5SN[Ratio]is equivalent tocomponent[forEachOBX-5Instance].valueRatioIF (OBX-2 EQUALS "SN" AND OBX-5.3 IN (":", "/")
OBX-5SN[Range]is equivalent tocomponent[forEachOBX-5Instance].valueRangeIF OBX-2 EQUALS "SN" and OBX-5.3 EQUALS "-"
OBX-5OBX-5.1+" "+OBX-5.2+" "+OBX-5.3+" "+OBX-5.4is equivalent tocomponent[forEachOBX-5Instance].valueStringIF OBX-2 EQUALS "SN" and OBX-5.3 EQUALS "+"
OBX-5SN[Quantity]is equivalent tocomponent[forEachOBX-5Instance].valueQuantityIF OBX-2 EQUALS "SN" and OBX-5.3 NOT IN (":", "/", "-", "+")
OBX-5is equivalent tocomponent[forEachOBX-5Instance].valueSampledDataIF OBX-2 EQUALS "NA"
OBX-6CWE[Quantity]is equivalent tocomponent[forEachOBX-5Instance].valueQuantityIF OBX-2 EQUALS "SN" and OBX-5.3 NOT IN (":", "/", "-", "+")
OBX-6CWE[Quantity]is equivalent tocomponent[forEachOBX-5Instance].valueQuantityIF OBX-2 IN ("NA", "NM")
OBX-6CWE[Quantity]is equivalent tocomponent[forEachOBX-5Instance].valueRange.lowIF OBX-2 EQUALS "SN" AND OBX-5.3 EQUALS "-"
OBX-6CWE[Quantity]is equivalent tocomponent[forEachOBX-5Instance].valueRange.highIF OBX-2 EQUALS "SN" AND OBX-5.3 EQUALS "-"
OBX-6CWE[Quantity]is equivalent tocomponent[forEachOBX-5Instance].valueRatio.numeratorIF (OBX-2 EQUALS "SN" AND (OBX-5.3 IN (":", "/"))
OBX-6CWE[Quantity]is equivalent tocomponent[forEachOBX-5Instance].valueRatio.denominatorIF (OBX-2 EQUALS "SN" AND (OBX-5.3 IN (":", "/"))
OBX-7is equivalent tocomponent[forEachOBX-5Instance].referenceRange.text
OBX-8CWE[CodeableConcept]InterpretationCodeis equivalent tointerpretation
OBX-11ObservationStatusis equivalent tostatus
OBX-14is equivalent toeffectiveDateTime
OBX-16XCN[PractitionerRole]is equivalent toperformer[1](PractitionerRole.practitioner(Practitioner))
OBX-16is equivalent toperformer[1](PractitionerRole.code
OBX-17CWE[CodeableConcept]is equivalent tomethod
OBX-18EI[Identifier]is equivalent todevice(Device.identifier)
OBX-20CWE[CodeableConcept]is equivalent tobodySite
OBX-21EI[Identifier]is equivalent toidentifier
OBX-21"FILL"is equivalent toidentifier.type.coding.code
OBX-23XON[Organization]is equivalent toperformer[2](Organization)
OBX-23XON[Organization]is equivalent toperformer[3](PractitionerRole.organization(Organization))IF OBX-25 VALUED
OBX-24XAD[Address]is equivalent toperformer[2](Organization.address)
OBX-24XAD[Address]is equivalent toperformer[3](PractitionerRole.organization(Organization.address))IF OBX-25 VALUED
OBX-25XCN[PractitionerRole]is equivalent toperformer[3](PractitionerRole)
OBX-25"#ext-LabMedicalDirector#"is equivalent toperformer[3](PractitionerRole.code

Notes: