Quick start

Documentation

Getting started

API documentation

Introduction to the HL7 message format

All HL7 messages comprise:

Escape characters

Please note that we currently only support the following escape characters. These are fixed; they will not dynamically adjust if you try to set an alternative field separator or encoding characters in MSH-1 or MSH-2. For this reason, we strongly recommend that you use the standard characters for these purposes.

Reason

Character to be escaped

Escaped value

Unescaped on input

Escaped on output

Field separator

|

\F\

Yes

Yes

Component separator

^

\S\

Yes

Yes

Subcomponent separator

&

\T\

Yes

Yes

Repetition separator

~

\R\

Yes

Yes

Escape character

\

\E\

Yes

Yes

New line

<new line>

\.br\

Yes

No

Specification conventions

Standard behaviour

Configurable behaviour

Some behaviours of the HL7 API are configurable. These are explained in the relevant subpages, and also brought together in the HL7 Configuration Form.