Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sick child follow-up HF form & ANC danger signs outcome form #85

Merged
merged 25 commits into from
Apr 27, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
11040ca
:sparkles: Add generated Sick Child JSON form
allan-on Apr 3, 2020
d212a6b
:construction: Add missing Sick Child HF form attributes
allan-on Apr 6, 2020
8c089a2
:construction: Show sick child form on menu option selected
allan-on Apr 6, 2020
244238c
Merge branch 'master' of github.com:OpenSRP/opensrp-client-chw-hf int…
allan-on Apr 8, 2020
ebd10e3
:arrow_up: Update chw-core Snapshot version
allan-on Apr 9, 2020
e237d84
:construction: Add sick child follow up ec client fields & classifica…
allan-on Apr 9, 2020
d583e56
:construction: Process sick child follow-up form submission
allan-on Apr 9, 2020
4f24a02
:construction: Add sick child follow-up calculations and relevance
allan-on Apr 14, 2020
587a77d
:construction: Add diarrhea treatment hidden fields
allan-on Apr 14, 2020
22fc478
:construction: Save Diarrhea treatment values
allan-on Apr 14, 2020
a33f932
:bug: Fix sick child recording date entity id
allan-on Apr 14, 2020
b84bc21
:construction: Add ANC danger signs outcome JSON, calculation & relev…
allan-on Apr 14, 2020
5a697c0
:construction: Rename encounter type
allan-on Apr 15, 2020
d552db0
:construction: Fix ANC danger signs outcome form relevance
allan-on Apr 15, 2020
da8485b
:construction: Add EDD, LMP and Gest. Age hidden fields & display val…
allan-on Apr 16, 2020
f80c2c7
:construction: Add ANC danger signs ec_client fields and classification
allan-on Apr 16, 2020
41b6155
:construction: Handle saving of ANC danger signs checkbox values
allan-on Apr 16, 2020
3f855eb
Merge branch 'master' into 12-add-sick-child-hf-form
allan-on Apr 17, 2020
f86784b
Merge branch 'master' of github.com:OpenSRP/opensrp-client-chw-hf int…
allan-on Apr 22, 2020
ad2e640
Merge branch '12-add-sick-child-hf-form' of github.com:OpenSRP/opensr…
allan-on Apr 22, 2020
ff68e55
Merge branch 'master' of github.com:OpenSRP/opensrp-client-chw-hf int…
allan-on Apr 24, 2020
116d158
Merge branch '12-add-sick-child-hf-form' of github.com:OpenSRP/opensr…
allan-on Apr 24, 2020
74a403f
:recycle: Trigger Travis
allan-on Apr 24, 2020
d0fbb64
:recycle: Fix Sick Child HF form & refactor fields classification
allan-on Apr 26, 2020
724d6c1
:recycle: Refactor ANC danger signs ec fields definitions
allan-on Apr 27, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions opensrp-chw-hf/src/main/assets/ec_client_classification.json
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,20 @@
"creates_case": [
"ec_pnc_referral"
]
},
{
"field": "eventType",
"field_value": "Sick Child Follow-up",
"creates_case": [
"ec_sick_child_followup"
]
},
{
"field": "eventType",
"field_value": "ANC Danger Signs Outcome",
"creates_case": [
"ec_anc_danger_signs_outcome"
]
}
]
}
Expand Down
229 changes: 229 additions & 0 deletions opensrp-chw-hf/src/main/assets/ec_client_fields.json
Original file line number Diff line number Diff line change
Expand Up @@ -1712,6 +1712,235 @@
}
}
]
},
{
"name": "ec_sick_child_followup",
"columns": [
{
"column_name": "base_entity_id",
"type": "Event",
"json_mapping": {
"field": "baseEntityId"
}
},
{
"column_name": "visit_date",
"type": "Event",
"json_mapping": {
"field": "obs.fieldCode",
"concept": "date_sickchild"
}
},
{
"column_name": "weight",
"type": "Event",
"json_mapping": {
"field": "obs.fieldCode",
"concept": "5089AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
}
},
{
"column_name": "height",
"type": "Event",
"json_mapping": {
"field": "obs.fieldCode",
"concept": "5090AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
}
},
{
"column_name": "has_diarrhea",
"type": "Event",
"json_mapping": {
"field": "obs.fieldCode",
"concept": "142412AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
}
},
{
"column_name": "diarrhea_duration",
"type": "Event",
"json_mapping": {
"field": "obs.fieldCode",
"concept": "5984AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
}
},
{
"column_name": "dehydration_status",
"type": "Event",
"json_mapping": {
"field": "obs.fieldCode",
"concept": "1497AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
}
},
{
"column_name": "other_symptoms",
"type": "Event",
"save_format": "json_array",
"json_mapping": {
"field": "obs.fieldCode",
"concept": "other_sympt_sick_child"
}
},
{
"column_name": "test_ordered",
"type": "Event",
"json_mapping": {
"field": "obs.fieldCode",
"concept": "1271AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
}
},
{
"column_name": "other_test_ordered",
"type": "Event",
"json_mapping": {
"field": "obs.fieldCode",
"concept": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
}
},
{
"column_name": "test_results",
"type": "Event",
"json_mapping": {
"field": "obs.fieldCode",
"concept": "161577AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
}
},
{
"column_name": "diagnosis",
"type": "Event",
"json_mapping": {
"field": "obs.fieldCode",
"concept": "161602AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
}
},
{
"column_name": "diarrhea_treatment",
"type": "Event",
"save_format": "json_array",
"json_mapping": {
"field": "obs.fieldCode",
"concept": "diarrhea_treat"
}
},
{
"column_name": "amount_of_ors",
"type": "Event",
"json_mapping": {
"field": "obs.fieldCode",
"concept": "diarrhea_treat_ors"
}
},
{
"column_name": "amount_rehydration_infusion",
"type": "Event",
"json_mapping": {
"field": "obs.fieldCode",
"concept": "diarrhea_treat_rehydration"
}
},
{
"column_name": "amount_zinc",
"type": "Event",
"json_mapping": {
"field": "obs.fieldCode",
"concept": "diarrhea_treat_zinc"
}
},
{
"column_name": "drugs_taken_home",
"type": "Event",
"save_format": "json_array",
"json_mapping": {
"field": "obs.fieldCode",
"concept": "diarrhea_treat_walkaway"
}
},
{
"column_name": "non_diarrhea_treatment",
"type": "Event",
"json_mapping": {
"field": "obs.fieldCode",
"concept": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
}
},
{
"column_name": "dtc_period",
"type": "Event",
"json_mapping": {
"field": "obs.fieldCode",
"concept": "1785AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
}
},
{
"column_name": "results",
"type": "Event",
"json_mapping": {
"field": "obs.fieldCode",
"concept": "160433AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
}
}
]
},
{
"name": "ec_anc_danger_signs_outcome",
"columns": [
{
"column_name": "base_entity_id",
"type": "Event",
"json_mapping": {
"field": "baseEntityId"
}
},
{
"column_name": "visit_date",
"type": "Event",
"json_mapping": {
"field": "obs.fieldCode",
"concept": "anc_danger_signs_visitdate"
}
},
{
"column_name": "danger_signs_present",
"type": "Event",
"save_format": "json_array",
"json_mapping": {
"field": "obs.fieldCode",
"formSubmissionField": "danger_signs_present"
}
},
{
"column_name": "other_danger_signs",
"type": "Event",
"json_mapping": {
"field": "obs.fieldCode",
"concept": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
}
},
{
"column_name": "action_taken",
"type": "Event",
"save_format": "json_array",
"json_mapping": {
"field": "obs.fieldCode",
"formSubmissionField": "action_taken_anc_danger_signs"
}
},
{
"column_name": "managed_signs",
"type": "Event",
"json_mapping": {
"field": "obs.fieldCode",
"concept": "managed_signs"
}
},
{
"column_name": "comment",
"type": "Event",
"json_mapping": {
"field": "obs.fieldCode",
"concept": "comment_anc_danger_signs"
}
}
]
}
]
}
Loading