Healthcare IntegrationAcademy
HL7 FUNDAMENTALS

Topic 1.12

HL7 Escape Sequences

0/0 answered
A clinical note containing Cardiology | Neurology is encoded as Cardiology \F\ Neurology and decoded back to the same text. Escaping preserves a literal pipe within data rather than starting a new field.
Visual Guide · HL7 Escape SequencesOpen full-size image for HL7 Escape Sequences
START HERE
HL7 EXAMPLE / FLOW
\F\ = Field separator |
\S\ = Component separator ^
\R\ = Repetition separator ~
\E\ = Escape character \
\T\ = Subcomponent separator &

Example:

If the real text is:

HL7 EXAMPLE / FLOW
Cardiology | Neurology

You should not send the pipe directly inside a field because | means field separator.

Use:

HL7 EXAMPLE / FLOW
Cardiology \F\ Neurology
HL7 EXAMPLE / FLOW
OBX|1|TX|NOTE||Patient transferred from Cardiology \F\ Neurology

The receiving system should interpret:

HL7 EXAMPLE / FLOW
Patient transferred from Cardiology | Neurology
LEARN THE CONCEPT

Examples, fields, comparisons and real healthcare scenarios

PRACTICE QUESTIONS

Check your understanding

No MCQs

This document topic does not include a practice question set.

PRIVATE FEEDBACK & QUESTIONS

Ask your instructor

HL7 Escape Sequences

Only you and the authorized instructor can view this conversation. Other learners cannot see your messages. Do not include patient information, passwords or payment details.

Loading private conversation...

    Open private message inbox