PackagesCanonicalsLogsProblems
    Packages
    rs/NHSD.Assets.STU3@1.4.0
    https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Encounter-1
description: The encounter resource represents an encounter between a care professional and the patient (or patient's record).
package_name: rs/NHSD.Assets.STU3
derivation: constraint
name: CareConnect-GPC-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: 39
  meta:
    elements:
      profile: {index: 0}
    required: [profile]
  serviceProvider:
    type: Reference
    refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Organization-1']
    index: 62
  type:
    index: 14
    elements:
      coding:
        index: 15
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: system, type: value}
          min: null
          max: 1
          slices:
            snomedCT:
              match: {system: 'http://snomed.info/sct'}
              schema:
                index: 16
                extensions:
                  snomedCTDescriptionID:
                    url: h
                    type: Extension
                    index: 18
                    elements:
                      url:
                        pattern: {type: uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                        type: uri
                        index: 19
                elements:
                  extension:
                    index: 17
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        snomedCTDescriptionID:
                          match: {url: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                          schema:
                            type: Extension
                            url: h
                            index: 18
                            elements:
                              url:
                                pattern: {type: uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                                type: uri
                                index: 19
                  system:
                    pattern: {type: uri, value: 'http://snomed.info/sct'}
                    type: uri
                    index: 20
                  code: {index: 21}
                  display: {index: 22}
                required: [code, display, system]
      text: {short: Plain text representation of the consultation type as displayed by system, index: 23}
  participant:
    index: 26
    elements:
      individual:
        type: Reference
        refers: ['http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Practitioner-1']
        index: 27
    required: [individual]
  classHistory:
    elements:
      class: {short: Classification of the encounter, index: 13}
  incomingReferral:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-ReferralRequest-1']
    index: 25
  reason:
    elements:
      coding:
        index: 31
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            snomedCT:
              match: {system: 'http://snomed.info/sct'}
              schema:
                index: 32
                extensions:
                  snomedCTDescriptionID:
                    url: h
                    type: Extension
                    index: 34
                    elements:
                      url:
                        pattern: {type: uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                        type: uri
                        index: 35
                elements:
                  extension:
                    index: 33
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        snomedCTDescriptionID:
                          match: {url: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                          schema:
                            type: Extension
                            url: h
                            index: 34
                            elements:
                              url:
                                pattern: {type: uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                                type: uri
                                index: 35
                  system:
                    pattern: {type: uri, value: 'http://snomed.info/sct'}
                    type: uri
                    index: 36
                  code: {index: 37}
                  display: {index: 38}
                required: [code, display, system]
  extension:
    index: 1
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        encounterTransport:
          match: {url: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-EncounterTransport-1'}
          schema:
            type: Extension
            url: h
            index: 2
            elements:
              url:
                pattern: {type: uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-EncounterTransport-1'}
                type: uri
                index: 3
        outcomeOfAttendance:
          match: {url: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-OutcomeOfAttendance-1'}
          schema:
            type: Extension
            url: h
            index: 4
            elements:
              url:
                pattern: {type: uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-OutcomeOfAttendance-1'}
                type: uri
                index: 5
        emergencyCareDischargeStatus:
          match: {url: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-EmergencyCareDischargeStatus-1'}
          schema:
            type: Extension
            url: h
            index: 6
            elements:
              url:
                pattern: {type: uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-EmergencyCareDischargeStatus-1'}
                type: uri
                index: 7
  identifier:
    index: 8
    elements:
      system: {index: 9}
      value: {index: 10}
      assigner:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
        index: 11
    required: [system, value]
  hospitalization:
    extensions:
      admissionMethod:
        url: h
        type: Extension
        index: 41
        elements:
          url:
            pattern: {type: uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-AdmissionMethod-1'}
            type: uri
            index: 42
      dischargeMethod:
        url: h
        type: Extension
        index: 43
        elements:
          url:
            pattern: {type: uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-DischargeMethod-1'}
            type: uri
            index: 44
    elements:
      extension:
        index: 40
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            admissionMethod:
              match: {url: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-AdmissionMethod-1'}
              schema:
                type: Extension
                url: h
                index: 41
                elements:
                  url:
                    pattern: {type: uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-AdmissionMethod-1'}
                    type: uri
                    index: 42
            dischargeMethod:
              match: {url: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-DischargeMethod-1'}
              schema:
                type: Extension
                url: h
                index: 43
                elements:
                  url:
                    pattern: {type: uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-DischargeMethod-1'}
                    type: uri
                    index: 44
      preAdmissionIdentifier:
        elements:
          system: {index: 45}
          value: {index: 46}
          assigner:
            type: Reference
            refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
            index: 47
        required: [system, value]
      origin:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Location-1']
        index: 48
      admitSource: {index: 49}
      reAdmission:
        elements:
          coding:
            index: 50
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: system, type: value}
              min: null
              slices:
                snomedCT:
                  match: {system: 'http://snomed.info/sct'}
                  schema:
                    index: 51
                    extensions:
                      snomedCTDescriptionID:
                        url: h
                        type: Extension
                        index: 53
                        elements:
                          url:
                            pattern: {type: uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                            type: uri
                            index: 54
                    elements:
                      extension:
                        index: 52
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: null
                          slices:
                            snomedCTDescriptionID:
                              match: {url: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                              schema:
                                type: Extension
                                url: h
                                index: 53
                                elements:
                                  url:
                                    pattern: {type: uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                                    type: uri
                                    index: 54
                      system:
                        pattern: {type: uri, value: 'http://snomed.info/sct'}
                        type: uri
                        index: 55
                      code: {index: 56}
                      display: {index: 57}
                    required: [code, display, system]
      dietPreference: {index: 58}
      destination:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Location-1']
        index: 59
      dischargeDisposition: {index: 60}
  period:
    mustSupport: true
    index: 28
    elements:
      start: {index: 29}
      end: {index: 30}
    required: [start]
  partOf:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Encounter-1']
    index: 63
  location:
    elements:
      location:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Location-1']
        index: 61
  subject:
    type: Reference
    short: Reference to Patient resource representing the Patient against whom the source consultation/encounter was recorded.
    refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Patient-1']
    index: 24
  statusHistory: {index: 12}
package_version: 1.4.0
extensions:
  encounterTransport:
    url: h
    type: Extension
    index: 2
    elements:
      url:
        pattern: {type: uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-EncounterTransport-1'}
        type: uri
        index: 3
  outcomeOfAttendance:
    url: h
    type: Extension
    index: 4
    elements:
      url:
        pattern: {type: uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-OutcomeOfAttendance-1'}
        type: uri
        index: 5
  emergencyCareDischargeStatus:
    url: h
    type: Extension
    index: 6
    elements:
      url:
        pattern: {type: uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-EmergencyCareDischargeStatus-1'}
        type: uri
        index: 7
class: profile
kind: resource
url: https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Encounter-1
base: http://hl7.org/fhir/StructureDefinition/Encounter
version: 1.4.0
required: [identifier, participant, subject, type]