fix(abdm): exclude local_only health_records stubs from care context discovery
This commit is contained in:
parent
0e8cc1fd41
commit
3876a7444e
|
|
@ -7195,6 +7195,7 @@ class AbdmGateway extends BaseController
|
||||||
$rows = $this->db->table('health_records')
|
$rows = $this->db->table('health_records')
|
||||||
->select('id, patient_id, abha_id, hi_type, entity_type, care_context_reference, created_at, updated_at')
|
->select('id, patient_id, abha_id, hi_type, entity_type, care_context_reference, created_at, updated_at')
|
||||||
->where('patient_id', $patientId)
|
->where('patient_id', $patientId)
|
||||||
|
->where('push_status !=', 'local_only')
|
||||||
->orderBy('id', 'DESC')
|
->orderBy('id', 'DESC')
|
||||||
->limit(100)
|
->limit(100)
|
||||||
->get()
|
->get()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user