PackagesCanonicalsLogsProblems
    Packages
    gpc.stu3.fhir-assets@1.4.1
    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: gpc.stu3.fhir-assets
derivation: constraint
name: CareConnect-ITK-MedicationStatement-1
type: MedicationStatement
elements:
  category:
    elements:
      coding:
        elements:
          system: {index: 15}
          code: {index: 16}
          display: {index: 17}
        required: [display, system, code]
  dosage:
    elements:
      additionalInstruction:
        elements:
          coding:
            elements:
              system: {index: 42}
              code: {index: 43}
              display: {index: 44}
            required: [display, system, code]
      timing:
        elements:
          code:
            elements:
              coding:
                elements:
                  system: {index: 45}
                  code: {index: 46}
                  display: {index: 47}
                required: [display, system, code]
      site:
        elements:
          coding:
            elements:
              system: {index: 48}
              code: {index: 49}
              display: {index: 50}
            required: [display, system, code]
      route:
        elements:
          coding:
            index: 51
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: system, type: value}
              min: null
              slices:
                snomedCT:
                  match: {system: 'http://snomed.info/sct'}
                  schema:
                    index: 52
                    extensions:
                      snomedCTDescriptionID:
                        url: h
                        type: Extension
                        index: 53
                        elements:
                          url:
                            pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                            index: 54
                    elements:
                      extension:
                        type: Extension
                        url: h
                        index: 53
                        slicing:
                          slices:
                            snomedCTDescriptionID:
                              match: {}
                              schema:
                                type: Extension
                                url: h
                                index: 53
                                elements:
                                  url:
                                    pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                                    index: 54
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 55
                      version: {index: 56}
                      code: {index: 57}
                      display: {index: 58}
                    required: [display, system, code]
      method:
        elements:
          coding:
            elements:
              system: {index: 59}
              code: {index: 60}
              display: {index: 61}
            required: [display, system, code]
  derivedFrom: {index: 26}
  medication[x]:
    elements:
      reference: {index: 21}
    required: [reference]
  reasonCode:
    elements:
      coding:
        elements:
          system: {index: 31}
          code: {index: 32}
          display: {index: 33}
        required: [display, system, code]
  note:
    elements:
      author:
        choices: [authorString, authorReference, authorReference, authorReference]
        index: 37
      authorString: {type: string, choiceOf: author, index: 38}
      authorReference:
        type: Reference
        choiceOf: author
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1']
        index: 39
  extension:
    type: Extension
    url: h
    index: 0
    slicing:
      slices:
        lastIssueDate:
          match: {}
          schema:
            type: Extension
            url: h
            index: 0
            elements:
              url:
                pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-MedicationStatementLastIssueDate-1'}
                index: 1
        changeSummary:
          match: {}
          schema:
            type: Extension
            short: Optional Extensions Element
            url: h
            index: 2
            elements:
              url:
                pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-MedicationChangeSummary-1'}
                index: 3
  identifier:
    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
    required: [value, system]
  context:
    type: Reference
    refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-Encounter-1']
    index: 13
    elements:
      reference: {index: 14}
    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: 10
  medicationReference:
    type: Reference
    choiceOf: medication
    refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-Medication-1']
    index: 20
  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: 11
    elements:
      reference: {index: 12}
    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: 22
    elements:
      reference: {index: 23}
    required: [reference]
  subject:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1']
    index: 24
    elements:
      reference: {index: 25}
    required: [reference]
  reasonNotTaken:
    index: 27
    elements:
      coding:
        elements:
          system: {index: 28}
          code: {index: 29}
          display: {index: 30}
        required: [display, system, code]
  medication:
    choices: [medicationReference]
    index: 19
  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: 34
    elements:
      reference: {index: 35}
    required: [reference]
package_version: 1.4.1
extensions:
  lastIssueDate:
    url: h
    type: Extension
    index: 0
    elements:
      url:
        pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-MedicationStatementLastIssueDate-1'}
        index: 1
  changeSummary:
    url: h
    type: Extension
    short: Optional Extensions Element
    index: 2
    elements:
      url:
        pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-MedicationChangeSummary-1'}
        index: 3
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