PrescriptionLine

Represents an individual medication entry within a prescription, specifying the drug, dosage, frequency, route, and detailed administration instructions. Supports complex dosing regimens, PRN medications, and sequential treatment protocols for safe dispensing and administration.

Overview

PrescriptionLine provides detailed medication instructions within a parent Prescription. When prescriptions contain multiple medications or complex dosing, each line specifies the drug, exact dose, frequency, route, duration, and any special instructions. This supports tapering regimens, PRN medications with triggers, max daily doses, and multi-step treatment protocols.

Key Concepts

Parent Prescription

The prescription field links to the parent order:

  • Inherits patient, prescriber, encounter
  • Supports multi-medication prescriptions
  • Each line can be dispensed separately
  • Maintains order integrity

Medication Reference

The medication links to Medication:

  • Standardized drug identification
  • Form and strength details
  • Controlled substance status
  • Supports drug interaction checking

Dosage Text

The dosageText field provides the sig:

  • Full human-readable instructions
  • Appears on prescription label
  • Example: "Take 1 tablet by mouth twice daily with food"

Dose Specification

Precise dosing fields:

  • doseQuantity - Amount per dose
  • doseUnit - Unit (mg, tablet, ml, etc.)
  • dailyDose (calculated) - Total per day

Administration Frequency

The frequency links to Frequency type:

  • How often to take
  • Time of day specifications
  • With/without food
  • Maximum per day limits

Route of Administration

The route field specifies how to take:

RouteCommon FormsInstructions
oralTablets, capsulesSwallow with water
sublingualTabletsDissolve under tongue
inhalationInhalersBreathe in deeply
topicalCreamsApply to affected area
subcutaneousInjectionsInject under skin

Administration Site

The site field links to HealthReferenceBodySite:

  • Injection sites
  • Topical application areas
  • Site rotation requirements

PRN Medications

For as-needed medications:

  • asNeeded - Boolean flag
  • asNeededReason - Trigger condition
  • "for pain rated 4 or higher"
  • "for nausea"
  • "for blood pressure > 160"

Safety Limits

Maximum dose constraints:

  • maxDosePerDay - Daily ceiling
  • Prevents accidental overdose
  • Critical for PRN medications
  • Supports clinical alerts

Treatment Duration

The duration field specifies:

  • Total days of treatment
  • Antibiotics: 7-14 days typical
  • Short-term vs. chronic therapy
  • Supports quantity calculation

Sequencing

The sequence field enables:

  • Tapering regimens
  • Step therapy protocols
  • Multi-phase treatments
  • Dose escalation plans

Special Instructions

The additionalInstructions array captures:

  • "Take with food"
  • "Avoid alcohol"
  • "Do not crush"
  • "Refrigerate after opening"
  • "May cause drowsiness"

Use Cases

Simple Daily Medication

For routine chronic therapy:

  1. Set medication reference
  2. Specify dose (10 mg, 1 tablet)
  3. Set frequency (once daily)
  4. Route oral
  5. Duration ongoing
  6. Standard instructions

PRN Pain Medication

For as-needed use:

  1. Set asNeeded: true
  2. Document asNeededReason
  3. Set maxDosePerDay for safety
  4. Provide dosing range if applicable
  5. Add warning instructions
  6. Flag controlled substance status

Antibiotic Course

For infection treatment:

  1. Set specific duration (10 days)
  2. Calculate quantity from frequency
  3. Add "complete full course" instruction
  4. Include food/timing guidance
  5. Note storage requirements

Tapering Regimen

For dose reduction (steroids, etc.):

  1. Create multiple PrescriptionLines
  2. Set sequence numbers (1, 2, 3...)
  3. Decreasing doses per sequence
  4. Specific duration per step
  5. Clear transition instructions

Insulin Dosing

For diabetes management:

  1. Specify units
  2. Set injection route
  3. Document injection site
  4. Timing relative to meals
  5. Sliding scale if applicable
  6. Storage instructions

Related Entities

EntityRelationshipDescription
PrescriptionBelongs toParent prescription order
MedicationReferencesDrug being prescribed
FrequencyContainsDosing schedule
HealthReferenceBodySiteReferencesAdministration site
MedicationAdministrationReferenced byAdministration events
MedicationDispenseReferenced byDispensing events

Calculated Fields

FieldTypeDescription
dailyDosenumberdoseQuantity multiplied by frequency count
isPRNbooleanTrue when asNeeded is true

Enums

doseUnit

ValueDescription
mgMilligrams
gGrams
mcgMicrograms
mlMilliliters
lLiters
tabletTablet count
capsuleCapsule count
sprayNumber of sprays
puffInhaler puffs
dropDrop count
patchPatch count
unitGeneric units
IUInternational Units
mEqMilliequivalents

route

ValueDescription
oralAdministered by mouth
intravenousAdministered into a vein
intramuscularInjected into muscle
subcutaneousInjected under the skin
topicalApplied to skin surface
inhalationBreathed into lungs
rectalAdministered into rectum
sublingualPlaced under tongue
transdermalAbsorbed through skin
ophthalmicApplied to the eye
oticApplied to the ear
nasalAdministered into nose
17 properties
Schema

Properties

PropertyTypeModeDescriptionRequired
prescriptionPrescription
stored

Reference to the parent prescription document containing this medication line

Required
medicationMedication
stored

Reference to the standardized medication being prescribed with coding, form, and strength information

Required
dosageTextstring
stored

Complete human-readable dosage instructions as they should appear on prescription label

Example: "Take 1 tablet by mouth twice daily with food"

Optional
frequencyFrequency
stored

Structured frequency specification defining how often the medication should be taken

Example: {"count":2,"period":1,"periodUnit":"day","when":"with-meal"}

Optional
doseQuantitynumber
stored

Amount of medication to be taken per single administration

Example: 10

Optional
doseUnitstring
stored

Unit of measurement for the dose quantity

Values: mg, g, mcg, ml, l, tablet, capsule, spray, puff, drop, patch, unit, IU, mEq

Example: "mg"

Optional
routestring
stored

Route of administration specifying how the medication enters the body

Values: oral, intravenous, intramuscular, subcutaneous, topical, inhalation, rectal, sublingual, transdermal, ophthalmic, otic, nasal

Example: "oral"

Optional
methodstring
stored

Specific technique or method of administration beyond basic route

Example: "slow IV push over 2 minutes"

Optional
siteHealthReferenceBodySite
stored

Specific anatomical location for administration when route requires site specification

Optional
asNeededboolean
stored

Whether this is a PRN (pro re nata) medication taken only when needed rather than scheduled

Optional
asNeededReasonstring
stored

Specific condition or symptom that triggers PRN medication administration

Example: "for pain rated 4 or higher on 0-10 scale"

Optional
maxDosePerDaynumber
stored

Maximum total amount of medication allowed in 24-hour period for safety

Example: 4000

Optional
durationnumber
stored

Total length of treatment period in days

Example: 10

Optional
sequencenumber
stored

Order number for medications in multi-step or tapering regimens

Example: 1

Optional
additionalInstructionsstring[]
stored

Array of special patient instructions for safe and effective medication use

Example: ["Take with food","Avoid alcohol","Do not crush or chew"]

Optional
dailyDosenumber
calculated

Total medication amount per day calculated from dose quantity multiplied by frequency count

Optional
isPRNboolean
calculated

Calculated boolean indicating if this is an as-needed medication

Optional

Examples

Example 1

{
  "@type": "PrescriptionLine",
  "medication": {
    "@type": "Medication",
    "code": "197361",
    "system": "RxNorm",
    "label": "Lisinopril 10 MG Oral Tablet",
    "genericName": "Lisinopril",
    "form": "tablet",
    "route": "oral",
    "strength": "10 MG"
  },
  "dosageText": "Take 1 tablet by mouth once daily",
  "frequency": {
    "@type": "Frequency",
    "count": 1,
    "period": 1,
    "periodUnit": "day",
    "timeOfDay": [
      "08:00"
    ]
  },
  "doseQuantity": 1,
  "doseUnit": "tablet",
  "route": "oral",
  "asNeeded": false,
  "duration": 30,
  "sequence": 1,
  "_comment": "dailyDose: 10, isPRN: false"
}

Example 2

{
  "@type": "PrescriptionLine",
  "medication": {
    "@type": "Medication",
    "code": "860975",
    "system": "RxNorm",
    "label": "Metformin 500 MG Oral Tablet",
    "genericName": "Metformin",
    "form": "tablet",
    "route": "oral",
    "strength": "500 MG"
  },
  "dosageText": "Take 1 tablet by mouth twice daily with meals",
  "frequency": {
    "@type": "Frequency",
    "count": 2,
    "period": 1,
    "periodUnit": "day",
    "when": "with-meal"
  },
  "doseQuantity": 1,
  "doseUnit": "tablet",
  "route": "oral",
  "asNeeded": false,
  "duration": 90,
  "sequence": 1,
  "additionalInstructions": [
    "Take with food",
    "May cause stomach upset initially"
  ],
  "_comment": "dailyDose: 1000, isPRN: false"
}

Example 3

{
  "@type": "PrescriptionLine",
  "medication": {
    "@type": "Medication",
    "code": "1049502",
    "system": "RxNorm",
    "label": "Oxycodone 5 MG Oral Tablet",
    "genericName": "Oxycodone",
    "form": "tablet",
    "route": "oral",
    "strength": "5 MG",
    "controlledSubstanceSchedule": "II"
  },
  "dosageText": "Take 1-2 tablets by mouth every 4-6 hours as needed for severe pain. Do not exceed 8 tablets in 24 hours.",
  "frequency": {
    "@type": "Frequency",
    "count": 1,
    "period": 4,
    "periodUnit": "hour",
    "maxPerDay": 8,
    "asNeeded": true
  },
  "doseQuantity": 1,
  "doseUnit": "tablet",
  "route": "oral",
  "asNeeded": true,
  "asNeededReason": "for pain rated 7 or higher on 0-10 scale",
  "maxDosePerDay": 40,
  "duration": 5,
  "sequence": 1,
  "additionalInstructions": [
    "Do not drive or operate machinery",
    "Avoid alcohol",
    "May cause drowsiness",
    "Risk of dependence - use only as directed"
  ],
  "_comment": "isPRN: true"
}