02114 in FHIR
Alternate Character Sets
Introduced in v2.3· hl7· Steward: InM· universal· 21 values· 25 in FHIR
Note: When describing encoding rules, this standard always speaks in terms of character position, not byte offset. Similarly, comparisons should be done on character values, not their byte equivalents. For this reason, delimiter characters should always have representation in the standard 7-bit ASCII character set, regardless of the actual character set being used, so that a search for the character CR (carriage return) can be performed.
OID & Vocabulary Information
- THO Canonical URL (v2.0.0)
- http://terminology.hl7.org/CodeSystem/v2-0211
- Table OID
- 2.16.840.1.113883.12.211
- Codesystem OID (v5)
- 2.16.840.1.113883.18.116
- Value Set OID
- 2.16.840.1.113883.21.128
- Binding
- universal
- Expansion
- All codes from codesystem
- Where Used
- MSH-18
- UTG Code Table
- prev version
Used In Data Elements
21
8859/1 | The printable characters from the ISO 8859/1 Character set |
8859/2 | The printable characters from the ISO 8859/2 Character set |
8859/3 | The printable characters from the ISO 8859/3 Character set |
8859/4 | The printable characters from the ISO 8859/4 Character set |
8859/5 | The printable characters from the ISO 8859/5 Character set |
8859/6 | The printable characters from the ISO 8859/6 Character set |
8859/7 | The printable characters from the ISO 8859/7 Character set |
8859/8 | The printable characters from the ISO 8859/8 Character set |
8859/9 | The printable characters from the ISO 8859/9 Character set |
8859/15 | The printable characters from the ISO 8859/15 (Latin-15) |
ASCII | The printable 7-bit ASCII character set.((This is the default if this field is omitted)) |
BIG-5 | Code for Taiwanese Character Set (BIG-5)(Does not need an escape sequence.
BIG-5 does not need an escape sequence. ASCII is a 7 bit character set, which means that the top bit of the byte is “0”. The parser knows that when the top bit of the byte is “0”, the character set is ASCII. When it is “1”, the following bytes should be handled as 2 bytes (or more). No escape technique is needed. However, since some servers do not correctly interpret when they receive a top bit “1”, it is advised, in internet RFC, to not use these kind of non-safe non-escape extension.) THO: Does not need an escape sequence.
BIG-5 does not need an escape sequence. ASCII is a 7 bit character set, which means that the top bit of the byte is “0”. The parser knows that when the top bit of the byte is “0”, the character set is ASCII. When it is “1”, the following bytes should be handled as 2 bytes (or more). No escape technique is needed. However, since some servers do not correctly interpret when they receive a top bit “1”, it is advised, in internet RFC, to not use these kind of non-safe non-escape extension. |
CNS 11643-1992 | Code for Taiwanese Character Set (CNS 11643-1992)(Does not need an escape sequence.) |
GB 18030-2000 | Code for Chinese Character Set (GB 18030-2000)(Does not need an escape sequence.) |
ISO IR6 | ASCII graphic character set consisting of 94 characters.(http://www.itscj.ipsj.or.jp/ISO-IR/006.pdf) |
ISO IR14 | Code for Information Exchange (one byte)(JIS X 0201-1976).(Note that the code contains a space, i.e., "ISO IR14".) |
ISO IR87 | Code for the Japanese Graphic Character set for information interchange (JIS X 0208-1990),(Note that the code contains a space, i.e., “ISO IR87”.
The JIS X 0208 needs an escape sequence. In Japan, the escape technique is ISO 2022. From basic ASCII, escape sequence “escape” $ B (in HEX, 1B 24 42) lets the parser know that following bytes should be handled 2-byte wise. Back to ASCII is 1B 28 42.) THO: Note that the code contains a space, i.e., “ISO IR87”.
The JIS X 0208 needs an escape sequence. In Japan, the escape technique is ISO 2022. From basic ASCII, escape sequence “escape” $ B (in HEX, 1B 24 42) lets the parser know that following bytes should be handled 2-byte wise. Back to ASCII is 1B 28 42. |
ISO IR159 | Code of the supplementary Japanese Graphic Character set for information interchange (JIS X 0212-1990).(Note that the code contains a space, i.e., "ISO IR159".) |
KS X 1001 | Code for Korean Character Set (KS X 1001) |
UNICODE | The world wide character standard from ISO/IEC 10646-1-1993(Deprecated. Retained for backward compatibility only as v 2.5. Replaced by specific Unicode encoding codes.) Usage: Available from The Unicode Consortium, P.O. Box 700519, San Jose, CA 95170-0519. See http://www.unicode.org/unicode/consortium/consort.html THO Usage: Available from The Unicode Consortium, P.O. Box 700519, San Jose, CA 95170-0519. See http://www.unicode.org/unicode/consortium/consort.html |
UNICODE UTF-8 | UCS Transformation Format, 8-bit form(UTF-8 is a variable-length encoding, each code value is represented by 1,2 or 3 bytes, depending on the code value. 7 bit ASCII is a proper subset of UTF-8. Note that the code contains a space before UTF but not before and after the hyphen. Since UTF-8 represents the full UNICODE character set, the following restriction apply to its use:
1. UTF-8 must be the default encoding of the message, UTF-8 cannot be specified as an additional character set in MSH-18
2. There are no other character sets allowed in a message where UTF-8 is the default encoding in the message.
In other words, UNICODE UTF-8 can only be specified as a single value in MSH-18
3. A message encoded in UTF-8 must not use a Byte Order Mark (BOM).) THO: UTF-8 is a variable-length encoding, each code value is represented by 1,2 or 3 bytes, depending on the code value. 7 bit ASCII is a proper subset of UTF-8. Note that the code contains a space before UTF but not before and after the hyphen. Since UTF-8 represents the full UNICODE character set, the following restriction apply to its use:
1. UTF-8 must be the default encoding of the message, UTF-8 cannot be specified as an additional character set in MSH-18
2. There are no other character sets allowed in a message where UTF-8 is the default encoding in the message.
In other words, UNICODE UTF-8 can only be specified as a single value in MSH-18
3. A message encoded in UTF-8 must not use a Byte Order Mark (BOM). |
25 codes+4 new