Temp Page for UHIF Documentation

Setting up opensrp client App with openmrs

This setup assumes that both openmrs and opensrp servers are correctly set according to here.

  1. OpenSRP requires these modules to be added in the openmrs system so as to enable it function. 
  2. Setup the location within openmrs under manage locations in the Locations tabs.
  3. Create a new User(s) in the manage user's tab.
  4. Create a team under the Team management module.
  5. Assign the user to the Team created.
  6. To verify whether the user is authenticated, within the browser type "localhost:8080/opensrp/security/authenticate" and fill in the user credentials created in openmrs. A JSON file should appear indicating the user details.
  7. Make sure the logged in user has the ability to get identifiers from the OpenMRS idgen module. This can be achieved under the Manage patient Identifier sources to Auto-Generations Options and set the Location in line with the one set initially, then the Source to Auto-generate From and set it to "OPENMRS_OPENSRP" as well as selecting all the options below and then save.
  8. With all that in place, open up the client App in the settings tab change the URL to that of your local machine for example "http://10.10.2.2:8080/opensrp".