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

NHapi.Model.V251.Group.OUL_R22_ORDER without RESULT #37

Closed
ghost opened this issue Sep 11, 2015 · 2 comments
Closed

NHapi.Model.V251.Group.OUL_R22_ORDER without RESULT #37

ghost opened this issue Sep 11, 2015 · 2 comments

Comments

@ghost
Copy link

ghost commented Sep 11, 2015

The object NHapi.Model.V251.Group.OUL_R22_ORDER have a Property "OBXTCDSIDNTE".
This property should not exist !
It seems it's a part of group "RESULT".

@rpunselie
Copy link

Agreed.
As the OBX in OBXTCDSIDNTE is non repeatable, only the first OBX can be retrieved. HL7 specs allow multiple results per order (and thus multiple OBX segments).

In my opinion, the correct structure would be:

...
order begin
OBR
NTE
ORC
timing_qty begin
TQ1
timing_qty end
result begin (0..n)
OBX (1..1)
TCD (0..1)
INV (0..n)
NTE (0..n)
result end

order end
...

@duaneedwards
Copy link
Collaborator

This issue appears to be resolved now that the v251 models have been regenerated from the latest HL7 standards database. I suspect this was an issue with the HL7 standards database that was used at the time that nHapi was previously generated (before I was involved with the project).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants