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

[Phulwari] App/form Changes #37

Closed
5 of 6 tasks
garimadosar5 opened this issue Apr 12, 2021 · 3 comments
Closed
5 of 6 tasks

[Phulwari] App/form Changes #37

garimadosar5 opened this issue Apr 12, 2021 · 3 comments
Assignees

Comments

@garimadosar5
Copy link
Contributor

garimadosar5 commented Apr 12, 2021

Ref Doc - https://docs.google.com/document/d/1lGGvi0JJGJX813luiIN3-ulcp3MvYRO4LpvGBrWqbcg/edit?ts=60420c15

Phulwari Reg Form - Done on JSS UAT

  • Add question - "Day of month in Phulwari for Growth monitoring visit", (this question is currently asked for each child in child enrolment form) this question should not ask for each child.

Child Enrolment (Phulwari Program) -

  • Remove the above question from child enrolment form. Cannot remove until Phulwari is live. And visit scheduling for Growth monitoring needs to be updated accordingly.

  • Add a new option No/None in the already existing question - "Disability",and migrate already existing enrolments where there is no disablity. Also, remove skip logic from this ques.

  • Change in Disability-related change (Reg form) [Migration required]
    - Add a question "Specify other" if OTHER disability is selected.

  • Change in "Any chronic illness” question (reg form)
    - Add a question "Name of Disease" if Yes is selected for question "Any Chronic sickness".

Offline report Setup - Done on JSS UAT

  • Offline Report “Registered but not enrolled”
    Formula - All the children that are registered in the system but not enrolled in the Phulwari program.
@garimadosar5 garimadosar5 added this to the Apr12-Apr30 milestone Apr 12, 2021
@nupoorkhandelwal nupoorkhandelwal self-assigned this May 6, 2021
@nupoorkhandelwal
Copy link
Contributor

nupoorkhandelwal commented May 7, 2021

Migration script to update

set role jss;
with audits as(
update program_enrolment
set observations = observations ||
jsonb_build_object('100cf9ac-313d-4d20-9968-6113deecbb26',
'["ebda5e05-a995-43ca-ad1a-30af3b937539"]'::jsonb)
where single_select_coded((observations ->> 'cbcfdd44-dac8-435f-9cd9-35f20db1f367')::text) = 'No'
returning audit_id
)
update audit
set last_modified_date_time = current_timestamp
where id in (select audit_id from audits);

@garimadosar5
Copy link
Contributor Author

garimadosar5 commented May 10, 2021

QA Notes -

  • In Child enrolment form - Specify other questions are not added in chronic sickness and disability questions.
    Screenshot_2021-05-10-19-33-02-44.jpeg

@nupoorkhandelwal
Copy link
Contributor

@garimadosar5 Please test this change on staging!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants