-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restore main and opensrp app configs
- Loading branch information
1 parent
c0ade04
commit 9b1222f
Showing
11 changed files
with
4,098 additions
and
1,246 deletions.
There are no files selected for viewing
88 changes: 75 additions & 13 deletions
88
android/quest/src/main/assets/configs/app/application_config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,90 @@ | ||
{ | ||
"appId": "opensrp", | ||
"appId": "app", | ||
"configType": "application", | ||
"theme": "DEFAULT", | ||
"appTitle": "OpenSRP", | ||
"remoteSyncPageSize": 250, | ||
"appTitle": "Quest", | ||
"registerDate": "2020-10-27", | ||
"reportRepeatTime": "23:22", | ||
"remoteSyncPageSize": 100, | ||
"languages": [ | ||
"en", | ||
"es", | ||
"sw", | ||
"fr" | ||
], | ||
"useDarkTheme": false, | ||
"syncInterval": 30, | ||
"syncStrategy": [ | ||
"CareTeam" | ||
"Location", | ||
"Organization", | ||
"CareTeam", | ||
"Practitioner" | ||
], | ||
"loginConfig": { | ||
"showLogo": true, | ||
"enablePin": true, | ||
"pinLength": 4 | ||
"supervisorContactNumber": "1234567890" | ||
}, | ||
"settingsScreenMenuOptions": [ | ||
"MANUAL_SYNC", | ||
"SWITCH_LANGUAGES", | ||
"RESET_DATA", | ||
"INSIGHTS" | ||
] | ||
} | ||
"deviceToDeviceSync": { | ||
"resourcesToSync": [ | ||
"Group", | ||
"Patient", | ||
"CarePlan", | ||
"Task", | ||
"Encounter", | ||
"Observation", | ||
"Condition", | ||
"Questionnaire", | ||
"QuestionnaireResponse", | ||
"RelatedPerson", | ||
"List", | ||
"Flag" | ||
] | ||
}, | ||
"eventWorkflows": [ | ||
{ | ||
"eventType": "RESOURCE_CLOSURE", | ||
"eventResources": [ | ||
{ | ||
"id": "sickChildConditionToBeClosed", | ||
"resource": "Condition", | ||
"configRules": [ | ||
{ | ||
"name": "patientId", | ||
"condition": "true", | ||
"actions": [ | ||
"data.put('patientId', fhirPath.extractValue(CarePlan, 'CarePlan.subject.reference'))" | ||
] | ||
} | ||
], | ||
"dataQueries": [ | ||
{ | ||
"paramName": "code", | ||
"filterCriteria": [ | ||
{ | ||
"dataType": "CODEABLECONCEPT", | ||
"value": { | ||
"system": "http://snomed.info/sct", | ||
"code": "275142008" | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"paramName": "subject", | ||
"filterCriteria": [ | ||
{ | ||
"dataType": "REFERENCE", | ||
"computedRule": "patientId" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
], | ||
"logGpsLocation": [ | ||
"QUESTIONNAIRE" | ||
], | ||
"dateFormat": "MMM d, hh:mm aa" | ||
} |
Oops, something went wrong.