PackagesCanonicalsLogsProblems
    Packages
    NHSD.Assets.STU3@1.1.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: 19
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: system, type: value}
              min: null
              slices:
                snomedCT:
                  match: {system: 'http://snomed.info/sct'}
                  schema:
                    index: 20
                    extensions:
                      snomedCTDescriptionID: {url: h, type: Extension, index: 22}
                    elements:
                      extension:
                        index: 21
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: null
                          slices:
                            snomedCTDescriptionID:
                              match: {url: null}
                              schema: {type: Extension, url: h, index: 22}
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 23
                      version: {index: 24}
                      code: {index: 25}
                      display: {index: 26}
                    required: [display, system, code]
  note:
    elements:
      author:
        choices: [authorReference, authorString, authorReference, authorReference]
        index: 14
      authorReference:
        type: Reference
        choiceOf: author
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1']
        index: 17
      authorString: {type: string, choiceOf: author, index: 16}
  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}
  identifier:
    elements:
      system: {index: 3}
      value: {index: 4}
      assigner:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
        index: 5
    required: [value, system]
  context:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/EpisodeOfCare', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Encounter-1']
    index: 8
  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: 6
  medicationReference:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Medication-1']
    index: 9
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            type: Reference
            refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Medication-1']
            index: 9
  partOf:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/MedicationAdministration', 'http://hl7.org/fhir/StructureDefinition/MedicationDispense', '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: 7
  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: 10
  subject:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Group', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1']
    index: 11
  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: 12
package_version: 1.1.0
extensions:
  lastIssueDate: {url: h, max: 1, type: Extension, index: 1}
  changeSummary: {url: h, type: Extension, short: Optional Extensions Element, index: 2}
class: profile
kind: resource
url: https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-MedicationStatement-1
base: http://hl7.org/fhir/StructureDefinition/MedicationStatement
version: 1.0.1