eHealth Infrastructure
5.0.2 - release Denmark flag

eHealth Infrastructure, published by Den telemedicinske infrastruktur (eHealth Infrastructure). This guide is not an authorized publication; it is the continuous build for version 5.0.2 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/fut-infrastructure/implementation-guide/ and changes regularly. See the Directory of published versions

Resource Profile: RelatedPerson – Attorney-in-fact (Digital Delegation)

Official URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-relatedperson-delegate Version: 5.0.2
Active as of 2025-09-24 Computable Name: ehealth-relatedperson-delegate

Represents the Attorney-in-fact (delegate) acting for a Grantor under a Power of Attorney registered via Digital Delegation. System-managed fields include identifier (CPR), patient, active, period, and relationship (privilege codes).

Usages:

  • This Profile is not used by any profiles in this Implementation Guide

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. RelatedPerson C 0..* RelatedPerson A person that is related to a patient, but who is not a direct target of care
Constraints: ehealth-rp-active-1, ehealth-rp-active-2, ehealth-rp-active-3, ehealth-rp-audience-1
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:contactNote 0..1 string Note regarding patient contact
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient-contactnote
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
.... identifier:ehealth-dk-crn-identifier Σ 1..1 DkCoreCprIdentifier A human identifier for this person
... active ?!SΣ 1..1 boolean True iff a valid Power of Attorney exists in OIO BPP
... patient Σ 1..1 Reference(ehealth-patient) {r} The patient this person is related to
... Slices for relationship SΣ 1..* CodeableConcept The nature of the relationship
Slice: Unordered, Open by pattern:$this
Binding: PatientRelationshipType (preferred): The nature of the relationship between a patient and the related person.
.... relationship:All Slices Content/Rules for all slices
..... coding Σ 0..* Coding Code defined by a terminology system
Binding: RelationshipTypes (required)
.... relationship:powatt Σ 1..1 CodeableConcept The nature of the relationship
Binding: Delegation Types (Digital Delegation) (required)
..... coding Σ 1..1 Coding Code defined by a terminology system
Binding: RelationshipTypes (required)
...... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v3-RoleCode
...... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: POWATT
... Slices for name SΣ 1..* HumanName A name associated with the person
Slice: Unordered, Open by pattern:use
.... name:official SΣ 1..1 HumanName A name associated with the person
..... use ?!Σ 1..1 code usual | official | temp | nickname | anonymous | old | maiden
Binding: NameUse (required): The use of a human name.
Required Pattern: official
..... family Σ 1..1 string Family name (often called 'Surname')
..... given Σ 1..* string Given names (not always 'first'). Includes middle names
This repeating element order: Given Names appear in the correct order for presenting the name
... period S 1..1 Period Lifecycle of the delegation as known to the infrastructure
.... start ΣC 1..1 dateTime Starting time with inclusive boundary

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
RelatedPerson.relationshippreferredPatientRelationshipType
http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype|4.0.1
From the FHIR Standard
RelatedPerson.relationship.codingrequiredRelationshipTypes
http://ehealth.sundhed.dk/vs/relatedperson-relationshiptype
From this IG
RelatedPerson.relationship:powattrequiredDelegationTypes
http://ehealth.sundhed.dk/vs/ehealth-delegation-type
From this IG
RelatedPerson.relationship:powatt.codingrequiredRelationshipTypes
http://ehealth.sundhed.dk/vs/relatedperson-relationshiptype
From this IG
RelatedPerson.name:official.userequiredPattern Value: official
http://hl7.org/fhir/ValueSet/name-use|4.0.1
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorRelatedPersonIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorRelatedPersonIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorRelatedPersonIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorRelatedPersonIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceRelatedPersonA resource should have narrative for robust management
: text.`div`.exists()
ehealth-rp-active-1errorRelatedPersonIf active = true then period.end must be absent.
: active implies period.end.empty()
ehealth-rp-active-2errorRelatedPersonIf active = false then period.end must be present.
: not active implies period.end.exists()
ehealth-rp-active-3errorRelatedPersonIf period.end exists, it must not be before period.start.
: period.end.empty() or (period.start <= period.end)
ehealth-rp-audience-1errorRelatedPersonExactly one audience tag must be present
: meta.tag.where(system='http://ehealth.sundhed.dk/security/audience').count() = 1
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from RelatedPerson

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. RelatedPerson C 0..* RelatedPerson A person that is related to a patient, but who is not a direct target of care
Constraints: ehealth-rp-active-1, ehealth-rp-active-2, ehealth-rp-active-3, ehealth-rp-audience-1
... meta
.... Slices for tag 1..* Coding Tags applied to this resource
Slice: Unordered, Open by pattern:system
..... tag:audience 1..1 Coding Tags applied to this resource
...... system 1..1 uri Identity of the terminology system
Required Pattern: http://ehealth.sundhed.dk/security/audience
...... code 1..1 code Symbol in syntax defined by the system
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:contactNote 0..1 string Note regarding patient contact
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient-contactnote
... Slices for identifier 1..* Identifier A human identifier for this person
Slice: Unordered, Open by value:system
.... identifier:ehealth-dk-crn-identifier 1..1 DkCoreCprIdentifier A human identifier for this person
... patient 1..1 Reference(ehealth-patient) {r} The patient this person is related to
... Slices for relationship S 1..* CodeableConcept The nature of the relationship
Slice: Unordered, Open by pattern:$this
.... relationship:All Slices Content/Rules for all slices
..... coding 0..* Coding Code defined by a terminology system
Binding: RelationshipTypes (required)
.... relationship:powatt 1..1 CodeableConcept The nature of the relationship
Binding: Delegation Types (Digital Delegation) (required)
..... coding 1..1 Coding Code defined by a terminology system
...... system 1..1 uri Identity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v3-RoleCode
...... code 1..1 code Symbol in syntax defined by the system
Required Pattern: POWATT
... Slices for name S 1..* HumanName A name associated with the person
Slice: Unordered, Open by pattern:use
.... name:official S 1..1 HumanName A name associated with the person
..... use 1..1 code usual | official | temp | nickname | anonymous | old | maiden
Required Pattern: official
..... family 1..1 string Family name (often called 'Surname')
..... given 1..* string Given names (not always 'first'). Includes middle names
... period S 1..1 Period Lifecycle of the delegation as known to the infrastructure
.... start 1..1 dateTime Starting time with inclusive boundary

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
RelatedPerson.relationship.codingrequiredRelationshipTypes
http://ehealth.sundhed.dk/vs/relatedperson-relationshiptype
From this IG
RelatedPerson.relationship:powattrequiredDelegationTypes
http://ehealth.sundhed.dk/vs/ehealth-delegation-type
From this IG

Constraints

IdGradePath(s)DetailsRequirements
ehealth-rp-active-1errorRelatedPersonIf active = true then period.end must be absent.
: active implies period.end.empty()
ehealth-rp-active-2errorRelatedPersonIf active = false then period.end must be present.
: not active implies period.end.exists()
ehealth-rp-active-3errorRelatedPersonIf period.end exists, it must not be before period.start.
: period.end.empty() or (period.start <= period.end)
ehealth-rp-audience-1errorRelatedPersonExactly one audience tag must be present
: meta.tag.where(system='http://ehealth.sundhed.dk/security/audience').count() = 1
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. RelatedPerson C 0..* RelatedPerson A person that is related to a patient, but who is not a direct target of care
Constraints: ehealth-rp-active-1, ehealth-rp-active-2, ehealth-rp-active-3, ehealth-rp-audience-1
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated Σ 0..1 instant When the resource version last changed
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile Σ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... Slices for tag Σ 1..* Coding Tags applied to this resource
Slice: Unordered, Open by pattern:system
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
..... tag:audience Σ 1..1 Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://ehealth.sundhed.dk/security/audience
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:contactNote 0..1 string Note regarding patient contact
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient-contactnote
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... Slices for identifier Σ 1..* Identifier A human identifier for this person
Slice: Unordered, Open by value:system
.... identifier:ehealth-dk-crn-identifier Σ 1..1 DkCoreCprIdentifier A human identifier for this person
... active ?!SΣ 1..1 boolean True iff a valid Power of Attorney exists in OIO BPP
... patient Σ 1..1 Reference(ehealth-patient) {r} The patient this person is related to
... Slices for relationship SΣ 1..* CodeableConcept The nature of the relationship
Slice: Unordered, Open by pattern:$this
Binding: PatientRelationshipType (preferred): The nature of the relationship between a patient and the related person.
.... relationship:All Slices Content/Rules for all slices
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... coding Σ 0..* Coding Code defined by a terminology system
Binding: RelationshipTypes (required)
..... text Σ 0..1 string Plain text representation of the concept
.... relationship:powatt Σ 1..1 CodeableConcept The nature of the relationship
Binding: Delegation Types (Digital Delegation) (required)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... coding Σ 1..1 Coding Code defined by a terminology system
Binding: RelationshipTypes (required)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v3-RoleCode
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: POWATT
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... text Σ 0..1 string Plain text representation of the concept
... Slices for name SΣ 1..* HumanName A name associated with the person
Slice: Unordered, Open by pattern:use
.... name:official SΣ 1..1 HumanName A name associated with the person
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 1..1 code usual | official | temp | nickname | anonymous | old | maiden
Binding: NameUse (required): The use of a human name.
Required Pattern: official
..... text Σ 0..1 string Text representation of the full name
..... family Σ 1..1 string Family name (often called 'Surname')
..... given Σ 1..* string Given names (not always 'first'). Includes middle names
This repeating element order: Given Names appear in the correct order for presenting the name
..... prefix Σ 0..* string Parts that come before the name
This repeating element order: Prefixes appear in the correct order for presenting the name
..... suffix Σ 0..* string Parts that come after the name
This repeating element order: Suffixes appear in the correct order for presenting the name
..... period Σ 0..1 Period Time period when name was/is in use
... telecom Σ 0..* ContactPoint A contact detail for the person
... gender Σ 0..1 code male | female | other | unknown
Binding: AdministrativeGender (required): The gender of a person used for administrative purposes.
... birthDate Σ 0..1 date The date on which the related person was born
... address Σ 0..* Address Address where the related person can be contacted or visited
... photo 0..* Attachment Image of the person
... period S 1..1 Period Lifecycle of the delegation as known to the infrastructure
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... start ΣC 1..1 dateTime Starting time with inclusive boundary
.... end ΣC 0..1 dateTime End time with inclusive boundary, if not ongoing
... communication 0..* BackboneElement A language which may be used to communicate with about the patient's health
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... language 1..1 CodeableConcept The language which can be used to communicate with the patient about his or her health
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
.... preferred 0..1 boolean Language preference indicator

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
RelatedPerson.meta.securityextensibleAll Security Labels
http://hl7.org/fhir/ValueSet/security-labels|4.0.1
From the FHIR Standard
RelatedPerson.meta.tagexampleCommonTags
http://hl7.org/fhir/ValueSet/common-tags|4.0.1
From the FHIR Standard
RelatedPerson.meta.tag:audienceexampleCommonTags
http://hl7.org/fhir/ValueSet/common-tags|4.0.1
From the FHIR Standard
RelatedPerson.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages|4.0.1
From the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
RelatedPerson.relationshippreferredPatientRelationshipType
http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype|4.0.1
From the FHIR Standard
RelatedPerson.relationship.codingrequiredRelationshipTypes
http://ehealth.sundhed.dk/vs/relatedperson-relationshiptype
From this IG
RelatedPerson.relationship:powattrequiredDelegationTypes
http://ehealth.sundhed.dk/vs/ehealth-delegation-type
From this IG
RelatedPerson.relationship:powatt.codingrequiredRelationshipTypes
http://ehealth.sundhed.dk/vs/relatedperson-relationshiptype
From this IG
RelatedPerson.name:official.userequiredPattern Value: official
http://hl7.org/fhir/ValueSet/name-use|4.0.1
From the FHIR Standard
RelatedPerson.genderrequiredAdministrativeGender
http://hl7.org/fhir/ValueSet/administrative-gender|4.0.1
From the FHIR Standard
RelatedPerson.communication.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages|4.0.1
From the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorRelatedPersonIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorRelatedPersonIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorRelatedPersonIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorRelatedPersonIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceRelatedPersonA resource should have narrative for robust management
: text.`div`.exists()
ehealth-rp-active-1errorRelatedPersonIf active = true then period.end must be absent.
: active implies period.end.empty()
ehealth-rp-active-2errorRelatedPersonIf active = false then period.end must be present.
: not active implies period.end.exists()
ehealth-rp-active-3errorRelatedPersonIf period.end exists, it must not be before period.start.
: period.end.empty() or (period.start <= period.end)
ehealth-rp-audience-1errorRelatedPersonExactly one audience tag must be present
: meta.tag.where(system='http://ehealth.sundhed.dk/security/audience').count() = 1
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from RelatedPerson

Summary

Mandatory: 15 elements(4 nested mandatory elements)
Must-Support: 5 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of RelatedPerson.meta.tag
  • The element 1 is sliced based on the value of RelatedPerson.identifier
  • The element 1 is sliced based on the value of RelatedPerson.relationship
  • The element 1 is sliced based on the value of RelatedPerson.name

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. RelatedPerson C 0..* RelatedPerson A person that is related to a patient, but who is not a direct target of care
Constraints: ehealth-rp-active-1, ehealth-rp-active-2, ehealth-rp-active-3, ehealth-rp-audience-1
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:contactNote 0..1 string Note regarding patient contact
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient-contactnote
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
.... identifier:ehealth-dk-crn-identifier Σ 1..1 DkCoreCprIdentifier A human identifier for this person
... active ?!SΣ 1..1 boolean True iff a valid Power of Attorney exists in OIO BPP
... patient Σ 1..1 Reference(ehealth-patient) {r} The patient this person is related to
... Slices for relationship SΣ 1..* CodeableConcept The nature of the relationship
Slice: Unordered, Open by pattern:$this
Binding: PatientRelationshipType (preferred): The nature of the relationship between a patient and the related person.
.... relationship:All Slices Content/Rules for all slices
..... coding Σ 0..* Coding Code defined by a terminology system
Binding: RelationshipTypes (required)
.... relationship:powatt Σ 1..1 CodeableConcept The nature of the relationship
Binding: Delegation Types (Digital Delegation) (required)
..... coding Σ 1..1 Coding Code defined by a terminology system
Binding: RelationshipTypes (required)
...... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v3-RoleCode
...... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: POWATT
... Slices for name SΣ 1..* HumanName A name associated with the person
Slice: Unordered, Open by pattern:use
.... name:official SΣ 1..1 HumanName A name associated with the person
..... use ?!Σ 1..1 code usual | official | temp | nickname | anonymous | old | maiden
Binding: NameUse (required): The use of a human name.
Required Pattern: official
..... family Σ 1..1 string Family name (often called 'Surname')
..... given Σ 1..* string Given names (not always 'first'). Includes middle names
This repeating element order: Given Names appear in the correct order for presenting the name
... period S 1..1 Period Lifecycle of the delegation as known to the infrastructure
.... start ΣC 1..1 dateTime Starting time with inclusive boundary

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
RelatedPerson.relationshippreferredPatientRelationshipType
http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype|4.0.1
From the FHIR Standard
RelatedPerson.relationship.codingrequiredRelationshipTypes
http://ehealth.sundhed.dk/vs/relatedperson-relationshiptype
From this IG
RelatedPerson.relationship:powattrequiredDelegationTypes
http://ehealth.sundhed.dk/vs/ehealth-delegation-type
From this IG
RelatedPerson.relationship:powatt.codingrequiredRelationshipTypes
http://ehealth.sundhed.dk/vs/relatedperson-relationshiptype
From this IG
RelatedPerson.name:official.userequiredPattern Value: official
http://hl7.org/fhir/ValueSet/name-use|4.0.1
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorRelatedPersonIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorRelatedPersonIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorRelatedPersonIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorRelatedPersonIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceRelatedPersonA resource should have narrative for robust management
: text.`div`.exists()
ehealth-rp-active-1errorRelatedPersonIf active = true then period.end must be absent.
: active implies period.end.empty()
ehealth-rp-active-2errorRelatedPersonIf active = false then period.end must be present.
: not active implies period.end.exists()
ehealth-rp-active-3errorRelatedPersonIf period.end exists, it must not be before period.start.
: period.end.empty() or (period.start <= period.end)
ehealth-rp-audience-1errorRelatedPersonExactly one audience tag must be present
: meta.tag.where(system='http://ehealth.sundhed.dk/security/audience').count() = 1
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

Differential View

This structure is derived from RelatedPerson

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. RelatedPerson C 0..* RelatedPerson A person that is related to a patient, but who is not a direct target of care
Constraints: ehealth-rp-active-1, ehealth-rp-active-2, ehealth-rp-active-3, ehealth-rp-audience-1
... meta
.... Slices for tag 1..* Coding Tags applied to this resource
Slice: Unordered, Open by pattern:system
..... tag:audience 1..1 Coding Tags applied to this resource
...... system 1..1 uri Identity of the terminology system
Required Pattern: http://ehealth.sundhed.dk/security/audience
...... code 1..1 code Symbol in syntax defined by the system
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:contactNote 0..1 string Note regarding patient contact
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient-contactnote
... Slices for identifier 1..* Identifier A human identifier for this person
Slice: Unordered, Open by value:system
.... identifier:ehealth-dk-crn-identifier 1..1 DkCoreCprIdentifier A human identifier for this person
... patient 1..1 Reference(ehealth-patient) {r} The patient this person is related to
... Slices for relationship S 1..* CodeableConcept The nature of the relationship
Slice: Unordered, Open by pattern:$this
.... relationship:All Slices Content/Rules for all slices
..... coding 0..* Coding Code defined by a terminology system
Binding: RelationshipTypes (required)
.... relationship:powatt 1..1 CodeableConcept The nature of the relationship
Binding: Delegation Types (Digital Delegation) (required)
..... coding 1..1 Coding Code defined by a terminology system
...... system 1..1 uri Identity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v3-RoleCode
...... code 1..1 code Symbol in syntax defined by the system
Required Pattern: POWATT
... Slices for name S 1..* HumanName A name associated with the person
Slice: Unordered, Open by pattern:use
.... name:official S 1..1 HumanName A name associated with the person
..... use 1..1 code usual | official | temp | nickname | anonymous | old | maiden
Required Pattern: official
..... family 1..1 string Family name (often called 'Surname')
..... given 1..* string Given names (not always 'first'). Includes middle names
... period S 1..1 Period Lifecycle of the delegation as known to the infrastructure
.... start 1..1 dateTime Starting time with inclusive boundary

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
RelatedPerson.relationship.codingrequiredRelationshipTypes
http://ehealth.sundhed.dk/vs/relatedperson-relationshiptype
From this IG
RelatedPerson.relationship:powattrequiredDelegationTypes
http://ehealth.sundhed.dk/vs/ehealth-delegation-type
From this IG

Constraints

IdGradePath(s)DetailsRequirements
ehealth-rp-active-1errorRelatedPersonIf active = true then period.end must be absent.
: active implies period.end.empty()
ehealth-rp-active-2errorRelatedPersonIf active = false then period.end must be present.
: not active implies period.end.exists()
ehealth-rp-active-3errorRelatedPersonIf period.end exists, it must not be before period.start.
: period.end.empty() or (period.start <= period.end)
ehealth-rp-audience-1errorRelatedPersonExactly one audience tag must be present
: meta.tag.where(system='http://ehealth.sundhed.dk/security/audience').count() = 1

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. RelatedPerson C 0..* RelatedPerson A person that is related to a patient, but who is not a direct target of care
Constraints: ehealth-rp-active-1, ehealth-rp-active-2, ehealth-rp-active-3, ehealth-rp-audience-1
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated Σ 0..1 instant When the resource version last changed
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile Σ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... Slices for tag Σ 1..* Coding Tags applied to this resource
Slice: Unordered, Open by pattern:system
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
..... tag:audience Σ 1..1 Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://ehealth.sundhed.dk/security/audience
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:contactNote 0..1 string Note regarding patient contact
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient-contactnote
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... Slices for identifier Σ 1..* Identifier A human identifier for this person
Slice: Unordered, Open by value:system
.... identifier:ehealth-dk-crn-identifier Σ 1..1 DkCoreCprIdentifier A human identifier for this person
... active ?!SΣ 1..1 boolean True iff a valid Power of Attorney exists in OIO BPP
... patient Σ 1..1 Reference(ehealth-patient) {r} The patient this person is related to
... Slices for relationship SΣ 1..* CodeableConcept The nature of the relationship
Slice: Unordered, Open by pattern:$this
Binding: PatientRelationshipType (preferred): The nature of the relationship between a patient and the related person.
.... relationship:All Slices Content/Rules for all slices
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... coding Σ 0..* Coding Code defined by a terminology system
Binding: RelationshipTypes (required)
..... text Σ 0..1 string Plain text representation of the concept
.... relationship:powatt Σ 1..1 CodeableConcept The nature of the relationship
Binding: Delegation Types (Digital Delegation) (required)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... coding Σ 1..1 Coding Code defined by a terminology system
Binding: RelationshipTypes (required)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v3-RoleCode
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: POWATT
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... text Σ 0..1 string Plain text representation of the concept
... Slices for name SΣ 1..* HumanName A name associated with the person
Slice: Unordered, Open by pattern:use
.... name:official SΣ 1..1 HumanName A name associated with the person
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 1..1 code usual | official | temp | nickname | anonymous | old | maiden
Binding: NameUse (required): The use of a human name.
Required Pattern: official
..... text Σ 0..1 string Text representation of the full name
..... family Σ 1..1 string Family name (often called 'Surname')
..... given Σ 1..* string Given names (not always 'first'). Includes middle names
This repeating element order: Given Names appear in the correct order for presenting the name
..... prefix Σ 0..* string Parts that come before the name
This repeating element order: Prefixes appear in the correct order for presenting the name
..... suffix Σ 0..* string Parts that come after the name
This repeating element order: Suffixes appear in the correct order for presenting the name
..... period Σ 0..1 Period Time period when name was/is in use
... telecom Σ 0..* ContactPoint A contact detail for the person
... gender Σ 0..1 code male | female | other | unknown
Binding: AdministrativeGender (required): The gender of a person used for administrative purposes.
... birthDate Σ 0..1 date The date on which the related person was born
... address Σ 0..* Address Address where the related person can be contacted or visited
... photo 0..* Attachment Image of the person
... period S 1..1 Period Lifecycle of the delegation as known to the infrastructure
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... start ΣC 1..1 dateTime Starting time with inclusive boundary
.... end ΣC 0..1 dateTime End time with inclusive boundary, if not ongoing
... communication 0..* BackboneElement A language which may be used to communicate with about the patient's health
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... language 1..1 CodeableConcept The language which can be used to communicate with the patient about his or her health
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
.... preferred 0..1 boolean Language preference indicator

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
RelatedPerson.meta.securityextensibleAll Security Labels
http://hl7.org/fhir/ValueSet/security-labels|4.0.1
From the FHIR Standard
RelatedPerson.meta.tagexampleCommonTags
http://hl7.org/fhir/ValueSet/common-tags|4.0.1
From the FHIR Standard
RelatedPerson.meta.tag:audienceexampleCommonTags
http://hl7.org/fhir/ValueSet/common-tags|4.0.1
From the FHIR Standard
RelatedPerson.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages|4.0.1
From the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
RelatedPerson.relationshippreferredPatientRelationshipType
http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype|4.0.1
From the FHIR Standard
RelatedPerson.relationship.codingrequiredRelationshipTypes
http://ehealth.sundhed.dk/vs/relatedperson-relationshiptype
From this IG
RelatedPerson.relationship:powattrequiredDelegationTypes
http://ehealth.sundhed.dk/vs/ehealth-delegation-type
From this IG
RelatedPerson.relationship:powatt.codingrequiredRelationshipTypes
http://ehealth.sundhed.dk/vs/relatedperson-relationshiptype
From this IG
RelatedPerson.name:official.userequiredPattern Value: official
http://hl7.org/fhir/ValueSet/name-use|4.0.1
From the FHIR Standard
RelatedPerson.genderrequiredAdministrativeGender
http://hl7.org/fhir/ValueSet/administrative-gender|4.0.1
From the FHIR Standard
RelatedPerson.communication.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages|4.0.1
From the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorRelatedPersonIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorRelatedPersonIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorRelatedPersonIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorRelatedPersonIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceRelatedPersonA resource should have narrative for robust management
: text.`div`.exists()
ehealth-rp-active-1errorRelatedPersonIf active = true then period.end must be absent.
: active implies period.end.empty()
ehealth-rp-active-2errorRelatedPersonIf active = false then period.end must be present.
: not active implies period.end.exists()
ehealth-rp-active-3errorRelatedPersonIf period.end exists, it must not be before period.start.
: period.end.empty() or (period.start <= period.end)
ehealth-rp-audience-1errorRelatedPersonExactly one audience tag must be present
: meta.tag.where(system='http://ehealth.sundhed.dk/security/audience').count() = 1
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from RelatedPerson

Summary

Mandatory: 15 elements(4 nested mandatory elements)
Must-Support: 5 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of RelatedPerson.meta.tag
  • The element 1 is sliced based on the value of RelatedPerson.identifier
  • The element 1 is sliced based on the value of RelatedPerson.relationship
  • The element 1 is sliced based on the value of RelatedPerson.name

 

Other representations of profile: CSV, Excel, Schematron