Skip to content

d-ecpr and x-ecpr constraints perhaps wrong? #207

@olw-medcom

Description

@olw-medcom

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions