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.554281 | 0.555023 | -0.13% | |
Searching nearest orgunits/location based on the coordinates provided | 1.41292 | 0.583782 | 142.03% | |
Finding specific orgunits / Location by uid | 0.321175 | 0.283594 | 13.25% | |
Finding orgunits / location by area & subarea | 0.455769 | 0.303586 | 50.13% | |
Finding orgunits / location by phone. NOT CONDUCTED - searching location resources by their telecom property is not possible. | ||||
Searching orgunits / location by services | 0.276735 | 0.313903 | -11.84% | |
Finding orgunits / location by Type | 0.547128 | 0.355352 | 53.97% |
'* Improvement Formula = ((\frac{dhis2}{fhir})-1)* 100%
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