I checked the HL7 spec. PID-5 is in fact repeatable, but:
(3.3.2.5)
...
"Repetition of this field is allowed for representing the same name in
different character sets. ... All other names for the patient should be sent in PID-9-patient alias."
I wonder if this still should be changed in the model....
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This has been fixed and checked in. I think it makes sense to correct despite the weirdness in the spec, given that HAPI provides no alternate way of "hacking in" repeatable fields where they aren't repeatable in the structures (unlike with extra components, subcomponents, segments, etc.)
Thanks for reporting!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I checked the HL7 spec. PID-5 is in fact repeatable, but:
(3.3.2.5)
...
"Repetition of this field is allowed for representing the same name in
different character sets. ... All other names for the patient should be sent in PID-9-patient alias."
I wonder if this still should be changed in the model....
This has been fixed and checked in. I think it makes sense to correct despite the weirdness in the spec, given that HAPI provides no alternate way of "hacking in" repeatable fields where they aren't repeatable in the structures (unlike with extra components, subcomponents, segments, etc.)
Thanks for reporting!