-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update forms,relevance,config files
- Loading branch information
Showing
9 changed files
with
258 additions
and
26 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
91 changes: 91 additions & 0 deletions
91
opensrp-giz-malawi/src/main/assets/config/maternity-profile-overview.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,91 @@ | ||
--- | ||
group: | ||
sub_group: pregnancy_data_&_medical_history | ||
fields: | ||
- template: "Intake Time: {intake_time}" | ||
relevance: "intake_time != ''" | ||
|
||
- template: "Gravida: {gravidity}" | ||
relevance: "gravidity != ''" | ||
|
||
- template: "Para: {parity}" | ||
relevance: "parity != ''" | ||
|
||
- template: "Last Menstrual period: {lmp}" | ||
relevance: "lmp != ''" | ||
|
||
- template: "Gestation age in weeks: {ga_weeks_entered}" | ||
relevance: "ga_weeks_entered != ''" | ||
|
||
- template: "Gestation age in days: {ga_dys_entered}" | ||
relevance: "ga_days_entered != ''" | ||
|
||
- template: "When did labour begin? (Onset of Labour): {onset_labour}" | ||
relevance: "onset_labour != ''" | ||
|
||
- template: "Have there been any complications in previous pregnancies?: {previous_complications}" | ||
relevance: "parity > 0" | ||
|
||
- template: "Specify: {previous_complications_other}" | ||
relevance: "previous_complications_other != ''" | ||
|
||
- template: "What modes of delivery were used in any of the previous pregnancies?: {previous_delivery_mode}" | ||
relevance: "parity > 1" | ||
|
||
- template: "What were the outcomes of the previous pregnancies?: {previous_pregnancy_outcomes}" | ||
relevance: "parity > 1" | ||
|
||
- template: "Family medical history: {family_history}" | ||
relevance: "family_history != ''" | ||
|
||
- template: "Specify: {family_history_other}" | ||
relevance: "family_history_other != ''" | ||
|
||
- template: "Gestation Week: {ga_calculated}" | ||
relevance: "ga_calculated != ''" | ||
|
||
--- | ||
sub_group: hiv_status_&_treatment | ||
fields: | ||
- template: "Previous HIV Status: {hiv_status_previous}" | ||
relevance: "hiv_status_previous != ''" | ||
|
||
- template: "Current HIV Status: {hiv_status_current}" | ||
relevance: "hiv_status_current != ''" | ||
|
||
- template: "Is the woman on ART Treatment: {on_art_treatment}" | ||
relevance: "on_art_treatment != ''" | ||
|
||
- template: "ART Clinic Number: {art_clinic_number}" | ||
relevance: "art_clinic_number != ''" | ||
|
||
- template: "ART treatment start period: {hiv_treatment_srt}" | ||
relevance: "hiv_treatment_srt != ''" | ||
|
||
- template: "Why is the woman not on ART?: {not_art_reason}" | ||
relevance: "not_art_reason != ''" | ||
|
||
- template: "Reason why woman is not on ART: {not_art_reasons_other}" | ||
relevance: "not_art_reasons_other != ''" | ||
|
||
|
||
--- | ||
sub_group: demographic_information | ||
fields: | ||
- template: "Highest level of school: {educ_level}" | ||
relevance: "educ_level != ''" | ||
|
||
- template: "Marital Status: {marital_status}" | ||
relevance: "marital_status != ''" | ||
|
||
- template: "Occupation: {occupation}" | ||
relevance: "occupation != ''" | ||
|
||
- template: "Other Occupation: {occupation_other}" | ||
relevance: "occupation_other != ''" | ||
|
||
- template: "Religion: {religion}" | ||
relevance: "religion != ''" | ||
|
||
- template: "Other Religion: {religion_other}" | ||
relevance: "religion_other != ''" |
128 changes: 128 additions & 0 deletions
128
opensrp-giz-malawi/src/main/assets/config/pnc-profile-overview.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,128 @@ | ||
--- | ||
group: | ||
subGroup: pregnancy_data_&_medical_history | ||
relevance: "pmi_base_entity_id != null" | ||
fields: | ||
|
||
- template: "Gravida: {gravidity}" | ||
relevance: "gravidity != ''" | ||
isRedFont: "gravidity >= 5" | ||
|
||
- template: "Para: {parity}" | ||
relevance: "parity != ''" | ||
isRedFont: "parity >= 5" | ||
|
||
- template: "Last menstrual period date: {lmp_unknown} {lmp}" | ||
relevance: "lmp_unknown != '' || lmp != ''" | ||
|
||
- template: "Gestation age: {gest_age} " | ||
relevance: "gest_age != ''" | ||
|
||
- template: "Onset of Labour: {onset_labour}{onset_labour_time}" | ||
relevance: "onset_labour != '' || onset_labour_time != ''" | ||
|
||
- template: "Any past pregnancy problems?: {previous_complications}" | ||
relevance: "previous_complications != ''" | ||
|
||
- template: "Any past pregnancy problems(Other)?: {previous_complications_other}" | ||
relevance: "previous_complications_other != ''" | ||
|
||
- template: "Family medical history: {family_history}" | ||
relevance: "family_history != ''" | ||
|
||
- template: "Family medical history (Other): {family_history_other}" | ||
relevance: "family_history_other != ''" | ||
|
||
- template: "How many does of TDV did the mother receive?: {mother_tdv_doses}" | ||
relevance: "mother_tdv_doses != ''" | ||
|
||
- template: "Children Protected at birth (PAB): {protected_at_birth}" | ||
relevance: "protected_at_birth != ''" | ||
|
||
--- | ||
subGroup: delivery_&_outcome_details | ||
relevance: "pmi_base_entity_id != null" | ||
fields: | ||
|
||
- template: "Date of delivery: {delivery_date}" | ||
relevance: "delivery_date != ''" | ||
|
||
- template: "Place of delivery: {delivery_place}" | ||
relevance: "delivery_place != ''" | ||
|
||
- template: "Staff conducting the delivery: {delivery_person}" | ||
relevance: "delivery_person != ''" | ||
|
||
- template: "Staff conducting the delivery (Other): {delivery_person_other}" | ||
relevance: "delivery_person_other != ''" | ||
|
||
- template: "Mode of delivery: {delivery_mode}" | ||
relevance: "delivery_mode != ''" | ||
|
||
- template: "Mode of delivery (Other): {delivery_mode_other}" | ||
relevance: "delivery_mode_other != ''" | ||
|
||
- template: "Obstetric complications: {obstretic_complications}" | ||
relevance: "obstretic_complications != ''" | ||
isRedFont: "obstretic_complications != 'None'" | ||
|
||
- template: "Obstetric complications (Other): {obstretic_complications_other}" | ||
relevance: "obstretic_complications_other != ''" | ||
|
||
- template: "Obstetric care: {obstretic_care}" | ||
relevance: "obstretic_care != ''" | ||
|
||
- template: "Obstetric care (Other): {obstretic_care_other}" | ||
relevance: "obstretic_care_other != ''" | ||
|
||
- template: "Referred out: {referred_out}" | ||
relevance: "referred_out != ''" | ||
|
||
- template: "Vitamin A: {vit_a}" | ||
relevance: "vit_a != ''" | ||
|
||
- template: "Discharges status: {discharge_status}" | ||
relevance: "discharge_status != ''" | ||
|
||
--- | ||
subGroup: hiv_status_&_treatment | ||
relevance: "pmi_base_entity_id != null" | ||
fields: | ||
|
||
- template: "HIV status at registration: {hiv_status}" | ||
relevance: "hiv_status != ''" | ||
isRedFont: "hiv_status == 'positive'" | ||
|
||
- template: "Is the woman on ART treatment?: {on_art_treatment}" | ||
relevance: "on_art_treatment != ''" | ||
|
||
--- | ||
subGroup: demographic_information | ||
fields: | ||
- template: "Highest level of school: {educ_level}" | ||
relevance: "educ_level != ''" | ||
|
||
- template: "Marital Status: {marital_status}" | ||
relevance: "marital_status != ''" | ||
|
||
- template: "Occupation: {occupation}" | ||
relevance: "occupation != ''" | ||
|
||
- template: "Other Occupation: {occupation_other}" | ||
relevance: "occupation_other != ''" | ||
|
||
- template: "Religion: {religion}" | ||
relevance: "religion != ''" | ||
|
||
- template: "Other Religion: {religion_other}" | ||
relevance: "religion_other != ''" | ||
--- | ||
subGroup: livebirths | ||
|
||
--- | ||
subGroup: stillbirths | ||
fields: | ||
|
||
- template: "Number of babies stillborn: {baby_count_stillborn}" | ||
relevance: "baby_count_stillborn != ''" | ||
isRedFont: "baby_count_stillborn > 0" |
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
7 changes: 7 additions & 0 deletions
7
opensrp-giz-malawi/src/main/assets/rule/pnc/registration_relevance_rules.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,7 @@ | ||
--- | ||
name: step2_occupation_other | ||
description: occupation_other | ||
priority: 1 | ||
condition: "step2_occupation.contains('other')" | ||
actions: | ||
- "isRelevant = true" |
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
Oops, something went wrong.