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 | Description | DHIS2 (ms) | FHIR (ms) | Improvement (%) |
---|---|---|---|---|
Getting 500 orgunits/location in the country (by ISO) | 0.552877 | 0.552823 | 100.846 | |
Searching nearest orgunits/location based on the coordinates provided | 1.44465 | 0.579129 | 249.546 | |
Finding specific orgunits / Location by uid | 0.325792 | 0.289665 | 112.671 | |
Finding orgunits / location by area & subarea | 0.468058 | 0.304159 | 154.803 | |
Finding orgunits / location by phone number is not possible. One solution might be using phone number as identifier. | ||||
Searching orgunits / location by services | 0.280502 | 0.320258 | 89.1455 | |
Finding orgunits / location by Type | 0.551962 | 0.358791 | 156.478 |
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