PackagesCanonicalsLogsProblems
    Packages
    NHSD.Assets.STU3@1.5.0
    https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Encounter-1
description: The encounter resource represents an encounter between a care professional and the patient (or patient's record).
package_name: NHSD.Assets.STU3
derivation: constraint
name: CareConnect-Encounter-1
type: Encounter
elements:
  diagnosis:
    elements:
      condition:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Condition-1', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Procedure-1']
        index: 25
  serviceProvider:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
    index: 45
  type:
    elements:
      coding:
        index: 9
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: system, type: value}
          min: null
          max: 1
          slices:
            snomedCT:
              match: {system: 'http://snomed.info/sct'}
              schema:
                index: 10
                extensions:
                  snomedCTDescriptionID: {url: h, type: Extension, index: 12}
                elements:
                  extension:
                    index: 11
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        snomedCTDescriptionID:
                          match: {url: null}
                          schema: {type: Extension, url: h, index: 12}
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 13
                  code: {index: 14}
                  display: {index: 15}
                required: [display, system, code]
  participant:
    elements:
      individual:
        type: Reference
        refers: ['http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Practitioner-1']
        index: 17
  classHistory:
    elements:
      class: {short: Classification of the encounter, index: 8}
  reason:
    elements:
      coding:
        index: 18
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            snomedCT:
              match: {system: 'http://snomed.info/sct'}
              schema:
                index: 19
                extensions:
                  snomedCTDescriptionID: {url: h, type: Extension, index: 21}
                elements:
                  extension:
                    index: 20
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        snomedCTDescriptionID:
                          match: {url: null}
                          schema: {type: Extension, url: h, index: 21}
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 22
                  code: {index: 23}
                  display: {index: 24}
                required: [display, system, code]
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        encounterTransport:
          match: {url: null}
          schema: {type: Extension, url: h, index: 1}
        outcomeOfAttendance:
          match: {url: null}
          schema: {type: Extension, url: h, index: 2}
        emergencyCareDischargeStatus:
          match: {url: null}
          schema: {type: Extension, url: h, index: 3}
  class: {short: Classification of the encounter, index: 7}
  identifier:
    elements:
      system: {index: 4}
      value: {index: 5}
      assigner:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
        index: 6
    required: [value, system]
  hospitalization:
    extensions:
      admissionMethod: {url: h, type: Extension, index: 27}
      dischargeMethod: {url: h, type: Extension, index: 28}
    elements:
      extension:
        index: 26
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            admissionMethod:
              match: {url: null}
              schema: {type: Extension, url: h, index: 27}
            dischargeMethod:
              match: {url: null}
              schema: {type: Extension, url: h, index: 28}
      preAdmissionIdentifier:
        elements:
          system: {index: 29}
          value: {index: 30}
          assigner:
            type: Reference
            refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
            index: 31
        required: [value, system]
      origin:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Location-1']
        index: 32
      admitSource: {index: 33}
      reAdmission:
        elements:
          coding:
            index: 34
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: system, type: value}
              min: null
              slices:
                snomedCT:
                  match: {system: 'http://snomed.info/sct'}
                  schema:
                    index: 35
                    extensions:
                      snomedCTDescriptionID: {url: h, type: Extension, index: 37}
                    elements:
                      extension:
                        index: 36
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: null
                          slices:
                            snomedCTDescriptionID:
                              match: {url: null}
                              schema: {type: Extension, url: h, index: 37}
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 38
                      code: {index: 39}
                      display: {index: 40}
                    required: [display, system, code]
      dietPreference: {index: 41}
      destination:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Location-1']
        index: 42
      dischargeDisposition: {index: 43}
  partOf:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Encounter-1']
    index: 46
  location:
    elements:
      location:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Location-1']
        index: 44
  subject:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Group', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1']
    index: 16
package_version: 1.5.0
extensions:
  encounterTransport: {url: h, type: Extension, index: 1}
  outcomeOfAttendance: {url: h, type: Extension, index: 2}
  emergencyCareDischargeStatus: {url: h, type: Extension, index: 3}
class: profile
kind: resource
url: https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Encounter-1
base: http://hl7.org/fhir/StructureDefinition/Encounter
version: 1.1.0