HL7 Version 2 to FHIR
1.0.0 - STU 1

HL7 Version 2 to FHIR - Downloaded Version 1.0.0 See the Directory of published versions

## ConceptMap: Segment OBX to DocumentReference Map (Experimental)

Official URL: http://hl7.org/fhir/uv/v2mappings/ConceptMap/segment-obx-to-documentreference | Version: 1.0.0
Standards status: Informative | Computable Name: SegmentOBXToDocumentReference
Copyright/Legal: Copyright (c) 2025, 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 v2 | Condition (IF True, args) | HL7 FHIR | Comments
--- | --- | --- | ---
Sort Order | Identifier | Name | Data Type | Cardinality - Min | Cardinality - Max | Computable ANTLR | Computable FHIRPath | Narrative | FHIR Attribute | Extension | Data Type | Cardinality - Min | Cardinality - Max | Data Type Mapping | Vocabulary Mapping (IS, ID, CE, CEN, CWE) | Assignment
1 | OBX-1 | Set ID – OBX | SI | 0 | 1 |  |  |  |  |  |  |  |  |  |  |  |
2 | OBX-2 | Value Type | ID | 0 | 1 |  |  |  |  |  |  |  |  |  |  |  |
3 | OBX-3 | Observation Identifier | CWE | 1 | 1 |  |  |  |  |  |  |  |  |  |  |  |
4 | OBX-4 | Observation Sub-ID | OG | 0 | 1 |  |  |  |  |  |  |  |  |  |  |  |
5 | OBX-5 | Observation Value | varies | 0 | -1 | IF OBX-2="ED" |  |  | DocumentReference.content.attachment |  | Attachment |  |  | ED[Attachment] |  |  | When OBX-5 repeats, each repeat yields a new .content instance.
5 | OBX-5 | Observation Value | varies | 0 | -1 | IF OBX-2="FT" |  |  | DocumentReference.content.data |  | DocumentReference.binary64 |  |  |  |  |  | When OBX-5 repeats, each repeat yields a line feed within .content[2].data
5 | OBX-5 | Observation Value | varies | 0 | -1 | IF OBX-2="FT" |  |  | DocumentReference.content.contentType |  | code |  |  |  |  | "text/hl7v2" |
5 | OBX-5 | Observation Value | varies | 0 | -1 | IF OBX-2="RP" |  |  | DocumentReference.content.url |  | uri |  |  |  |  |  | When OBX-5 repeats, each repeat yields a new .content instance.
5 | OBX-5 | Observation Value | varies | 0 | -1 | IF OBX-2="TX" |  |  | DocumentReference.content.data |  | DocumentReference.binary64 |  |  |  |  |  | When OBX-5 repeats, each repeat yields a line feed within .content[4].data
5 | OBX-5 | Observation Value | varies | 0 | -1 | IF OBX-2="TX" |  |  | DocumentReference.content.contentType |  | code |  |  |  |  | "application/text" |
6 | OBX-6 | Units | CWE | 0 | 1 |  |  |  |  |  |  |  |  |  |  |  |
7 | OBX-7 | References Range | ST | 0 | 1 |  |  |  |  |  |  |  |  |  |  |  |
8 | OBX-8 | Interpretation Codes | CWE | 0 | -1 |  |  |  |  |  |  |  |  |  |  |  |
9 | OBX-9 | Probability | NM | 0 | 1 |  |  |  |  |  |  |  |  |  |  |  |
10 | OBX-10 | Nature of Abnormal Test | ID | 0 | -1 |  |  |  |  |  |  |  |  |  |  |  |
11 | OBX-11 | Observation Result Status | ID | 1 | 1 |  |  |  |  |  |  |  |  |  |  |  |
12 | OBX-12 | Effective Date of Reference Range | DTM | 0 | 1 |  |  |  |  |  |  |  |  |  |  |  |
13 | OBX-13 | User Defined Access Checks | ST | 0 | 1 |  |  |  |  |  |  |  |  |  |  |  |
14 | OBX-14 | Date/Time of the Observation | DTM | 0 | 1 |  |  |  |  |  |  |  |  |  |  |  |
15 | OBX-15 | Producer's ID | CWE | 0 | 1 |  |  |  |  |  |  |  |  |  |  |  |
16 | OBX-16 | Responsible Observer | XCN | 0 | -1 |  |  |  |  |  |  |  |  |  |  |  |
17 | OBX-17 | Observation Method | CWE | 0 | -1 |  |  |  |  |  |  |  |  |  |  |  |
18 | OBX-18 | Equipment Instance Identifier | EI | 0 | -1 |  |  |  |  |  |  |  |  |  |  |  |
19 | OBX-19 | Date/Time of the Analysis | DTM | 0 | 1 |  |  |  |  |  |  |  |  |  |  |  |
20 | OBX-20 | Observation Site | CWE | 0 | -1 |  |  |  |  |  |  |  |  |  |  |  |
21 | OBX-21 | Observation Instance Identifier | EI | 0 | 1 |  |  |  |  |  |  |  |  |  |  |  |
21 | OBX-21 | Observation Instance Identifier | EI | 0 | 1 |  |  |  |  |  |  |  |  |  |  |  |
22 | OBX-22 | Mood Code | CNE | 0 | 1 |  |  |  |  |  |  |  |  |  |  |  |
23 | OBX-23 | Performing Organization Name | XON | 0 | 1 |  |  |  |  |  |  |  |  |  |  |  |
24 | OBX-24 | Performing Organization Address | XAD | 0 | 1 |  |  |  |  |  |  |  |  |  |  |  |
25 | OBX-25 | Performing Organization Medical Director | XCN | 0 | 1 |  |  |  |  |  |  |  |  |  |  |  |
26 | OBX-26 | Patient Results Release Category | ID | 0 | 1 |  |  |  |  |  |  |  |  |  |  |  |
27 | OBX-27 | Root Cause | CWE | 0 | 1 |  |  |  |  |  |  |  |  |  |  |  |
28 | OBX-28 | Local Process Control | CWE | 0 | -1 |  |  |  |  |  |  |  |  |  |  |  |
29 | OBX-29 | Observation Type | ID | 0 | 1 |  |  |  |  |  |  |  |  |  |  |  |
30 | OBX-30 | Observation Sub-Type | ID | 0 | 1 |  |  |  |  |  |  |  |  |  |  |  |
31 | OBX-31 | Action Code | ID | 0 | 1 |  |  |  |  |  |  |  |  |  |  |  |
32 | OBX-32 | Observation Value Absent Reason | CWE | 0 | -1 |  |  |  |  |  |  |  |  |  |  |  |
33 | OBX-33 | Observation Related Specimen Identifier | EIP | 0 | -1 |  |  |  |  |  |  |  |  |  |  |  |

Mapping from (not specified) to (not specified)

Group 1 Mapping from `unspecified code system` to `unspecified code system`

Source Concept Details | Relationship | Target Concept Details | Comment
Codes from | ComputableANTLR |  | Codes from |
OBX-5 | Observation Value | IF OBX-2="ED" | is equivalent to | content[1].attachment | content[1].attachment | When OBX-5 repeats, each repeat yields a new .content instance.
OBX-5 | Observation Value | IF OBX-2="FT" | is equivalent to | content[2].data | content[2].data | When OBX-5 repeats, each repeat yields a line feed within .content[2].data
OBX-5 | Observation Value | IF OBX-2="FT" | is equivalent to | content[2].contentType | content[2].contentType |
OBX-5 | Observation Value | IF OBX-2="RP" | is equivalent to | content[3].url | content[3].url | When OBX-5 repeats, each repeat yields a new .content instance.
OBX-5 | Observation Value | IF OBX-2="TX" | is equivalent to | content[4].data | content[4].data | When OBX-5 repeats, each repeat yields a line feed within .content[4].data
OBX-5 | Observation Value | IF OBX-2="TX" | is equivalent to | content[4].contentType | content[4].contentType |

### Notes: