PackagesCanonicalsLogsProblems
    Packages
    fhir.r4.wales.stu1@1.0.1
    https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-MedicationAdministration
description: This profile defines the UK constraints and extensions on the International FHIR resource [MedicationAdministration](https://hl7.org/fhir/R4/MedicationAdministration.html).
package_name: fhir.r4.wales.stu1
derivation: constraint
name: DataStandardsWalesMedicationAdministration
type: MedicationAdministration
elements:
  category:
    binding: {strength: extensible, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-MedicationAdministrationCategory'}
    index: 8
    elements:
      coding:
        elements:
          system: {index: 9}
          code: {index: 10}
        required: [code, system]
  request:
    type: Reference
    mustSupport: true
    refers: ['https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-MedicationRequest']
    index: 26
  dosage: {mustSupport: true, index: 31}
  medicationCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: medication, index: 13}
  statusReason:
    mustSupport: true
    index: 5
    elements:
      coding:
        elements:
          system: {index: 6}
          code: {index: 7}
        required: [code, system]
  note:
    elements:
      author:
        choices: [authorReference, authorString]
        index: 28
      authorReference:
        type: Reference
        choiceOf: author
        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']
        index: 29
      authorString: {type: string, choiceOf: author, index: 30}
  status: {mustSupport: true, index: 4}
  effective:
    mustSupport: true
    choices: []
    index: 19
  identifier:
    mustSupport: true
    index: 0
    elements:
      system: {index: 1}
      value: {index: 2}
    required: [system, value]
  medicationReference:
    type: Reference
    mustSupport: true
    choiceOf: medication
    refers: ['https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Medication']
    index: 14
  partOf:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Procedure', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-MedicationAdministration']
    index: 3
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/StructureDefinition/Group', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Patient']
    index: 15
    elements:
      identifier:
        elements:
          system:
            pattern: {type: uri, value: 'https://fhir.nhs.uk/Id/nhs-number'}
            type: uri
            index: 16
          value: {index: 17}
        required: [system, value]
  performer:
    mustSupport: true
    index: 20
    elements:
      actor:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Device', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Patient', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Practitioner', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PractitionerRole']
        index: 21
        elements:
          reference: {index: 22}
          identifier:
            elements:
              system: {index: 23}
              value: {index: 24}
            required: [system, value]
        required: [reference]
  medication:
    mustSupport: true
    choices: [medicationCodeableConcept, medicationReference]
    index: 12
  reasonReference:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Condition', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-DiagnosticReport', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation']
    index: 25
package_version: 1.0.1
class: profile
kind: resource
url: https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-MedicationAdministration
base: https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationAdministration
version: 1.0.0
required: [performer]