Openemr New Look Working!

Hi guys

i was experimenting and with the help of claude and codex managed to create a nice working good looking Openemr , called SpecialityCare. All tables of openemr can be imported into this laravel project, via the script, including patients, clinical notes, accounts, bills, pharmacy, stocks etc. Posting some pics for any suggestions. It bypasses the authentication system of openemr. The cache, smarty errors , permission errors after upgrades, i used to keep getting all the time, so needed a backup plan. I will still be and am using openemr as it is. So info will be in two places.

If anyone wants a copy of it pl do PM me.

================================================
name: SpecialityCare β€” Full Feature Writeup
description: Comprehensive writeup of all modules and features in the specialitycare HMS, suitable for demos, proposals, or handoffs
type: project
originSessionId: 3c13ea91-6996-481d-bb0a-79e52593609d

SpecialityCare β€” Hospital Management System

James Health Care Pvt. Ltd. | Laravel 11 | Built May 2025


Overview

SpecialityCare is a full-featured, web-based Hospital Management System built for a multi-speciality clinic. It covers the complete patient journey β€” from appointment booking and OPD queue management through clinical encounter documentation, laboratory, pharmacy, IPD admission, billing, and discharge β€” all within a single unified platform accessible by admin, doctors, nurses, and receptionists through role-based access control.


1. Patient Management

  • Registration & Profile β€” Complete patient registration with JHC ID auto-generation, demographics, contact details, emergency contacts, and photo upload.
  • Global Search β€” Instant search from any page by name, JHC ID, or phone number with a slide-in Quick View panel showing vitals, last encounter, outstanding balance, and one-click actions (New Bill, Admit, OPD Token).
  • Deduplication β€” Smart duplicate detection on registration; admin can merge duplicate records without data loss.
  • Allergy Tracking β€” Allergen and allergy records linked to the patient profile; surface during prescribing.
  • Document Store β€” Upload and manage patient documents (lab reports, referral letters, consents, etc.).
  • Outstanding Dues β€” Real-time outstanding balance shown on the patient profile and in the Quick View panel.

2. Appointments

  • Online Booking β€” Book appointments with doctor, date, time, and purpose.
  • Status Workflow β€” Scheduled β†’ Confirmed β†’ Checked-In β†’ In-Progress β†’ Completed / Cancelled.
  • One-Click Check-In / Start Visit β€” Receptionist checks in the patient; doctor starts the encounter directly from the appointment card.
  • Dashboard View β€” Today’s appointment list with status badges and action buttons on the main dashboard.

3. OPD Queue Management

  • Token Issuance β€” Issue OPD tokens at the front desk with patient search, doctor assignment, and priority (Normal / Urgent).
  • Live Queue Board β€” Public-facing display board showing called token with auto-refresh.
  • Wait-Time Column β€” Real-time elapsed wait badge on the nursing station queue: green (<15 min), amber (15–30 min), red (>30 min).
  • OPD Register β€” Printable day-wise register of all tokens.
  • Token Slip β€” Printable token slip with patient details and queue number.

4. Triage / Nursing Station

  • Combined Queue View β€” Single page showing pending triage and full active queue, auto-refreshes every 45 seconds.
  • Full Triage Form β€” Capture triage level (Green / Yellow / Red), chief complaint, BP, pulse, temperature (Β°F), SpOβ‚‚, weight, height, BMI (auto-computed), blood glucose, and nurse notes.
  • Quick Vitals β€” Inline AJAX modal on the queue row to record BP, pulse, temp, SpOβ‚‚, and weight without leaving the page and without requiring a triage level β€” ideal for rapid vital capture before the doctor is ready.
  • Priority Escalation β€” Red triage automatically escalates the token to urgent.
  • Re-Triage β€” Nurse can update triage data at any point before the visit ends.
  • Triage Summary View β€” View saved triage record with full vitals and assessor details.

5. Clinical Encounters

  • Encounter Workflow β€” Each visit creates an Encounter linked to the patient, doctor, and appointment (optional).
  • SOAP Notes β€” Structured Subjective / Objective / Assessment / Plan fields with voice-to-text dictation (Web Speech API) and auto-save every 30 seconds.
  • Encounter Templates β€” Reusable note templates per doctor or specialty.
  • Vitals Recording β€” BP, pulse, temperature, SpOβ‚‚, weight, height, BMI on every encounter.
  • Vitals Trend Charts β€” Interactive chart on the patient profile showing vitals history across encounters.
  • Diagnosis β€” ICD-style diagnosis entry with primary/secondary classification.
  • Follow-Up Scheduling β€” Set a follow-up date; due follow-ups appear on the dashboard and nurse station.
  • Discharge Summary Auto-Draft β€” Auto-generates a structured discharge summary from the encounter data.
  • ECG & Echo Recordings β€” Attach ECG and echocardiogram records to an encounter.

6. Prescriptions

  • Prescription Builder β€” Add medicines with dose, frequency, duration, route, and instructions.
  • Prescription Templates β€” Save and reuse prescription templates for common conditions.
  • Drug Interaction Alerts β€” Real-time warnings when adding a medicine that interacts with another already on the prescription (backed by a ~100-rule interaction database).
  • Expiring Rx Alert β€” Dashboard badge and sidebar card listing undispensed prescriptions whose duration expires within 7 days, so nurses can follow up on collection.
  • Print / Email Rx β€” One-click print and email of the prescription PDF to the patient.
  • Dispensing Link β€” Prescription items flow directly into the pharmacy dispensing workflow; dispensed items are marked to avoid re-dispensing.

7. Laboratory

  • Lab Order Management β€” Doctors raise lab orders from within an encounter; orders are visible to the lab technician.
  • Lab Tests & Panels β€” Configurable test catalogue with reference ranges by age and gender.
  • Result Entry β€” Technician enters results per test item; abnormal values are flagged automatically.
  • Status Workflow β€” Ordered β†’ Collected β†’ Processing β†’ Completed.
  • Results Ready Alert β€” Dashboard badge when lab results are completed today and awaiting clinical review.
  • Pending Labs KPI β€” Dashboard stat card for all in-progress orders.
  • Print Report β€” Formatted lab report printout.

8. Radiology

  • Radiology Orders β€” Raise radiology requests (X-Ray, MRI, CT, Ultrasound, etc.) from the encounter.
  • Report Entry β€” Attach findings and reports to the order.
  • Status Tracking β€” Ordered β†’ Reported workflow.

9. Pharmacy

  • Medicine Catalogue β€” Master list of medicines with category, form, strength, reorder level, and HSN code.
  • Stock Management β€” Batch-wise stock register with purchase date, expiry date, and quantity; FIFO-aware.
  • Dispensing β€” Dispense against OPD prescriptions; quantity is deducted from the correct batch.
  • Low Stock Alert β€” Dashboard badge and detail card for medicines at or below reorder level.
  • Expiring Stock Alert β€” Dashboard badge and detail card for batches expiring within 90 days.
  • Drug Interaction Rules β€” Admin-managed interaction rules (~100 seeded pairs); real-time warnings in the prescription builder.
  • Pharmacy Dashboard β€” Overview of dispensing queue, stock status, and expiry calendar.

10. IPD (In-Patient Department)

  • Admissions β€” Admit a patient to a ward and bed with admitting doctor, admission date, diagnosis, and deposit.
  • Ward & Bed Management β€” Configure wards and beds; track availability in real time.
  • Bed Board β€” Visual bed board color-coded by length of stay: green (day 1), amber (days 2–3), orange (days 4–6), red (day 7+) with a day-count badge on each tile and a ward-level long-stay alert.
  • IPD Census β€” Dashboard sidebar widget showing patient count per ward.
  • Room Charges β€” Daily room charge generation for all admitted patients (one-click from dashboard).
  • IPD Medications β€” Administer inpatient medications and log doses.
  • Diet Prescriptions β€” Attach diet plans to IPD admissions.
  • Nursing Notes (I/O Chart) β€” Intake/output charting for IPD patients.
  • Discharge Process β€” Discharge with date, discharge diagnosis, condition on discharge, and auto-drafted summary.
  • IPD Charges β€” Track all charges (room, procedures, consumables) for the admission.
  • Deposits & Advance β€” Record and track advance deposits against the admission.

11. Billing & Finance

  • OPD Bills β€” Generate itemised bills for outpatient visits with service charges.
  • Package Billing β€” Pre-configured service packages that populate multiple line items at once.
  • Quick Bill Modal β€” From the encounter page, open a pre-populated bill modal with consultation fee and lab items already filled; add more services from a searchable catalogue; set discount, payment method, and paid amount β€” without navigating away.
  • IPD Bills β€” Consolidated billing for all IPD charges on discharge.
  • Payments β€” Record full or partial payments; track balance due.
  • Overdue Bills Badge β€” Sidebar badge showing count of unpaid bills older than 7 days.
  • Pending Bills Alert β€” Dashboard alert for all unpaid bills.
  • Insurance & Claims β€” Attach insurance details to admissions; manage claims.
  • Day-End Report β€” End-of-day financial summary for cash reconciliation.
  • Outstanding Dues β€” Per-patient and aggregate outstanding balance views.

12. Dashboard & Analytics

  • KPI Cards β€” Live stat cards for OPD tokens, appointments, IPD census, beds, revenue, labs, and pharmacy β€” auto-refreshed via AJAX every 60 seconds.
  • Revenue Chart β€” Monthly OPD + IPD combined bar chart for the current year.
  • Revenue Drill-Down β€” Click any month on the revenue chart to open a day-by-day modal chart with OPD, IPD, and combined totals.
  • Alerts Section β€” Consolidated alert panel: pending labs, low stock, expiring stock, unpaid bills, lab results ready, and expiring prescriptions.
  • Follow-Ups Due β€” Sidebar widget listing today’s follow-up encounters with one-click navigation.
  • Diagnosis Analytics β€” Frequency charts for diagnoses across encounters (top conditions, trends).
  • Bed Occupancy % β€” Live occupancy percentage with a color-coded progress bar on the dashboard.

13. Notifications

  • In-App Notification Bell β€” Bell icon in the topbar with unread badge; dropdown lists recent system notifications.
  • Admin Email Notifications β€” Automatic email alerts to admin on key events: new admission, discharge, new patient registration, lab result ready, low stock.

14. Paediatric Features

  • Vaccination Tracker β€” Record and track immunisations against the standard vaccination schedule; due and overdue vaccines highlighted.
  • Paediatric Growth Charts β€” WHO-standard weight-for-age and height-for-age charts plotted from vitals history.

15. Consent & Legal

  • Consent Templates β€” Configurable consent form templates (surgical, anaesthesia, general treatment, etc.).
  • Consent Records β€” Issue and record signed consent for a patient encounter or admission; attach scanned signature.
  • Medical Certificates β€” Generate medical fitness or leave certificates from an encounter.

16. Referrals

  • Outgoing Referrals β€” Refer a patient to an external specialist or facility; track referral status.
  • Referral Dashboard β€” Overview of all active referrals.

17. Operation Theatre

  • OT Scheduling β€” Schedule surgical procedures with surgeon, anaesthetist, date, and room.
  • OT Notes β€” Record operative findings and post-op instructions.

18. Staff & Administration

  • User Management β€” Create staff accounts with roles: Admin, Doctor, Nurse, Receptionist, Lab Technician, Pharmacist.
  • Role-Based Access β€” Each role sees only the screens and actions relevant to them.
  • Doctor Profiles β€” Specialization, qualifications, schedule, and signature for prescriptions.
  • Settings β€” Hospital name, logo, address, contact details, currency, and system preferences.
  • Activity Logs β€” Full audit trail of all key actions with user, timestamp, and description.

19. Data & Integration

  • Backup β€” One-click full database backup downloadable as a SQL file.
  • CSV Export β€” Export patients, encounters, billing, and lab data to CSV for reporting.
  • Import β€” Bulk patient import via CSV.
  • Email β€” SMTP-integrated email for prescriptions, bills, and admin notifications.
  • Print β€” Formatted print views for tokens, slips, bills, lab reports, prescriptions, and discharge summaries.
  • API β€” Internal API endpoints for AJAX operations (search, stats refresh, drill-down data, quick actions).

20. UX & Developer Notes

  • Responsive Design β€” Works on desktop and tablet; sidebar collapses on smaller screens.
  • Design System β€” Custom CSS variables (--sc-navy, --sc-teal, --sc-amber, --sc-red, --sc-green) applied consistently; card, table, badge, and button components.
  • Global Search β€” Searches patients, encounters, and bills from the topbar on any page.
  • Quick View Panel β€” Slide-in patient summary panel from search results without navigating away.
  • Voice-to-Text β€” Web Speech API dictation on clinical note fields.
  • Auto-Save β€” Encounter notes auto-saved every 30 seconds to prevent data loss.
  • Select2 Dropdowns β€” Searchable medicine and service dropdowns throughout.
  • Chart.js β€” Interactive charts for revenue, vitals trends, and growth charts.

============================================

1 Like

Does the left panel have a collapse/hide toggle, or is it always visible?

1 Like

That’s not there but can be made available.

How do I update OpenEMR with a patch or version?

After every patch or my server changes always used to have issues. Then fixing it…

Once the data is imported one could continue to use Speciality Care no need of patches.

I am surprised how good the Codex and Claude have become. It took them 1 hr to make this , import data from open emr.

I plan to continue openemr and and speciality care. Both. That’s the safe approach. The import script uses update so only the missing enteries are importedm

I’m just wondering, where did you host this that is HIPAA compliant?

I just imported my data and remapped to the tables in my db. After that i am on my own. Openemr stays as it is.





added claude Clinical AI Assistant.

Added full hospital management features. Added speech to text also and a tiny editor to add bullets etc to text.

1 Like

Looks great! Have you uploaded to Github? If not, do you plan to?

1 Like

yes i have, right now the repo is private. will set it to public soon once i am done with adding the features.

added a few more pics of the work.

1 Like

This is quite impressive. Great job.

Let’s know when we can take it for a spin.

1 Like

Really nice work on this :clap:
Quick question regarding billing β€” I couldn’t see any GST/tax handling in the billing flow.

For Indian clinics/hospitals, how are you handling taxation? Is it intentionally omitted because healthcare services are exempt, or is tax support provisioned somewhere internally for applicable items/services?

1 Like

Yes I missed that part.
GST wherever applicable I will add.

added accounts section just like tally software.

this is all test data, no privacy issues. I will show to my CA and confirm if all is good.

2 Likes