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

OBX|ID null ref exception in fixOBX-5 #62

Closed
rdurham285 opened this issue Oct 4, 2016 · 1 comment · Fixed by #136
Closed

OBX|ID null ref exception in fixOBX-5 #62

rdurham285 opened this issue Oct 4, 2016 · 1 comment · Fixed by #136
Assignees
Labels
bug The result of a coding Error
Milestone

Comments

@rdurham285
Copy link

The PipeParser is blowing up with any OBX segment with type of ID with a value in OBX-5.

Segment: OBX|3|ID|59781-5^dose validity^LN|1|Y||||||F|||20151031
Stack: System.NullReferenceException trying to set data type of OBX-5
Code: var pParser = new PipeParser(); var msg = pParser.Parse(rawMessage);

Thanks

@qtuan
Copy link

qtuan commented Jan 4, 2021

Hi, is there a known solution for this? Thanks!

@milkshakeuk milkshakeuk self-assigned this Jan 26, 2021
@milkshakeuk milkshakeuk added the bug The result of a coding Error label Jan 26, 2021
@milkshakeuk milkshakeuk added this to the v3.0.0.0 milestone Jan 26, 2021
@milkshakeuk milkshakeuk added this to To Do in NHapi Kanban via automation Jan 26, 2021
@milkshakeuk milkshakeuk moved this from To Do to In Progress in NHapi Kanban Jan 26, 2021
milkshakeuk added a commit that referenced this issue Jan 29, 2021
NHapi Kanban automation moved this from In Progress to Development Done Jan 30, 2021
milkshakeuk added a commit that referenced this issue Jan 30, 2021
The datatype for OBX-5 is specified in OBX-2, the first commit fixes an issue when the specified datatype from OBX-2 could not be constructed for OBX-5 because the required constructors were missing.
fixes #62, fixes #85, fixes #133

XAD, XON, XTN datatypes for hl7 v2.7.1 up to 2.8.1 have incorrect recursive datatypes leading to StackOverflowException.
The second commit fixes this by correcting those datatypes.
fixes #86, fixes #109

The OBX-5 datatype for hl7 v2.1 is incorrectly set to ST when it should be Varies. The last commit fixes this.
fixes #45
@milkshakeuk milkshakeuk moved this from Development Done to In Pre-Release in NHapi Kanban Jan 30, 2021
@milkshakeuk milkshakeuk moved this from In Pre-Release to Released in NHapi Kanban Jun 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The result of a coding Error
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

3 participants