Commit Graph

826 Commits

Author SHA1 Message Date
2ed2bfa99c feat(auth): add Login Page Configuration Panel with Left/Center/Right layout and styling controls 2026-10-27 21:28:44 +05:30
7bb751cc41 feat(auth/settings): add hospital login wallpaper upload and redesign right-docked login page
- Add login wallpaper upload, preview, and deletion in Hospital Profile settings

- Redesign login page with right-docked form and left hospital branding hero

- Implement clean blank neutral fallback when no wallpaper is configured

- Add automated unit tests for wallpaper rendering and fallback behavior
2026-10-27 12:19:07 +05:30
1880ec60ae feat(pharmacy): implement abdm sync-pack command and local-first hybrid drug search 2026-10-27 01:53:21 +05:30
728eaea113 feat(pharmacy): display full drug details with strength, formulation, and manufacturer in abdm search suggestions 2026-10-27 01:35:50 +05:30
cf25a00ef5 perf(pharmacy): optimize product master load with company ajax search and cached abdm drug lookup 2026-10-27 01:23:34 +05:30
40ce7b7a0f fix(mobile): add auto-search on typing in stock audit and remove copyright footer 2026-10-27 00:41:59 +05:30
c26b5bf01e fix(pharmacy): resolve internal doctor linking and auto-matching for mobile draft invoices 2026-10-27 00:32:25 +05:30
97ca466d2f fix(pharmacy): resolve CSRF, schema auto-migration, and error handling for mobile draft basket 2026-10-27 00:23:10 +05:30
9f6d9d3799 feat(pharmacy): add Central Pharmacy Mobile PWA with IPD/OPD/UHID search, Rx picker, draft billing, and physical stock audit 2026-10-26 23:49:28 +05:30
5a13ce2b56 feat(pharmacy): enhance PO creation with medicine master search, last PTR auto-fill, exact GST selection, and scheme/discount support 2026-10-26 22:31:00 +05:30
083a82dcb6 feat(pharmacy): add expired medicine disposal, quick return and rich product search
- Add direct expiry disposal (write-off) and quick return from Nearest Expiry report
- Add Disposal Register view and PDF audit certificate
- Add supplier info and rich selectable autocomplete in purchase return search
- Register disposal & quick return routes in Routes.php
2026-10-25 23:27:06 +05:30
51c06304d0 fix(billing & pharmacy): fix IPD medical bill package classification, default empty qty, and doctor ajax selection
- IPD Billing: replace ambiguous 'In Package' switch with explicit 'Include in IPD Bill (Normal)' / 'In Package (Covered)' dropdown selector in Medical Bills and Package tabs
- IPD Billing: return recalculated summary metrics from credit-type endpoint and update dashboard cards in real-time
- Pharmacy: classify IPD bills using ipd_credit_type instead of group_invoice_id to correctly show Package: No for credit bills and add to Total Credit
- Pharmacy Billing: default item quantity to blank instead of 0 to allow direct typing without backspacing, with validation against 0/empty submissions
- Pharmacy Invoice: add outside doctor/consulting doctor selection and auto-save via AJAX
2026-10-25 14:15:42 +05:30
6cc34057b5 fix(abdm): capture patient-modified consent dates, fix premature expiry, and update consent UI labels
- Extract and contrast both requested and patient-granted date ranges and eraseAt timestamps from ABDM consent artefacts
- Fix premature session expiration when patient grants longer consent validity than initially requested by HIU
- Update UI labels from Valid From / Valid To to Request From / Request To and Consent Valid Upto
- Show original requested dates struck-through and granted dates highlighted with Updated badges in consent detail modals
- Add visual indicators for patient-modified dates in consent requests tables
2026-10-25 06:39:25 +05:30
43d52163ab fix(abha-create): handle and sanitize upstream ABDM 500 error on address suggestions gracefully 2026-10-24 13:09:50 +05:30
5f9784d7ec feat(abdm & schema): drop patient_master.p_lname and add abha address selector to M1 verify flow 2026-10-24 12:56:13 +05:30
e946000fb9 Allow editing GRN Inspection Details with full item reconciliation and live inventory synchronization 2026-10-23 14:10:31 +05:30
9236ff1da9 fix(abdm): ensure m2LinkInit captures all careContexts and resolves accurate gender 2026-10-23 10:34:23 +05:30
45f1888227 fix(abdm): preserve structured care context reference in patient referenceNumber during linking 2026-10-23 09:51:31 +05:30
e93ebf7bf6 fix(abdm): support multi-careContext patient array in m2LinkInit 2026-10-23 01:37:58 +05:30
c0196b7e9f fix(abdm): isolate discovery by pending links, session mapping, and historical era cutoff 2026-10-23 00:54:41 +05:30
e4bb4e3464 fix(abdm): partition care context discovery and linking by ABHA address 2026-10-23 00:42:39 +05:30
5219b8bfc6 fix: strictly enforce IP restriction, fix empty whitelist fallback, and update SW to v2 2026-10-22 15:33:26 +05:30
1bd8f57371 fix: explicitly set HTTP 200 on live queue success response 2026-10-22 15:22:27 +05:30
0020d0676c feat(security): restrict /app/queue and live OPD token feed to authorized hospital IPs (WASA CWE-200 remediation) 2026-10-22 15:19:28 +05:30
7547d00bb4 feat(security): place login throttle before CSRF and add visual CAPTCHA verification to login form 2026-10-22 14:45:04 +05:30
61b8bf6a71 feat(medical): use dynamic pharmacy name and hospital branding in GRN and PO print PDFs 2026-10-22 11:16:33 +05:30
9acc580fb7 fix(medical): resolve dynamic container target for Edit Invoice and master edit navigation 2026-10-22 11:06:59 +05:30
deea6529f7 Fix HTTP 500 on GRN view/edit: add self-healing schema migration and null-safe view rendering 2026-10-22 10:44:27 +05:30
09cd46d344 Fix GST calculations and synchronize GRN & Purchase Invoice columns with vendor bill structure 2026-10-22 09:58:04 +05:30
6a247fdb63 fix(abdm): enforce strict ABHA uniqueness and demographic validation on patient linking 2026-10-21 13:59:29 +05:30
41c70c0151 fix(abdm): provide separate Document Reference section in InvoiceRecord so PHR renders DocumentReference accordion card with embedded PDF 2026-10-21 04:36:54 +05:30
2f0595a3a3 fix(abdm): section.entry should only hold Invoice and DocumentReference without Binary so PHR carousel renders document card 2026-10-21 03:53:46 +05:30
c54cde814c fix(abdm): enforce single section in InvoiceRecord Composition per NRCeS spec so DocumentReference and PDF attach to PHR 2026-10-21 03:40:48 +05:30
5ba548cbbc fix(abdm): enforce NRCeS ISO 8601 with Asia/Kolkata timezone offset across FHIR bundles and ABDM APIs to resolve midnight UTC date mismatch 2026-10-21 03:19:00 +05:30
9d568463f1 feat: completely remove HealthPlix integration, controllers, views, and database columns 2026-10-21 01:33:13 +05:30
a454bd178c fix(abdm): finalize and sync OPD consult and prescription FHIR bundles only on print 2026-10-19 18:53:58 +05:30
c548c0dce3 Fix WASA security observations: security headers, CSP hardening, JS library updates, API authentication, and data scrubbing 2026-10-19 16:27:17 +05:30
8cbf55537f feat(pharmacy): implement Purchase Orders (PO) and Inward Goods Received Notes (GRN) workflow 2026-10-19 15:48:53 +05:30
65a071928c fix(abdm): force fresh discharge PDF generation and add column safety to byIpdRows 2026-10-19 11:13:20 +05:30
6f3b2a62d9 fix(abdm): populate salt and generic name in IPD discharge medication FHIR resources
- Populate generic salt name in MedicationRequest medicationCodeableConcept.coding[0] to prevent PHR apps displaying 'NA' subtitle
- Retain brand name in medicationCodeableConcept.text and secondary coding
- Extract med_salt from prescription records with automatic resolution from medicine masters and formulation heuristics
- Update discharge PDF and narrative to render generic salt names
- Add unit tests verifying generic salt mapping and dual coding in FHIR bundle
2026-10-19 10:16:05 +05:30
fdd188df6e fix(abdm): generate physical exam observations, extract comorbidities, and trigger FHIR sync only on final discharge 2026-10-17 13:13:46 +05:30
0344561808 fix(abdm): deduplicate chief complaints and medical history, fix medication coding to NRCES spec, and resilient instruction parsing 2026-10-17 03:24:22 +05:30
0af2d557b2 Prefer English food_desc for CarePlan dietary advice in FHIR bundle 2026-10-17 02:49:28 +05:30
1290ac2bd8 Make enqueueIpdDischargeSync public with defaults 2026-10-17 02:46:37 +05:30
a363e2d0a5 Fix discharge FHIR record full data: medications SNOMED 721912009, dietary advice care plan, and full PDF attachment 2026-10-17 02:44:32 +05:30
6c812236a8 feat(abdm): set autoLinkDelayMinutes to 1, regenerate FHIR bundle on print, map salt composition to reasonCode 2026-10-16 18:54:29 +05:30
ee57959873 fix(abdm): add fallback in abdm_documents 2026-10-16 13:40:11 +05:30
e41e6bd96f fix(abdm): enforce granted hi_types and dateRange, check live consent status before fetch, safe json parsing 2026-10-16 13:38:53 +05:30
de4f65807d feat(security): implement WASA audit mitigations, mobile anti-enumeration & device authorization, and user management fixes 2026-10-15 17:47:51 +05:30
a3c544a53c feat(user-management): enhance user management, permission handling, and charges invoice workflows
- Add UserProfileModel and migration for user profile data
- Enhance User Management views, controller, and doctor/nurse search integration
- Refactor handleAuthError to separate 401 session expiry from 403 access restriction
- Apply granular permission checks to sidebar navigation links
- Open Bed Status view for all authenticated users
- Support GET and POST on charges item routes and exempt billing charges from CSRF desync
2026-10-14 20:08:10 +05:30