hl7-eu / laboratory

HL7 Europe Laboratory Report HL7 FHIR IG
Creative Commons Zero v1.0 Universal
9 stars 8 forks source link

Patient.name.family cardinality #46

Closed rgazzarata closed 1 year ago

rgazzarata commented 1 year ago

In Description & Constraints of Patient.name is indicated that Patient.name.given, Patient.name.family or Patient.name.text shuld be present, but bellow name.patient is indicated as required. Is it correct?

gcangioli commented 1 year ago

@rgazzarata : my apologizes, but I'm not sure to have understood the question. Patient.name is required, the invariant says that at least one among given, family or text shall be present. (this is the IPS invariant on name) There is then an additional constraint that requires the family. This makes the invariant always true (i.e., in some sense the invariant superfluous). However I suggest to keep it, also in the light of the Relax cardinality of Patient.name.family? issue

gcangioli commented 1 year ago

2023-09-01 - No issue.

rgazzarata commented 1 year ago

Sorry @gcangioli I have wrong writte. "In Description & Constraints of Patient.name is indicated that Patient.name.given, Patient.name.family or Patient.name.text shuld be present, but bellow name.family is indicated as required. Is it correct?" I have seen that now it is name.family so for me is ok. Thanks.