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 dosedoseUnit- 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:
| Route | Common Forms | Instructions |
|---|---|---|
oral | Tablets, capsules | Swallow with water |
sublingual | Tablets | Dissolve under tongue |
inhalation | Inhalers | Breathe in deeply |
topical | Creams | Apply to affected area |
subcutaneous | Injections | Inject 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 flagasNeededReason- 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:
- Set medication reference
- Specify dose (10 mg, 1 tablet)
- Set frequency (once daily)
- Route oral
- Duration ongoing
- Standard instructions
PRN Pain Medication
For as-needed use:
- Set
asNeeded: true - Document
asNeededReason - Set
maxDosePerDayfor safety - Provide dosing range if applicable
- Add warning instructions
- Flag controlled substance status
Antibiotic Course
For infection treatment:
- Set specific duration (10 days)
- Calculate quantity from frequency
- Add "complete full course" instruction
- Include food/timing guidance
- Note storage requirements
Tapering Regimen
For dose reduction (steroids, etc.):
- Create multiple PrescriptionLines
- Set sequence numbers (1, 2, 3...)
- Decreasing doses per sequence
- Specific duration per step
- Clear transition instructions
Insulin Dosing
For diabetes management:
- Specify units
- Set injection route
- Document injection site
- Timing relative to meals
- Sliding scale if applicable
- Storage instructions
Related Entities
| Entity | Relationship | Description |
|---|---|---|
| Prescription | Belongs to | Parent prescription order |
| Medication | References | Drug being prescribed |
| Frequency | Contains | Dosing schedule |
| HealthReferenceBodySite | References | Administration site |
| MedicationAdministration | Referenced by | Administration events |
| MedicationDispense | Referenced by | Dispensing events |
Calculated Fields
| Field | Type | Description |
|---|---|---|
dailyDose | number | doseQuantity multiplied by frequency count |
isPRN | boolean | True when asNeeded is true |
Enums
doseUnit
| Value | Description |
|---|---|
mg | Milligrams |
g | Grams |
mcg | Micrograms |
ml | Milliliters |
l | Liters |
tablet | Tablet count |
capsule | Capsule count |
spray | Number of sprays |
puff | Inhaler puffs |
drop | Drop count |
patch | Patch count |
unit | Generic units |
IU | International Units |
mEq | Milliequivalents |
route
| Value | Description |
|---|---|
oral | Administered by mouth |
intravenous | Administered into a vein |
intramuscular | Injected into muscle |
subcutaneous | Injected under the skin |
topical | Applied to skin surface |
inhalation | Breathed into lungs |
rectal | Administered into rectum |
sublingual | Placed under tongue |
transdermal | Absorbed through skin |
ophthalmic | Applied to the eye |
otic | Applied to the ear |
nasal | Administered into nose |
Properties
| Property | Type | Mode | Description | Required |
|---|---|---|---|---|
| prescription | Prescription | stored | Reference to the parent prescription document containing this medication line | Required |
| medication | Medication | stored | Reference to the standardized medication being prescribed with coding, form, and strength information | Required |
| dosageText | string | stored | Complete human-readable dosage instructions as they should appear on prescription label Example: | Optional |
| frequency | Frequency | stored | Structured frequency specification defining how often the medication should be taken Example: | Optional |
| doseQuantity | number | stored | Amount of medication to be taken per single administration Example: | Optional |
| doseUnit | string | stored | Unit of measurement for the dose quantity Values: Example: | Optional |
| route | string | stored | Route of administration specifying how the medication enters the body Values: Example: | Optional |
| method | string | stored | Specific technique or method of administration beyond basic route Example: | Optional |
| site | HealthReferenceBodySite | stored | Specific anatomical location for administration when route requires site specification | Optional |
| asNeeded | boolean | stored | Whether this is a PRN (pro re nata) medication taken only when needed rather than scheduled | Optional |
| asNeededReason | string | stored | Specific condition or symptom that triggers PRN medication administration Example: | Optional |
| maxDosePerDay | number | stored | Maximum total amount of medication allowed in 24-hour period for safety Example: | Optional |
| duration | number | stored | Total length of treatment period in days Example: | Optional |
| sequence | number | stored | Order number for medications in multi-step or tapering regimens Example: | Optional |
| additionalInstructions | string[] | stored | Array of special patient instructions for safe and effective medication use Example: | Optional |
| dailyDose | number | calculated | Total medication amount per day calculated from dose quantity multiplied by frequency count | Optional |
| isPRN | boolean | 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"
}