<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="zd-communication" />
  <url value="http://zorgdomein.nl/fhir/StructureDefinition/zd-communication" />
  <name value="ZD Communication" />
  <status value="draft" />
  <date value="2020-06-17T12:00:00+01:00" />
  <publisher value="ZorgDomein" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="https://zorgdomein.com/integrator" />
    </telecom>
    <telecom>
      <system value="email" />
      <value value="io@zorgdomein.nl" />
    </telecom>
  </contact>
  <fhirVersion value="3.0.2" />
  <mapping>
    <identity value="workflow" />
    <uri value="http://hl7.org/fhir/workflow" />
    <name value="Workflow Mapping" />
  </mapping>
  <mapping>
    <identity value="w5" />
    <uri value="http://hl7.org/fhir/w5" />
    <name value="W5 Mapping" />
  </mapping>
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Communication" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Communication" />
  <derivation value="constraint" />
  <differential>
    <element id="Communication.basedOn">
      <path value="Communication.basedOn" />
      <short value="Task resource that is used to communicate a specific task to ZorgDomein during SSO" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://zorgdomein.nl/fhir/StructureDefinition/zd-task" />
      </type>
    </element>
    <element id="Communication.basedOn.reference">
      <path value="Communication.basedOn.reference" />
      <min value="1" />
    </element>
    <element id="Communication.payload">
      <path value="Communication.payload" />
      <short value="Body text of the message or document" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Communication.payload.content[x]:contentString">
      <path value="Communication.payload.contentString" />
      <sliceName value="contentString" />
      <type>
        <code value="string" />
      </type>
    </element>
  </differential>
</StructureDefinition>