Healthcare IntegrationAcademy
HL7 FUNDAMENTALS

Topic 1.13

HL7 Encoding Characters

0/0 answered
In the conventional header prefix MSH|^~\&, MSH-1 is the pipe field separator. MSH-2 contains caret, tilde, backslash and ampersand, defining component, repetition, escape and subcomponent separators.
Visual Guide · HL7 Encoding CharactersOpen full-size image for HL7 Encoding Characters
START HERE
HL7 EXAMPLE / FLOW
MSH|^~\&|EPIC|HOSPITAL|MIRTH|LAB|202609281200||ADT^A01|MSG001|P|2.5

Here:

HL7 EXAMPLE / FLOW
| = Field Separator
^ = Component Separator
~ = Repetition Separator
\ = Escape Character
& = Subcomponent Separator
HL7 EXAMPLE / FLOW
MSH-1 = |
MSH-2 = ^~\&
HL7 EXAMPLE / FLOW
PID|1||123456^^^HOSP^MR||RONALDO

Breakdown:

HL7 EXAMPLE / FLOW
| separates fields
^ separates components

For example:

HL7 EXAMPLE / FLOW
PID-5 = RONALDO
PID-5.1 = RONALDO
PID-5.2 = CRISTIANO
HL7 EXAMPLE / FLOW
MSH|^~\&
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 Encoding Characters

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