Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HL7 2.4 ORM_O01 only supports single OBR #80

Open
jsdratm opened this issue Apr 19, 2017 · 1 comment
Open

HL7 2.4 ORM_O01 only supports single OBR #80

jsdratm opened this issue Apr 19, 2017 · 1 comment
Labels
defect A deviation from the Requirements / Specification.

Comments

@jsdratm
Copy link

jsdratm commented Apr 19, 2017

Affected Version: 2.5.0.6

I am only able to get a single OBR from the parsed ORM_O01 object for HL7 v2.4. I looped through the ORM_O01_ORDER collection and found that each object of this type has a single ORDER_DETAIL object which contains a single OBR object. My understanding is that there should be support for one or more OBR segments for a given ORC, but the object structures in nHapi don't appear to support more than one.

Looks like these people had a similar issue: https://sourceforge.net/p/nhapi/discussion/569648/thread/fc57a720/

Test Message:

MSH|^~\&|HIS|MedCenter|LIS|MedCenter|20060307110114||ORM^O01|MSGID20060307110114|P|2.4
PID|||12001||Jones^John^^^Mr.||19670824|M|||123 West St.^^Denver^CO^80020^USA|||||||
PV1||O|OP^PAREG^||||2342^Jones^Bob|||OP|||||||||2|||||||||||||||||||||||||20060307110111|
ORC|NW|20060307110114
OBR|1|20060307110114||003038^Urinalysis^L|||20060307110114
OBR|2|20060307110114||003050^BloodCount^L|||20060307110114
@Usualdosage
Copy link
Collaborator

Issue confirmed. Will update the detail record to allow multiple OBRs.

@milkshakeuk milkshakeuk added bug The result of a coding Error defect A deviation from the Requirements / Specification. and removed bug The result of a coding Error labels Apr 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect A deviation from the Requirements / Specification.
Projects
None yet
Development

No branches or pull requests

3 participants