PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.core@1.8.0
    http://hl7.org/fhir/StructureDefinition/MedicationRequest
description: Base StructureDefinition for MedicationRequest Resource
package_name: hl7.fhir.core
derivation: specialization
name: MedicationRequest
type: MedicationRequest
elements:
  patient:
    short: Who prescription is for
    refers: ['http://hl7.org/fhir/StructureDefinition/Patient']
    comments: The patient on a medicationRequest is mandatory.  For the secondary use case where the actual patient is not provided, there still must be an anonymyzed patient specified.
    type: Reference
    isSummary: true
    index: 10
  category: {short: Type of medication usage, type: CodeableConcept, index: 18}
  definition:
    short: Protocol or definition
    refers: ['http://hl7.org/fhir/StructureDefinition/ActivityDefinition', 'http://hl7.org/fhir/StructureDefinition/PlanDefinition']
    type: Reference
    array: true
    isSummary: true
    index: 1
  eventHistory:
    short: A list of events of interest in the lifecycle
    refers: ['http://hl7.org/fhir/StructureDefinition/Provenance']
    comments: See usage notes in Request pattern in request history.
    type: Reference
    array: true
    index: 30
  stage: {isModifier: true, short: proposal | plan | original-order, comments: 'It is expected that the type of requester will be restricted for different stages of a MedicationRequest.  For example, Proposals can be created by a patient, relatedPerson, Practitioner or Device.  Plans can be created by Practitioners, Patients, RelatedPersons and Devices.  Original orders can be created by a Practitioner only.', type: CodeableConcept, isSummary: true, index: 5}
  substitution:
    type: BackboneElement
    short: Any restrictions on medication substitution
    index: 26
    elements:
      allowed: {isModifier: true, short: Whether substitution is allowed or not, type: boolean, index: 27}
      reason: {short: Why should (not) substitution be made, type: CodeableConcept, index: 28}
    required: [allowed]
  dispenseRequest:
    type: BackboneElement
    short: Medication supply authorization
    index: 20
    elements:
      validityPeriod: {short: Time period supply is authorized for, comments: It reflects the prescriber perspective for the validity of the prescription. Dispenses must not be made against the prescription outside of this period. The lower-bound of the Dispensing Window signifies the earliest date that the prescription can be filled for the first time. If an upper-bound is not specified then the Prescription is open-ended or will default to a stale-date based on regulations., type: Period, index: 21}
      numberOfRepeatsAllowed: {short: Number of refills authorized, comments: 'If displaying "number of authorized fills", add 1 to this number.', type: positiveInt, index: 22}
      quantity: {type: Quantity, short: Amount of medication to supply per dispense, index: 23}
      expectedSupplyDuration: {short: Number of days supply per dispense, comments: 'In some situations, this attribute may be used instead of quantity to identify the amount supplied by how long it is expected to last, rather than the physical quantity issued, e.g. 90 days supply of medication (based on an ordered dosage) When possible, it is always better to specify quantity, as this tends to be more precise. expectedSupplyDuration will always be an estimate that can be influenced by external factors.', type: Duration, index: 24}
      performer:
        short: Intended dispenser
        refers: ['http://hl7.org/fhir/StructureDefinition/Organization']
        type: Reference
        index: 25
  reasonCode: {short: Reason or indication for writing the prescription, comments: 'This could be a diagnosis code. If a full condition record exists or additional detail is needed, use reasonReference.', type: CodeableConcept, array: true, index: 15}
  medicationCodeableConcept: {short: Medication to be taken, comments: 'If only a code is specified, then it needs to be a code for a specific product.  If more information is required, then the use of the medication resource is recommended.  Note: do not use Medication.name to describe the prescribed medication. When the only available information is a text description of the medication, Medication.code.text should be used.', type: CodeableConcept, choiceOf: medication, isSummary: true, index: 8}
  note: {type: Annotation, short: Information about the prescription, array: true, index: 17}
  requisition: {type: Identifier, short: Identifier of composite, isSummary: true, index: 3}
  requester:
    short: Who ordered the initial medication(s)
    refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
    comments: It is expected that the type of requester will be restricted for different stages of a MedicationRequest.  For example, Proposals can be created by a patient, relatedPerson, Practitioner or Device.  Plans can be created by Practitioners, Patients, RelatedPersons and Devices.  Original orders can be created by a Practitioner only.
    type: Reference
    isSummary: true
    index: 14
  supportingInformation:
    short: Information to support ordering of the medication
    refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
    type: Reference
    array: true
    index: 12
  status: {isModifier: true, short: active | on-hold | cancelled | completed | entered-in-error | stopped | draft, type: code, isSummary: true, index: 4}
  dosageInstruction: {type: DosageInstruction, short: How the medication should be taken, array: true, index: 19}
  identifier: {type: Identifier, short: External identifier, array: true, index: 0}
  context:
    short: Created during encounter/admission/stay
    refers: ['http://hl7.org/fhir/StructureDefinition/Encounter', 'http://hl7.org/fhir/StructureDefinition/EpisodeOfCare']
    comments: SubstanceAdministration->component->EncounterEvent.
    type: Reference
    index: 11
  basedOn:
    short: What request fulfills
    refers: ['http://hl7.org/fhir/StructureDefinition/CarePlan', 'http://hl7.org/fhir/StructureDefinition/DiagnosticRequest', 'http://hl7.org/fhir/StructureDefinition/MedicationRequest', 'http://hl7.org/fhir/StructureDefinition/ProcedureRequest', 'http://hl7.org/fhir/StructureDefinition/ReferralRequest']
    type: Reference
    array: true
    isSummary: true
    index: 2
  priorPrescription:
    short: An order/prescription that this supersedes
    refers: ['http://hl7.org/fhir/StructureDefinition/MedicationRequest']
    type: Reference
    index: 29
  medicationReference:
    short: Medication to be taken
    refers: ['http://hl7.org/fhir/StructureDefinition/Medication']
    comments: 'If only a code is specified, then it needs to be a code for a specific product.  If more information is required, then the use of the medication resource is recommended.  Note: do not use Medication.name to describe the prescribed medication. When the only available information is a text description of the medication, Medication.code.text should be used.'
    type: Reference
    choiceOf: medication
    isSummary: true
    index: 9
  dateWritten: {short: When prescription was initially authorized, type: dateTime, isSummary: true, index: 13}
  medication:
    short: Medication to be taken
    comments: 'If only a code is specified, then it needs to be a code for a specific product.  If more information is required, then the use of the medication resource is recommended.  Note: do not use Medication.name to describe the prescribed medication. When the only available information is a text description of the medication, Medication.code.text should be used.'
    choices: [medicationCodeableConcept, medicationReference]
    isSummary: true
    index: 7
  reasonReference:
    short: Condition or Observation that supports why the prescription is being written
    refers: ['http://hl7.org/fhir/StructureDefinition/Condition', 'http://hl7.org/fhir/StructureDefinition/Observation']
    comments: This is a reference to a condition that is the reason for the medication order.  If only a code exists, use reasonCode.
    type: Reference
    array: true
    index: 16
package_version: 1.8.0
class: resource
kind: resource
url: http://hl7.org/fhir/StructureDefinition/MedicationRequest
base: http://hl7.org/fhir/StructureDefinition/DomainResource
version: null
required: [medicationCodeableConcept, medication, patient, medicationReference, stage]