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