Commit Graph

58 Commits

Author SHA1 Message Date
ad1df321c8 feat(templates): add comprehensive hospital medical templates library for pathology, radiology, ipd discharge, ipd documents, and opd 2026-10-27 23:17:52 +05:30
5be2644032 docs(install): add Ubuntu deployment guide, automated installer script, and starter database 2026-10-27 21:45:17 +05:30
cb5c1e3230 fix(pharmacy): handle unique item_name collision and auto-expand column in abdm drug sync 2026-10-27 02:00:43 +05:30
1880ec60ae feat(pharmacy): implement abdm sync-pack command and local-first hybrid drug search 2026-10-27 01:53:21 +05:30
ab4b68b968 fix(abdm): allow CLI force resync in abdm:resync-discharge 2026-10-17 13:15:45 +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
8a0396a2c8 Fix record_data column in resync-discharge 2026-10-17 02:48:42 +05:30
a6dd1f7a19 Fix gateway db credentials in resync-discharge 2026-10-17 02:48:11 +05:30
fed5f81296 Enhance resync-discharge with detailed gateway record verification 2026-10-17 02:47:45 +05:30
5cbc5b6743 Add abdm:resync-discharge command 2026-10-17 02:45:40 +05:30
39017a43cf feat(abdm): enforce consent expiration, request-specific printing, and push sync enhancements 2026-10-09 17:38:51 +05:30
7472364002 chore: remove test command after verification 2026-10-08 20:56:59 +05:30
e8a33ba1f4 fix(abdm): improve patient name formatting and single document testing 2026-10-08 20:56:38 +05:30
31538a0cb4 test: add spark test command for ABDM PDF generation 2026-10-08 20:55:10 +05:30
b0a5338152 feat(abdm): restore M3 data fetch for self and same entity with multi-facility support 2026-10-08 20:04:59 +05:30
e5b80c75c5 revert: reverse M3 fetch records for same entity / self that caused website hang 2026-10-08 19:45:12 +05:30
c268dfe7db test: update TestPatientSearch cases to use local DB records for comprehensive coverage 2026-10-08 19:26:51 +05:30
94045fb218 test: add Meera Bisht test cases for ABHA search 2026-10-08 18:20:03 +05:30
be38960960 test: fix request mock injection in TestPatientSearch 2026-10-08 18:19:36 +05:30
228867ebe1 feat(patient): display both ABHA address and formatted ID in search results; add test search command 2026-10-08 18:19:01 +05:30
acb8917854 Add test-doc-filter CLI flag 2026-10-08 17:55:58 +05:30
c8baa82059 Fix M3 fetch records to retrieve and display health data from same entity and external entities 2026-10-08 17:54:47 +05:30
e2974ec719 fix(abdm): persist HIP link status to db and sync patient profile verification badge 2026-10-08 17:05:45 +05:30
72922eefbe chore: remove test bridge push command 2026-10-08 14:09:18 +05:30
63cb6b810a fix(abdm): test doc step by step 2026-10-08 14:06:54 +05:30
13e4e0728b fix(abdm): use AbdmConnectorFactory::make 2026-10-08 14:04:27 +05:30
2a7eb6e034 feat(abdm): add test bridge push command 2026-10-08 14:04:05 +05:30
54b3fdf542 chore(abdm): add abdm:inspect-patient spark command 2026-10-08 12:58:38 +05:30
0939cb9ec1 fix(abdm): unify imaging lab types to RAD prefix, merge local record_links into linkedRefs, and prevent pending push queue starvation 2026-10-08 12:55:42 +05:30
dab7629dcd fix(abdm): only query health_records with existing bundle payload in pushPendingHealthRecords 2026-10-08 12:47:50 +05:30
18505968bd feat(abdm): add automatic invoice linking and syncOpenInvoices for OPD consultation fees and charge invoices 2026-10-08 12:46:12 +05:30
b3e7a2175f fix(abdm): make FHIR creation async local-only in web requests, auto-link every minute via cron, disable cooling delay 2026-10-08 12:30:47 +05:30
cb0a1967a4 fix(abdm): redact decrypted FHIR bundles from abdm_api_logs and increase memory limit in hiu-poll to prevent memory exhaustion 2026-10-08 11:27:32 +05:30
61206784f3 feat(abdm): implement care-context linking cooling window and timer reset on record modification
- Add cooling period configuration (60 min for OPD/Lab/Radiology/others, 24 hr for IPD Discharge) in AbdmConnector
- Add calculateCooling() logic in AbdmTaskBoardSyncService and skip automated linking during cooling window
- Touch and refresh work task timestamps on prescription save and IPD discharge summary save/print
- Update opd_fhir_documents on prescription edit rather than inserting duplicate bundles
- Enrich ABDM Task Board table and OPD consult list with active cooling badges, remaining minutes, and auto-link schedule
- Preserve manual 'Link Context' action on task board to allow immediate override anytime
- Update CLI commands (abdm:taskboard-sync, abdm:push-sync) with cooling counters and status logging
2026-09-28 18:29:50 +05:30
c3fc0d98f0 feat(abdm): automate ABDM Work Task Board care-context linking via cron job 2026-09-28 00:40:03 +05:30
0186e17f0f feat(abdm): implement automated deep-link SMS notify queue and Spark cron worker 2026-09-27 23:55:52 +05:30
2f6b346e25 fix(abdm): add concurrency lock, optimize hiu-poll query, and add composite indexes 2026-09-24 08:03:57 +05:30
68d256d9ba Retain ABDM audit trail 30 days and strip payloads after 2 2026-08-15 03:16:47 +05:30
00b949ad0a Push M2 records to gateway for NAT deployment and cover all 8 HI types 2026-08-15 03:16:32 +05:30
b4714270a9 Add combined ABDM log prune command and api log index 2026-08-14 13:14:13 +05:30
076b18de62 Prune abdm_api_logs and abdm_hiu_workflows to 2-day retention 2026-08-14 13:14:02 +05:30
d85b3f5998 Add 2-day retention pruning for abdm_hiu_workflows 2026-08-14 11:52:49 +05:30
3c6121a4ad Gate legacy bridge events by ABHA verification and add cleanup command 2026-07-30 14:30:34 +05:30
9f2460fed9 Remove obsolete one-off M3/M2 diagnostic scripts (root cause resolved) 2026-07-28 23:35:01 +05:30
fd0d571f9b Add diagnostic spark command abdm:hiu-reconcile-by-request to test consent_reconcile by consent_request_id 2026-07-28 23:14:20 +05:30
d2c25b9e38 Add spark command abdm:hiu-fetch-by-consent for manual data_fetch of a specific consent artifact id 2026-07-28 22:57:57 +05:30
6407db9dbc Update HIU workflow, patient view, and related assets 2026-07-07 01:13:28 +05:30
3d40642116 Add ABDM M3 HIU workflows, routes, UI, and runbook docs 2026-07-01 17:37:53 +05:30
ed48a447e5 ABDM M2: add push-sync outbox, worker, and FHIR generators 2026-06-27 01:53:44 +05:30
78c23af7e5 Checkpoint: pathology panel modal workflow, gateway component search, and ABDM-style component/print editors 2026-05-30 06:32:30 +05:30