<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="ncdhc-encounter-cdhr" />
  <url value="http://build.fhir.org/ig/hl7au/au-fhir-childhealth/StructureDefinition/ncdhc-encounter-cdhr" />
  <version value="current" />
  <name value="NCDHCEncounterCDHR" />
  <title value="NCDHC Encounter CDHR" />
  <status value="active" />
  <description value="This is the base NCDHC Encounter profile for CDHR Health Interactions." />
  <fhirVersion value="4.0.1" />
  <mapping>
    <identity value="workflow" />
    <uri value="http://hl7.org/fhir/workflow" />
    <name value="Workflow Pattern" />
  </mapping>
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <mapping>
    <identity value="w5" />
    <uri value="http://hl7.org/fhir/fivews" />
    <name value="FiveWs Pattern Mapping" />
  </mapping>
  <mapping>
    <identity value="v2" />
    <uri value="http://hl7.org/v2" />
    <name value="HL7 v2 Mapping" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Encounter" />
  <baseDefinition value="http://hl7.org.au/fhir/StructureDefinition/au-encounter" />
  <derivation value="constraint" />
  <differential>
    <element id="Encounter.status">
      <path value="Encounter.status" />
      <mustSupport value="true" />
    </element>
    <element id="Encounter.type">
      <path value="Encounter.type" />
      <mustSupport value="true" />
    </element>
    <element id="Encounter.serviceType">
      <path value="Encounter.serviceType" />
      <mustSupport value="true" />
      <binding>
        <strength value="extensible" />
        <valueSet value="http://build.fhir.org/ig/hl7au/au-fhir-childhealth/ValueSet/ncdhc-encounter-service-type-1" />
      </binding>
    </element>
    <element id="Encounter.subject">
      <path value="Encounter.subject" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://build.fhir.org/ig/hl7au/au-fhir-childhealth/StructureDefinition/ncdhc-patient-child" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Encounter.participant">
      <path value="Encounter.participant" />
      <mustSupport value="true" />
    </element>
    <element id="Encounter.participant.individual">
      <path value="Encounter.participant.individual" />
      <short value="To record First Name, Last Name and Designation of the performer" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://build.fhir.org/ig/hl7au/au-fhir-childhealth/StructureDefinition/ncdhc-practitioner-role" />
      </type>
    </element>
    <element id="Encounter.period">
      <path value="Encounter.period" />
      <short value="Date and time of the encounter" />
    </element>
    <element id="Encounter.period.start">
      <path value="Encounter.period.start" />
      <mustSupport value="true" />
    </element>
    <element id="Encounter.period.end">
      <path value="Encounter.period.end" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Encounter.location">
      <path value="Encounter.location" />
      <mustSupport value="true" />
    </element>
    <element id="Encounter.location.location">
      <path value="Encounter.location.location" />
      <short value="Venue of where the encounter took place" />
    </element>
    <element id="Encounter.serviceProvider">
      <path value="Encounter.serviceProvider" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://build.fhir.org/ig/hl7au/au-fhir-childhealth/StructureDefinition/ncdhc-organisation" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Encounter.partOf">
      <path value="Encounter.partOf" />
      <mustSupport value="true" />
    </element>
  </differential>
</StructureDefinition>