Skip to content

Commit

Permalink
Restore main and opensrp app configs
Browse files Browse the repository at this point in the history
  • Loading branch information
f-odhiambo committed Nov 18, 2024
1 parent c0ade04 commit 9b1222f
Show file tree
Hide file tree
Showing 11 changed files with 4,098 additions and 1,246 deletions.
88 changes: 75 additions & 13 deletions android/quest/src/main/assets/configs/app/application_config.json
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"
}
Loading

0 comments on commit 9b1222f

Please sign in to comment.