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

Resource Profile: PET nõustav tervishoiutöötaja

Official URL: https://fhir.ee/ahd/StructureDefinition/ahd-counseling-hcp Version: 0.1.0
Draft as of 2026-06-10 Computable Name: AHDCounselingHCP

Tervishoiutöötaja roll, kes viib läbi PET nõustamise. Peab olema arst.

Usages:

  • This Profile is not used by any profiles in this Specification

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
.. PractitionerRole C 0..* PractitionerRole Roles/organizations the practitioner is associated with
Constraints: ahd-counselor-must-be-doctor
... identifier Σ 1..1 Identifier Identifiers for a role/location
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... value ΣC 1..1 string The value that is unique
Example General: 123456
... practitioner Σ 1..1 Reference(Practitioner) Practitioner that provides services for the organization
... organization Σ 1..1 Reference(Organization) Organization where the roles are available

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
PractitionerRole.identifier.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
PractitionerRole.specialty Base preferred Practice Setting Code Value Set 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
ahd-counselor-must-be-doctor error PractitionerRole Nõustamist teostav tervishoiu töötaja peab olema arst. PractitionerRole.identifier.valuepeab algama väärtusega 'D'. identifier.exists() and identifier.value.exists() and identifier.value.matches('^D.*')
dom-2 error PractitionerRole If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error PractitionerRole 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 PractitionerRole 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 PractitionerRole If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice PractitionerRole 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())

This structure is derived from PractitionerRole

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. PractitionerRole C 0..* PractitionerRole Roles/organizations the practitioner is associated with
Constraints: ahd-counselor-must-be-doctor
... implicitRules 0..0 A set of rules under which this content was created
... language 0..0 Language of the resource content
... text 0..0 Text summary of the resource, for human interpretation
... extension 0..0 Extension
... modifierExtension 0..0 Extension
... identifier 1..1 Identifier Identifiers for a role/location
.... value 1..1 string The value that is unique
... active 0..0 Whether this practitioner role record is in active use
... period 0..0 The period during which the practitioner is authorized to perform in these role(s)
... practitioner 1..1 Reference(Practitioner) Practitioner that provides services for the organization
... organization 1..1 Reference(Organization) Organization where the roles are available
... code 0..0 Roles which this practitioner may perform
... specialty 1..1 CodeableConcept Specific specialty of the practitioner
... location 0..0 Location(s) where the practitioner provides care
... healthcareService 0..0 Healthcare services provided for this role's Organization/Location(s)
... contact 0..0 Official contact details relating to this PractitionerRole
... characteristic 0..0 Collection of characteristics (attributes)
... communication 0..0 A language the practitioner (in this role) can use in patient communication
... availability 0..0 Times the Practitioner is available at this location and/or healthcare service (including exceptions)
... endpoint 0..0 Endpoints for interacting with the practitioner in this role

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
ahd-counselor-must-be-doctor error PractitionerRole Nõustamist teostav tervishoiu töötaja peab olema arst. PractitionerRole.identifier.valuepeab algama väärtusega 'D'. identifier.exists() and identifier.value.exists() and identifier.value.matches('^D.*')
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. PractitionerRole C 0..* PractitionerRole Roles/organizations the practitioner is associated with
Constraints: ahd-counselor-must-be-doctor
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... identifier Σ 1..1 Identifier Identifiers for a role/location
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... type Σ 0..1 CodeableConcept Description of identifier
Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
.... system Σ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value ΣC 1..1 string The value that is unique
Example General: 123456
.... period Σ 0..1 Period Time period when id is/was valid for use
.... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... organization Σ 1..1 Reference(Organization) Organization where the roles are available
... specialty Σ 1..1 CodeableConcept Specific specialty of the practitioner
Binding: PracticeSettingCodeValueSet (preferred): Specific specialty associated with the agency.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
PractitionerRole.identifier.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
PractitionerRole.identifier.​type Base extensible Identifier Type Codes 📍5.0.0 FHIR Std.
PractitionerRole.specialty Base preferred Practice Setting Code Value Set 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
ahd-counselor-must-be-doctor error PractitionerRole Nõustamist teostav tervishoiu töötaja peab olema arst. PractitionerRole.identifier.valuepeab algama väärtusega 'D'. identifier.exists() and identifier.value.exists() and identifier.value.matches('^D.*')
dom-2 error PractitionerRole If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error PractitionerRole 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 PractitionerRole 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 PractitionerRole If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice PractitionerRole 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 PractitionerRole

Summary

Mandatory: 5 elements
Prohibited: 16 elements

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. PractitionerRole C 0..* PractitionerRole Roles/organizations the practitioner is associated with
Constraints: ahd-counselor-must-be-doctor
... identifier Σ 1..1 Identifier Identifiers for a role/location
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... value ΣC 1..1 string The value that is unique
Example General: 123456
... practitioner Σ 1..1 Reference(Practitioner) Practitioner that provides services for the organization
... organization Σ 1..1 Reference(Organization) Organization where the roles are available

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
PractitionerRole.identifier.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
PractitionerRole.specialty Base preferred Practice Setting Code Value Set 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
ahd-counselor-must-be-doctor error PractitionerRole Nõustamist teostav tervishoiu töötaja peab olema arst. PractitionerRole.identifier.valuepeab algama väärtusega 'D'. identifier.exists() and identifier.value.exists() and identifier.value.matches('^D.*')
dom-2 error PractitionerRole If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error PractitionerRole 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 PractitionerRole 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 PractitionerRole If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice PractitionerRole 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())

Differential View

This structure is derived from PractitionerRole

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. PractitionerRole C 0..* PractitionerRole Roles/organizations the practitioner is associated with
Constraints: ahd-counselor-must-be-doctor
... implicitRules 0..0 A set of rules under which this content was created
... language 0..0 Language of the resource content
... text 0..0 Text summary of the resource, for human interpretation
... extension 0..0 Extension
... modifierExtension 0..0 Extension
... identifier 1..1 Identifier Identifiers for a role/location
.... value 1..1 string The value that is unique
... active 0..0 Whether this practitioner role record is in active use
... period 0..0 The period during which the practitioner is authorized to perform in these role(s)
... practitioner 1..1 Reference(Practitioner) Practitioner that provides services for the organization
... organization 1..1 Reference(Organization) Organization where the roles are available
... code 0..0 Roles which this practitioner may perform
... specialty 1..1 CodeableConcept Specific specialty of the practitioner
... location 0..0 Location(s) where the practitioner provides care
... healthcareService 0..0 Healthcare services provided for this role's Organization/Location(s)
... contact 0..0 Official contact details relating to this PractitionerRole
... characteristic 0..0 Collection of characteristics (attributes)
... communication 0..0 A language the practitioner (in this role) can use in patient communication
... availability 0..0 Times the Practitioner is available at this location and/or healthcare service (including exceptions)
... endpoint 0..0 Endpoints for interacting with the practitioner in this role

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
ahd-counselor-must-be-doctor error PractitionerRole Nõustamist teostav tervishoiu töötaja peab olema arst. PractitionerRole.identifier.valuepeab algama väärtusega 'D'. identifier.exists() and identifier.value.exists() and identifier.value.matches('^D.*')

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. PractitionerRole C 0..* PractitionerRole Roles/organizations the practitioner is associated with
Constraints: ahd-counselor-must-be-doctor
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... identifier Σ 1..1 Identifier Identifiers for a role/location
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... type Σ 0..1 CodeableConcept Description of identifier
Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
.... system Σ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value ΣC 1..1 string The value that is unique
Example General: 123456
.... period Σ 0..1 Period Time period when id is/was valid for use
.... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... organization Σ 1..1 Reference(Organization) Organization where the roles are available
... specialty Σ 1..1 CodeableConcept Specific specialty of the practitioner
Binding: PracticeSettingCodeValueSet (preferred): Specific specialty associated with the agency.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
PractitionerRole.identifier.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
PractitionerRole.identifier.​type Base extensible Identifier Type Codes 📍5.0.0 FHIR Std.
PractitionerRole.specialty Base preferred Practice Setting Code Value Set 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
ahd-counselor-must-be-doctor error PractitionerRole Nõustamist teostav tervishoiu töötaja peab olema arst. PractitionerRole.identifier.valuepeab algama väärtusega 'D'. identifier.exists() and identifier.value.exists() and identifier.value.matches('^D.*')
dom-2 error PractitionerRole If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error PractitionerRole 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 PractitionerRole 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 PractitionerRole If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice PractitionerRole 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 PractitionerRole

Summary

Mandatory: 5 elements
Prohibited: 16 elements

 

Other representations of profile: CSV, Excel, Schematron