PackagesCanonicalsLogsProblems
    Packages
    rs/nhsdigital.fhir.stu3@1.3.0
    https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-MedicationStatement-1
description: This MedicationStatement Resource is a record of a medication that is being consumed by a patient.  A MedicationStatement may indicate that the patient may be taking the medication now, or has taken the medication in the past or will be taking the medication in the future. The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician.
package_name: rs/nhsdigital.fhir.stu3
derivation: constraint
name: CareConnect-ITK-MedicationStatement-1
type: MedicationStatement
elements:
  category:
    elements:
      coding:
        elements:
          system: {index: 16}
          code: {index: 17}
          display: {index: 18}
        required: [code, display, system]
  dosage:
    elements:
      additionalInstruction:
        elements:
          coding:
            elements:
              system: {index: 41}
              code: {index: 42}
              display: {index: 43}
            required: [code, display, system]
      timing:
        elements:
          code:
            elements:
              coding:
                elements:
                  system: {index: 44}
                  code: {index: 45}
                  display: {index: 46}
                required: [code, display, system]
      site:
        elements:
          coding:
            elements:
              system: {index: 47}
              code: {index: 48}
              display: {index: 49}
            required: [code, display, system]
      route:
        elements:
          coding:
            index: 50
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: system, type: value}
              min: null
              slices:
                snomedCT:
                  match: {system: 'http://snomed.info/sct'}
                  schema:
                    index: 51
                    extensions:
                      snomedCTDescriptionID: {url: h, type: Extension, index: 53}
                    elements:
                      extension:
                        index: 52
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: null
                          slices:
                            snomedCTDescriptionID:
                              match: {url: null}
                              schema: {type: Extension, url: h, index: 53}
                      system:
                        pattern: {type: uri, value: 'http://snomed.info/sct'}
                        type: uri
                        index: 54
                      version: {index: 55}
                      code: {index: 56}
                      display: {index: 57}
                    required: [code, display, system]
      method:
        elements:
          coding:
            elements:
              system: {index: 58}
              code: {index: 59}
              display: {index: 60}
            required: [code, display, system]
  derivedFrom: {index: 25}
  reasonCode:
    elements:
      coding:
        elements:
          system: {index: 30}
          code: {index: 31}
          display: {index: 32}
        required: [code, display, system]
  note:
    elements:
      author:
        choices: [authorString, authorReference, authorReference, authorReference]
        index: 36
      authorString: {type: string, choiceOf: author, index: 37}
      authorReference:
        type: Reference
        choiceOf: author
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1']
        index: 38
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        lastIssueDate:
          match: {url: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-MedicationStatementLastIssueDate-1'}
          schema:
            type: Extension
            url: h
            index: 1
            elements:
              url:
                pattern: {type: uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-MedicationStatementLastIssueDate-1'}
                type: uri
                index: 2
        changeSummary:
          match: {url: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-MedicationChangeSummary-1'}
          schema:
            type: Extension
            short: Optional Extensions Element
            url: h
            index: 3
            elements:
              url:
                pattern: {type: uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-MedicationChangeSummary-1'}
                type: uri
                index: 4
  identifier:
    elements:
      type:
        elements:
          coding:
            elements:
              system: {index: 5}
              code: {index: 6}
              display: {index: 7}
            required: [code, display, system]
      system: {index: 8}
      value: {index: 9}
      assigner:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
        index: 10
    required: [system, value]
  context:
    type: Reference
    refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-Encounter-1']
    index: 14
    elements:
      reference: {index: 15}
    required: [reference]
  basedOn:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/CarePlan', 'http://hl7.org/fhir/StructureDefinition/ProcedureRequest', 'http://hl7.org/fhir/StructureDefinition/ReferralRequest', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-MedicationRequest-1']
    index: 11
  medicationReference:
    type: Reference
    refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-Medication-1']
    index: 19
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            type: Reference
            refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-Medication-1']
            index: 19
            elements:
              reference: {index: 20}
            required: [reference]
  partOf:
    type: Reference
    refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-MedicationDispense-1', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-MedicationStatement-1', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-Procedure-1']
    index: 12
    elements:
      reference: {index: 13}
    required: [reference]
  informationSource:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Practitioner-1', 'https://fhir.nhs.uk/STU3/StructureDefinition/ITK-RelatedPerson-1']
    index: 21
    elements:
      reference: {index: 22}
    required: [reference]
  subject:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1']
    index: 23
    elements:
      reference: {index: 24}
    required: [reference]
  reasonNotTaken:
    index: 26
    elements:
      coding:
        elements:
          system: {index: 27}
          code: {index: 28}
          display: {index: 29}
        required: [code, display, system]
  reasonReference:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Observation-1', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-Condition-1']
    index: 33
    elements:
      reference: {index: 34}
    required: [reference]
package_version: 1.3.0
extensions:
  lastIssueDate:
    url: h
    type: Extension
    index: 1
    elements:
      url:
        pattern: {type: uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-MedicationStatementLastIssueDate-1'}
        type: uri
        index: 2
  changeSummary:
    url: h
    type: Extension
    short: Optional Extensions Element
    index: 3
    elements:
      url:
        pattern: {type: uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-MedicationChangeSummary-1'}
        type: uri
        index: 4
class: profile
kind: resource
url: https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-MedicationStatement-1
base: http://hl7.org/fhir/StructureDefinition/MedicationStatement
version: 1.3.0