Skip to content

Commit

Permalink
Merge pull request #2088 from opensrp/issue-2087
Browse files Browse the repository at this point in the history
Boresha Afya Fixes: Crash Following FP Initiation
  • Loading branch information
owais-vd authored Jul 16, 2022
2 parents 26e3ba0 + 5c96722 commit 8627061
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"validate_on_submit": false,
"validate_on_submit": true,
"show_errors_on_submit": false,
"count": "3",
"encounter_type": "Family Planning Registration",
Expand Down Expand Up @@ -779,13 +779,6 @@
"rules-file": "family_planning_registration_calculation.yml"
}
}
},
"relevance": {
"rules-engine": {
"ex-rules": {
"rules-file": "family_planning_registration_relevance.yml"
}
}
}
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ description: calculate fp start date
priority: 1
condition: "true"
actions:
- "calculation = step2_fp_method_accepted == 'Standard day method' ? step1_fp_reg_date : helper.getNonBlankValue([step3_fp_start_condom,step3_fp_start_cocpop,step3_fp_start_injectable,step3_fp_start_iucd,step3_fp_start_implant_nxt,step3_fp_start_implant_jad,step3_fp_start_female_ster,step3_fp_start_male_ster])"
- "calculation = step2_fp_method_accepted == 'Standard day method' ? step1_fp_reg_date : helper.getNonBlankValue([String.valueOf(step3_fp_start_condom),step3_fp_start_cocpop,step3_fp_start_injectable,step3_fp_start_iucd,step3_fp_start_implant_nxt,step3_fp_start_implant_jad,step3_fp_start_female_ster,step3_fp_start_male_ster])"

0 comments on commit 8627061

Please sign in to comment.