Skip to content

Commit 00a71a9

Browse files
committed
Add content to test workflow APIs
1 parent 28b836a commit 00a71a9

29 files changed

+2281
-13742
lines changed
Lines changed: 13 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -1,90 +1,28 @@
11
{
2-
"appId": "app",
2+
"appId": "opensrp",
33
"configType": "application",
44
"theme": "DEFAULT",
5-
"appTitle": "Quest",
6-
"registerDate": "2020-10-27",
7-
"reportRepeatTime": "23:22",
8-
"remoteSyncPageSize": 100,
5+
"appTitle": "OpenSRP",
6+
"remoteSyncPageSize": 250,
97
"languages": [
108
"en",
11-
"sw",
9+
"es",
1210
"fr"
1311
],
1412
"useDarkTheme": false,
1513
"syncInterval": 30,
1614
"syncStrategy": [
17-
"Location",
18-
"Organization",
19-
"CareTeam",
20-
"Practitioner"
15+
"CareTeam"
2116
],
2217
"loginConfig": {
2318
"showLogo": true,
2419
"enablePin": true,
25-
"supervisorContactNumber": "1234567890"
20+
"pinLength": 4
2621
},
27-
"deviceToDeviceSync": {
28-
"resourcesToSync": [
29-
"Group",
30-
"Patient",
31-
"CarePlan",
32-
"Task",
33-
"Encounter",
34-
"Observation",
35-
"Condition",
36-
"Questionnaire",
37-
"QuestionnaireResponse",
38-
"RelatedPerson",
39-
"List",
40-
"Flag"
41-
]
42-
},
43-
"eventWorkflows": [
44-
{
45-
"eventType": "RESOURCE_CLOSURE",
46-
"eventResources": [
47-
{
48-
"id": "sickChildConditionToBeClosed",
49-
"resource": "Condition",
50-
"configRules": [
51-
{
52-
"name": "patientId",
53-
"condition": "true",
54-
"actions": [
55-
"data.put('patientId', fhirPath.extractValue(CarePlan, 'CarePlan.subject.reference'))"
56-
]
57-
}
58-
],
59-
"dataQueries": [
60-
{
61-
"paramName": "code",
62-
"filterCriteria": [
63-
{
64-
"dataType": "CODEABLECONCEPT",
65-
"value": {
66-
"system": "http://snomed.info/sct",
67-
"code": "275142008"
68-
}
69-
}
70-
]
71-
},
72-
{
73-
"paramName": "subject",
74-
"filterCriteria": [
75-
{
76-
"dataType": "REFERENCE",
77-
"computedRule": "patientId"
78-
}
79-
]
80-
}
81-
]
82-
}
83-
]
84-
}
85-
],
86-
"logGpsLocation": [
87-
"QUESTIONNAIRE"
88-
],
89-
"dateFormat": "MMM d, hh:mm aa"
90-
}
22+
"settingsScreenMenuOptions": [
23+
"MANUAL_SYNC",
24+
"SWITCH_LANGUAGES",
25+
"RESET_DATA",
26+
"INSIGHTS"
27+
]
28+
}

0 commit comments

Comments
 (0)