hl7germany / basisprofil-de-r4

21 stars 6 forks source link

IdentifierKvid10 kvid-2 Constraint #598

Open julsas opened 3 days ago

julsas commented 3 days ago

https://github.com/hl7germany/basisprofil-de-r4/blob/2913ef5eeb983f9131a81744214ba37250f66591/resources/input/fsh/profiles/IdentifierKvid10.fsh#L9

Die Expression triggert nicht im Kontext Identifier.type.

($this.identifier.type.coding.exists(system='http://fhir.de/CodeSystem/identifier-type-de-basis' and code='GKV') or $this.identifier.type.coding.exists(system='http://fhir.de/CodeSystem/identifier-type-de-basis' and code='PKV')).not()

Sollte sein:

($this.coding.exists(system='http://fhir.de/CodeSystem/identifier-type-de-basis' and code='GKV') or $this.coding.exists(system='http://fhir.de/CodeSystem/identifier-type-de-basis' and code='PKV')).not()
julsas commented 23 hours ago

Test case -> Fhirpath Lab