Search

ZD Encounter

Resources conforming to this profile are requested by ZorgDomein when populating the referral letter or request form with data from the source information system.

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

  • patient=[PatientID]: [PatientID] refers to the patient ID that was provided in the JWT during SSO.
  • episodeofcare=[EpisodeIds]: [EpisodeIds] may contain multiple, comma separated IDs. The Episode ID’s are extracted from the result of a query for EpisodeOfCare resources.
  • episodeofcare:missing=true: indicates that the search result must not contain any Encounter resource that has a value for Encounter.EpisodeOfCare.
  • date=ge[date]: the resources in the search result must only contain MedicationStatement resources that have an Encounter.period value that is greater than or equal to [date].
  • _sort=-date: indicates that the resources in the search result must be sorted by date, descending.

The canonical URL for this profile is:

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

This profile builds on Encounter.


idS Σ1..1id
url1..1uriFixed Value
systemΣ1..1uriFixed Value
versionΣ0..1string
codeΣ1..1code
displayΣ0..1string
userSelectedΣ0..1boolean
textΣ0..1string
identifierΣ0..*Identifier
statusΣ ?!1..1codeBinding
status1..1codeBinding
period1..1Period
classΣ0..1CodingBinding
class1..1CodingBinding
period1..1Period
typeΣ0..*CodeableConcept
priority0..1CodeableConcept
subjectΣ0..1Reference(Patient | Group)
episodeOfCareS Σ0..*Reference(ZD EpisodeOfCare)
incomingReferral0..*Reference(ReferralRequest)
typeΣ0..*CodeableConceptBinding
period0..1Period
individualΣ0..1Reference(Practitioner | RelatedPerson)
appointmentΣ0..1Reference(Appointment)
startΣ1..1dateTime
endS Σ0..1dateTime
length0..1Duration
reasonΣ0..*CodeableConceptBinding
condition1..1Reference(Condition | Procedure)
role0..1CodeableConceptBinding
rank0..1positiveInt
account0..*Reference(Account)
preAdmissionIdentifier0..1Identifier
origin0..1Reference(Location)
admitSource0..1CodeableConceptBinding
reAdmission0..1CodeableConcept
dietPreference0..*CodeableConcept
specialCourtesy0..*CodeableConceptBinding
specialArrangement0..*CodeableConceptBinding
destination0..1Reference(Location)
dischargeDisposition0..1CodeableConcept
location1..1Reference(Location)
status0..1codeBinding
period0..1Period
serviceProvider0..1Reference(Organization)
partOf0..1Reference(Encounter)

See the profile on simplifier.net for additional details.

Resource example

Below you find an example of a ZD Encounter resource. 

{
  "resourceType" : "Encounter",
  "id" : "zd-encounter-1",
  "meta" : {
    "profile" : [
      "http://zorgdomein.nl/fhir/StructureDefinition/zd-encounter"
    ]
  },
  "status" : "finished",
  "subject" : {
    "reference" : "Patient/zd-patient-1",
    "display" : "K. Aelbrinck-de Jager"
  },
  "episodeOfCare" : [
    {
      "reference" : "EpisodeOfCare/zd-episodeofcare-1"
    }
  ],
  "participant" : [
    {
      "individual" : {
        "reference" : "Practitioner/zd-practitioner-1"
      }
    }
  ],
  "period" : {
    "start" : "2017-01-15T09:30:00+01:00",
    "end" : "2017-01-15T09:40:00+01:00"
  },
  "serviceProvider" : {
    "reference" : "Organization/zd-organization-1"
  }
}
<?xml version="1.0" encoding="UTF-8"?>
<Encounter xmlns="http://hl7.org/fhir">
  <id value="zd-encounter-1"/>
  <meta>
    <profile value="http://zorgdomein.nl/fhir/StructureDefinition/zd-encounter"/>
  </meta>
  <status value="finished"/>
  <subject>
    <reference value="Patient/zd-patient-1"/>
    <display value="K. Aelbrinck-de Jager"/>
  </subject>
  <episodeOfCare>
    <reference value="EpisodeOfCare/zd-episodeofcare-1"/>
  </episodeOfCare>
  <participant>
    <individual>
      <reference value="Practitioner/zd-practitioner-1"/>
    </individual>
  </participant>
  <period>
    <start value="2017-01-15T09:30:00+01:00"/>
    <end value="2017-01-15T09:40:00+01:00"/>
  </period>
  <serviceProvider>
    <reference value="Organization/zd-organization-1"/>
  </serviceProvider>
</Encounter>