From fda3d8f0237c99f1c4990dd819456e941b2f03b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20Juhl=20N=C3=B8rrelykke?= Date: Thu, 13 Aug 2026 09:06:38 +0200 Subject: [PATCH] Constrain ehealth-skrs-patient generalPractitioner to 0..1 fut-patient now rejects SKRS patient updates carrying more than one generalPractitioner reference, since a citizen only ever has one active GP. The ehealth-skrs-patient profile previously had no cardinality constraint on this element at all (inherited base FHIR's unconstrained 0..*); this brings it in line with both the enforced business rule and the ehealth-patient profile, which already constrains it to 0..1. --- input/fsh/ehealth-skrs-patient.fsh | 2 ++ input/pagecontent/changelog.md | 1 + 2 files changed, 3 insertions(+) diff --git a/input/fsh/ehealth-skrs-patient.fsh b/input/fsh/ehealth-skrs-patient.fsh index be4a2bcd6..620970178 100644 --- a/input/fsh/ehealth-skrs-patient.fsh +++ b/input/fsh/ehealth-skrs-patient.fsh @@ -27,6 +27,8 @@ Parent: Patient * address[officialHomeAddress].extension contains http://hl7.dk/fhir/core/StructureDefinition/dk-core-municipalityCodes named municipalityCodes 0..* * address[officialHomeAddress].extension contains http://hl7.dk/fhir/core/StructureDefinition/dk-core-RegionalSubDivisionCodes named regionalSubDivisionCodes 0..* +* generalPractitioner 0..1 + Instance: 291 InstanceOf: Patient diff --git a/input/pagecontent/changelog.md b/input/pagecontent/changelog.md index b47c3e5ae..8ab812bdf 100644 --- a/input/pagecontent/changelog.md +++ b/input/pagecontent/changelog.md @@ -10,6 +10,7 @@ This is the log of changes made to the eHealth Implementation Guide. - Added a `date` search parameter on RelatedPerson that searches `RelatedPerson.period`. ### Profiles - Documented the update rules for ehealth-relatedperson, covering the managed variant and its locked master-data fields. +- Constrained `generalPractitioner` on `ehealth-skrs-patient` to `0..1`, matching the `ehealth-patient` profile and the fut-patient server's enforcement that a citizen has at most one active GP. ## 10.0.0 (2026-08-26) ### General changes