From 63cfa76bdf167d1b5eca5e668937f1ae2376c0fa Mon Sep 17 00:00:00 2001 From: sharon2719 Date: Mon, 16 May 2022 14:06:43 +0300 Subject: [PATCH 1/3] alter relevance for informant question --- opensrp-chw/src/crvs/assets/rule/birth_certification.yml | 2 +- .../src/crvs/assets/rule/out_of_area_child_form_rules.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/opensrp-chw/src/crvs/assets/rule/birth_certification.yml b/opensrp-chw/src/crvs/assets/rule/birth_certification.yml index 1e7d032fb2..72981ccb02 100644 --- a/opensrp-chw/src/crvs/assets/rule/birth_certification.yml +++ b/opensrp-chw/src/crvs/assets/rule/birth_certification.yml @@ -51,6 +51,6 @@ actions: name: step1_birth_reg_type description: no. condoms priority: 1 -condition: "step1_birth_cert == 'Yes' || step1_system_birth_notification == 'Yes'" +condition: "step1_birth_cert == 'Yes' || step1_system_birth_notification == 'Yes'|| step1_birth_notification == 'Yes'" actions: - "isRelevant = true" diff --git a/opensrp-chw/src/crvs/assets/rule/out_of_area_child_form_rules.yml b/opensrp-chw/src/crvs/assets/rule/out_of_area_child_form_rules.yml index a4acf6255d..6fdd366944 100644 --- a/opensrp-chw/src/crvs/assets/rule/out_of_area_child_form_rules.yml +++ b/opensrp-chw/src/crvs/assets/rule/out_of_area_child_form_rules.yml @@ -79,7 +79,7 @@ actions: name: step1_birth_reg_type description: Birth Registration Type priority: 1 -condition: "step1_birth_cert == 'Yes' || step1_system_birth_notification == 'Yes'" +condition: "step1_birth_cert == 'Yes' || step1_system_birth_notification == 'Yes' || step1_birth_notification == 'Yes'" actions: - "isRelevant = true" --- From 5d289443510e8634767636c79fb9fc8bb5b013c5 Mon Sep 17 00:00:00 2001 From: Allan Date: Wed, 18 May 2022 22:19:15 +0300 Subject: [PATCH 2/3] :globe_with_meridians: Update missing FR translations --- .../resources/birth_certification_changed_fr.properties | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/opensrp-chw/src/crvs/resources/birth_certification_changed_fr.properties b/opensrp-chw/src/crvs/resources/birth_certification_changed_fr.properties index ad4dcda2a6..dae3c4801d 100644 --- a/opensrp-chw/src/crvs/resources/birth_certification_changed_fr.properties +++ b/opensrp-chw/src/crvs/resources/birth_certification_changed_fr.properties @@ -13,7 +13,7 @@ birth_certification_changed.step1.system_birth_notification.values[0] = Oui birth_certification_changed.step1.birth_cert.values[1] = Non birth_certification_changed.step1.birth_notification.values[0] = Oui birth_certification_changed.step1.title = Birth Certification -birth_certification_changed.step1.birth_reg_type.values[0] = Les deux parents +birth_certification_changed.step1.birth_reg_type.values[0] = Le(s) parents est/sont allés au BEC birth_certification_changed.step1.informant_reason.hint = Si informateur, donnez la raison pour laquelle la mère ou le père ne fait pas la demande. birth_certification_changed.step1.birth_reg_type.values[4] = Un autre déclarant birth_certification_changed.step1.birth_registration.values[0] = Oui @@ -21,8 +21,8 @@ birth_certification_changed.step1.birth_reg_type.values[2] = Un personnel de san birth_certification_changed.step1.birth_notification.v_required.err = Veuillez sélectionner une option birth_certification_changed.step1.birth_cert_num.hint = Numéro de l'acte de naissance birth_certification_changed.step1.system_birth_notification.values[1] = Non -birth_certification_changed.step1.system_birth_notification.hint = Cet enfant est éligible à la notification électronique de naissance, voulez-vous procéder à la notification de naissance? -birth_certification_changed.step1.birth_notification.hint = La déclaration de naissance a-t-elle été fait? +birth_certification_changed.step1.system_birth_notification.hint = cet enfant est dans le délai légal de 90 jours après la naissance et peut être enregistré gratuitement, voulez-vous procéder à la déclaration de naissance par procuration? +birth_certification_changed.step1.birth_notification.hint = La déclaration de naissance a-t-elle été faite? birth_certification_changed.step1.birthinstroductions.text = Demandez à voir la declaration de naissance et demandez au parent d'enregistrer la naissance auprès des agents d'Etat civil. birth_certification_changed.step1.birth_cert_num.v_required.err = Veuillez entrer le numéro birth_certification_changed.step1.birth_notification.values[1] = Non From 1984e9ab175ffc316f977155472fadbad97f65af Mon Sep 17 00:00:00 2001 From: Allan Date: Thu, 19 May 2022 10:31:34 +0300 Subject: [PATCH 3/3] :recycle: Rename birth cert relevance files --- .../assets/json.form/birth_certification.json | 16 ++++++------ .../birth_certification_changed.json | 6 ++--- .../out_of_area_child_enrollment.json | 26 +++++++++---------- ....yml => birth_certification_relevance.yml} | 6 ++--- ...ut_of_area_child_enrollment_relevance.yml} | 0 5 files changed, 27 insertions(+), 27 deletions(-) rename opensrp-chw/src/crvs/assets/rule/{birth_certification.yml => birth_certification_relevance.yml} (92%) rename opensrp-chw/src/crvs/assets/rule/{out_of_area_child_form_rules.yml => out_of_area_child_enrollment_relevance.yml} (100%) diff --git a/opensrp-chw/src/crvs/assets/json.form/birth_certification.json b/opensrp-chw/src/crvs/assets/json.form/birth_certification.json index c59a90c32b..bda592bbfa 100644 --- a/opensrp-chw/src/crvs/assets/json.form/birth_certification.json +++ b/opensrp-chw/src/crvs/assets/json.form/birth_certification.json @@ -101,7 +101,7 @@ "relevance": { "rules-engine": { "ex-rules": { - "rules-file": "birth_certification_intro_relevance_rule.yml" + "rules-file": "birth_certification_relevance.yml" } } } @@ -123,7 +123,7 @@ "relevance": { "rules-engine": { "ex-rules": { - "rules-file": "birth_certification.yml" + "rules-file": "birth_certification_relevance.yml" } } } @@ -143,7 +143,7 @@ "relevance": { "rules-engine": { "ex-rules": { - "rules-file": "birth_certification.yml" + "rules-file": "birth_certification_relevance.yml" } } } @@ -175,7 +175,7 @@ "relevance": { "rules-engine": { "ex-rules": { - "rules-file": "birth_certification_intro_relevance_rule.yml" + "rules-file": "birth_certification_relevance.yml" } } } @@ -190,7 +190,7 @@ "relevance": { "rules-engine": { "ex-rules": { - "rules-file": "birth_certification.yml" + "rules-file": "birth_certification_relevance.yml" } } } @@ -218,7 +218,7 @@ "relevance": { "rules-engine": { "ex-rules": { - "rules-file": "birth_certification.yml" + "rules-file": "birth_certification_relevance.yml" } } } @@ -252,7 +252,7 @@ "relevance": { "rules-engine": { "ex-rules": { - "rules-file": "birth_certification.yml" + "rules-file": "birth_certification_relevance.yml" } } } @@ -268,7 +268,7 @@ "relevance": { "rules-engine": { "ex-rules": { - "rules-file": "birth_certification.yml" + "rules-file": "birth_certification_relevance.yml" } } } diff --git a/opensrp-chw/src/crvs/assets/json.form/birth_certification_changed.json b/opensrp-chw/src/crvs/assets/json.form/birth_certification_changed.json index 531ab1cb29..2eb6f1602c 100644 --- a/opensrp-chw/src/crvs/assets/json.form/birth_certification_changed.json +++ b/opensrp-chw/src/crvs/assets/json.form/birth_certification_changed.json @@ -203,7 +203,7 @@ "relevance": { "rules-engine": { "ex-rules": { - "rules-file": "birth_certification.yml" + "rules-file": "birth_certification_relevance.yml" } } } @@ -237,7 +237,7 @@ "relevance": { "rules-engine": { "ex-rules": { - "rules-file": "birth_certification.yml" + "rules-file": "birth_certification_relevance.yml" } } } @@ -253,7 +253,7 @@ "relevance": { "rules-engine": { "ex-rules": { - "rules-file": "birth_certification.yml" + "rules-file": "birth_certification_relevance.yml" } } } diff --git a/opensrp-chw/src/crvs/assets/json.form/out_of_area_child_enrollment.json b/opensrp-chw/src/crvs/assets/json.form/out_of_area_child_enrollment.json index 1c4c0b10f1..1b6f8e56fc 100644 --- a/opensrp-chw/src/crvs/assets/json.form/out_of_area_child_enrollment.json +++ b/opensrp-chw/src/crvs/assets/json.form/out_of_area_child_enrollment.json @@ -102,7 +102,7 @@ "relevance": { "rules-engine": { "ex-rules": { - "rules-file": "out_of_area_child_form_rules.yml" + "rules-file": "out_of_area_child_enrollment_relevance.yml" } } } @@ -440,7 +440,7 @@ "relevance": { "rules-engine": { "ex-rules": { - "rules-file": "out_of_area_child_form_rules.yml" + "rules-file": "out_of_area_child_enrollment_relevance.yml" } } } @@ -487,7 +487,7 @@ "relevance": { "rules-engine": { "ex-rules": { - "rules-file": "out_of_area_child_form_rules.yml" + "rules-file": "out_of_area_child_enrollment_relevance.yml" } } } @@ -613,7 +613,7 @@ "relevance": { "rules-engine": { "ex-rules": { - "rules-file": "out_of_area_child_form_rules.yml" + "rules-file": "out_of_area_child_enrollment_relevance.yml" } } } @@ -655,7 +655,7 @@ "relevance": { "rules-engine": { "ex-rules": { - "rules-file": "out_of_area_child_form_rules.yml" + "rules-file": "out_of_area_child_enrollment_relevance.yml" } } } @@ -769,7 +769,7 @@ "relevance": { "rules-engine": { "ex-rules": { - "rules-file": "out_of_area_child_form_rules.yml" + "rules-file": "out_of_area_child_enrollment_relevance.yml" } } } @@ -793,7 +793,7 @@ "relevance": { "rules-engine": { "ex-rules": { - "rules-file": "out_of_area_child_form_rules.yml" + "rules-file": "out_of_area_child_enrollment_relevance.yml" } } } @@ -821,7 +821,7 @@ "relevance": { "rules-engine": { "ex-rules": { - "rules-file": "out_of_area_child_form_rules.yml" + "rules-file": "out_of_area_child_enrollment_relevance.yml" } } } @@ -836,7 +836,7 @@ "relevance": { "rules-engine": { "ex-rules": { - "rules-file": "out_of_area_child_form_rules.yml" + "rules-file": "out_of_area_child_enrollment_relevance.yml" } } } @@ -864,7 +864,7 @@ "relevance": { "rules-engine": { "ex-rules": { - "rules-file": "out_of_area_child_form_rules.yml" + "rules-file": "out_of_area_child_enrollment_relevance.yml" } } } @@ -892,7 +892,7 @@ "relevance": { "rules-engine": { "ex-rules": { - "rules-file": "out_of_area_child_form_rules.yml" + "rules-file": "out_of_area_child_enrollment_relevance.yml" } } } @@ -922,7 +922,7 @@ "relevance": { "rules-engine": { "ex-rules": { - "rules-file": "out_of_area_child_form_rules.yml" + "rules-file": "out_of_area_child_enrollment_relevance.yml" } } } @@ -938,7 +938,7 @@ "relevance": { "rules-engine": { "ex-rules": { - "rules-file": "out_of_area_child_form_rules.yml" + "rules-file": "out_of_area_child_enrollment_relevance.yml" } } } diff --git a/opensrp-chw/src/crvs/assets/rule/birth_certification.yml b/opensrp-chw/src/crvs/assets/rule/birth_certification_relevance.yml similarity index 92% rename from opensrp-chw/src/crvs/assets/rule/birth_certification.yml rename to opensrp-chw/src/crvs/assets/rule/birth_certification_relevance.yml index 72981ccb02..ae93e81d27 100644 --- a/opensrp-chw/src/crvs/assets/rule/birth_certification.yml +++ b/opensrp-chw/src/crvs/assets/rule/birth_certification_relevance.yml @@ -49,8 +49,8 @@ actions: - "isRelevant = true" --- name: step1_birth_reg_type -description: no. condoms +description: Informant priority: 1 -condition: "step1_birth_cert == 'Yes' || step1_system_birth_notification == 'Yes'|| step1_birth_notification == 'Yes'" +condition: "step1_birth_cert == 'Yes' || step1_system_birth_notification == 'Yes' || step1_birth_notification == 'Yes'" actions: - - "isRelevant = true" + - "isRelevant = true" \ No newline at end of file diff --git a/opensrp-chw/src/crvs/assets/rule/out_of_area_child_form_rules.yml b/opensrp-chw/src/crvs/assets/rule/out_of_area_child_enrollment_relevance.yml similarity index 100% rename from opensrp-chw/src/crvs/assets/rule/out_of_area_child_form_rules.yml rename to opensrp-chw/src/crvs/assets/rule/out_of_area_child_enrollment_relevance.yml