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.55735 | 0.556148 | 0.215675 | |
Searching nearest orgunits/location based on the coordinates provided | 1.42669 | 0.578819 | 59.4293 | |
Finding specific orgunits / Location by uid | 0.321959 | 0.288276 | 10.462 | |
Finding orgunits / location by area & subarea | 0.460583 | 0.305799 | 33.6063 | |
Finding orgunits / location by phone. NOT CONDUCTED - searching location resources by their telecom property is not possible. | ||||
Searching orgunits / location by services | 0.279387 | 0.318323 | -13.9365 | |
Finding orgunits / location by Type | 0.544344 | 0.364643 | 33.0124 |
'* Improvement Formula = \frac{dhis2 - FHIR}{dhis2} * 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