Skip to content

Incorrect repeat counts for OBX-8/9/10/16 in v2.4 #341

@stormcrow79

Description

@stormcrow79

NHapi.Model.V24.OBX has incorrect repeat counts for the following fields:

  • OBX-8 Abnormal Flags is 1, should be 5
  • OBX-9 Probability is 5, should be 1
  • OBX-10 Nature of Abnormal Test is 1, should be unlimited
  • OBX-16 Responsible Observer is 1, should be unlimited

image

NHapi 2.5.0.6 to 3.1.0 throw HL7Exception from LegacyPipeParser.Parse for a segment that is valid by the spec:

OBX|1|FT|ALLERG^Allergie^MOLIS||dummy report|||A~B~C~D~E|0.5|X~Y~Z|C|||20030331053409||A11^SMITH^JOHN~B22^JONES^FRED~C33^BEAN^MARY";

NHapi 3.1.1 does not raise an exception due to changes in PR #277.

This seems to be due to a problem with the HL7 database and/or codegen affecting only v2.4 - v2.3 and v2.5 have the expected repeat count. This is similar to issue #191.

I'm happy to raise a PR for the model changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    defectA deviation from the Requirements / Specification.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions