hl7apy
hl7apy copied to clipboard
v2.3 NK1 Attribute Definitions - Incorrect Repeating Attributes?
I was reviewing the attribute cardinality definitions against the HL7 spec and came across this which has me scratching my head. The definition of Marital Status appears to say that Marital Status is repeating (If I understand the parser) but the spec says it isn't. I looked at the 2.3.1 definition in the code and it has been changed to cardinality 1.
Can anyone confirm this is an issue and that I'm not misinterpreting how the parser works?
If it is an issue, there are other attributes in the NK1 definition that are also improperly defined with respect to them being repeating.
'NK1': ('sequence',
(...
('NK1_14', FIELDS['NK1_14'], (0, **-1**), 'FIE'),