Commit Graph

1218 Commits

Author SHA1 Message Date
4f9f257923 fix(abdm): set link_status to linked on successful push and pass patient_ref 2026-10-21 13:00:56 +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
d098221676 fix(abdm): unify medication request FHIR representation across OPD and discharge (generic salt subtitle, SNOMED food timing, and natural dosage instructions) 2026-10-19 23:06:12 +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
ca7d7be953 Update DataTables to 1.13.11 2026-10-19 17:53:35 +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
ab4b68b968 fix(abdm): allow CLI force resync in abdm:resync-discharge 2026-10-17 13:15:45 +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
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
1290ac2bd8 Make enqueueIpdDischargeSync public with defaults 2026-10-17 02:46:37 +05:30
5cbc5b6743 Add abdm:resync-discharge command 2026-10-17 02:45:40 +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
7dce405942 fix(security): exempt records/* and v3/* from CSRF filter for bridge communication 2026-10-17 01:42:19 +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
7f6ae881e7 fix(security): remove unused vendor scripts (tinymce, echarts) and styles from login page 2026-10-15 21:29:00 +05:30
b03568f91c fix(security): resolve OWASP ZAP audit findings for CSP, HSTS, SRI, and private IP disclosure 2026-10-15 19:25:28 +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
81f3501157 fix(security): implement WASA compliance hardening and vulnerability remediation 2026-10-14 10:27:32 +05:30
ec377dafcd fix(abdm): populate full patient demographics (DOB, gender, mobile, address) in Find ABHA by Aadhaar 2026-10-12 12:54:29 +05:30
bccd1b14ae fix(abha): route find ABHA by Aadhaar to ABDM profile login verify endpoints 2026-10-12 12:33:25 +05:30
f50d0a10dd fix(abha): fix Aadhaar OTP verification rejection and error reporting 2026-10-12 12:24:39 +05:30
e28ed30116 fix(abdm): route findAadhaar OTP requests via AbdmConnectorFactory with bridge integration 2026-10-12 12:07:21 +05:30
e59bd8d2b7 feat(abdm): add Find ABHA by Aadhaar Number flow (M1 VRFY_ABHA_401 to VRFY_ABHA_405) 2026-10-12 11:58:53 +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
3ed80ac293 fix(abdm): optimize memory and backtrack limit in abdm_records_pdf 2026-10-08 20:55:48 +05:30
31538a0cb4 test: add spark test command for ABDM PDF generation 2026-10-08 20:55:10 +05:30
6c8e062558 feat(abdm): add professional PDF export and print button for fetched health records 2026-10-08 20:52:42 +05:30
92acaee56f fix(abdm): preserve GRANTED status for completed consent sessions on reopen 2026-10-08 20:27:47 +05:30
31352156c9 fix(abdm): dynamically inspect columns in abdm_hiu_consent_artifacts to prevent unknown column hip_id error 2026-10-08 20:11:06 +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
a2fd3e1658 feat(patient): enable patient search by ABHA ID and ABHA Address in quick and advanced search 2026-10-08 18:09:40 +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
c72b5cc338 refactor(abdm): unify into a single Refresh link in consent request history 2026-10-08 16:00:09 +05:30
b05081001e fix(abdm): prevent system hang on live status check, support 24h/12h hour inputs, and release PHP session lock 2026-10-08 15:52:50 +05:30
5ad1598c21 fix(abdm): add explicit 12-hour AM/PM time pickers for consent modal and format all consent timestamps with AM/PM 2026-10-08 15:36:12 +05:30
5306271383 fix(abdm): add datetime-local to consent request, prevent browser hang with non-blocking fetch, and fix DB column queries 2026-10-08 15:22:33 +05:30
d2dd84b27f fix(ipd): define dischargeRaw and match care context reference on discharge health_records save 2026-10-08 14:31:33 +05:30
8fb03b3c8f fix(abdm): resolve discharge fhir preview ipd_id and remove synchronous blocking push on discharge save 2026-10-08 14:28:03 +05:30
72922eefbe chore: remove test bridge push command 2026-10-08 14:09:18 +05:30
c76ad4e8bd fix(abdm): ensure lab, radiology, and health document tasks load FHIR bundles and push to bridge 2026-10-08 14:08:34 +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
d826f3e072 fix(abdm): expand health_records local link query to match by patient reference and abha 2026-10-08 13:12:46 +05:30
3876a7444e fix(abdm): exclude local_only health_records stubs from care context discovery 2026-10-08 13:00:13 +05:30
0e8cc1fd41 fix(abdm): fix abdm_work_tasks column selection in hipPatientCareContexts 2026-10-08 12:59:32 +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
a7d83551fe fix(abdm): render invoice line items, rates, and net/gross totals in fetched records modal 2026-10-08 11:56:27 +05:30
9cb4ccd701 fix(abdm): resolve JSON parse error on fetch and auto-reconcile revoked consents 2026-10-08 11:41:30 +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
6b1cf04198 fix(abdm): use due_date instead of non-existent scheduled_date in immunization_records query in recordsFetch 2026-10-08 11:14:34 +05:30
1a5bb0efdf fix(abdm): dynamically format ImmunizationRecord display with vaccine name and date in recordsFetch 2026-10-08 11:12:48 +05:30
25ded76a45 fix(abdm): improve care_context_display propagation for immunization in health_records and recordsFetch 2026-10-08 11:11:52 +05:30
ad1e936591 fix(abdm): support GET/POST fallbacks in AbdmFhirInspector::previewBundle 2026-10-08 11:10:25 +05:30
f08f7d7c2d fix(abdm): handle response cleanly in autoPushRecord and update immunization_records push status 2026-10-08 11:08:50 +05:30
75e3a820cc fix(abdm): unify immunization payload, resolve CC IMM-53, add on-demand fetch and sync bundle 2026-10-08 11:07:08 +05:30
91d7fe77d2 fix(opd): remove nonexistent patient_id column from opd_fhir_documents insert 2026-10-08 10:38:53 +05:30
c9f378870e fix(abdm): define dateStr in health_records loop of findCareContextsForPatient 2026-10-08 10:26:43 +05:30
d949eca6a8 fix(abdm): add __construct to AbdmGateway to initialize db and connector 2026-10-08 10:23:59 +05:30
7d92e542ba feat(abdm): auto-link care contexts on print and record save without modal 2026-10-08 10:20:30 +05:30
204b5f22c6 feat(abdm): make recordsFetch body and reference parsing fully resilient 2026-10-08 09:56:48 +05:30
a4f8e8a445 feat(abdm): align modal hi_type values with standard ABDM HI Types 2026-10-08 09:54:40 +05:30
e8a2cf2cf3 feat(abdm): send care context reference in patient reference field for PHR app clarity 2026-10-08 09:48:15 +05:30
24abc51dea fix(abdm): omit single top-level hi_type when linking mixed care context batches 2026-10-08 09:39:21 +05:30
0cd0b6c6fc fix(abdm): define reportHtml before attachment check in buildLabReportBundle 2026-10-08 09:37:00 +05:30
e86e73d792 fix(abdm): isolate care context hi_types during linking and prevent multiple DocumentReference in DiagnosticReport 2026-10-08 09:34:34 +05:30
a72ab50777 fix(abdm): align OPConsultRecord vs PrescriptionRecord bundles, separate OPD consultation from prescription discovery, and clean FHIR presentation 2026-10-08 09:01:05 +05:30
5130c6b18a fix(abdm): sanitize care context display, fix discharge care_context_reference and bundle generation, fix taskboard sync patientId 2026-10-07 17:59:14 +05:30
f7761218d0 Normalize ABDM OTP resend/rate limit cooldown message from 30 seconds to 60 seconds 2026-10-07 16:52:16 +05:30
3a86369ea2 fix(push): sanitize patient name and send mapped gender to bridge for valid link-token generation 2026-10-07 16:26:25 +05:30
6f5d3113b6 fix(wellness): remove SNOMED 419891008 from Composition.type to avoid PHR app displaying HealthDocumentRecord 2026-10-07 16:07:48 +05:30
a44256b530 fix(abdm): replace ampersand and slashes in careContextDisplay to prevent ABDM-9999 Invalid display 2026-10-07 15:53:04 +05:30
8fc443f1ba fix(abdm): send hospital patient ref in nursing wellness push payload 2026-10-07 15:25:00 +05:30