PipeHat Open PipeHat
HL7 V2 | TABLE 0299

Table 0299: Encoding

HL7-defined table of codes identifying the type of encoding used to represent successive octets of binary data as displayable ASCII characters. These are defined by IETF; more information may be found at https://www.ietf.org/rfc/rfc1521.txt

Type
HL7-defined
Codes
3
Introduced
HL7 v2.3
THO code system
http://terminology.hl7.org/CodeSystem/v2-0299
OID
2.16.840.1.113883.18.185

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

Codes

CodeMeaningDefinition
ANo encoding - data are displayable ASCII characters.
HexHexadecimal encoding - consecutive pairs of hexadecimal digits represent consecutive single octets.
Base64Encoding as defined by MIME (Multipurpose Internet Mail Extensions) standard RFC 1521. Four consecutive ASCII characters represent three consecutive octets of binary data. Base64 utilizes a 65-character subset of US-ASCII, consisting of both the upper andEncoding as defined by MIME (Multipurpose Internet Mail Extensions) standard RFC 1521. Four consecutive ASCII characters represent three consecutive octets of binary data. Base64 utilizes a 65-character subset of US-ASCII, consisting of both the upper and lower case alphabetic characters, digits “0” through “9”, “+”, “/”, and “=”.

Source: HL7 Terminology (THO) 7.4.0, published by HL7 International under CC0. Check your trading partner's specification for the values they actually send.