Patsiendi elulõpu tahteavaldus
0.1.0 - trial-use
Patsiendi elulõpu tahteavaldus, published by TEHIK. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/TEHIK-EE/ig-ee-pet/ and changes regularly. See the Directory of published versions
| Official URL: https://fhir.ee/ahd/StructureDefinition/ahd-witness | Version: 0.1.0 | |||
| Draft as of 2026-06-10 | Computable Name: AHDWitness | |||
Patsiendi poolt määratud tunnistaja (Person) PET tahteavalduse kontekstis.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Person | A generic person record | |
![]() ![]() |
Σ | 1..* | Identifier | A human identifier for this person |
![]() ![]() |
?!Σ | 1..1 | boolean | This person's record is in active use |
![]() ![]() |
Σ | 1..1 | HumanName | A name associated with the person |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Person.communication.language | Base | required | All Languages | 📍5.0.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Person | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Person | If 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Person | If 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-5 | error | Person | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Person | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from Person
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Person | A generic person record | |
![]() ![]() |
0..0 | A set of rules under which this content was created | ||
![]() ![]() |
0..0 | Language of the resource content | ||
![]() ![]() |
0..0 | Text summary of the resource, for human interpretation | ||
![]() ![]() |
0..0 | Contained, inline Resources | ||
![]() ![]() |
0..0 | Extension | ||
![]() ![]() |
0..0 | Extension | ||
![]() ![]() |
1..* | Identifier | A human identifier for this person | |
![]() ![]() |
1..1 | boolean | This person's record is in active use | |
![]() ![]() |
1..1 | HumanName | A name associated with the person | |
![]() ![]() |
0..0 | A contact detail for the person | ||
![]() ![]() |
0..0 | male | female | other | unknown | ||
![]() ![]() |
0..0 | The date on which the person was born | ||
![]() ![]() |
0..0 | Indicates if the individual is deceased or not | ||
![]() ![]() |
0..0 | One or more addresses for the person | ||
![]() ![]() |
0..0 | Marital (civil) status of a person | ||
![]() ![]() |
0..0 | Image of the person | ||
![]() ![]() |
0..0 | A language which may be used to communicate with the person about his or her health | ||
![]() ![]() |
0..0 | The organization that is the custodian of the person record | ||
![]() ![]() |
0..0 | Link to a resource that concerns the same actual person | ||
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Person | A generic person record | |
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact |
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource |
![]() ![]() |
Σ | 1..* | Identifier | A human identifier for this person |
![]() ![]() |
?!Σ | 1..1 | boolean | This person's record is in active use |
![]() ![]() |
Σ | 1..1 | HumanName | A name associated with the person |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Person.communication.language | Base | required | All Languages | 📍5.0.0 | FHIR Std. |
| Person.link.assurance | Base | required | Identity Assurance Level | 📍5.0.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Person | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Person | If 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Person | If 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-5 | error | Person | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Person | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from Person
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Person | A generic person record | |
![]() ![]() |
Σ | 1..* | Identifier | A human identifier for this person |
![]() ![]() |
?!Σ | 1..1 | boolean | This person's record is in active use |
![]() ![]() |
Σ | 1..1 | HumanName | A name associated with the person |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Person.communication.language | Base | required | All Languages | 📍5.0.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Person | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Person | If 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Person | If 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-5 | error | Person | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Person | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
Differential View
This structure is derived from Person
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Person | A generic person record | |
![]() ![]() |
0..0 | A set of rules under which this content was created | ||
![]() ![]() |
0..0 | Language of the resource content | ||
![]() ![]() |
0..0 | Text summary of the resource, for human interpretation | ||
![]() ![]() |
0..0 | Contained, inline Resources | ||
![]() ![]() |
0..0 | Extension | ||
![]() ![]() |
0..0 | Extension | ||
![]() ![]() |
1..* | Identifier | A human identifier for this person | |
![]() ![]() |
1..1 | boolean | This person's record is in active use | |
![]() ![]() |
1..1 | HumanName | A name associated with the person | |
![]() ![]() |
0..0 | A contact detail for the person | ||
![]() ![]() |
0..0 | male | female | other | unknown | ||
![]() ![]() |
0..0 | The date on which the person was born | ||
![]() ![]() |
0..0 | Indicates if the individual is deceased or not | ||
![]() ![]() |
0..0 | One or more addresses for the person | ||
![]() ![]() |
0..0 | Marital (civil) status of a person | ||
![]() ![]() |
0..0 | Image of the person | ||
![]() ![]() |
0..0 | A language which may be used to communicate with the person about his or her health | ||
![]() ![]() |
0..0 | The organization that is the custodian of the person record | ||
![]() ![]() |
0..0 | Link to a resource that concerns the same actual person | ||
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Person | A generic person record | |
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact |
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource |
![]() ![]() |
Σ | 1..* | Identifier | A human identifier for this person |
![]() ![]() |
?!Σ | 1..1 | boolean | This person's record is in active use |
![]() ![]() |
Σ | 1..1 | HumanName | A name associated with the person |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Person.communication.language | Base | required | All Languages | 📍5.0.0 | FHIR Std. |
| Person.link.assurance | Base | required | Identity Assurance Level | 📍5.0.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Person | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Person | If 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Person | If 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-5 | error | Person | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Person | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from Person
Other representations of profile: CSV, Excel, Schematron