IKNL PZP STU3
0.1.3-beta3 - consultation
IKNL PZP STU3 - Local Development build (v0.1.3-beta3) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
This page describes the two primary methods for retrieving a patient's Advance Care Planning (ACP) information using the FHIR API. The best method depends on your application's needs.
Consent
, Goal
, Observation
, etc.) that together form the patient's ACP. See Data Model page for a complete overview.QuestionnaireResponse
resource(s). This contains the ACP agreements recorded according to the structured form for uniform registration of ACP.All interactions adhere to the following principles.
patient=123
or subject=Patient/123
). This may require an initial request on the Patient endpoint with a search using a patient identifier like the BSN. This may also be described by other technical agreements.Practitioner
or RelatedPerson
). The client application may need to perform subsequent requests to resolve these references and display the full details.This approach provides granular access to the individual clinical statements that constitute the ACP. It allows applications to query for specific data points without processing an entire form.
This approach is useful for applications that need to query specific parts of a patient's ACP, like treatment wishes or stated goals. While it requires multiple API calls, it provides more granular control and returns the ACP in usable resources. The below client requests are in scope of a Patient's context for which an initial request may be needed to match the Patient resource id with a identifier (e.g. BSN).
The below listed search request show how all the ACP agreements, procedural information and relevant clinical context can be retrieved. Information on individuals involved in the ACP process are referenced from these resources and can be retrieved using the _include
statement as defined below, or by resolving the references. Standard FHIR rules apply on the search syntax.
1a GET [base]/Procedure?patient=[id]&code=http://snomed.info/sct|713603004&_include:Procedure:encounter
1b GET [base]/Encounter?patient=[id]&reason=http://snomed.info/sct|713603004
2 GET [base]/Consent?patient=[id]&category=http://snomed.info/sct|11291000146105&_include=Consent:actor
3 GET [base]/Consent?patient=[id]&category=http://snomed.info/sct|11341000146107&_include=Consent:actor
4 GET [base]/Goal?patient=[id]&description:in=https://fhir.iknl.nl/fhir/ValueSet/ACP-MedicalPolicyGoal
5 GET [base]/Observation?patient=[id]&code=http://snomed.info/sct|153851000146100,395091006,340171000146104,247751003
6 GET [base]/DeviceUseStatement?patient=[id]&device.type:in=https://fhir.iknl.nl/fhir/ValueSet/ACP-MedicalDeviceProductType-ICD&_include:DeviceUseSatement:device
7 GET [base]/Communication?patient=[id]&reason-code=http://snomed.info/sct|713603004
Procedure
resources representing ACP procedures and includes the associated Encounter
resource where the procedure took place.Encounter
resources that list an ACP procedure as their reason. Request A is generally preferred because Encounter.patient
may not always be present; if absent, it indicates the patient was not involved in the Encounter. Using request A ensures these cases are included as well.Consent
resources for Treatment Directives and includes the agreement parties (Patient, ContactPersons, and HealthProfessionals).Consent
resources for Advance Directives and includes the representatives (ContactPersons).Goal
resources with a Medical Policy Goal code in the Goal.description
.Observation
resources related to specific wishes and plans, as defined by the profiles in the Implementation Guide.DeviceUseStatement
resources for devices representing an ICD, and includes the corresponding Device
resource.Communication
resources representing all communication events related to the ACP procedure.Custom search parameters:
reason-code
parameter allows searching on Communication.reasonCode
. See the custom SearchParameter
resource definition in the artifacts tab.description
parameter allows searching on Goal.description
. This search parameter is defined from R5 onwards. The parameter definition can be found in the Search Parameter Registry and be applied for this version.The queries above use several search parameter types and modifiers:
_include
: Returns referenced resources in the same Bundle
, reducing the need for additional API calls.in
: A modifier that enables searching against a ValueSet. In the client requests above, it checks if the device type is included in the specified ValueSet of ICD products.DeviceUseStatement
resources with a specific Device
, or Encounter
resources that have an advance care planning Procedure
as their reason.Standard FHIR rules apply for every resource request:
200 OK
. The server will return a Bundle containing the matching resource(s) for the patient.This approach is used to retrieve the complete form for uniform registration of ACP in its original context. It retrieves QuestionnaireResponse
resources that contain the content discussed by the individuals involved in the ACP conversation.
A client retrieves the QuestionnaireResponse
by performing a GET
search operation. The search is scoped to a specific patient and is filtered by the canonical URL of the ACP Questionnaire to ensure that only the correct form is returned.
GET [base]/QuestionnaireResponse?subject=Patient/[id]&questionnaire=https://fhir.iknl.nl/fhir/Questionnaire/ACP-zib2017
The server follows standard FHIR response rules: