PackagesCanonicalsLogsProblems
    Packages
    fhir.r4.wales.stu1@1.0.0-prerelease
    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: 27
  eventHistory:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Provenance']
    index: 37
  dosage:
    mustSupport: true
    index: 33
    elements:
      site:
        binding: {strength: preferred, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-BodySite'}
        index: 34
      route:
        binding: {strength: preferred, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-SubstanceOrProductAdministrationRoute'}
        index: 35
      method:
        binding: {strength: preferred, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-MedicationDosageMethod'}
        index: 36
  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: 30
      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: 31
      authorString: {type: string, choiceOf: author, index: 32}
  status: {mustSupport: true, index: 4}
  effective:
    mustSupport: true
    choices: []
    index: 20
  identifier:
    mustSupport: true
    index: 0
    elements:
      system: {index: 1}
      value: {index: 2}
    required: [system, value]
  context:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-EpisodeOfCare', 'https://fhir.nhs.wales/StructureDefinition/UKCore-Encounter']
    index: 18
  device:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Device']
    index: 28
  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: 21
    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: 22
        elements:
          reference: {index: 23}
          identifier:
            elements:
              system: {index: 24}
              value: {index: 25}
            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.nhs.wales/StructureDefinition/UKCore-DiagnosticReport', 'https://fhir.nhs.wales/StructureDefinition/UKCore-Observation']
    index: 26
package_version: 1.0.0-prerelease
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]