Skip to content

palladiumkenya/openmrs-module-apitesting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

openmrs-module-apitesting

Description

To test various APIs locally.

The project WIKI page: https://wiki.openmrs.org/display/projects/OpenMRS+apitesting+module

Development

$ mvn clean install -DskipTests=true

Use

LabManifest Testing Instructions

1. EID Labware LabManifest Testing

a. Configure the Global Properties

  • Push URL (labware_eid_server_url):
    http://127.0.0.1:9677/openmrs/ws/rest/v1/apitesting/eidlabware/eidpush
    (Adjust depending on your local server)
  • Pull URL (labware_eid_server_result_url):
    http://127.0.0.1:9677/openmrs/ws/rest/v1/apitesting/eidlabware/eidpull
    (Adjust depending on your local server)

b. No Need to Set a Token

  • API Token (labware_eid_server_api_token): Leave unset.

c. Testing HIE Patients (Children Under 2 Years of Age)

  1. Use the following SQL query:
    SELECT person_id, uuid
    FROM person
    WHERE birthdate >= CURDATE() - INTERVAL 2 YEAR;
  2. Ensure the patient has a HIE number.
  3. Create a test order for:
    HIV DNA POLYMERASE CHAIN REACTION, QUALITATIVE.
  4. Insert the test order into an EID manifest.

2. VL Labware LabManifest Testing

-- TODO

3. FLU Labware LabManifest Testing

-- TODO

4. VL CHAI LabManifest Testing

-- TODO

5. VL EDARP LabManifest Testing

-- TODO

Installation

If you want to upload this module into OpenMRS instance then please follow

  1. Build the module to produce the .omod file.
  2. Use the OpenMRS Administration > Manage Modules screen to upload and install the .omod file or just throw the omod into the modules directory and restart the tomcat server

About

This is the openmrs mock api testing module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages