Search

ZD Task

Resources conforming to this profile are requested by ZorgDomein during SSO to ZorgDomein to request application context parameters. 

Resources conforming to this profile are sent by ZorgDomein to the sender of a transaction when a transaction is cancelled. When a transaction is cancelled, the FHIR Task resource that was provided to ZorgDomein during SSO (for the initial submission of the transaction) is updated at the source system using a FHIR update (HTTP PUT) request. The body of the request will contain the original content of the Task resource, where Task.status is set to cancelled.

The canonical URL for this profile is:

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

This profile builds on Task.


identifier 0..* Identifier
definitionUri uri
definitionReference Reference(ActivityDefinition)
reference Σ 0..1 string
use Σ ?! 0..1 codeBinding
type Σ 0..1 CodeableConceptBinding
system Σ 1..1 uriFixed Value
value Σ 1..1 string
period Σ 0..1 Period
assigner Σ 0..1 Reference(Organization)
display Σ 0..1 string
groupIdentifier Σ 0..1 Identifier
partOf Σ 0..* Reference(Task)
status Σ 1..1 codeBinding
statusReason Σ 0..1 CodeableConcept
businessStatus Σ 0..1 CodeableConcept
intent Σ 1..1 codeBinding
priority 0..1 codeBinding
code Σ 1..1 CodeableConceptBinding
description Σ 0..1 string
focus Σ 0..1 Reference(Resource)
for Σ 0..1 Reference(ZD Patient)
context Σ 0..1 Reference(Encounter | EpisodeOfCare)
executionPeriod Σ 0..1 Period
authoredOn 0..1 dateTime
lastModified Σ 0..1 dateTime
agent Σ 1..1 Reference(Device | Organization | Patient | Practitioner | RelatedPerson)
onBehalfOf 0..1 Reference(Organization)
performerType 0..* CodeableConceptBinding
reference Σ 0..1 string
use Σ ?! 0..1 codeBinding
type Σ 0..1 CodeableConceptBinding
system Σ 1..1 uriFixed Value
value Σ 1..1 string
period Σ 0..1 Period
assigner Σ 0..1 Reference(Organization)
display Σ 0..1 string
reason 0..1 CodeableConcept
note 0..* Annotation
relevantHistory 0..* Reference(Provenance)
repetitions 0..1 positiveInt
period 0..1 Period
recipient 0..* Reference(Patient | Practitioner | RelatedPerson | Group | Organization)
type 1..1 CodeableConcept
valueBase64Binary base64Binary
valueBoolean boolean
valueCode code
valueDate date
valueDateTime dateTime
valueDecimal decimal
valueId id
valueInstant instant
valueInteger integer
valueMarkdown markdown
valueOid oid
valuePositiveInt positiveInt
valueString string
valueTime time
valueUnsignedInt unsignedInt
valueUri uri
valueAddress Address
valueAge Age
valueAnnotation Annotation
valueAttachment Attachment
valueCodeableConcept CodeableConcept
valueCoding Coding
valueContactPoint ContactPoint
valueCount Count
valueDistance Distance
valueDuration Duration
valueHumanName HumanName
valueIdentifier Identifier
valueMoney Money
valuePeriod Period
valueQuantity Quantity
valueRange Range
valueRatio Ratio
valueSampledData SampledData
valueSignature Signature
valueTiming Timing
valueMeta Meta
valueReference Reference()
system Σ 1..1 uriFixed Value
version Σ 0..1 string
code Σ 1..1 codeFixed Value
display Σ 0..1 string
userSelected Σ 0..1 boolean
text Σ 0..1 string
reference Σ 1..1 string
identifier Σ 0..1 Identifier
display Σ 0..1 string
type 1..1 CodeableConcept
valueBase64Binary base64Binary
valueBoolean boolean
valueCode code
valueDate date
valueDateTime dateTime
valueDecimal decimal
valueId id
valueInstant instant
valueInteger integer
valueMarkdown markdown
valueOid oid
valuePositiveInt positiveInt
valueString string
valueTime time
valueUnsignedInt unsignedInt
valueUri uri
valueAddress Address
valueAge Age
valueAnnotation Annotation
valueAttachment Attachment
valueCodeableConcept CodeableConcept
valueCoding Coding
valueContactPoint ContactPoint
valueCount Count
valueDistance Distance
valueDuration Duration
valueHumanName HumanName
valueIdentifier Identifier
valueMoney Money
valuePeriod Period
valueQuantity Quantity
valueRange Range
valueRatio Ratio
valueSampledData SampledData
valueSignature Signature
valueTiming Timing
valueMeta Meta
valueReference Reference()

See the profile on simplifier.net for additional details.

Resource example

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

    {
      "resourceType": "Task",
      "meta": {
        "profile": [
          "http://zorgdomein.nl/fhir/StructureDefinition/zd-task"
        ]
      },
      "basedOn": [
        {
          "identifier": {
            "system": "http://zorgdomein.nl/zdnumber",
            "value": "ZD23456789"
          }
        }
      ],
      "status": "requested",
      "intent": "order",
      "code": {
        "coding": [
          {
            "system": "http://zorgdomein.nl/terminology/code-system/launch-intent",
            "code": "send-progress-report"
          }
        ]
      },
      "for": {
        "reference": "Patient/1"
      },
      "owner": {
        "display": "IO Huisarts"
      },
      "input": [
        {
          "type": {
            "coding": [
              {
                "system": "http://zorgdomein.nl/terminology/code-system/launch-input-type",
                "code": "message"
              }
            ]
          },
          "valueReference": {
            "reference": "https://tio.zorgdomein.nl/fhir-test-server/baseDstu3/Communication/1866"
          }
        }
      ]
    }
    
    <Task xmlns='http://hl7.org/fhir'>
      <meta>
        <profile value='http://zorgdomein.nl/fhir/StructureDefinition/zd-task'/>
      </meta>
      <basedOn>
        <identifier>
          <system value='http://zorgdomein.nl/zdnumber'/>
          <value value='ZD23456789'/>
        </identifier>
      </basedOn>
      <status value='requested'/>
      <intent value='order'/>
      <code>
        <coding>
          <system value='http://zorgdomein.nl/terminology/code-system/launch-intent'/>
          <code value='send-progress-report'/>
        </coding>
      </code>
      <for>
        <reference value='Patient/1'/>
      </for>
      <owner>
        <display value='IO Huisarts'/>
      </owner>
      <input>
        <type>
          <coding>
            <system value='http://zorgdomein.nl/terminology/code-system/launch-input-type'/>
            <code value='message'/>
          </coding>
        </type>
        <valueReference>
          <reference value='https://tio.zorgdomein.nl/fhir-test-server/baseDstu3/Communication/1866'/>
        </valueReference>
      </input>
    </Task>