devsofttech_hms_ci4/app/Libraries/Abdm
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
..
Fhir ABDM: separate course section and include doctor in discharge FHIR 2026-07-17 18:40:19 +05:30
Sync Harden ABDM bridge auth flow and sync handling 2026-07-28 00:14:49 +05:30
AbdmConnectorFactory.php feat: ABDM OPD Queue + ABHA Register flow + patient ABHA search fix 2026-05-16 04:21:31 +05:30
AbdmConnectorInterface.php Implement ABDM bridge health record flows 2026-07-20 03:02:09 +05:30
ConsentSessionListService.php Replace ABDM HIU M3 sidebar console with global ABHA Patient Request List (Phase 3 across all patients) 2026-07-28 17:06:41 +05:30
DirectAbdmConnector.php Implement ABDM bridge health record flows 2026-07-20 03:02:09 +05:30
DreamsoftConnector.php Implement ABDM bridge health record flows 2026-07-20 03:02:09 +05:30
EAtriaBridgeConnector.php ABDM Gateway settings: add admin UI toggle for SSL certificate verification 2026-07-28 03:47:06 +05:30
M3HiuDocumentRepository.php Extract and display ABDM DocumentReference/Binary attachments (images/PDFs/documents) in fetched record detail view 2026-07-28 17:52:43 +05:30
M3HiuGatewayClient.php Fix invalid ABDM HIType codes (HealthDocument->HealthDocumentRecord, Wellness->WellnessRecord) causing consent_request 400; fix extractErrorText for array-shaped bridge error responses 2026-07-28 22:16:22 +05:30
M3HiuWorkflowService.php 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