PackagesCanonicalsLogsProblems
    Packages
    gpc.stu3.fhir-assets@1.4.1
    https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-Encounter-1
description: The encounter resource represents an encounter between a care professional and the patient (or patient's record).
package_name: gpc.stu3.fhir-assets
derivation: constraint
name: CareConnect-ITK-Encounter-1
type: Encounter
elements:
  appointment: {index: 41}
  diagnosis:
    elements:
      condition:
        type: Reference
        refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-Condition-1', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-Procedure-1']
        index: 50
        elements:
          reference: {index: 51}
        required: [reference]
      role:
        elements:
          coding:
            elements:
              system: {index: 52}
              code: {index: 53}
              display: {index: 54}
            required: [display, system, code]
  serviceProvider:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
    index: 99
    elements:
      reference: {index: 100}
    required: [reference]
  episodeOfCare: {index: 34}
  type:
    elements:
      coding:
        index: 21
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            snomedCT:
              match: {system: 'http://snomed.info/sct'}
              schema:
                index: 22
                extensions:
                  snomedCTDescriptionID:
                    url: h
                    type: Extension
                    index: 23
                    elements:
                      url:
                        pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                        index: 24
                elements:
                  extension:
                    type: Extension
                    url: h
                    index: 23
                    slicing:
                      slices:
                        snomedCTDescriptionID:
                          match: {}
                          schema:
                            type: Extension
                            url: h
                            index: 23
                            elements:
                              url:
                                pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                                index: 24
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 25
                  version: {index: 26}
                  code: {index: 27}
                  display: {index: 28}
                required: [display, system, code]
  participant:
    elements:
      type:
        elements:
          coding:
            elements:
              system: {index: 36}
              code: {index: 37}
              display: {index: 38}
            required: [display, system, code]
      individual:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Practitioner-1', 'https://fhir.nhs.uk/STU3/StructureDefinition/ITK-RelatedPerson-1']
        index: 39
        elements:
          reference: {index: 40}
        required: [reference]
  account: {index: 55}
  classHistory:
    elements:
      class:
        short: Classification of the encounter
        index: 17
        elements:
          system: {index: 18}
          code: {index: 19}
          display: {index: 20}
        required: [display, system, code]
  incomingReferral: {index: 35}
  reason:
    elements:
      coding:
        index: 42
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            snomedCT:
              match: {system: 'http://snomed.info/sct'}
              schema:
                index: 43
                extensions:
                  snomedCTDescriptionID:
                    url: h
                    type: Extension
                    index: 44
                    elements:
                      url:
                        pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                        index: 45
                elements:
                  extension:
                    type: Extension
                    url: h
                    index: 44
                    slicing:
                      slices:
                        snomedCTDescriptionID:
                          match: {}
                          schema:
                            type: Extension
                            url: h
                            index: 44
                            elements:
                              url:
                                pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                                index: 45
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 46
                  version: {index: 47}
                  code: {index: 48}
                  display: {index: 49}
                required: [display, system, code]
  extension:
    type: Extension
    url: h
    index: 0
    slicing:
      slices:
        encounterTransport:
          match: {}
          schema:
            type: Extension
            url: h
            index: 0
            elements:
              url:
                pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-EncounterTransport-1'}
                index: 1
        outcomeOfAttendance:
          match: {}
          schema:
            type: Extension
            url: h
            index: 2
            elements:
              url:
                pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-OutcomeOfAttendance-1'}
                index: 3
        emergencyCareDischargeStatus:
          match: {}
          schema:
            type: Extension
            url: h
            index: 4
            elements:
              url:
                pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-EmergencyCareDischargeStatus-1'}
                index: 5
  priority:
    elements:
      coding:
        elements:
          system: {index: 29}
          code: {index: 30}
          display: {index: 31}
        required: [display, system, code]
  class:
    short: Classification of the encounter
    index: 13
    elements:
      system: {index: 14}
      code: {index: 15}
      display: {index: 16}
    required: [display, system, code]
  identifier:
    elements:
      type:
        elements:
          coding:
            elements:
              system: {index: 6}
              code: {index: 7}
              display: {index: 8}
            required: [display, system, code]
      system: {index: 9}
      value: {index: 10}
      assigner:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
        index: 11
        elements:
          reference: {index: 12}
        required: [reference]
    required: [value, system]
  hospitalization:
    extensions:
      admissionMethod:
        url: h
        type: Extension
        index: 56
        elements:
          url:
            pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-AdmissionMethod-1'}
            index: 57
      dischargeMethod:
        url: h
        type: Extension
        index: 58
        elements:
          url:
            pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-DischargeMethod-1'}
            index: 59
    elements:
      dischargeDisposition:
        index: 93
        elements:
          coding:
            elements:
              system: {index: 94}
              code: {index: 95}
              display: {index: 96}
            required: [display, system, code]
      preAdmissionIdentifier:
        elements:
          type:
            elements:
              coding:
                elements:
                  system: {index: 60}
                  code: {index: 61}
                  display: {index: 62}
                required: [display, system, code]
          system: {index: 63}
          value: {index: 64}
          assigner:
            type: Reference
            refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
            index: 65
            elements:
              reference: {index: 66}
            required: [reference]
        required: [value, system]
      specialArrangement:
        elements:
          coding:
            elements:
              system: {index: 88}
              code: {index: 89}
              display: {index: 90}
            required: [display, system, code]
      dietPreference:
        index: 81
        elements:
          coding:
            elements:
              system: {index: 82}
              code: {index: 83}
              display: {index: 84}
            required: [display, system, code]
      admitSource:
        index: 69
        elements:
          coding:
            elements:
              system: {index: 70}
              code: {index: 71}
              display: {index: 72}
            required: [display, system, code]
      specialCourtesy:
        elements:
          coding:
            elements:
              system: {index: 85}
              code: {index: 86}
              display: {index: 87}
            required: [display, system, code]
      extension:
        type: Extension
        url: h
        index: 56
        slicing:
          slices:
            admissionMethod:
              match: {}
              schema:
                type: Extension
                url: h
                index: 56
                elements:
                  url:
                    pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-AdmissionMethod-1'}
                    index: 57
            dischargeMethod:
              match: {}
              schema:
                type: Extension
                url: h
                index: 58
                elements:
                  url:
                    pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-DischargeMethod-1'}
                    index: 59
      reAdmission:
        elements:
          coding:
            index: 73
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: system, type: value}
              min: null
              slices:
                snomedCT:
                  match: {system: 'http://snomed.info/sct'}
                  schema:
                    index: 74
                    extensions:
                      snomedCTDescriptionID:
                        url: h
                        type: Extension
                        index: 75
                        elements:
                          url:
                            pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                            index: 76
                    elements:
                      extension:
                        type: Extension
                        url: h
                        index: 75
                        slicing:
                          slices:
                            snomedCTDescriptionID:
                              match: {}
                              schema:
                                type: Extension
                                url: h
                                index: 75
                                elements:
                                  url:
                                    pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                                    index: 76
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 77
                      version: {index: 78}
                      code: {index: 79}
                      display: {index: 80}
                    required: [display, system, code]
      origin:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Location-1']
        index: 67
        elements:
          reference: {index: 68}
        required: [reference]
      destination:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Location-1']
        index: 91
        elements:
          reference: {index: 92}
        required: [reference]
  partOf:
    type: Reference
    refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-Encounter-1']
    index: 101
    elements:
      reference: {index: 102}
    required: [reference]
  location:
    elements:
      location:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Location-1']
        index: 97
        elements:
          reference: {index: 98}
        required: [reference]
  subject:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1']
    index: 32
    elements:
      reference: {index: 33}
    required: [reference]
package_version: 1.4.1
extensions:
  encounterTransport:
    url: h
    type: Extension
    index: 0
    elements:
      url:
        pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-EncounterTransport-1'}
        index: 1
  outcomeOfAttendance:
    url: h
    type: Extension
    index: 2
    elements:
      url:
        pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-OutcomeOfAttendance-1'}
        index: 3
  emergencyCareDischargeStatus:
    url: h
    type: Extension
    index: 4
    elements:
      url:
        pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-EmergencyCareDischargeStatus-1'}
        index: 5
class: profile
kind: resource
url: https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-Encounter-1
base: http://hl7.org/fhir/StructureDefinition/Encounter
version: 1.2.0