gtiwari333
gtiwari333

Reputation: 25146

HL7 Acknowledgement - can i have multiple ERR segment in acknowledgement message?

I was writing HL7 Acknowledgement mechanism on my own.

From the online documentation I followed, they state that a Hl7 acknowledgement message has following segments

MSH
MSA
ERR [ optional ]

And I am wondering - if there are multiple errors exists in HL7 file, can I put multiple ERR segments to describe each error? Is there any standard for this?

Upvotes: 0

Views: 1029

Answers (1)

user1658722
user1658722

Reputation: 226

It depends.

As of HL7 v2.5, you would put each error into its own ERR segment, populating field ERR-2-x (cf. ch 2.15.5 of the standard) Before 2.5 you would have a single ERR segment and describe each error into its own repetition of the (repeatable) field ERR-1.

Upvotes: 2

Related Questions