diff --git a/input/pagecontent/changelog.md b/input/pagecontent/changelog.md index 5088cbd6..9447b8cc 100644 --- a/input/pagecontent/changelog.md +++ b/input/pagecontent/changelog.md @@ -1,5 +1,9 @@ This is the log of changes made to the eHealth Implementation Guide. +## 11.0.2 (2026-11-04) +### Search parameters +- Added search parameters `relatedPersonCPRIdentifier` (CPR identifier) and `relatedPersonRelationshipParauth` (relationship code `PARAUTH`) on RelatedPerson, and the uniqueness constraint `relatedPersonCPRIdentifierPatientParauthUnique`: a patient can have at most one RelatedPerson with a given CPR identifier and the relationship code `PARAUTH`. **Note for vendors:** creating a second such RelatedPerson is rejected with HTTP 409 (Conflict). + ## 11.0.1 (2026-11-04) ### General changes - Fixed drop down menus in page render diff --git a/input/resources/CapabilityStatement-patient.json b/input/resources/CapabilityStatement-patient.json index e00dd2f1..4f2fe653 100644 --- a/input/resources/CapabilityStatement-patient.json +++ b/input/resources/CapabilityStatement-patient.json @@ -2471,6 +2471,24 @@ "type": "token", "documentation": "The relationship between the patient and the relatedperson" }, + { + "name": "relatedPersonCPRIdentifier", + "definition": "http://ehealth.sundhed.dk/fhir/SearchParameter/RelatedPerson/cprIdentifier", + "type": "token", + "documentation": "Search parameter for RelatedPerson DK-Core CPR identifier" + }, + { + "name": "relatedPersonRelationshipParauth", + "definition": "http://ehealth.sundhed.dk/fhir/SearchParameter/RelatedPerson/relationshipParauth", + "type": "token", + "documentation": "Search parameter for the relationship code PARAUTH (parental authority) on a RelatedPerson" + }, + { + "name": "relatedPersonCPRIdentifierPatientParauthUnique", + "definition": "http://ehealth.sundhed.dk/fhir/SearchParameter/RelatedPerson/cprIdentifierPatientParauthUnique", + "type": "composite", + "documentation": "Uniqueness constraint: a patient can have at most one RelatedPerson with a given CPR identifier and the relationship code PARAUTH" + }, { "name": "email", "definition": "http://hl7.org/fhir/SearchParameter/individual-email", diff --git a/input/resources/SearchParameter-ehealth-relatedperson-cpridentifier-patient-parauth-unique.json b/input/resources/SearchParameter-ehealth-relatedperson-cpridentifier-patient-parauth-unique.json new file mode 100644 index 00000000..7823d9c5 --- /dev/null +++ b/input/resources/SearchParameter-ehealth-relatedperson-cpridentifier-patient-parauth-unique.json @@ -0,0 +1,36 @@ +{ + "resourceType": "SearchParameter", + "id": "ehealth-relatedperson-cpridentifier-patient-parauth-unique", + "extension" : [ + { + "url" : "http://hapifhir.io/fhir/StructureDefinition/sp-unique", + "valueBoolean" : true + } + ], + "url": "http://ehealth.sundhed.dk/fhir/SearchParameter/RelatedPerson/cprIdentifierPatientParauthUnique", + "name": "relatedPersonCPRIdentifierPatientParauthUnique", + "status": "active", + "date": "2026-10-26T00:00:00+00:00", + "code": "relatedPersonCPRIdentifierPatientParauthUnique", + "base": [ + "RelatedPerson" + ], + "type": "composite", + "description": "Uniqueness constraint: a patient can have at most one RelatedPerson with a given CPR identifier and the relationship code PARAUTH.", + "expression": "RelatedPerson", + "xpathUsage": "normal", + "component" : [ + { + "definition" : "http://ehealth.sundhed.dk/fhir/SearchParameter/RelatedPerson/cprIdentifier", + "expression" : "RelatedPerson" + }, + { + "definition" : "http://hl7.org/fhir/SearchParameter/RelatedPerson-patient", + "expression" : "RelatedPerson" + }, + { + "definition" : "http://ehealth.sundhed.dk/fhir/SearchParameter/RelatedPerson/relationshipParauth", + "expression" : "RelatedPerson" + } + ] +} diff --git a/input/resources/SearchParameter-ehealth-relatedperson-search-cpridentifier.json b/input/resources/SearchParameter-ehealth-relatedperson-search-cpridentifier.json new file mode 100644 index 00000000..9d5e2be0 --- /dev/null +++ b/input/resources/SearchParameter-ehealth-relatedperson-search-cpridentifier.json @@ -0,0 +1,16 @@ +{ + "resourceType": "SearchParameter", + "id": "ehealth-relatedperson-search-cpridentifier", + "url": "http://ehealth.sundhed.dk/fhir/SearchParameter/RelatedPerson/cprIdentifier", + "name": "relatedPersonCPRIdentifier", + "status": "active", + "date": "2026-10-26T00:00:00+00:00", + "code": "relatedPersonCPRIdentifier", + "base": [ + "RelatedPerson" + ], + "type": "token", + "description": "Search parameter for RelatedPerson DK-Core CPR identifier", + "expression": "RelatedPerson.identifier.where(system = 'urn:oid:1.2.208.176.1.2').value", + "xpathUsage": "normal" +} diff --git a/input/resources/SearchParameter-ehealth-relatedperson-search-relationship-parauth.json b/input/resources/SearchParameter-ehealth-relatedperson-search-relationship-parauth.json new file mode 100644 index 00000000..4de48dba --- /dev/null +++ b/input/resources/SearchParameter-ehealth-relatedperson-search-relationship-parauth.json @@ -0,0 +1,16 @@ +{ + "resourceType": "SearchParameter", + "id": "ehealth-relatedperson-search-relationship-parauth", + "url": "http://ehealth.sundhed.dk/fhir/SearchParameter/RelatedPerson/relationshipParauth", + "name": "relatedPersonRelationshipParauth", + "status": "active", + "date": "2026-10-26T00:00:00+00:00", + "code": "relatedPersonRelationshipParauth", + "base": [ + "RelatedPerson" + ], + "type": "token", + "description": "Search parameter for the relationship code PARAUTH (parental authority) on a RelatedPerson. Component of the uniqueness constraint relatedPersonCPRIdentifierPatientParauthUnique.", + "expression": "RelatedPerson.relationship.coding.where(system = 'http://hl7.dk/fhir/core/CodeSystem/dk-relatedperson-relationshipcodes' and code = 'PARAUTH').code", + "xpathUsage": "normal" +} diff --git a/sushi-config.yaml b/sushi-config.yaml index 8edb2cda..58dce82a 100644 --- a/sushi-config.yaml +++ b/sushi-config.yaml @@ -7,7 +7,7 @@ canonical: http://ehealth.sundhed.dk/fhir name: eHealth Infrastructure title: eHealth Infrastructure status: active # draft | active | retired | unknown -version: 11.0.1 +version: 11.0.2 fhirVersion: 4.0.1 copyrightYear: 2021+