My first post here.
I just noticed from the 2.5.1 implementation that the ORU^R01 messages parsed used NHAPI show only one OBX segment under an observation. However, digging down a bit showed me that the other OBX segments are also parsed but listed under a different name ("OBX2" and so on).
The ORU_R01_OBSERVATION class has one property called OBX and the code seems to assume that only one OBX segment will be present. I was expecting something like GetOBX(int rep) and OBXRepetitionsUsed to be present in the ORU_R01_OBSERVATION class.
Is there any reason why we have a restriction of only one OBX/Observation? Am I missing something from the HL7 2.5.1 documentation? Will be grateful for any hints. If it is a gap, I would be happy to fill and contribute, of course.
Here's an example ORU^R01 for v2.5.1 with 2 OBX segments:
MSH|^~\&|^NISTLabs^L-CL^|^NIST^L-CL|^^|^^|20100407121000||ORU^R01^ORU_R01|20100407121000|P|2.5.1|0001||AL||||MT-ORU-2_R1
PID|1|8888|PT21^^^^AN||Mark^Peter^^^^^L||19430309|M|||834 Ocean Vista Avenue^Apt. 202^Santa Coloradonica^CA^90401||3105552233
ORC|RE|||ORD003-1^EHR-System
OBR|1|1^EHR-System|LAB003^^NIST^L-CL|087-0714^Electrolyte panel^99Lab^80061^Electrolyte panel^C4|||20100407151000||||L|||||2^Robinson^William^E^^Dr^MD^^^^^^EI||||RO||20100407121000||CH|F
OBX|1|NM|2951-2^Serum Sodium^LN||141|meq/l|135-146||||F|||20100407121000||^DOE^JOHN|||||||Oakton Crest Laboratories^^^^^CLIA^^^^10D987432|5570 Eden Street^^Oakland^California^94607|^Smith^John^^^Dr.^MD
OBX|2|NM|2823-3^Serum Potassium^LN||4.3|meq/l|3.5-5.3||||F|||20100407121000||^DOE^JOHN|||||||Oakton Crest Laboratories^^^^^CLIA^^^^10D987432|5570 Eden Street^^Oakland^California^94607|^Smith^John^^^Dr.^MD
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
ORU_R01_OBSERVATION has ORU_R01_OBSERVATION group incorrectly defined as required, non-repeating. It should be optional, repeating.
Similarly, ORU_R01_SPECIMEN group is defined as required, non-repeating, but should be optional, repeating as well. I've attached source with commented changes (SE //TODO: comments and #regions). I have tested it successfully, and would like to contribute the change but have to figure out how.
My first post here.
I just noticed from the 2.5.1 implementation that the ORU^R01 messages parsed used NHAPI show only one OBX segment under an observation. However, digging down a bit showed me that the other OBX segments are also parsed but listed under a different name ("OBX2" and so on).
The ORU_R01_OBSERVATION class has one property called OBX and the code seems to assume that only one OBX segment will be present. I was expecting something like GetOBX(int rep) and OBXRepetitionsUsed to be present in the ORU_R01_OBSERVATION class.
Is there any reason why we have a restriction of only one OBX/Observation? Am I missing something from the HL7 2.5.1 documentation? Will be grateful for any hints. If it is a gap, I would be happy to fill and contribute, of course.
Here's an example ORU^R01 for v2.5.1 with 2 OBX segments:
MSH|^~\&|^NISTLabs^L-CL^|^NIST^L-CL|^^|^^|20100407121000||ORU^R01^ORU_R01|20100407121000|P|2.5.1|0001||AL||||MT-ORU-2_R1
PID|1|8888|PT21^^^^AN||Mark^Peter^^^^^L||19430309|M|||834 Ocean Vista Avenue^Apt. 202^Santa Coloradonica^CA^90401||3105552233
ORC|RE|||ORD003-1^EHR-System
OBR|1|1^EHR-System|LAB003^^NIST^L-CL|087-0714^Electrolyte panel^99Lab^80061^Electrolyte panel^C4|||20100407151000||||L|||||2^Robinson^William^E^^Dr^MD^^^^^^EI||||RO||20100407121000||CH|F
OBX|1|NM|2951-2^Serum Sodium^LN||141|meq/l|135-146||||F|||20100407121000||^DOE^JOHN|||||||Oakton Crest Laboratories^^^^^CLIA^^^^10D987432|5570 Eden Street^^Oakland^California^94607|^Smith^John^^^Dr.^MD
OBX|2|NM|2823-3^Serum Potassium^LN||4.3|meq/l|3.5-5.3||||F|||20100407121000||^DOE^JOHN|||||||Oakton Crest Laboratories^^^^^CLIA^^^^10D987432|5570 Eden Street^^Oakland^California^94607|^Smith^John^^^Dr.^MD
ORU_R01_OBSERVATION has ORU_R01_OBSERVATION group incorrectly defined as required, non-repeating. It should be optional, repeating.
Similarly, ORU_R01_SPECIMEN group is defined as required, non-repeating, but should be optional, repeating as well. I've attached source with commented changes (SE //TODO: comments and #regions). I have tested it successfully, and would like to contribute the change but have to figure out how.
Hi Milenko,
Thnks for the file which u have post for observation.
Actually iam getting same problem with V2.5.1
Can you please send me Total Code for V2.5.1, i can't create dll with this this calss file
Please send me the source code of V2.5.1 to my Mail : ajay412.net@gmail.com
Thanks In Advance,
Ajay