Skip to content

Commit

Permalink
Merge pull request #2085 from opensrp/bug-fixing
Browse files Browse the repository at this point in the history
bug fixes
  • Loading branch information
owais-vd authored Jul 21, 2022
2 parents 8627061 + d1766a3 commit aa95f57
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
2 changes: 1 addition & 1 deletion opensrp-chw/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ dependencies {
exclude group: 'com.rengwuxian.materialedittext', module: 'library'
exclude group: 'org.smartregister', module: 'opensrp-client-native-form'
}
implementation('org.smartregister:opensrp-client-native-form:2.1.13-SNAPSHOT@aar') {
implementation('org.smartregister:opensrp-client-native-form:2.1.14-SNAPSHOT@aar') {
transitive = true
exclude group: 'com.android.support', module: 'appcompat-v7'
exclude group: 'com.android.support', module: 'cardview-v7'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,28 +14,13 @@ condition: "true"
actions:
- "calculation = step1_gest_age + ' weeks'"

---
name: step1_edd
description: Edd calculated
priority: 1
condition: "true"
actions:
- "calculation = step1_last_menstrual_period != '' ? helper.addDuration(step1_last_menstrual_period,'280d') : ''"

---
name: step1_gravida
description: gravida calculated
priority: 1
condition: "true"
actions:
- "calculation = step1_no_prev_preg + 1"
---
name: step1_last_menstrual_period
description: last_menstrual_period calculated
priority: 1
condition: "true"
actions:
- "calculation = helper.subtractDuration(step1_edd,'280d')"

---
name: step1_edd_note
Expand Down

0 comments on commit aa95f57

Please sign in to comment.