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