PackagesCanonicalsLogsProblems
    Packages
    NHSD.Assets.STU3@1.4.0
    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: NHSD.Assets.STU3
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: 23
    elements:
      reference: {index: 24}
    required: [reference]
  orderedBy: {index: 27}
  mode:
    pattern: {type: Code, value: snapshot}
    index: 12
  source:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Practitioner-1']
    index: 25
    elements:
      reference: {index: 26}
    required: [reference]
  note:
    index: 28
    elements:
      author:
        choices: [authorReference, authorString, authorReference, authorReference]
        index: 30
      authorReference:
        type: Reference
        choiceOf: author
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1']
        index: 33
      authorString: {type: string, choiceOf: author, index: 32}
  emptyReason:
    index: 41
    elements:
      coding:
        elements:
          system: {index: 42}
          code: {index: 43}
          display: {index: 44}
        required: [display, system, code]
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        clinicalSetting:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: h, index: 1}
          max: 1
        warningCode:
          match: {url: null}
          schema: {type: Extension, url: h, index: 2}
          max: 1
  status:
    pattern: {type: Code, value: current}
    index: 11
  code:
    index: 13
    elements:
      coding:
        index: 14
        elements:
          system:
            pattern: {type: Uri, value: 'http://snomed.info/sct'}
            index: 15
          version: {index: 16}
          code: {index: 17}
          display: {index: 18}
          userSelected: {index: 19}
        required: [display, system, code]
      text: {index: 20}
    required: [coding]
  identifier:
    index: 3
    elements:
      type:
        elements:
          coding:
            elements:
              system: {index: 4}
              code: {index: 5}
              display: {index: 6}
            required: [display, system, code]
      system: {index: 7}
      value: {index: 8}
      assigner:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
        index: 9
        elements:
          reference: {index: 10}
        required: [reference]
    required: [value, system]
  entry:
    elements:
      flag:
        index: 35
        elements:
          coding:
            elements:
              system: {index: 36}
              code: {index: 37}
              display: {index: 38}
            required: [display, system, code]
      item:
        type: Reference
        refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-MedicationStatement-1']
        index: 39
        elements:
          reference: {index: 40}
        required: [reference]
  subject:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1']
    index: 21
    elements:
      reference: {index: 22}
    required: [reference]
package_version: 1.4.0
extensions:
  clinicalSetting: {url: h, max: 1, type: Extension, mustSupport: true, index: 1}
  warningCode: {url: h, max: 1, type: Extension, index: 2}
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]