PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.r4.examples@4.0.1
    http://hl7.org/fhir/StructureDefinition/MedicationRequest
description: An order or request for both supply of the medication and the instructions for administration of the medication to a patient. The resource is called \"MedicationRequest\" rather than \"MedicationPrescription\" or \"MedicationOrder\" to generalize the use across inpatient and outpatient settings, including care plans, etc., and to harmonize with workflow patterns.
package_name: hl7.fhir.r4.examples
derivation: specialization
name: MedicationRequest
type: MedicationRequest
elements:
  performerType:
    short: Desired kind of performer of the medication administration
    type: CodeableConcept
    binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/performer-role'}
    isSummary: true
    index: 21
  category:
    short: Type of medication usage
    type: CodeableConcept
    array: true
    binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/medicationrequest-category'}
    index: 4
  insurance:
    short: Associated insurance coverage
    refers: ['http://hl7.org/fhir/StructureDefinition/ClaimResponse', 'http://hl7.org/fhir/StructureDefinition/Coverage']
    type: Reference
    array: true
    index: 30
  instantiatesCanonical: {short: Instantiates FHIR protocol or definition, type: canonical, array: true, isSummary: true, index: 25}
  eventHistory:
    short: A list of events of interest in the lifecycle
    refers: ['http://hl7.org/fhir/StructureDefinition/Provenance']
    type: Reference
    array: true
    index: 51
  instantiatesUri: {short: Instantiates external protocol or definition, type: uri, array: true, isSummary: true, index: 26}
  substitution:
    type: BackboneElement
    short: Any restrictions on medication substitution
    index: 43
    elements:
      allowed:
        short: Whether substitution is allowed or not
        choices: [allowedBoolean, allowedCodeableConcept]
        index: 45
      allowedBoolean: {short: Whether substitution is allowed or not, type: boolean, choiceOf: allowed, index: 46}
      allowedCodeableConcept: {short: Whether substitution is allowed or not, type: CodeableConcept, choiceOf: allowed, index: 47}
      reason:
        short: Why should (not) substitution be made
        type: CodeableConcept
        binding: {strength: example, valueSet: 'http://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason'}
        index: 48
    required: [allowedCodeableConcept, allowed, allowedBoolean]
  detectedIssue:
    short: Clinical Issue with action
    refers: ['http://hl7.org/fhir/StructureDefinition/DetectedIssue']
    type: Reference
    array: true
    index: 50
  encounter:
    short: Encounter created as part of encounter/admission/stay
    refers: ['http://hl7.org/fhir/StructureDefinition/Encounter']
    type: Reference
    index: 16
  dispenseRequest:
    type: BackboneElement
    short: Medication supply authorization
    index: 33
    elements:
      initialFill:
        short: First fill details
        type: BackboneElement
        index: 34
        elements:
          quantity: {type: Quantity, short: First fill quantity, index: 35}
          duration: {type: Duration, short: First fill duration, index: 36}
      dispenseInterval: {type: Duration, short: Minimum period of time between dispenses, index: 37}
      validityPeriod: {short: Time period supply is authorized for, type: Period, index: 38}
      numberOfRepeatsAllowed: {short: Number of refills authorized, type: unsignedInt, index: 39}
      quantity: {type: Quantity, short: Amount of medication to supply per dispense, index: 40}
      expectedSupplyDuration: {short: Number of days supply per dispense, type: Duration, index: 41}
      performer:
        short: Intended dispenser
        refers: ['http://hl7.org/fhir/StructureDefinition/Organization']
        type: Reference
        index: 42
  reported:
    short: Reported rather than primary record
    choices: [reportedBoolean, reportedReference]
    isSummary: true
    index: 8
  reasonCode:
    short: Reason or indication for ordering or not ordering the medication
    type: CodeableConcept
    array: true
    binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/condition-code'}
    index: 23
  medicationCodeableConcept: {short: Medication to be taken, type: CodeableConcept, choiceOf: medication, isSummary: true, index: 13}
  statusReason:
    short: Reason for current status
    type: CodeableConcept
    binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/medicationrequest-status-reason'}
    index: 2
  authoredOn: {short: When request was initially authored, type: dateTime, isSummary: true, index: 18}
  note: {type: Annotation, short: Information about the prescription, array: true, index: 31}
  requester:
    short: Who/What requested the Request
    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/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
    type: Reference
    isSummary: true
    index: 19
  supportingInformation:
    short: Information to support ordering of the medication
    refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
    type: Reference
    array: true
    index: 17
  reportedReference:
    short: Reported rather than primary record
    refers: ['http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
    type: Reference
    choiceOf: reported
    isSummary: true
    index: 10
  priority:
    short: routine | urgent | asap | stat
    type: code
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/request-priority|4.0.1'}
    isSummary: true
    index: 5
  status:
    isModifier: true
    short: active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
    type: code
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/medicationrequest-status|4.0.1'}
    isModifierReason: This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid
    isSummary: true
    index: 1
  dosageInstruction: {short: How the medication should be taken, type: Dosage, array: true, index: 32}
  groupIdentifier: {short: Composite request this is part of, type: Identifier, isSummary: true, index: 28}
  recorder:
    short: Person who entered the request
    refers: ['http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole']
    type: Reference
    index: 22
  reportedBoolean: {short: Reported rather than primary record, type: boolean, choiceOf: reported, isSummary: true, index: 9}
  identifier: {short: External ids for this request, type: Identifier, array: true, index: 0}
  doNotPerform: {isModifier: true, short: True if request is prohibiting action, type: boolean, isModifierReason: 'This element is labeled as a modifier because this element negates the request to occur (ie, this is a request for the medication not to be ordered or prescribed, etc)', isSummary: true, index: 6}
  intent:
    isModifier: true
    short: proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
    type: code
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/medicationrequest-intent|4.0.1'}
    isModifierReason: This element changes the interpretation of all descriptive attributes. For example "the time the request is recommended to occur" vs. "the time the request is authorized to occur" or "who is recommended to perform the request" vs. "who is authorized to perform the request
    isSummary: true
    index: 3
  basedOn:
    short: What request fulfills
    refers: ['http://hl7.org/fhir/StructureDefinition/CarePlan', 'http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation', 'http://hl7.org/fhir/StructureDefinition/MedicationRequest', 'http://hl7.org/fhir/StructureDefinition/ServiceRequest']
    type: Reference
    array: true
    isSummary: true
    index: 27
  priorPrescription:
    short: An order/prescription that is being replaced
    refers: ['http://hl7.org/fhir/StructureDefinition/MedicationRequest']
    type: Reference
    index: 49
  medicationReference:
    short: Medication to be taken
    refers: ['http://hl7.org/fhir/StructureDefinition/Medication']
    type: Reference
    choiceOf: medication
    isSummary: true
    index: 14
  courseOfTherapyType:
    short: Overall pattern of medication administration
    type: CodeableConcept
    binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/medicationrequest-course-of-therapy'}
    index: 29
  subject:
    short: Who or group medication request is for
    refers: ['http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Patient']
    type: Reference
    isSummary: true
    index: 15
  performer:
    short: Intended performer of administration
    refers: ['http://hl7.org/fhir/StructureDefinition/CareTeam', '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/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
    type: Reference
    index: 20
  medication:
    short: Medication to be taken
    choices: [medicationCodeableConcept, medicationReference]
    isSummary: true
    index: 12
  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']
    type: Reference
    array: true
    index: 24
package_version: 4.0.1
class: resource
kind: resource
url: http://hl7.org/fhir/StructureDefinition/MedicationRequest
base: http://hl7.org/fhir/StructureDefinition/DomainResource
version: 4.0.1
required: [medicationCodeableConcept, status, subject, intent, medication, medicationReference]