Previous Page TOC Index Next Page

2.9.2 Escape sequences supporting multiple character sets for PN and XPN data types

The following HL7 escape sequences are defined to support multiple character sets for fields of the PN and XPN data type. They allow HL7 parsers to use escape codes (defined in the standards used below), without breaking, and without being non-conformant, to the HL7 escape paradigm defined in this section.

\Cxxyy\ single-byte character set escape sequence with two hexadecimal values, xx and yy, that indicate the escape sequence defined for one of the character repertoires supported for the current message (i.e., ISO-IR xxx).

\Mxxyyzz\ multi-byte character set escape sequence with three hexadecimal values, xx, yy and zz. zz is optional.

Common character set escape sequences include the following which are defined in the standards mentioned:

Single-byte character sets:

\C2842\

ISO-IR 6 G0 (ISO 646 : ASCII)

\C2D41\

ISO-IR 100 (ISO 8859 : Latin Alphabet 1)

\C2D42\

ISO-IR 101 (ISO 8859 : Latin Alphabet 2)

\C2D43\

ISO-IR 109 (ISO 8859 : Latin Alphabet 3)

\C2D44\

ISO-IR 110 (ISO 8859 : Latin Alphabet 4)

\C2D4C\

ISO-IR 144 (ISO 8859 : Cyrillic)

\C2D47\

ISO-IR 127 (ISO 8859 : Arabic)

\C2D46\

ISO-IR 126 (ISO 8859 : Greek)

\C2D48\

ISO-IR 138 (ISO 8859 : Hebrew)

\C2D4D\

ISO-IR 148 (ISO 8859 : Latin Alphabet 5)

\C284A\

ISO-IR 14 (JIS X 0201 -1976: Romaji)

\C2949\

ISO-IR 13 (JIS X 0201 : Katakana)

Multi-byte codes :

\M2442\

ISO-IR 87 (JIS X 0208 : Kanji, hirigana and katakana)

\M242844\

ISO-IR 159 (JIS X 0212 : Supplementary Kanji)

Previous Page TOC Index Next Page