I am reaching out to you to seek your expertise regarding an observation I have made during the validation of HL7v2 MDM (Medical Document Management) messages. I have noticed a difference in behavior in the validation process between the OBR and ORC segments.
When I validate an MDM message without the OBR segment, the validator returns a single error, indicating the absence of this segment, which is consistent with my expectations :
However, when I perform the same operation by omitting the ORC segment, the validator returns a significant number of errors, mainly related to segment offsets, but none directly related to the absence of the ORC segment :
I am curious about this difference in behavior between the two segments during validation. Is this a specificity of the HL7v2 standard, or could it be related to a peculiarity of the validator being used?
I would appreciate it if you could shed light on this matter.
Thank you in advance for your assistance.
Cyprien
Hello Cyprien,
My guess is that ORC is the first segment of a group. When ORC is present, the parser will try to parse that group. When ORC is not present, the parser considers the whole group as absent.
Caroline
From: nist...@googlegroups.com <nist...@googlegroups.com>
On Behalf Of Cyprien Mercier
Sent: Thursday, April 18, 2024 3:00 PM
To: NIST-GVT <nist...@googlegroups.com>
Subject: Validation Discrepancy Between HL7v2 MDM Segments OBR and ORC
I am reaching out to you to seek your expertise regarding an observation I have made during the validation of HL7v2 MDM (Medical Document Management) messages. I have noticed a difference in behavior in the validation process between the OBR and ORC segments.
When I validate an MDM message without the OBR segment, the validator returns a single error, indicating the absence of this segment, which is consistent with my expectations :
However, when I perform the same operation by omitting the ORC segment, the validator returns a significant number of errors, mainly related to segment offsets, but none directly related to the absence of the ORC segment :
I am curious about this difference in behavior between the two segments during validation. Is this a specificity of the HL7v2 standard, or could it be related to a peculiarity of the validator being used?
I would appreciate it if you could shed light on this matter.
Thank you in advance for your assistance.
Cyprien
--
You received this message because you are subscribed to the Google Groups "NIST-GVT" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
nist-gvt+u...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/nist-gvt/0c0bc8ae-f80e-4f4a-9cd8-2fca475c2fcan%40googlegroups.com.