I am trying to configure Bahmni Connect 0.89 with location-based strategy (using Bahmni connect PWA and android app 0.89.166).
I have created patient in Bahmni Connect and this patient is synced with Bahmni online server.
On the Bahmni online server patient identifier is assigned to this patient:
On the Bahmni Connect patient identifier is not assigned to this patient:
What I have tried: Followed Bahmni wiki : https://bahmni.atlassian.net/wiki/spaces/BAH/pages/94535719/Server+Requirements https://bahmni.atlassian.net/wiki/spaces/BAH/pages/325713930/Setup+Bahmni+Connect+using+Location+based+sync+strategy
In the openmrs database In the event_records table uri column was null therefore I had deleted records from table event_records where category = ‘addressHierarchy’.
Inserted address Hierarchy into event_records table with following sql.
Insert into event_records(uuid, title, timestamp, uri, object, category) (select uuid(), ‘addressHierarchy’, ‘1970-01-01 00:00:01’, concat(’/openmrs/ws/rest/v1/addressHierarchy/’,uuid), concat(’/openmrs/ws/rest/v1/addressHierarchy/’,uuid), ‘addressHierarchy’ from address_hierarchy_entry);
After that, I have mapped once again address for login location in openmrs GUI.
While registering patient same address are captured.
Is any suggestions to resolve this problem of Patient Identifier not assigned in Bahmni Connect.