PackagesCanonicalsLogsProblems
    Packages
    careconnect.stu3.03.00.00@3.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: careconnect.stu3.03.00.00
derivation: constraint
name: CareConnect-MedicationStatement-1
type: MedicationStatement
elements:
  dosage:
    elements:
      route:
        elements:
          coding:
            index: 24
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: system, type: value}
              min: null
              slices:
                snomedCT:
                  match: {system: 'http://snomed.info/sct'}
                  schema:
                    index: 25
                    extensions:
                      snomedCTDescriptionID: {url: h, min: 0, type: Extension, index: 27}
                    elements:
                      extension:
                        index: 26
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: 0
                          slices:
                            snomedCTDescriptionID:
                              match: {url: null}
                              schema: {type: Extension, url: h, index: 27}
                              min: 0
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 28
                      code: {index: 29}
                      display: {index: 30}
                    required: [display, system, code]
  medicationCodeableConcept: {type: CodeableConcept, choiceOf: medication, index: 13}
  note:
    elements:
      author:
        choices: [authorReference, authorString, authorReference, authorReference]
        index: 19
      authorReference:
        type: Reference
        choiceOf: author
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1']
        index: 22
      authorString: {type: string, choiceOf: author, index: 21}
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        lastIssueDate:
          match: {url: null}
          schema: {type: Extension, url: h, index: 1}
          min: 0
          max: 1
        changeSummary:
          match: {url: null}
          schema: {type: Extension, short: Optional Extensions Element, url: h, index: 2}
          min: 0
        dosageLastChanged:
          match: {url: null}
          schema: {type: Extension, mustSupport: false, url: h, index: 3}
          min: 0
          max: 1
        prescribingAgency:
          match: {url: null}
          schema: {type: Extension, url: h, index: 4}
          min: 0
  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
    choiceOf: medication
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Medication-1']
    index: 14
  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: 15
  subject:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Group', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1']
    index: 16
  medication:
    choices: [medicationCodeableConcept, medicationReference]
    index: 12
  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: 17
package_version: 3.1.0
extensions:
  lastIssueDate: {url: h, min: 0, max: 1, type: Extension, index: 1}
  changeSummary: {url: h, min: 0, type: Extension, short: Optional Extensions Element, index: 2}
  dosageLastChanged: {url: h, min: 0, max: 1, type: Extension, mustSupport: false, index: 3}
  prescribingAgency: {url: h, min: 0, type: Extension, 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.3.0