PipeHat Open PipeHat
HL7 V2 | TABLE 0191

Table 0191: Type of Referenced Data

HL7-defined table of codes declaring the general type of media data that is encoded.

Type
HL7-defined
Codes
13
Introduced
HL7 v2.2
Used in
TXA-3
THO code system
http://terminology.hl7.org/CodeSystem/v2-0191
OID
2.16.840.1.113883.18.102

HL7-defined: The standard fixes the values. PipeHat flags codes outside this list as warnings.

Codes

CodeMeaningStatus
APOther application data, typically uninterpreted binary data (HL7 V2.3 and later)
AUAudio data (HL7 V2.3 and later)
FTFormatted text (HL7 V2.2 only)
IMImage data (HL7 V2.3 and later)
multipartMIME multipart package
NSNon-scanned image (HL7 V2.2 only)
SDScanned document (HL7 V2.2 only)
SIScanned image (HL7 V2.2 only)
ImageImage data (HL7 V2.3 and later)Deprecated in v2.9
TEXTMachine readable text document (HL7 V2.3.1 and later)
AudioAudio data (HL7 V2.3 and later)Deprecated in v2.9
TXMachine readable text document (HL7 V2.2 only)
ApplicationOther application data, typically uninterpreted binary data (HL7 V2.3 and later)Deprecated in v2.9

Where it's used

ElementNameFHIR (v2-to-FHIR mapping)
TXA-3Document Content PresentationDocumentReference.content.attachment.contentType

Elements with a dot (such as CX.5) are data type components, used wherever that data type appears.

Source: HL7 Terminology (THO) 7.4.0 and the HL7 v2-to-FHIR Implementation Guide 1.0.0, published by HL7 International under CC0. Check your trading partner's specification for the values they actually send.