Advance Care Planning (PZP)
1.0.0-rc1 - trial-use

Advance Care Planning (PZP), published by IKNL. This guide is not an authorized publication; it is the continuous build for version 1.0.0-rc1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/IKNL/PZP-FHIR-R4/ and changes regularly. See the Directory of published versions

## Extension: ext Encounter Reference

Official URL: https://api.iknl.nl/docs/pzp/r4/StructureDefinition/ext-EncounterReference | Version: 1.0.0-rc1
Draft as of 2025-10-31 | Computable Name: ExtEncounterReference
Copyright/Legal: Copyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise.

An extension to link the Encounter during which the Consent, Goal or DeviceUseStatement was created or to which the creation is tightly associated.

For some resources it may be important to know the link between the resource and a particular encounter while this is not part of the base resource. This extension allows to link the resource to the Encounter context.

Context of Use

This extension may be used on the following element(s)

- Element ID: `Consent`
- Element ID: `Goal`
- Element ID: `DeviceUseStatement`

Usage info

Usages:

- Use this Extension: AdvanceDirective, Medical Policy Goal, MedicalDevice and TreatmentDirective
- Examples for this Extension: Consent/F1-ACP-TreatmentDirective-116762002, Consent/F1-ACP-TreatmentDirective-281789004, Consent/F1-ACP-TreatmentDirective-305351004, Consent/F1-ACP-TreatmentDirective-32485007... Show 17 more, Consent/F1-ACP-TreatmentDirective-400231000146108, Consent/F1-ACP-TreatmentDirective-40617009, Consent/F1-ACP-TreatmentDirective-89666000, Consent/F2-ACP-TreatmentDirective-305351004, Consent/P2-ACP-AdvanceDirective, Consent/P2-ACP-TreatmentDirective-281789004, Consent/P2-ACP-TreatmentDirective-305351004, Consent/P2-ACP-TreatmentDirective-32485007, Consent/P2-ACP-TreatmentDirective-400231000146108, Consent/P2-ACP-TreatmentDirective-40617009-1, Consent/P2-ACP-TreatmentDirective-40617009-2, Consent/P2-ACP-TreatmentDirective-89666000, Consent/P2-ACP-TreatmentDirective-other, DeviceUseStatement/F1-ACP-MedicalDevice-ICD, DeviceUseStatement/P2-ACP-MedicalDevice-ICD, Goal/F1-ACP-Medical-Policy-Goal and Goal/P2-ACP-Medical-Policy-Goal

You can also check for usages in the FHIR IG Statistics

### Formal Views of Extension Content

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

- Differential Table
- Snapshot Table
- Statistics/References
- All

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension(4.0.1) | ext Encounter Reference
extension |  | 0..0 |  | Extension
url |  | 1..1 | uri | "https://api.iknl.nl/docs/pzp/r4/StructureDefinition/ext-EncounterReference"
value[x] |  | 0..1 | Reference(Encounter) | Encounter
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension(4.0.1) | ext Encounter Reference Constraints: ext-1
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url Constraints: ext-1
url |  | 1..1 | uri | "https://api.iknl.nl/docs/pzp/r4/StructureDefinition/ext-EncounterReference"
value[x] |  | 0..1 | Reference(Encounter) | Encounter
Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type Reference: An extension to link the Encounter during which the Consent, Goal or DeviceUseStatement was created or to which the creation is tightly associated.

Differential View

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension(4.0.1) | ext Encounter Reference
extension |  | 0..0 |  | Extension
url |  | 1..1 | uri | "https://api.iknl.nl/docs/pzp/r4/StructureDefinition/ext-EncounterReference"
value[x] |  | 0..1 | Reference(Encounter) | Encounter
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension(4.0.1) | ext Encounter Reference Constraints: ext-1
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url Constraints: ext-1
url |  | 1..1 | uri | "https://api.iknl.nl/docs/pzp/r4/StructureDefinition/ext-EncounterReference"
value[x] |  | 0..1 | Reference(Encounter) | Encounter
Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type Reference: An extension to link the Encounter during which the Consent, Goal or DeviceUseStatement was created or to which the creation is tightly associated.

Other representations of profile: CSV, Excel, Schematron

#### Constraints

Id | Grade | Path(s) | Description | Expression
ele-1 | error | Extension, Extension.value[x] | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | Extension | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`