PackagesCanonicalsLogsProblems
    Packages
    fhir.r4.ukcore.stu3.currentbuild@0.0.7-sprint-7-review
    https://fhir.hl7.org.uk/StructureDefinition/UKCore-Encounter
description: This profile defines the UK constraints and extensions on the International FHIR resource [Encounter](https://hl7.org/fhir/R4/Encounter.html).
package_name: fhir.r4.ukcore.stu3.currentbuild
derivation: constraint
name: UKCoreEncounter
type: Encounter
elements:
  appointment:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Appointment']
    index: 16
    elements:
      identifier:
        elements:
          assigner:
            type: Reference
            refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
            index: 17
  diagnosis:
    short: The list of diagnoses relevant to this encounter
    index: 20
    elements:
      condition:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Condition', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Procedure']
        index: 21
        elements:
          identifier:
            elements:
              assigner:
                type: Reference
                refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
                index: 22
  serviceProvider:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
    index: 36
    elements:
      identifier:
        elements:
          assigner:
            type: Reference
            refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
            index: 37
  episodeOfCare:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-EpisodeOfCare']
    index: 10
    elements:
      identifier:
        elements:
          assigner:
            type: Reference
            refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
            index: 11
  type:
    binding: {strength: preferred, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-EncounterType'}
    index: 6
  participant:
    elements:
      individual:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-PractitionerRole', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson']
        index: 14
        elements:
          identifier:
            elements:
              assigner:
                type: Reference
                refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
                index: 15
  serviceType:
    binding: {strength: preferred, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-CareSettingType'}
    index: 7
  account:
    elements:
      identifier:
        elements:
          assigner:
            type: Reference
            refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
            index: 23
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        dischargeMethod:
          match: {url: null}
          schema: {type: Extension, short: An extension to support the method of discharge from a hospital., url: 'https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-DischargeMethod', index: 1}
          min: 0
        emergencyCareDischargeStatus:
          match: {url: null}
          schema: {type: Extension, short: An extension to support the status of an individual on discharge from an Emergency Care Department., url: 'https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-EmergencyCareDischargeStatus', index: 2}
          min: 0
        legalStatus:
          match: {url: null}
          schema: {type: Extension, short: Information relating to a patient's legal status on admission or discharge., url: 'https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-LegalStatus', index: 3}
          min: 0
        OutcomeOfAttendance:
          match: {url: null}
          schema: {type: Extension, short: An extension to support the outcome of an Outpatient attendance., url: 'https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-OutcomeOfAttendance', index: 4}
          min: 0
  identifier:
    elements:
      assigner:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
        index: 5
  hospitalization:
    extensions:
      admissionMethod: {url: 'https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AdmissionMethod', min: 0, type: Extension, short: An extension to support the method by which an individual was admitted into hospital., isModifier: false, index: 25}
    elements:
      extension:
        index: 24
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            admissionMethod:
              match: {url: null}
              schema: {type: Extension, short: An extension to support the method by which an individual was admitted into hospital., isModifier: false, url: 'https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AdmissionMethod', index: 25}
              min: 0
      preAdmissionIdentifier:
        elements:
          assigner:
            type: Reference
            refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
            index: 26
      origin:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Location', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
        index: 27
        elements:
          identifier:
            elements:
              assigner:
                type: Reference
                refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
                index: 28
      admitSource:
        binding: {strength: preferred, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-SourceOfAdmission'}
        index: 29
      destination:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Location', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
        index: 30
        elements:
          identifier:
            elements:
              assigner:
                type: Reference
                refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
                index: 31
      dischargeDisposition:
        binding: {strength: preferred, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-DischargeDestination'}
        index: 32
  basedOn:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-ServiceRequest']
    index: 12
    elements:
      identifier:
        elements:
          assigner:
            type: Reference
            refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
            index: 13
  partOf:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Encounter']
    index: 38
    elements:
      identifier:
        elements:
          assigner:
            type: Reference
            refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
            index: 39
  location:
    elements:
      location:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Location']
        index: 33
        elements:
          identifier:
            elements:
              assigner:
                type: Reference
                refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
                index: 34
      physicalType:
        binding: {strength: preferred, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-EncounterLocationType'}
        index: 35
  subject:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Group', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient']
    index: 8
    elements:
      identifier:
        elements:
          assigner:
            type: Reference
            refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
            index: 9
  reasonReference:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Condition', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Procedure']
    index: 18
    elements:
      identifier:
        elements:
          assigner:
            type: Reference
            refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
            index: 19
package_version: 0.0.7-sprint-7-review
extensions:
  dischargeMethod: {url: 'https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-DischargeMethod', min: 0, type: Extension, short: An extension to support the method of discharge from a hospital., index: 1}
  emergencyCareDischargeStatus: {url: 'https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-EmergencyCareDischargeStatus', min: 0, type: Extension, short: An extension to support the status of an individual on discharge from an Emergency Care Department., index: 2}
  legalStatus: {url: 'https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-LegalStatus', min: 0, type: Extension, short: Information relating to a patient's legal status on admission or discharge., index: 3}
  OutcomeOfAttendance: {url: 'https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-OutcomeOfAttendance', min: 0, type: Extension, short: An extension to support the outcome of an Outpatient attendance., index: 4}
class: profile
kind: resource
url: https://fhir.hl7.org.uk/StructureDefinition/UKCore-Encounter
base: http://hl7.org/fhir/StructureDefinition/Encounter
version: 2.4.0