Commit Graph

1201 Commits

Author SHA1 Message Date
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
e992c3be37 fix(abdm): enforce NRCES Wellness observation profiles, LOINC code retention, and practitioner performer 2026-10-07 14:41:15 +05:30
bd02f895c5 fix(abdm): resolve wellness patient mismatch in fetch, sugar LOINC codes, duplicate notifications and hi_type mapping 2026-10-07 14:20:41 +05:30
db76ad9759 fix(abdm): resolve patient flipping, duplicate document contexts, and health document FHIR fetch 2026-10-07 13:24:05 +05:30
d04f1d5c24 fix(abdm): adjust db property visibility in AbdmFhirInspector to inherit protected from BaseController 2026-10-07 12:20:42 +05:30
0fe48f2ec8 feat(abdm): show health documents in HIP link modal and create dedicated ABHA Filter & FHIR Inspector page 2026-10-07 12:16:56 +05:30
6ac211377b fix(abdm): use correct column names last_action_result and completed_at in abdm_work_tasks 2026-10-07 11:54:02 +05:30
a3537c0b29 feat(abdm): enable proactive ABDM bridge push and gateway linking for nursing wellness records 2026-10-07 11:50:51 +05:30
0441ebe08a feat(abdm): expand WellnessRecord to full comprehensive suite (Option B) with segmented tabs and labs 2026-10-07 10:15:42 +05:30
0b1d545a3c fix(abdm): enhance m2HealthInformationFetch and assembleFhirBundleForCareContext for standalone wellness records 2026-10-07 09:56:52 +05:30
49f6a8327d fix(abdm): select entity_type in health_records to discover standalone wellness care contexts 2026-10-07 09:50:16 +05:30
86dc076f5d fix(nursing): auto-create patient_wellness_records, generate full NRCES FHIR bundle on save, and discover standalone wellness care contexts 2026-10-07 09:47:23 +05:30
04eff5e5ba Standardize OPD care context formatting and prevent duplicate session aliases 2026-10-06 16:59:39 +05:30
b0a08112d1 fix(fhir): add versionId and lastUpdated to DocumentBundle meta for full NRCES conformance 2026-10-06 16:54:01 +05:30
e2bb0b107a fix(abdm): enrich OPD and INVOICE care contexts with clinical components and bill summary 2026-10-06 16:49:15 +05:30
f367603962 fix(abdm): unify consult visit into single OPConsultRecord bundle and auto-sync on print 2026-10-06 16:40:30 +05:30
d46f222fa3 fix(abdm): set default sandbox linking OTP to 654321 and accept both 654321 and 123456 2026-10-06 15:46:50 +05:30
461c8263f3 fix(abdm): map patientfile to HealthDocumentRecord 2026-10-06 15:34:45 +05:30