Commit Graph

1129 Commits

Author SHA1 Message Date
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
8d00536d3b docs: add session handover for unified OPD consult bundle and care context 2026-10-06 17:03:55 +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
298c2f3fba Filter unready care contexts in ABDM discovery and map hiType per context 2026-10-06 15:23:14 +05:30
d1daefde4e fix(abdm): unify opd consultation care contexts, prevent duplicates and premature fhir ready on unfilled booking 2026-10-06 15:00:33 +05:30
045f4c5116 feat(abdm-fhir): add dedicated Prescription and Immunization FHIR generators with NRCES validation 2026-10-06 12:38:33 +05:30
24819cb75c feat(abdm): configure official ABDM toolkit skills and achieve 100% NRCES 6.5.0 FHIR conformance 2026-10-06 12:25:48 +05:30
e553215ea1 feat(abdm): add ABHA address filter with care context & FHIR status inspector on task board 2026-10-06 11:38:26 +05:30
1fcdb82eea fix(abdm): auto-resolve patient demographics from patient_master for HIP care context linking and token generation
- Auto-resolve missing name, gender, year_of_birth, abha_address, and abha_number in hipLinkToken and hipLinkCareContext endpoints using patient_master lookup
- Calculate birth year with fallback to age (current_year - age) when DOB is 0000-00-00, empty, or invalid
- Support resolving ABHA identifier whether saved in abha_address or legacy abha_id column
- Pass patient_id from client link modal and views (opd_prescription_basic, Patient_Profile_Opd_V, Person_profile_V)
- Fix demographic resolution in AbdmTaskBoardSyncService for background OPD and work task publishing
- Add comprehensive PHPUnit test suite in tests/unit/Abdm/TestHipDemographicsCareContext.php
2026-10-06 10:53:19 +05:30
686513cf27 Fix ABDM live fetch and discovery for PrescriptionRecord and WellnessRecord 2026-10-06 09:38:40 +05:30
da61637c56 fix(billing,abdm): resolve patient profile edit error and enhance opd prescription fhir mapping
- Fix Undefined variable \ 500 error in Person_Edit_V.php
- Safeguard auth()->user() and variable access in Person_Edit_V.php and Person_profile_V.php
- Enhance getPrescriptionMedicines with fallback dosing, remarks, and SNOMED lookup for OP Consultation FHIR
- Add deep-link SMS notify and link verification in ABDM gateway and task board
- Add PatientEditViewTest covering profile and edit view rendering
2026-10-06 08:25:48 +05:30
6270b0517a fix(abdm,diagnosis): use plain paper template for radiology fhir pdf, fix modality title and strip conclusion html 2026-10-04 12:38:44 +05:30
414dc42c05 fix(diagnosis): resolve print template placeholders and base64 logo rendering
- Support hospital, patient, doctor, and date placeholders matching template variables
- Convert local logo and signature paths to base64 Data URIs for mPDF
- Apply token replacement to report body in single and compiled prints
- Add interactive placeholder toolbar in diagnosis template settings view
- Add unit tests in tests/unit/DiagnosisTemplateTokenTest.php
2026-10-03 02:45:22 +05:30
48d11b20df fix(abdm): eliminate dummy consultation bundles, fix Strategy 0 return bundle, add on-demand invoice FHIR, and ensure full multi-artifact HIU polling 2026-10-02 01:11:22 +05:30
1c41b4555b refactor(abdm): remove opd_fhir_documents fallback from recordsFetch and bind strictly to health_records 2026-10-01 20:46:38 +05:30
478722cf00 fix(abdm): fix recordsFetch health_records latest row selection and guard opd_fhir_documents fallback 2026-10-01 20:07:50 +05:30
e43bfbad71 feat(abdm): add task status filtering, search, and completed task visibility on task board
- Add getTasks() method with status filtering (all, open, completed, failed) to AbdmWorkTaskService
- Enhance AbdmTaskBoard to enrich all task types with health_records, invoice_code, and care contexts
- Add status toggle filter buttons (All, Open, Completed) with dynamic count badges to Task Board UI
- Add real-time fuzzy/keyword search input for instant filtering by invoice ID, patient name, ABHA, or task code
- Render completed/linked tasks with green LINKED badge, gateway reference, and FHIR Preview button
- Add unit tests in AbdmTaskBoardBackfillTest
2026-10-01 19:40:32 +05:30
2569f694c1 fix(abdm): normalize ABDM upstream errors and Please make a valid request to does not exist 2026-10-01 18:50:35 +05:30
5cc4486d9a fix(abdm): distinguish ABHA Number vs ABHA Address in lookup error messages and logs 2026-10-01 18:37:14 +05:30
7c1f0df410 fix(abdm): normalize bridge SQL errors in API logs and extract specific upstream hints 2026-10-01 18:06:08 +05:30
fd10df43c3 fix(abdm): resolve ABHA address verification, field error extraction, and task board sync
- Fix empty string fallback in validateAbha and EAtriaBridgeConnector to properly extract healthIdNumber and real fullName from data payload
- Skip generic bridge envelope messages in extractBridgeErrorText to surface specific field rejections like loginHint
- Translate non-existent ABHA address errors to 'ABHA Address does not exist or was not found in the ABDM registry'
- Support both 14-digit ABHA numbers and ABHA addresses in Diagnosis publish and ABDM Task Board
- Prevent completed task duplication in lab/radiology backfill
- Add unit tests in AbhaOtpErrorHandlingTest and AbdmTaskBoardBackfillTest
2026-10-01 17:12:17 +05:30
8dd34a9085 fix(abdm): improve radiology report title resolution and prevent completed task duplication 2026-10-01 15:27:50 +05:30
3358f56e3f Add unit tests for radiology report template ranking and imaging file lookup 2026-10-01 13:06:04 +05:30
38b96a1003 Fix radiology editor DICOM gallery context, match related templates, and remove manual ABDM panel 2026-10-01 12:59:45 +05:30
0b75b52377 fix(diagnosis): restore lab_test_no column in report tables to fix DataTables column count warning 2026-10-01 11:38:29 +05:30
1f4fcf6546 fix(diagnosis): resolve person name null concat in report list and handle large dicom file uploads 2026-10-01 11:24:29 +05:30
140c4908ee fix(patient): hide ABHA Create/Verify tab when patient already has an ABHA profile 2026-10-01 11:01:34 +05:30
734b9a2bc4 fix(abdm): evaluate cooling from clinical event date and prevent reset on taskboard view 2026-10-01 08:03:44 +05:30
376cb7eeb1 fix(abdm): remove 'Use Aadhaar-linked Mobile' skip button from Mobile OTP step 2026-09-30 17:50:24 +05:30
3df469bfab fix(abdm): implement communication mobile OTP verification, register route, and fix patient list modal DOM 2026-09-30 16:59:23 +05:30
d0082299e6 docs: update ABDM M2 handover guide with invoice care context linking and test suite stats 2026-09-30 12:36:42 +05:30
f7c30529a3 feat(abdm-m2): enable care context discovery and direct linking for invoice records 2026-09-30 12:25:01 +05:30
ccd5909fc6 docs: remove technical URLs, database fields and developer codes from user help guide 2026-09-30 00:24:40 +05:30
c27ec011a4 fix: update 'Back to HMIS' link to /dashboard in static help.html 2026-09-30 00:16:03 +05:30
731fcd4929 docs: comprehensive module-wise help manual and template design guide 2026-09-30 00:11:28 +05:30
ef658565df docs: add ABDM M2 test session handover guide 2026-09-29 23:54:09 +05:30
a33b376ecd feat(abdm-m2): add HIP link modal and care context discovery on patient registration 2026-09-29 23:48:33 +05:30
6bd24303e3 fix(abdm-m1): user friendly OTP errors, remove bridge request id from UI, and add beneficiary name consent collection 2026-09-29 23:14:48 +05:30
763af46de2 feat(radiology): add comprehensive templates and charge items seeder for X-Ray, CT-Scan, and MRI 2026-09-29 20:25:39 +05:30
1a21f16f7b fix(abdm): sync care context reference format and auto-push FHIR bundle on linking
- Align care context reference format (RAD- prefix for radiology, clean Ymd date) between discovery, shareDiagnosisReportBundle, and AbdmTaskBoardSyncService
- Automatically push FHIR document bundle to Bridge (POST /api/v3/records/push) on care context linking or already-linked confirmation in abdm_hip_link_modal
- Provide clear instructions to user regarding PHR app 'Fetch Records' pull flow
- Add unit test testShareDiagnosisReportBundleFormatsRadiologyCareContext
2026-09-29 15:06:31 +05:30
41d89a1969 feat(abdm): enhance care context discovery, async token retry, and modal backdrop cleanup
- Add multi-type care context discovery in AbdmGateway (DiagnosticReport, DischargeSummary, Immunization, OPConsult) with target task prioritization
- Implement automated retry backoff in EAtriaBridgeConnector for asynchronous ABDM link token callback delivery
- Handle already-linked contexts gracefully and synchronize Task Board row status on link completion
- Resolve modal backdrop freeze and inactive main screen on radiology report template update in PathLab_Report and welcome_message
- Add unit tests CareContextDiscoveryTest and EAtriaBridgeConnectorLinkTest
2026-09-29 14:02:22 +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