HL7 Version 2 to FHIR
1.0.0-ballot - ballot International flag

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

ConceptMap: Segment OBX to DocumentReference Map (Experimental)

Official URL: http://hl7.org/fhir/uv/v2mappings/segment-obx-to-documentreference Version: 1.0.0-ballot
Active as of 2024-04-24 Computable Name: SegmentOBXToDocumentReference

Copyright/Legal: Copyright (c) 2020, HL7 International, Inc., All Rights Reserved.

This ConceptMap represents a mapping from the HL7 V2 Segment OBX to the FHIR DocumentReference Resource.

This ConceptMap represents the mapping from the HL7 V2 OBX Segment to the FHIR DocumentReference 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 MappingVocabulary Mapping
(IS, ID, CE, CEN, CWE)
Assignment
1OBX-1Set ID – OBXSI01
2OBX-2Value TypeID01
3OBX-3Observation IdentifierCWE11
4OBX-4Observation Sub-IDOG01
5OBX-5Observation Valuevaries0-1IF OBX-2="ED"DocumentReference.contentDocumentReference.AttachmentED[Attachment]When OBX-5 repeats, each repeat yields a new .content instance.
5OBX-5Observation Valuevaries0-1IF OBX-2="FT"DocumentReference.content.dataDocumentReference.binary64When OBX-5 repeats, each repeat yields a line feed within .content[2].data
5OBX-5Observation Valuevaries0-1IF OBX-2="FT"DocumentReference.content.contentTypeDocumentReference.code"text/hl7v2"
5OBX-5Observation Valuevaries0-1IF OBX-2="RP"DocumentReference.content.urlDocumentReference.uriWhen OBX-5 repeats, each repeat yields a new .content instance.
5OBX-5Observation Valuevaries0-1IF OBX-2="TX"DocumentReference.content.dataDocumentReference.binary64When OBX-5 repeats, each repeat yields a line feed within .content[4].data
5OBX-5Observation Valuevaries0-1IF OBX-2="TX"DocumentReference.content.contentTypeDocumentReference.code"application/text"
6OBX-6UnitsCWE01
7OBX-7References RangeST01
8OBX-8Interpretation CodesCWE0-1
9OBX-9ProbabilityNM01
10OBX-10Nature of Abnormal TestID0-1
11OBX-11Observation Result StatusID11
12OBX-12Effective Date of Reference RangeDTM01
13OBX-13User Defined Access ChecksST01
14OBX-14Date/Time of the ObservationDTM01
15OBX-15Producer's IDCWE01
16OBX-16Responsible ObserverXCN0-1
17OBX-17Observation MethodCWE0-1
18OBX-18Equipment Instance IdentifierEI0-1
19OBX-19Date/Time of the AnalysisDTM01
20OBX-20Observation SiteCWE0-1
21OBX-21Observation Instance IdentifierEI01
21OBX-21Observation Instance IdentifierEI01
22OBX-22Mood CodeCNE01
23OBX-23Performing Organization NameXON01
24OBX-24Performing Organization AddressXAD01
25OBX-25Performing Organization Medical DirectorXCN01
26OBX-26Patient Results Release CategoryID01
27OBX-27Root CauseCWE01
28OBX-28Local Process ControlCWE0-1
29OBX-29Observation TypeID01
30OBX-30Observation Sub-TypeID01
31OBX-31Action CodeID01
32OBX-32Observation Value Absent ReasonCWE0-1
33OBX-33Observation Related Specimen IdentifierEIP0-1

Mapping from OBX to DocumentReference

ACTIVE (not intended for production usage). Published on 2024-04-24 by HL7 International / Orders and Observations (HL7 Orders and Observations Workgroup: http://www.hl7.org/Special/com..., Keith W. Boone: kboone@ainq.com, Rob Hausam: rrhausam@gmail.com). Copyright (c) 2020, HL7 International, Inc., All Rights Reserved.

This ConceptMap represents a mapping from the HL7 V2 Segment OBX to the FHIR DocumentReference Resource.


Group 1 Mapping from unspecified code system to unspecified code system

Source Concept DetailsRelationshipTarget Concept DetailsCommentProperties
Codes from datatypemapvalueCodes from antlr
OBX-5Observation ValueED[Attachment]is equivalent tocontent[1]content[1]IF OBX-2="ED"When OBX-5 repeats, each repeat yields a new .content instance.
OBX-5Observation Valueis equivalent tocontent[2].datacontent[2].dataIF OBX-2="FT"When OBX-5 repeats, each repeat yields a line feed within .content[2].data
OBX-5Observation Value"text/hl7v2"is equivalent tocontent[2].contentTypecontent[2].contentTypeIF OBX-2="FT"
OBX-5Observation Valueis equivalent tocontent[3].urlcontent[3].urlIF OBX-2="RP"When OBX-5 repeats, each repeat yields a new .content instance.
OBX-5Observation Valueis equivalent tocontent[4].datacontent[4].dataIF OBX-2="TX"When OBX-5 repeats, each repeat yields a line feed within .content[4].data
OBX-5Observation Value"application/text"is equivalent tocontent[4].contentTypecontent[4].contentTypeIF OBX-2="TX"

Notes: