PackagesCanonicalsLogsProblems
    Packages
    NHSD.Assets.STU3@1.0.0
    https://fhir.nhs.uk/STU3/StructureDefinition/EMS-FailsafeAlert-Task-1
description: This Task resource has been constrained to represent the action to be taken based on a Failsafe Alert event message, to support the Events Management Service project.
package_name: NHSD.Assets.STU3
derivation: constraint
name: EMS-FailsafeAlert-Task-1
type: Task
elements:
  restriction:
    elements:
      repetitions: {index: 53}
      recipient: {index: 54}
  description: {index: 25}
  performerType:
    short: The service to action the task for the Failsafe Alert
    index: 34
    elements:
      coding:
        index: 35
        elements:
          system:
            pattern: {type: Uri, value: 'https://fhir.nhs.uk/STU3/CodeSystem/EMS-FailsafeAlertServiceToAction-1'}
            index: 36
          code: {index: 37}
          display: {index: 38}
        required: [display, system, code]
    required: [coding]
  executionPeriod: {index: 29}
  definition:
    choices: []
    index: 11
  relevantHistory: {index: 52}
  statusReason: {index: 16}
  authoredOn: {index: 30}
  output: {index: 56}
  businessStatus: {index: 17}
  note:
    index: 45
    elements:
      author:
        choices: [authorReference, authorString, authorReference, authorReference]
        index: 47
      authorReference:
        type: Reference
        choiceOf: author
        refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-EMS-Patient-1']
        index: 50
      authorString: {type: string, choiceOf: author, index: 49}
  reason:
    index: 40
    elements:
      coding:
        index: 41
        elements:
          system:
            pattern: {type: Uri, value: 'https://fhir.nhs.uk/STU3/CodeSystem/EMS-FailsafeAlertReason-1'}
            index: 42
          code: {index: 43}
          display: {index: 44}
        required: [display, system, code]
    required: [coding]
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        severityLevel:
          match: {url: null}
          schema: {type: Extension, short: The escalation level applicable to a Failsafe Alert, url: h, index: 1}
          min: 1
          max: 1
        escalationLevel:
          match: {url: null}
          schema: {type: Extension, url: h, index: 2}
          min: 1
          max: 1
  for:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Resource', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-EMS-Patient-1']
    index: 27
  requester:
    index: 32
    elements:
      agent:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
        index: 33
  lastModified: {index: 31}
  priority: {index: 19}
  status: {index: 15}
  groupIdentifier: {index: 13}
  code:
    index: 20
    elements:
      coding:
        index: 21
        elements:
          system:
            pattern: {type: Uri, value: 'https://fhir.nhs.uk/STU3/CodeSystem/EMS-FailsafeAlertActionRequired-1'}
            index: 22
          code: {index: 23}
          display: {index: 24}
        required: [display, system, code]
    required: [coding]
  identifier:
    index: 3
    elements:
      use: {index: 4}
      type: {index: 5}
      system: {index: 6}
      value: {index: 7}
      period: {index: 8}
      assigner:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
        index: 9
    required: [value, system]
  context:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/EpisodeOfCare', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Encounter-1']
    index: 28
  intent:
    pattern: {type: Code, value: order}
    index: 18
  focus:
    type: Reference
    refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-EMS-Patient-1']
    index: 26
  input: {index: 55}
  basedOn: {index: 12}
  partOf:
    type: Reference
    refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/EMS-FailsafeAlert-Task-1']
    index: 14
  owner:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
    index: 39
package_version: 1.0.0
extensions:
  severityLevel: {url: h, min: 1, max: 1, type: Extension, short: The escalation level applicable to a Failsafe Alert, index: 1}
  escalationLevel: {url: h, min: 1, max: 1, type: Extension, index: 2}
class: profile
kind: resource
url: https://fhir.nhs.uk/STU3/StructureDefinition/EMS-FailsafeAlert-Task-1
base: http://hl7.org/fhir/StructureDefinition/Task
version: 1.1.0
required: [owner, authoredOn, focus, performerType, reason, code]