Shifa One — Medical Management Platform · Feature List

Modular, multi-tenant medical platform built on the Static ERP core (POS, inventory, purchasing, accounting, HR) and the ClinicCore clinical engine — extended per the SIFA Medical plan. Reuse-first: every feature binds to the existing ERP; nothing is duplicated.

LIVE shipped & smoke-tested on the demo PLANNED scheduled in a later phase

Platform Foundation

Modules: MedOrganization · MedRegistry — Phase 1 (commit 50fbdd8)

FeatureDetailsStatus
Business-type setup wizard10 presets (Hospital, Polyclinic, Single-Specialty Clinic, BioClinic, Laboratory, Imaging Center, Pharmacy, Dialysis, Physiotherapy, Diagnostic Center) + Custom — pick type → confirm modules → install (/med-setup)LIVE
Module registry & catalogAll 83+ platform modules catalogued with medical metadata (category, dependencies, installable per tenant/facility/department)LIVE
Per-facility module controlEnable / disable / soft-lock any module per tenant, branch or department; dependency auto-resolution (e.g. ICU ⇒ Inpatient + Beds)LIVE
Schema-driven module settingsPer-module settings forms auto-generated from a JSON schema (e.g. Dental: online booking, X-ray integration)LIVE
Facility profiles & hierarchyBranch typing (hospital/clinic/lab/…), parent-child nesting (≤5 levels), working hours, capacity, geoLIVE
Departments & roomsTyped departments (clinical/diagnostic/admin/support) with heads & hours; rooms with type, equipment, statusLIVE
Staff ↔ department assignmentMany-to-many with primary department; drives department-level data scopingLIVE
License & credential trackingMedical licenses/certifications with verification workflow and daily expiry alertsLIVE
Medical RBAC roles12 predefined roles seeded per tenant (doctor, nurse, pharmacist, lab technician, radiologist, receptionist, billing clerk, …) — additive, nothing existing changesLIVE
ABAC access rulesAttribute rules engine (doctor sees assigned patients; nurse edits vitals not diagnosis; billing clerk blocked from clinical notes; pharmacist read-only Rx)LIVE

Shared Services

Modules: MedNotify · MedDocuments — Phase 2 (commit 6056a5a)

FeatureDetailsStatus
Unified notificationsOne notify() API → in-app, email, SMS, WhatsApp (Meta Cloud API); per-module editable templates with variablesLIVE
User preferences & digestsPer-user per-event channel opt-outs, quiet hours (incl. overnight), hourly/daily digestsLIVE
Notification audit logEvery send logged with status (sent/failed/skipped/digested) and error detailLIVE
Document management15 system document types + custom; attach to any record (patient, encounter, invoice…)LIVE
Versioning & share linksFull version chain per document; expiring 64-char share tokens with revocationLIVE
Watermarking & access auditViewer-stamped watermarks (images via GD, PDFs via mPDF); every view/download/print logged; private storage off the web root; SmartStorage backends (S3/Drive/Dropbox + encryption) honored when activeLIVE

Medical Core (Clinical Spine)

Module: ClinicCore (extended in place) — Phase 3; Wave A shipped (commit b7b2c8b)

FeatureDetailsStatus
Patient masterFull identity (national ID, passport, marital, nationality, language, preferred name) on top of existing demographics/blood group; ERP contact = billing identityLIVE
Structured allergiesTyped (drug/food/environmental/latex), severity to life-threatening, verification source; severe allergies auto-raise patient alertsLIVE
Current medications & insurance cardsHome-medication list; patient insurance policies (provider, policy, copay, pre-auth flag)LIVE
Patient merge & dedupConfidence-scored duplicate detection; audited merge that repoints every clinical table incl. all 45 specialty profilesLIVE
Medical alertsCentral registry (allergy, critical value, fall risk, isolation, consent-missing…) with acknowledge workflow; banner on clinical screens; critical alerts push via MedNotifyLIVE
Problem listLongitudinal conditions with ICD codes, certainty, type, resolution datesLIVE
EncountersTyped encounters (outpatient/telemedicine/home visit/day care), priority, check-in→discharge times, structured ICD-10 diagnoses feeding the problem list, follow-up linking, timelineLIVE
Clinical notes (SOAP+)SOAP engine + sign & lock with co-sign, amendment audit trail, typed notes (progress/consultation/discharge…), nurse/doctor field-level rules (ABAC), voice-dictation hook (AiCore)LIVE
Vitals 2.0Full standard set (BP, SpOâ‚‚, pain, glucose, GCS with auto-totals + temp/HR/RR/weight, auto-BMI) with reference-range flagging, critical-value alerts and trend chartsLIVE
e-Prescriptions+e-Rx + refills, PRN, substitution control; drug-allergy safety screen (severe hits block & alert) + duplicate-therapy warning; controlled-drug register (witnessed, insert-only, running balance)LIVE
Unified ordersOne order entity for lab / imaging / procedures / consultations — auto-routes to the imaging flow and LabCore worklist, status roll-up, verify workflow, critical-result alertsLIVE
Scheduling+Provider schedules with effective windows, breaks, per-slot capacity & overbooking; schedule exceptions; one availability engine for staff + public booking; waitlist with slot-available notifications; Today's Queue flow boardLIVE
ReferralsInternal/external referrals with tracking and printed letters — shipped with the Release 1 waveLIVE
Already live from the existing ClinicCore engine: 45-specialty registry (Dental tooth chart, Ophthalmology refraction/IOP, OB/Gyn EDD, …), structured exam templates with critical flags, vaccinations with boosters & recalls, imaging requests (XR/US/CT/MR/Endo), lab analyzer integration (LabCore/ClinicLab), treatment plans, wellness memberships, consents with digital signatures, evaluations, OTP patient portal & staff PWA, public booking, WhatsApp recalls.

Revenue Path — Release 1 target

Phase 4 — billing/insurance · pharmacy · laboratory (binds to ERP invoicing, POS & stock)

FeatureDetailsStatus
Charge captureEncounters/orders/Rx auto-draft into real ERP invoices (consultation fee + lab-catalog-priced orders + dispensed medicines), one sell per patient, stock deducted exactly onceLIVE
Insurance & claimsPayers, patient policies, coverage/copay split, claims lifecycle (submit → adjudicate per item → appeal → paid w/ ERP payment), pre-auth tracking, claim printLIVE
Pharmacy dispensingPharmacist dispense queue against e-Rx with FEFO batch guidance, allergy re-check at dispense, witnessed controlled-drug register, prescription-ready notification; retail POS live; interaction-engine mount point readyLIVE
Laboratory upgradeBillable test catalog (panels, analytes, critical bounds, ERP pricing), barcode specimen lifecycle with rejection write-back, tech→verifier validation closing the order loop, critical-value alerts, external-provider outreachLIVE
ReferralsInternal/external referrals with status tracking, encounter prefill, printed referral letter (meds + allergies included), book-from-referralLIVE
Clinical stock consumptionClinical events (e.g. vaccinations) post real ERP stock adjustments via the standard pathway — no parallel inventoryLIVE

Diagnostics, Specialties & Hospital

Phases 5–6

FeatureDetailsStatus
Radiology reportingModality worklist, structured reports (draft/preliminary/final/amended), critical-findings communication; imaging orders/studies already livePLANNED
Specialty deep-divesDental CDT treatment-plan builder; Derma lesion body-map & photo compare; Ophthalmology glasses Rx & glaucoma tracking; diagnostic-center order plugins (ECG/Echo, endoscopy, PFT, audiometry, vision)PLANNED
Bed managementWards/beds board with status & cleaning states, transfers with history, bed-available notificationsLIVE
InpatientAdmissions (ADM numbering, elective→observation types), MAR generated from inpatient Rx with witnessed controlled doses, fluid balance, discharge workflow releasing bedsLIVE
EmergencyArrival quick-reg, ESI triage with vitals-driven suggestions, ER tracking board with door-to-doctor metrics, LWBS, admit hand-off to wardsLIVE
Surgery & ICUSurgical cases with WHO Sign-In/Time-Out/Sign-Out (consent gate blocks the OR), sponge/instrument counts with discrepancy blocking, OR board, implant registry; ICU flowsheets with auto-MAP + critical alerts, APACHE/SOFALIVE
Blood bankDonors on ERP contacts with deferral rules, 4-marker screening quarantine, ABO/Rh compatibility matrix, FIFO issuance, crossmatch gate, transfusion-reaction alerts, expiry sweepsLIVE

Back Office & Patient Portal

Phases 7–8 (Essentials HR, ERP accounts and the OTP portal are the live base)

FeatureDetailsStatus
HR & workforce (MedWorkforce)Duty-roster board with shift templates & bulk assign, swap requests with approval, credential-compliance dashboard bound to the license tracking; over the live Essentials HR (attendance/leave/payroll)LIVE
Accounting (MedAccounting)Chart of accounts + accrual journal layer auto-posting from existing sells/payments; Trial Balance (proven balanced), General Ledger, Income Statement, Balance Sheet, cost-center P&L; period locksLIVE
Patient portal+ (MedPortal)Dependents/family, provider-controlled record release, secure patient↔provider messaging, health self-tracking, PHQ-9/GAD-7 questionnaires, temporary provider share; over the live OTP portal & bookingLIVE
Telemedicine & online paymentJoin-link + payment-intent surfaces are stubbed; real video (Zoom/Meet/Teams) and payment-gateway integration are backlogSTUB / BACKLOG

Quality & Validation Gates

GateDetailsStatus
Reuse-first auditPhase 0 audit docs: existing-features inventory, reuse map, gap list, tenancy/permission migration path (docs/audit/)DONE
Per-phase smoke testsEvery phase migrated, seeded and functionally tested on the live demo DB before commitONGOING
Full browser E2E (MCP)After all phases: automated browser walkthrough of every module and seeder on the live demo, per roleSCHEDULED
Human-edition terminologyVeterinary-heritage terms swept from all clinical screens (46 files); animal-only fields hidden behind a config switch (re-enable for vet deployments with one flag)DONE
Production defect fixesPatient page 500 on the standalone deployment fixed: SaasSwitcher-only middleware alias + module_entitled() helper now have fail-open module-side fallbacks; allergies relation/column collision resolvedDONE
Theme & performance add-onsNeoSkin (dark re-skin) and TurboBoost (gzip/cache) held back until testing + explicit approvalON HOLD