PackagesCanonicalsLogsProblems
    Packages
    NHSD.Assets.STU3@1.5.0
    https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-MedicationRequest-1
description: This MedicationRequest Resource represents an order for both supply of the medication and the instructions for administration of the medication to a patient.
package_name: NHSD.Assets.STU3
derivation: constraint
name: CareConnect-MedicationRequest-1
type: MedicationRequest
elements:
  dispenseRequest:
    elements:
      quantity:
        extensions:
          quantityText: {url: h, max: 1, type: Extension, index: 37}
        elements:
          extension:
            index: 36
            slicing:
              rules: open
              discriminator:
              - {path: url, type: value}
              min: null
              slices:
                quantityText:
                  match: {url: null}
                  schema: {type: Extension, url: h, index: 37}
                  max: 1
      expectedSupplyDuration:
        elements:
          value: {index: 38}
          system:
            pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
            index: 39
          code: {index: 40}
        required: [value, system, code]
      performer:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
        index: 41
  note:
    elements:
      author:
        choices: [authorReference, authorString, authorReference, authorReference]
        index: 17
      authorReference:
        type: Reference
        choiceOf: author
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1']
        index: 20
      authorString: {type: string, choiceOf: author, index: 19}
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        repeatInformation:
          match: {url: null}
          schema: {type: Extension, url: h, index: 1}
        statusReason:
          match: {url: null}
          schema: {type: Extension, url: h, index: 2}
        prescriptionType:
          match: {url: null}
          schema: {type: Extension, url: h, index: 3}
  requester:
    elements:
      agent:
        type: Reference
        refers: ['http://hl7.org/fhir/StructureDefinition/Device', '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: 12
      onBehalfOf:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
        index: 13
  dosageInstruction:
    elements:
      additionalInstruction:
        elements:
          coding:
            index: 22
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: system, type: value}
              min: null
              slices:
                snomedCT:
                  match: {system: 'http://snomed.info/sct'}
                  schema:
                    index: 23
                    extensions:
                      snomedCTDescriptionID: {url: h, type: Extension, index: 25}
                    elements:
                      extension:
                        index: 24
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: null
                          slices:
                            snomedCTDescriptionID:
                              match: {url: null}
                              schema: {type: Extension, url: h, index: 25}
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 26
                      code: {index: 27}
                      display: {index: 28}
                    required: [display, system, code]
      route:
        elements:
          coding:
            index: 29
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: system, type: value}
              min: null
              slices:
                snomedCT:
                  match: {system: 'http://snomed.info/sct'}
                  schema:
                    index: 30
                    extensions:
                      snomedCTDescriptionID: {url: h, type: Extension, index: 32}
                    elements:
                      extension:
                        index: 31
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: null
                          slices:
                            snomedCTDescriptionID:
                              match: {url: null}
                              schema: {type: Extension, url: h, index: 32}
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 33
                      code: {index: 34}
                      display: {index: 35}
                    required: [display, system, code]
  groupIdentifier:
    elements:
      assigner:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
        index: 8
  recorder:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Practitioner-1']
    index: 14
  identifier:
    elements:
      system: {index: 4}
      value: {index: 5}
      assigner:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
        index: 6
    required: [value, system]
  context:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/EpisodeOfCare', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Encounter-1']
    index: 11
  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: 7
  priorPrescription:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-MedicationRequest-1']
    index: 42
  medicationReference:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Medication-1']
    index: 9
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            type: Reference
            refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Medication-1']
            index: 9
  subject:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Group', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1']
    index: 10
  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: 15
package_version: 1.5.0
extensions:
  repeatInformation: {url: h, type: Extension, index: 1}
  statusReason: {url: h, type: Extension, index: 2}
  prescriptionType: {url: h, type: Extension, index: 3}
class: profile
kind: resource
url: https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-MedicationRequest-1
base: http://hl7.org/fhir/StructureDefinition/MedicationRequest
version: 1.1.0