description: The RelatedPerson resource represents an individual who has a personal or professional relationship with a patient and may be involved in their care. This includes family members, caregivers, legal guardians, and other support persons who assist in the patient's therapy and treatment. The profile extends the NlcoreContactPerson profile with Koppeltaal-specific requirements. package_name: koppeltaalv2.00 derivation: constraint name: KT2_RelatedPerson type: RelatedPerson elements: patient: type: Reference refers: ['http://koppeltaal.nl/fhir/StructureDefinition/KT2Patient'] index: 4 name: index: 7 slicing: slices: nameInformation: match: {} schema: {index: 8} birthDate: {index: 10} relationship: index: 5 slicing: rules: closed discriminator: - {path: $this, type: value} min: 1 slices: role: match: {} schema: constraint: kt2-role-display-validation: human: Display values for role codes (COD472) must match the CodeSystem definitions exactly source: http://koppeltaal.nl/fhir/StructureDefinition/KT2RelatedPerson severity: error expression: |- coding.where(system='urn:oid:2.16.840.1.113883.2.4.3.11.22.472').all( (code='01' and display='Eerste relatie/contactpersoon') or (code='02' and display='Tweede relatie/contactpersoon') or (code='03' and display='Curator (juridisch)') or (code='04' and display='Financieel (gemachtigd)') or (code='05' and display='Financieel (toetsing)') or (code='06' and display='Leefeenheid') or (code='07' and display='Hulpverlener') or (code='09' and display='Anders') or (code='11' and display='Voogd') or (code='14' and display='Bewindvoerder') or (code='15' and display='Mentor') or (code='19' and display='Buur') or (code='20' and display='Vriend(in)/kennis') or (code='21' and display='Cliƫntondersteuner') or (code='23' and display='Contactpersoon') or (code='24' and display='Wettelijke vertegenwoordiger') or display.exists().not() ) index: 6 extension: index: 0 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: resource-origin: match: {url: null} schema: {type: Extension, url: 'http://koppeltaal.nl/fhir/StructureDefinition/resource-origin', index: 1} min: 0 max: 1 photo: {index: 11} active: {index: 3} identifier: {index: 2} gender: {index: 9} package_version: 0.15.0-beta.8 extensions: resource-origin: {url: 'http://koppeltaal.nl/fhir/StructureDefinition/resource-origin', min: 0, max: 1, type: Extension, index: 1} class: profile kind: resource url: http://koppeltaal.nl/fhir/StructureDefinition/KT2RelatedPerson base: http://nictiz.nl/fhir/StructureDefinition/nl-core-ContactPerson version: null required: [gender, relationship, name, identifier, birthDate, active]