PackagesCanonicalsLogsProblems
    Packages
    nhsd.assets.stu3@1.7.0
    https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-MedicationStatement-1
description: This MedicationStatement Resource is a record of a medication that is being consumed by a patient.
package_name: nhsd.assets.stu3
derivation: constraint
name: CareConnect-MedicationStatement-1
type: MedicationStatement
elements:
  dosage:
    elements:
      route:
        elements:
          coding:
            index: 21
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: system, type: value}
              min: null
              slices:
                snomedCT:
                  match: {system: 'http://snomed.info/sct'}
                  schema:
                    index: 22
                    extensions:
                      snomedCTDescriptionID: {url: h, type: Extension, index: 24}
                    elements:
                      extension:
                        index: 23
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: null
                          slices:
                            snomedCTDescriptionID:
                              match: {url: null}
                              schema: {type: Extension, url: h, index: 24}
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 25
                      code: {index: 26}
                      display: {index: 27}
                    required: [display, system, code]
  note:
    elements:
      author:
        choices: [authorReference, authorString, authorReference, authorReference]
        index: 16
      authorReference:
        type: Reference
        choiceOf: author
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1']
        index: 19
      authorString: {type: string, choiceOf: author, index: 18}
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        lastIssueDate:
          match: {url: null}
          schema: {type: Extension, url: h, index: 1}
          max: 1
        changeSummary:
          match: {url: null}
          schema: {type: Extension, short: Optional Extensions Element, url: h, index: 2}
        dosageLastChanged:
          match: {url: null}
          schema: {type: Extension, mustSupport: false, url: h, index: 3}
          max: 1
        prescribingAgency:
          match: {url: null}
          schema: {type: Extension, short: The type of organisation/setting responsible for authorising and issuing a medication outside of the organisation/setting delivering the patient care, url: h, index: 4}
          min: 0
          max: 1
  identifier:
    elements:
      system: {index: 5}
      value: {index: 6}
      assigner:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
        index: 7
    required: [value, system]
  context:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/EpisodeOfCare', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Encounter-1']
    index: 10
  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: 8
  medicationReference:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Medication-1']
    index: 11
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            type: Reference
            refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Medication-1']
            index: 11
  partOf:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/MedicationAdministration', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-MedicationDispense-1', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-MedicationStatement-1', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Observation-1', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Procedure-1']
    index: 9
  informationSource:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/RelatedPerson', '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']
    index: 12
  subject:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Group', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1']
    index: 13
  reasonReference:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Condition-1', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Observation-1']
    index: 14
package_version: 1.7.0
extensions:
  lastIssueDate: {url: h, max: 1, type: Extension, index: 1}
  changeSummary: {url: h, type: Extension, short: Optional Extensions Element, index: 2}
  dosageLastChanged: {url: h, max: 1, type: Extension, mustSupport: false, index: 3}
  prescribingAgency: {url: h, min: 0, max: 1, type: Extension, short: The type of organisation/setting responsible for authorising and issuing a medication outside of the organisation/setting delivering the patient care, index: 4}
class: profile
kind: resource
url: https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-MedicationStatement-1
base: http://hl7.org/fhir/StructureDefinition/MedicationStatement
version: 1.2.0