Skip to content

Commit

Permalink
fix: cardinality for NK1_14 in v2_3
Browse files Browse the repository at this point in the history
  • Loading branch information
svituz committed Jul 4, 2024
1 parent 37662d2 commit bf39eaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hl7apy/v2_3/segments.py
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@
('NK1_11', FIELDS['NK1_11'], (0, 1), 'FIE'),
('NK1_12', FIELDS['NK1_12'], (0, 1), 'FIE'),
('NK1_13', FIELDS['NK1_13'], (0, -1), 'FIE'),
('NK1_14', FIELDS['NK1_14'], (0, -1), 'FIE'),
('NK1_14', FIELDS['NK1_14'], (0, 1), 'FIE'),
('NK1_15', FIELDS['NK1_15'], (0, 1), 'FIE'),
('NK1_16', FIELDS['NK1_16'], (0, 1), 'FIE'),
('NK1_17', FIELDS['NK1_17'], (0, 1), 'FIE'),
Expand Down

2 comments on commit bf39eaa

@jgarciaroca
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

according to https://www.hl7.eu/HL7v2x/v23/hl7v23segmNK1.htm, it should be -1

@svituz
Copy link
Member Author

@svituz svituz commented on bf39eaa Jul 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @jgarciaroca, they likely used the SUN XSD which has discrepancies compared to v2.3 manual.

Please sign in to comment.