-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #382 from OpenSRP/anc_hv_datepicker
ANC Home Visit Date Picker
- Loading branch information
Showing
53 changed files
with
1,703 additions
and
147 deletions.
There are no files selected for viewing
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
--- | ||
name: expiry | ||
description: expire lmp greter than 1 yr | ||
priority: 1 | ||
condition: "ancVisitAlertRule.isExpiry()" | ||
actions: | ||
- "ancVisitAlertRule.buttonStatus = 'EXPIRY'" | ||
--- | ||
name: visit_not_done | ||
description: press visit not done in this month | ||
priority: 1 | ||
condition: "ancVisitAlertRule.isVisitNotDone()" | ||
actions: | ||
- "ancVisitAlertRule.buttonStatus = 'NOT_VISIT_THIS_MONTH'" | ||
--- | ||
name: visit_twenty_four | ||
description: visit within twenty four hours | ||
priority: 2 | ||
condition: "ancVisitAlertRule.isVisitWithinTwentyFour()" | ||
actions: | ||
- "ancVisitAlertRule.buttonStatus = 'LESS_TWENTY_FOUR'" | ||
--- | ||
name: visit_this_month | ||
description: visit grether than 24 hours but within this month | ||
priority: 3 | ||
condition: "ancVisitAlertRule.isVisitWithinThisMonth()" | ||
actions: | ||
- "ancVisitAlertRule.buttonStatus = 'VISIT_THIS_MONTH'" | ||
--- | ||
name: overdue | ||
description: previous month not visited | ||
priority: 2 | ||
condition: "ancVisitAlertRule.isOverdueWithinMonth(1)" | ||
actions: | ||
- "ancVisitAlertRule.buttonStatus = 'OVERDUE'" | ||
--- | ||
name: due | ||
description: due first day of month and same month | ||
priority: 3 | ||
condition: "ancVisitAlertRule.isDueWithinMonth()" | ||
actions: | ||
- "ancVisitAlertRule.buttonStatus = 'DUE'" | ||
|
||
|
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
14 changes: 14 additions & 0 deletions
14
opensrp-chw/src/ba/assets/rule/anc_member_registration_relevance.yml
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
name: step1_name_person_assist | ||
description: assist person relevance | ||
priority: 1 | ||
condition: "step1_person_assist == 'Yes'" | ||
actions: | ||
- "isRelevant = true" | ||
--- | ||
name: step1_phone_person_assist | ||
description: assist person phone number relevance | ||
priority: 1 | ||
condition: "step1_person_assist == 'Yes'" | ||
actions: | ||
- "isRelevant = true" |
Oops, something went wrong.