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

Accessing NTE segments that are OBX children #15

Open
ESouza opened this issue Dec 19, 2013 · 1 comment
Open

Accessing NTE segments that are OBX children #15

ESouza opened this issue Dec 19, 2013 · 1 comment

Comments

@ESouza
Copy link

ESouza commented Dec 19, 2013

Currently I have the following:

OBR|1|
OBX|1|
NTE|1|

OBX|2|
NTE|2|
...

I need to be able to get each NTE field that are children of the OBX.
so If I am looping trought the OBXes and try to do obx.has_children
I get:
NoMethodError: undefined method `has_children' for #HL7::Message::Segment::OBX:0x007fc0bebc2178

Suggestions? Thanks

@mogox mogox added the Bug label Sep 28, 2014
@mogox
Copy link
Member

mogox commented Sep 28, 2014

I was able to reproduce the issue. It's something we should fix

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

No branches or pull requests

3 participants