devsofttech_hms_ci4/app/Libraries
DevSoftTech Server ad98afbe57 Add Method 1 (fetch by request_id) for self/current-session data + fix latest-consent-anchor drift bug
- M3HiuWorkflowService: data_fetch now supports fetch_by_request_id=1, sending request_id (not consent_id) per bridge Method 1 -- targets the current/self consent request's own session, distinct from Method 2 (consent_id, which can resolve to a stale session sharing the same artifact).
- Patient::abdm_content_fetch_only(): tries Method 2 (consent_id) -> Method 1 (request_id, self data) -> Method 3 (abha_address, historical fallback) in order, stopping as soon as real documents are found.
- Fixed a real pre-existing bug this surfaced: getLatestAbdmSyncSnapshot() used the same flawed 'status=SUCCESS implies COMPLETED' check (without requiring workflow_state=DATA_RECEIVED) already fixed elsewhere in computeConsentSessionDetail(). This let broad/historical data_fetch rows (status=success, but decrypted_data=[]) hijack priority-500 'best' selection and silently drift the resolved 'latest granted consent' to an unrelated historical consent_id after Method 3 fallback ran. Now requires workflow_state=DATA_RECEIVED, matching the earlier fix.
2026-07-29 02:31:29 +05:30
..
Abdm Add Method 1 (fetch by request_id) for self/current-session data + fix latest-consent-anchor drift bug 2026-07-29 02:31:29 +05:30
.gitkeep Implement OPD template builder, doctor template selection, and OPD print integration fixes 2026-02-27 19:44:36 +05:30
AbdmAuditService.php feat(abdm): implement M2 gateway contract endpoints and live test tooling 2026-06-24 04:50:03 +05:30
AbdmWorkTaskService.php feat: Add ABDM Task Board module with ABHA workflow 2026-04-05 23:42:24 +05:30
BridgeSyncService.php feat: ABDM OPD Queue + ABHA Register flow + patient ABHA search fix 2026-05-16 04:21:31 +05:30
ClinicalAuditTrail.php Implement OPD template builder, doctor template selection, and OPD print integration fixes 2026-02-27 19:44:36 +05:30
CsnotkTerminologyService.php Implement ABDM bridge health record flows 2026-07-20 03:02:09 +05:30
FhirEncryptionService.php feat: SNOMED background coding pipeline + ABDM Coding Panel 2026-05-19 20:40:27 +05:30
FhirR4Builder.php ABDM records/push: treat 201/409 as submitted, persist record IDs, and update OPD UI state 2026-07-21 01:32:30 +05:30
HealthplixService.php feat: add HealthPlix OPD sync flow with settings, diagnostics, and sync ID persistence 2026-04-27 08:32:51 +05:30
ImmunizationMasterSyncService.php Add E-Atria immunization master sync 2026-07-19 01:00:43 +05:30
ImmunizationScheduleService.php Add patient immunization module 2026-07-19 00:41:12 +05:30
NursingScanExtractionService.php Add nursing scan-to-structured workflow and discharge UI polish 2026-03-09 00:12:04 +05:30