PackagesCanonicalsLogsProblems
    Packages
    gpc.stu3.fhir-assets@1.4.1
    https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-MedicationDispense-List-1
description: Within ITK this List is constrained to hold Medications dispensed.
package_name: gpc.stu3.fhir-assets
derivation: constraint
name: CareConnect-ITK-MedicationDispense-List-1
type: List
elements:
  encounter:
    type: Reference
    refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-Encounter-1']
    index: 18
  orderedBy: {index: 20}
  mode:
    pattern: {type: Code, value: snapshot}
    index: 8
  source:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Practitioner-1']
    index: 19
  note:
    index: 21
    elements:
      author:
        choices: [authorReference, authorString, authorReference, authorReference]
        index: 23
      authorReference:
        type: Reference
        choiceOf: author
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1']
        index: 26
      authorString: {type: string, choiceOf: author, index: 25}
  emptyReason: {index: 29}
  extension:
    type: Extension
    mustSupport: true
    url: h
    index: 0
    slicing:
      slices:
        clinicalSetting:
          match: {}
          schema:
            type: Extension
            mustSupport: true
            url: h
            index: 0
            elements:
              url:
                pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-ClinicalSetting-1'}
                index: 1
        warningCode:
          match: {}
          schema:
            type: Extension
            url: h
            index: 2
            elements:
              url:
                pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-ListWarningCode-1'}
                index: 3
  status:
    pattern: {type: Code, value: current}
    index: 7
  code:
    index: 9
    elements:
      coding:
        index: 10
        elements:
          system:
            pattern: {type: Uri, value: 'http://snomed.info/sct'}
            index: 11
          version: {index: 12}
          code:
            pattern: {type: Code, value: '163541000000107'}
            index: 13
          display:
            pattern: {type: String, value: Dispensed Medication}
            index: 14
          userSelected: {index: 15}
        required: [display, system, code]
      text: {index: 16}
    required: [coding]
  identifier:
    elements:
      system: {index: 4}
      value: {index: 5}
      assigner:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
        index: 6
    required: [value, system]
  entry:
    elements:
      item:
        type: Reference
        refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-MedicationDispense-1']
        index: 28
  subject:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1']
    index: 17
package_version: 1.4.1
extensions:
  clinicalSetting:
    url: h
    type: Extension
    mustSupport: true
    index: 0
    elements:
      url:
        pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-ClinicalSetting-1'}
        index: 1
  warningCode:
    url: h
    type: Extension
    index: 2
    elements:
      url:
        pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-ListWarningCode-1'}
        index: 3
class: profile
kind: resource
url: https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-MedicationDispense-List-1
base: http://hl7.org/fhir/StructureDefinition/List
version: 1.2.0
required: [subject, code]