PackagesCanonicalsLogsProblems
    Packages
    gpc.stu3.fhir-assets@1.4.1
    https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-Medication-List-1
description: Within the ITK eDischarge message, the Medication constrained List is used to hold a record of a patient's medication(s).
package_name: gpc.stu3.fhir-assets
derivation: constraint
name: CareConnect-ITK-Medication-List-1
type: List
elements:
  encounter:
    type: Reference
    refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-Encounter-1']
    index: 24
    elements:
      reference: {index: 25}
    required: [reference]
  orderedBy: {index: 28}
  mode:
    pattern: {type: Code, value: snapshot}
    index: 13
  source:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Practitioner-1']
    index: 26
    elements:
      reference: {index: 27}
    required: [reference]
  note:
    index: 29
    elements:
      author:
        choices: [authorReference, authorString, authorReference, authorReference]
        index: 31
      authorReference:
        type: Reference
        choiceOf: author
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1']
        index: 34
      authorString: {type: string, choiceOf: author, index: 33}
  emptyReason:
    index: 42
    elements:
      coding:
        elements:
          system: {index: 43}
          code: {index: 44}
          display: {index: 45}
        required: [display, system, code]
  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: 12
  code:
    index: 14
    elements:
      coding:
        index: 15
        elements:
          system:
            pattern: {type: Uri, value: 'http://snomed.info/sct'}
            index: 16
          version: {index: 17}
          code: {index: 18}
          display: {index: 19}
          userSelected: {index: 20}
        required: [display, system, code]
      text: {index: 21}
    required: [coding]
  identifier:
    index: 4
    elements:
      type:
        elements:
          coding:
            elements:
              system: {index: 5}
              code: {index: 6}
              display: {index: 7}
            required: [display, system, code]
      system: {index: 8}
      value: {index: 9}
      assigner:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
        index: 10
        elements:
          reference: {index: 11}
        required: [reference]
    required: [value, system]
  entry:
    elements:
      flag:
        index: 36
        elements:
          coding:
            elements:
              system: {index: 37}
              code: {index: 38}
              display: {index: 39}
            required: [display, system, code]
      item:
        type: Reference
        refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-MedicationStatement-1']
        index: 40
        elements:
          reference: {index: 41}
        required: [reference]
  subject:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1']
    index: 22
    elements:
      reference: {index: 23}
    required: [reference]
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-Medication-List-1
base: http://hl7.org/fhir/StructureDefinition/List
version: 1.3.0
required: [identifier, subject, code]