Search

ZD Consent

Resources conforming to this profile are requested by ZorgDomein when SSO has succeeded and patient details are fetched from the source system.

Queries on the https://[FHIRServerUrl]/Consent endpoint may include the following query parameters:

  • patient=[PatientID]: [PatientID] refers to the patient ID as provided in the Task resource that is requested by ZorgDomein during SSO.
  • category=[CodedCategory]: the following categories are used:
  • urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.14.1|NR – Resuscitation policy (reanimatiebeleid).
  • urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.14.1|VOL – Advance directive (levenstestament).
  • urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.14.1|DO – Donorcodicil (donorcodicil).
  • _sort=-date: indicates that the resources in the search result must be sorted by date, descending.
  • _count=1: return only 1 resource in the search result.

The canonical URL for this profile is:

http://zorgdomein.nl/fhir/StructureDefinition/zd-consent

This profile builds on Consent.


text S 1..1 Narrative
identifier Σ 0..1 Identifier
status Σ ?! 1..1 codeBinding
system Σ 1..1 uri
version Σ 0..1 string
code Σ 1..1 code
display Σ 0..1 string
userSelected Σ 0..1 boolean
text Σ 0..1 string
patient Σ 1..1 Reference(Patient)
period Σ 0..1 Period
dateTime Σ 0..1 dateTime
consentingParty Σ 0..* Reference(Organization | Patient | Practitioner | RelatedPerson)
role 1..1 CodeableConceptBinding
reference 1..1 Reference(Device | Group | CareTeam | Organization | Patient | Practitioner | RelatedPerson)
action Σ 0..* CodeableConcept
organization Σ 0..* Reference(Organization)
sourceAttachment Attachment
sourceIdentifier Identifier
sourceReference Reference(Consent | DocumentReference | Contract | QuestionnaireResponse)
authority 0..1 uri
uri 0..1 uri
policyRule Σ 0..1 uri
securityLabel Σ 0..* CodingBinding
purpose Σ 0..* CodingBinding
dataPeriod Σ 0..1 Period
meaning Σ 1..1 codeBinding
reference Σ 1..1 Reference(Resource)
type Σ 1..1 codeBinding
period Σ 0..1 Period
role 1..1 CodeableConceptBinding
reference 1..1 Reference(Device | Group | CareTeam | Organization | Patient | Practitioner | RelatedPerson)
action Σ 0..* CodeableConcept
securityLabel Σ 0..* CodingBinding
purpose Σ 0..* CodingBinding
class Σ 0..* CodingBinding
code Σ 0..* Coding
dataPeriod Σ 0..1 Period
meaning Σ 1..1 codeBinding
reference Σ 1..1 Reference(Resource)

See the profile on simplifier.net for additional details.

Resource example

Below you find an example of a resource that conforms to the ZD Consent profile.

    {
      "resourceType": "Consent",
      "id": "258",
      "meta": {
        "lastUpdated": "2021-02-09T10:12:04.374+01:00"
      },
      "text": {
        "status": "generated",
        "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Niet reanimeren verklaring</div>"
      },
      "status": "active",
      "category": [
        {
          "coding": [
            {
              "system": "urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.14.1",
              "code": "NR",
              "display": "Reanimatiebeleid"
            }
          ]
        }
      ],
      "patient": {
        "reference": "Patient/1"
      },
      "policy": [
        {
          "uri": "http://wetten.overheid.nl/"
        }
      ]
    }
    
    <Consent xmlns='http://hl7.org/fhir'>
      <id value='258'/>
      <meta>
        <lastUpdated value='2021-02-09T10:12:04.374+01:00'/>
      </meta>
      <text>
        <status value='generated'/>
        <div xmlns='http://www.w3.org/1999/xhtml'>Niet reanimeren verklaring</div>
      </text>
      <status value='active'/>
      <category>
        <coding>
          <system value='urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.14.1'/>
          <code value='NR'/>
          <display value='Reanimatiebeleid'/>
        </coding>
      </category>
      <patient>
        <reference value='Patient/1'/>
      </patient>
      <policy>
        <uri value='http://wetten.overheid.nl/'/>
      </policy>
    </Consent>