This adds an instrumented test that runs a tablet through all the operations necessary to exercise every type of request to our REST API.
The operations tested are as follows:
Step
Client operation
Server operation
0
start app
list all users
1
add new user
post new user
2
fresh initial sync
fetch all charts, concepts, forms, locations, observations, orders, patients
3
add new patient
post new patient
4
periodic sync
incremental sync observations, orders, patients
5
go to patient by ID
search for patient by ID
6
edit patient
post update to existing patient
7
edit admission date
post encounter
8
open form
fetch XForm
9
submit form
post XForm instance
10
add new order
post new order
11
edit order
update existing order
12
delete order
delete existing order
13
log user action
retrieve single concept
The complete set of possible requests is as follows. "–" marks an unused request type; the numbers indicate how each request type is exercised by one of the steps above.
Internal changes
This adds an instrumented test that runs a tablet through all the operations necessary to exercise every type of request to our REST API.
The operations tested are as follows:
locations, observations, orders, patients
The complete set of possible requests is as follows. "–" marks an unused request type; the numbers indicate how each request type is exercised by one of the steps above.