Hey there,
I've received the following issue from a player in the danish healthspace:
"Both X-eCPR and D-eCPR has constraints with FHIRPath error.
If you look at the constraint, it is value.matches(), but it is placed on Identifier.value, so the full path becomes Identifier.value.value.matches().
For the regular CPR, the constraint is located in the same place but is simply called matches(), i.e. directly on value, and there it works fine."
And I can indeed see that here:
https://hl7.dk/fhir/core/3.5.0/StructureDefinition-dk-core-cpr-identifier.html the 'cpr' constraint is just matches(...) and on https://hl7.dk/fhir/core/3.5.0/StructureDefinition-dk-core-d-ecpr-identifier.html it is value.matches
Hey there,
I've received the following issue from a player in the danish healthspace:
"Both X-eCPR and D-eCPR has constraints with FHIRPath error.
If you look at the constraint, it is value.matches(), but it is placed on Identifier.value, so the full path becomes Identifier.value.value.matches().
For the regular CPR, the constraint is located in the same place but is simply called matches(), i.e. directly on value, and there it works fine."
And I can indeed see that here:
https://hl7.dk/fhir/core/3.5.0/StructureDefinition-dk-core-cpr-identifier.html the 'cpr' constraint is just matches(...) and on https://hl7.dk/fhir/core/3.5.0/StructureDefinition-dk-core-d-ecpr-identifier.html it is value.matches