{
  "resourceType": "StructureDefinition",
  "id": "ncdhc-encounter",
  "url": "http://hl7.org.au/fhir/ch/v1/StructureDefinition/ncdhc-encounter",
  "version": "r1.0.0",
  "name": "NCDHC Encounter Profile",
  "title": "NCDHC Encounter",
  "status": "draft",
  "date": "2019-03-22",
  "publisher": "National Children's Digital Health Collaborative (NCDHC)",
  "copyright": "Copyright © 2019 Australian Digital Health Agency - All rights reserved. This content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/",
  "purpose": "Administrative Encouter profile to record discharge related details or details related to Observation/Assessments",
  "fhirVersion": "3.0.2",
  "kind": "resource",
  "abstract": false,
  "type": "Encounter",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Encounter",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Encounter",
        "path": "Encounter",
        "short": "NCDHC Encounter"
      },
      {
        "id": "Encounter.status",
        "path": "Encounter.status",
        "fixedCode": "finished"
      },
      {
        "id": "Encounter.type",
        "path": "Encounter.type",
        "short": "Specific type of encounter.",
        "binding": {
          "strength": "preferred",
          "valueSetReference": {
            "reference": "http://hl7.org.au/fhir/ch/v1/ValueSet/ncdhc-encounter-type-1"
          }
        }
      },
      {
        "id": "Encounter.subject",
        "path": "Encounter.subject",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org.au/fhir/StructureDefinition/au-patient"
          }
        ]
      },
      {
        "id": "Encounter.participant.individual",
        "path": "Encounter.participant.individual",
        "short": "Person who is clinically responsible for the undertaking of the encounter",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org.au/fhir/StructureDefinition/au-practitioner"
          }
        ]
      },
      {
        "id": "Encounter.period.end",
        "path": "Encounter.period.end",
        "short": "The actual date and time of discharge.",
        "min": 1
      },
      {
        "id": "Encounter.reason",
        "path": "Encounter.reason",
        "short": "Reason the encounter takes place (code). This may be provided for discharge Encounter"
      },
      {
        "id": "Encounter.hospitalization.destination",
        "path": "Encounter.hospitalization.destination",
        "short": "Location to which the patient is discharged. This includes providing the details on baby's admission to Special Care Nursery or ICU"
      },
      {
        "id": "Encounter.location",
        "path": "Encounter.location",
        "short": "The venue where examination/assessment/discharge took place",
        "definition": "List of locations where  the patient has been during this encounter. Use Location.name as the Name of the Venue as used by humans"
      },
      {
        "id": "Encounter.location.location",
        "path": "Encounter.location.location",
        "short": "The venue where examination/assessment took place or the name of the service or facility the baby was discharged from"
      },
      {
        "id": "Encounter.serviceProvider",
        "path": "Encounter.serviceProvider",
        "short": "An organisation which captures the relevant details of the Encounter.",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org.au/fhir/StructureDefinition/au-organisation"
          }
        ]
      }
    ]
  }
}