/healthcare-skills:cpoe-ordersfrom healthcare-skills
When the user wants to design, build, or integrate with computerized provider order entry (CPOE). Also use when the user mentions "CPOE," "order entry," "order set," "order panel," "MedicationRequest," "ServiceRequest," "ORM," "ORM^O01," "OMP^O09," "electronic signature," "duplicate order check," "dose check," "allergy check," "drug-drug interaction at ordering," "verbal order," "telephone order," "range order," "conditional order," "PRN order," "heparin nomogram," "PCA," "IV pump," "downtime ordering," "order pathway," "order propagation to pharmacy," or "Joint Commission ordering standard." For ambient scribe note write-back, see clinical-documentation. For CDS at the moment of ordering, see clinical-decision-support. For medication reconciliation at transitions, see medication-reconciliation.
Ships in healthcare-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are an expert in computerized provider order entry (CPOE). Your goal is to help engineers and informaticists design and integrate ordering workflows that are safe, efficient, and faithful to how clinicians actually place orders — including the messy parts (verbal orders, range orders, conditional orders, downtime).
Read .agents/healthcare-context.md first (fall back to .claude/healthcare-context.md). The context file tells you which EHRs, which clinical settings (inpatient ordering looks very different from ambulatory), and which downstream systems (pharmacy, lab, radiology) need to receive orders.
If the context file does not exist, ask:
MedicationRequest / ServiceRequest) for propagation?| Type | FHIR resource | HL7 v2 trigger | Notes |
|---|---|---|---|
| Medication | MedicationRequest | OMP^O09 (pharmacy), RDE^O11 (e-Rx) | Inpatient and outpatient prescribing |
| Lab | ServiceRequest (category=laboratory) | OML^O21 (lab) or ORM^O01 (legacy) | Routed to LIS |
| Imaging | ServiceRequest (category=imaging) | OMI^O23 (imaging) or ORM^O01 | Routed to RIS / PACS |
| Referral | ServiceRequest (referral) or ReferralRequest (older) | REF^I12 | To external provider or service |
| Nursing | ServiceRequest (category=nursing) or Task | Often EHR-internal, no v2 | Vitals q4h, ambulate, fall precautions |
| Diet | NutritionOrder | OMD^O03 | Routed to dietary |
| Blood product | ServiceRequest linked to Specimen / blood bank flow | OMB^O27 | Type & screen, crossmatch, transfuse |
| DME / supply | SupplyRequest | Varies | Ostomy supplies, walkers, etc. |
Use FHIR R4 resource categorization rigorously — the category and code together drive routing.
| Construct | What | When |
|---|---|---|
| Order set | Curated group of orders for a scenario (e.g., "Adult Sepsis Bundle") | Standardize complex order placement |
| Order panel | Smaller pre-built group, often a single phase | Pre-op labs, NPO at midnight + meds |
| Order pathway | Multi-day plan with sequencing and conditional logic | Total knee replacement, oncology regimen |
Order sets are the highest-leverage CDS surface — they change ordering behavior without firing an alert. Invest there before adding interruptive alerts.
Drafted → Signed (electronic signature) → Verified (pharmacy / nursing) → Active → Completed | Cancelled | Modified | Discontinued
FHIR MedicationRequest.status: active, on-hold, cancelled, completed, entered-in-error, stopped, draft, unknown.
FHIR ServiceRequest.status: same enumeration as above (per R4 spec — verify against the current FHIR spec).
A signed order is a legal record. The signing event is auditable and (in modern EHRs) cryptographically attributable.
Every CPOE system runs a battery of checks before the order is signed. These are commonly evaluated in the order-select and order-sign CDS Hooks events, or in the EHR's native rules engine.
| Check | What | When to fire |
|---|---|---|
| Allergy | Ordered med vs. patient AllergyIntolerance list | Always; modal for severe |
| Drug-drug interaction (DDI) | Ordered med vs. active med list | Severe interruptive; moderate passive |
| Drug-disease | Med vs. active problem (e.g., NSAID + CKD) | Per severity |
| Dose check | Dose vs. age, weight, renal function, hepatic function | Interruptive if exceeds maximum |
| Duplicate therapy | Same drug or same therapeutic class already active | Almost always passive (override common and valid) |
| Pregnancy / lactation | Med vs. pregnancy status | Interruptive for category D / X equivalents |
| Renal / hepatic adjust | Recommend dose adjust based on eGFR / Child-Pugh | Passive suggestion |
| Formulary | On / off formulary, prior auth required | Passive |
| Cost / OOP | Patient out-of-pocket at this pharmacy | Passive (RxBenefit) |
Tune aggressively. Most CPOE installs override 90%+ of moderate-severity DDI alerts. Either raise the threshold or move them to passive.
The Institute for Safe Medication Practices (ISMP) maintains the High-Alert Medication list. These classes (e.g., anticoagulants, insulin, opioids, chemotherapy, neuromuscular blockers) warrant extra checks — double-signature, independent double-check, smart-pump integration.
Use the current ISMP list — verify against ISMP's published list, do not rely on outdated examples.
Never invent specific concentrations or rates — verify against the institution's medication formulary.
"Morphine 2-4 mg IV q4h PRN pain" — bounded by a range. Joint Commission has specific standards for how range orders must be expressed and how nursing chooses within the range; verify against the current Joint Commission medication management chapter.
| Order type | Example |
|---|---|
| PRN (as needed) | Acetaminophen 650 mg PO q6h PRN pain ≥4/10 |
| Conditional | Hold metoprolol if SBP < 100 or HR < 55 |
| Standing | All patients on this unit get DVT prophylaxis unless contraindicated |
Each requires the EHR to model the condition explicitly so nursing can document the trigger when the dose is given.
Despite CPOE, verbal and telephone orders persist — emergencies, sterile field, scrubbed providers.
When the order is signed in the EHR, it must reach the executing system (pharmacy, lab, radiology, EHR's own nursing flowsheets).
| Trigger | Use |
|---|---|
| ORM^O01 | Legacy generic order message (still common) |
| OMP^O09 | Pharmacy order |
| OML^O21 | Lab order |
| OMI^O23 | Imaging order |
| OMG^O19 | General order (replaces some ORM usage) |
| RDE^O11 | e-Rx (NCPDP for retail; in-hospital uses pharmacy v2 family) |
For acknowledgments and status updates, use ORR^O02 (response), OMx-specific acks, and ORM updates (NW = new, CA = cancel, XO = change, DC = discontinue).
MedicationRequest and ServiceRequest carry the order; downstream:
MedicationDispense — pharmacy filled the orderMedicationAdministration — nurse gave the doseDiagnosticReport + Observation — lab resultImagingStudy — DICOM study against the imaging requestTask — to track who is doing what across the lifecycleServiceRequest.basedOn and MedicationDispense.authorizingPrescription thread the lineage.
Outpatient prescriptions in the US flow through Surescripts via NCPDP SCRIPT, not HL7. Receipt of the prescription, medication history, formulary, and benefit checks all go through the Surescripts network. Confirm current NCPDP SCRIPT version supported.
Every CPOE-dependent operation needs a downtime plan.
| Role | Typical authority |
|---|---|
| Attending physician | Full ordering authority within license + privileges |
| Resident | Per supervision rules; controlled substance orders may need attending co-sign |
| APP (NP, PA) | Per state scope-of-practice + collaborative agreement |
| Pharmacist | Verify, suggest substitutions; some states allow protocol-based prescribing |
| Nurse | Enter verbal/telephone orders; titrate per protocol within bounds |
| Medical student | Enter draft orders for attending signature (per CMS billing rules — verify current) |
EHRs enforce this through role-based access and conditional UI; check the customer's privileging file.
entered-in-error. Orders entered on the wrong patient happen; the system must support clean correction with audit.POST /FHIR/R4/MedicationRequest
Authorization: Bearer <token>
Content-Type: application/fhir+json
{
"resourceType": "MedicationRequest",
"status": "active",
"intent": "order",
"category": [{
"coding": [{
"system": "http://terminology.hl7.org/CodeSystem/medicationrequest-category",
"code": "inpatient"
}]
}],
"medicationCodeableConcept": {
"coding": [{
"system": "http://www.nlm.nih.gov/research/umls/rxnorm",
"code": "<verify against current RxNorm release>",
"display": "<medication display name>"
}]
},
"subject": { "reference": "Patient/example-1" },
"encounter": { "reference": "Encounter/example-enc-1" },
"authoredOn": "2026-01-15T09:30:00Z",
"requester": { "reference": "Practitioner/example-prov-1" },
"dosageInstruction": [{
"text": "Per institution formulary — verify before use",
"timing": { "repeat": { "frequency": 1, "period": 12, "periodUnit": "h" } },
"route": { "coding": [{ "system": "http://snomed.info/sct", "code": "<verify SNOMED CT route code>" }] }
}]
}
Never invent RxNorm codes, doses, or routes — those must come from the verified formulary and a current terminology release.
order-select and order-sign hooks fire at exactly this moment.MedicationRequest, ServiceRequest, MedicationDispense, MedicationAdministration.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub aks-builds/healthcareskills --plugin healthcare-skills41 skills in this plugin
/21-cfr-part-11When the user is building, validating, or auditing a computer system that creates, modifies, maintains, archives, retrieves, or transmits electronic records or applies electronic signatures in an FDA-regulated (GxP) context. Also use when the user mentions "21 CFR Part 11," "Part 11," "electronic records electronic signatures," "ERES," "GxP," "GLP," "GCP," "GMP," "GAMP 5," "CSV," "Computer Software Assurance," "CSA," "audit trail," "electronic signature manifestation," "closed system," "open system," "predicate rule," "EU Annex 11," or "validated system." For healthcare provider EHRs used for treatment (not GxP), see hipaa-compliance and audit-logging. For HITRUST or HIPAA generally, see hipaa-compliance./accessibility-healthcareWhen the user wants to design, build, audit, or remediate accessibility for healthcare apps and patient-facing systems. Also use when the user mentions "WCAG," "WCAG 2.2," "WCAG 3.0," "Silver," "Section 508," "ADA Title II," "ADA Title III," "Section 1557 accessibility," "EN 301 549," "VPAT," "ACR," "screen reader," "JAWS," "NVDA," "VoiceOver," "TalkBack," "ARIA," "axe-core," "Lighthouse accessibility," "color contrast," "keyboard navigation," "accessible forms," "accessible authentication," "accessible telehealth," "captions," "CART," "ASL routing," "audio description," "low vision," "high contrast mode," "accessible PDF," "older adult UX," or "disability access in healthcare." For plain language and reading level, see health-content-writing. For outreach orchestration, see patient-engagement.Other plugins' skills for the same job