PackagesCanonicalsLogsProblems
    Packages
    fhir.r4.wales.stu1@1.0.1
    https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-MedicationStatement
description: null
package_name: fhir.r4.wales.stu1
derivation: constraint
name: DataStandardsWalesMedicationStatement
type: MedicationStatement
elements:
  category: {mustSupport: true, index: 5}
  dosage: {mustSupport: true, index: 14}
  medicationCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: medication, index: 8}
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        medicationCourseOfTherapyType:
          match: {url: null}
          schema: {isModifier: false, short: An indicator of the overall pattern of medication administration, type: Extension, mustSupport: true, url: 'https://fhir.nhs.wales/StructureDefinition/Extension-DataStandardsWales-MedicationCourseOfTherapyType', index: 1}
          min: 0
  status: {mustSupport: true, index: 4}
  context: {mustSupport: true, index: 11}
  dateAsserted: {mustSupport: true, index: 12}
  basedOn:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-CarePlan', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-ServiceRequest', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-MedicationRequest']
    index: 2
  medicationReference:
    type: Reference
    mustSupport: true
    choiceOf: medication
    refers: ['https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Medication']
    index: 9
  partOf:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Procedure', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-MedicationAdministration', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-MedicationDispense', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-MedicationStatement']
    index: 3
  informationSource:
    type: Reference
    mustSupport: true
    refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Organization', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Patient', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Practitioner', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PractitionerRole']
    index: 13
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/StructureDefinition/Group', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Patient']
    index: 10
  medication:
    mustSupport: true
    choices: [medicationCodeableConcept, medicationReference]
    index: 7
package_version: 1.0.1
extensions:
  medicationCourseOfTherapyType: {url: 'https://fhir.nhs.wales/StructureDefinition/Extension-DataStandardsWales-MedicationCourseOfTherapyType', min: 0, isModifier: false, short: An indicator of the overall pattern of medication administration, type: Extension, mustSupport: true, index: 1}
class: profile
kind: resource
url: https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-MedicationStatement
base: https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationStatement
version: 1.0.0