devsofttech_hms_ci4/app/Libraries/Abdm
DevSoftTech Server 016c0fdf2f Fix duplicate ABDM document rows: dedup on bundle_id + care_context_reference, not transaction_id/consent_ref
Confirmed empirically: the SAME clinical document (identical FHIR Bundle.id) gets re-delivered by the bridge under a DIFFERENT transaction_id/consent_ref every time it is re-fetched (e.g. via the by-ABHA-address historical fetch, which returns every past consent session for the patient). The old dedup hash included transaction_id+consent_ref, so every re-fetch created a brand-new duplicate row instead of updating the existing one -- observed as literal duplicate rows in the OPD ABDM Fetched Data list (same date/title appearing 2-3x). bundle_id is set once by the HIP and is stable across re-fetches/consents, so pair it with care_context_reference to uniquely identify a document instead.
2026-07-29 02:44:14 +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 Fix duplicate ABDM document rows: dedup on bundle_id + care_context_reference, not transaction_id/consent_ref 2026-07-29 02:44:14 +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