healthcare-emr-patterns

Implements EMR/EHR development patterns for clinical encounters, prescriptions, and decision support.

Updated Mar 18, 2026
One-click install
npx skills add https://github.com/freedom909/real-estate-saas --skill healthcare-emr-patterns-freedom909
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: healthcare-emr-patterns
Source: https://github.com/freedom909/real-estate-saas/tree/main/.trae/skills/healthcare-emr-patterns
Command: npx skills add https://github.com/freedom909/real-estate-saas --skill healthcare-emr-patterns-freedom909

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Building Electronic Medical Record systems requires strict patient-safety rules, clinical workflow knowledge, and accessibility standards that typical web development guidance does not cover. This Skill provides concrete patterns for encounter workflows, medication safety, and clinical UI design so developers avoid dangerous mistakes like silent drug-interaction failures or editable signed records. ## Core Features & Use Cases - Single-Page Encounter Workflow: Structures the full clinical encounter (complaint, exam, vitals, diagnosis, medications, sign-off) as a vertical flow with a sticky patient header and smart templates with red-flag alerts. - Medication Safety & CDSS Integration: Defines interaction checking against current medications and allergies, dose validation, blocking of critical interactions, and documented clinician overrides stored in an audit trail. - Locked Encounter & Audit Patterns: Enforces addendum-only edits after signing, with full audit trails for clinical data access and modification. - Use Case: A developer building a hospital outpatient module uses these patterns to implement a chest-pain encounter template that auto-calculates NEWS2 scores from vitals, blocks a Warfarin-Aspirin critical interaction until an override reason is documented, and locks the record after signing. ## Quick Start Use the healthcare-emr-patterns skill to design a patient encounter workflow with drug interaction checking and locked signed records.

Frequently Asked Questions about healthcare-emr-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I design a patient encounter workflow for an EMR system?▼

Structure the encounter as a single vertical page with a sticky patient header showing demographics, allergies, and active medications. Flow through chief complaint, history, examination, vitals, diagnosis, medications, investigations, and sign-off without tab switching.

How to implement drug interaction checking in a prescription module?▼

Check the selected drug against current medications, encounter medications, and patient allergies, then validate dose against weight, age, and renal function. Critical interactions block prescribing until the clinician documents an override reason stored in the audit trail.

Should signed clinical encounters be editable in an EHR?▼

No, signed encounters must be locked with no edits allowed. Corrections are made through an addendum, a separate linked record, and both the original and addendum appear in the patient timeline with full audit trail entries.

What accessibility requirements apply to healthcare data entry UIs?▼

Healthcare UIs require 4.5:1 minimum contrast (WCAG AA), 44x44px touch targets, keyboard navigation, screen reader labels, and no color-only indicators. Clinical alerts must never auto-dismiss; clinicians must actively acknowledge them.

What are common anti-patterns when building EMR software?▼

Avoid storing clinical data in localStorage, silent drug-interaction failures, dismissable toasts for critical alerts, tab-fragmented encounter UIs, editing signed encounters, displaying clinical data without audit trails, and using the any type for clinical structures.