Performed on: Nov 2022
In this page
Testing Purpose
Testing Cases
Testing Bed: servers and data
Purpose
Ensure that a FHIR server can:
map all the properties that are used in PSI’s Locator API and apps 1.x
perform the typical query operations in a resonable amount of time
Testing Cases
Cases | DHIS2 ( ms ) | FHIR ( ms ) | Improvement ( % ) |
---|---|---|---|
Case 1: Getting 500 orgunits/location in the country (by ISO) | 0.552675 | 0.555544 | 99.9437 |
Case 2: Searching nearest orgunits/location based on the coordinates provided | 1.95761 | 1.13582 | 243.222 |
Case 3: Finding specific orgunits / Location by uid | 0.3208 | 0.284813 | 112.655 |
Case 4: Finding orgunits / location by area & subarea | 0.467813 | 0.308819 | 151.714 |
Case 5: Finding orgunits / location by phone number is not possible. One solution might be using phone number as identifier. | |||
Case 6: Searching orgunits / location by services | 0.281408 | 0.316658 | 90.05 |
Case 7: Finding orgunits / location by Type | 0.541653 | 0.351025 | 158.387 |
Testing Bed
Servers
DHIS |
| |
FHIR |
|
Data
We loaded into PSI’s FHIR server 24,000+ locations which were sourced from PSI’s main data server in October 2022 using the documented mapping between FHIR and DHIS