-
Notifications
You must be signed in to change notification settings - Fork 0
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
Implement get by intake_id for all services relating to intake #209
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"longTermGoals": goal_service.get_goal_names_by_intake( | ||
intake.id, "LONG_TERM" | ||
), | ||
"familialConcerns": ["concern1", "concern2"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think its ok to leave this as an empty array
"transportRequirements": "", | ||
"schedulingRequirements": "", | ||
"suggestedStartDate": "", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
substitute lines ~177-183
into this to fill these in
"transportation_requirements": request.json["programDetails"][
"transportRequirements"
],
"scheduling_requirements": request.json["programDetails"][
"schedulingRequirements"
],
"suggested_start_date": request.json["programDetails"]["suggestedStartDate"],
"cpinFileNumber": child.cpin_number, | ||
"serviceWorker": child.service_worker, | ||
"specialNeeds": child.special_needs, | ||
"concerns": [], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
im gonna ask bowen abt the struct of the Child class/DTO, cuz it doesn't rly make sense to have this as an empty arr—i'll get back to u on this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!! ship it 🚢
* get caregiver by id works * fix intake id * add caregiver itnerface * add child service works, and appending to intake works * get opi by intake id working * fix caregiver method * make caregiver like jenny's * get children working * refactored get children * providers work * fix caregivers * opi works * add column to daytime_contacts and add goals to intake * daytime contacts working * add interface * run linter * fix goals and tests * Update seed for better testing * made changes based on review * revert changes to program details --------- Co-authored-by: Eugene Zhang <zhang.eug@gmail.com>
* get caregiver by id works * fix intake id * add caregiver itnerface * add child service works, and appending to intake works * get opi by intake id working * fix caregiver method * make caregiver like jenny's * get children working * refactored get children * providers work * fix caregivers * opi works * add column to daytime_contacts and add goals to intake * daytime contacts working * add interface * run linter * fix goals and tests * Update seed for better testing * made changes based on review * revert changes to program details --------- Co-authored-by: Eugene Zhang <zhang.eug@gmail.com>
* visit.py for DELETE CRUD function * delete_visit implementation * delete_visit bug fixed * spelling error fix (attendace to attendance) * initial commit * initial * visit put endpoint implemented * added attendance_record_service.py interface * Update attendance sheet fields (#208) * finalized attendance sheet field changes * Perform linting * Remove month field from attendance sheet DTO * fixed linting --------- Co-authored-by: Omer Adeel <oadeel@uwaterloo.ca> * Implement get by intake_id for all services relating to intake (#209) * get caregiver by id works * fix intake id * add caregiver itnerface * add child service works, and appending to intake works * get opi by intake id working * fix caregiver method * make caregiver like jenny's * get children working * refactored get children * providers work * fix caregivers * opi works * add column to daytime_contacts and add goals to intake * daytime contacts working * add interface * run linter * fix goals and tests * Update seed for better testing * made changes based on review * revert changes to program details --------- Co-authored-by: Eugene Zhang <zhang.eug@gmail.com> * fix program detail values and review form (#205) * fix program detail values and review form * remove log * fix positioning of icons in program intake form --------- Co-authored-by: Omer Adeel <oadeel@uwaterloo.ca> * Merge db heads (#213) * Implement visit component skeleton (#202) * Implement visit component skeleton * fix linting * Fix small comments * fix linting issue * Wrapped exit arrow with button * lint * Kevin y/implement attendance record service (#210) * Created attendance sheet service, routes (in visit.py), and test * Fixed test b/c attendance sheet got updated * Fix edit caregiver to delete logic (#215) * Fit Intake Cases (#212) modified position, padding, and case width * Refactor case over routing to display proper case data (#214) * Add dynamic routing and data read on case overview * fix linting * change data saving for caseLead --------- Co-authored-by: Omer Adeel <oadeel@uwaterloo.ca> * Implement Visit REST Endpoints (GET) (#211) * Create visit.py * Run linter and instantiate visit.py * Implement GET visits endpoints * Stylistic changes * Run linter * Make requested changes * Add interface descriptions & Fix Wordings (#220) * Fix sheet funciton name * Sheet interface chore * Sheet & Behavior chore * Fill in Additional Fields and Restructuring Object for GET Intake (#217) * got transportRequirements, schedulingRequirements, and suggestedStartDate working * everything working except child behaviour * make concerns work * run linter * implement PR changes * implemented pr changes pt 2 * lint code' * load cases in view all cases page (#219) * Fix: Replace lead with referringWorker (#223) Replace lead with worker * visit.py for DELETE CRUD function * delete_visit bug fixed * spelling error fix (attendace to attendance) * initial commit * initial * visit put endpoint implemented * pr changes * linting backend --------- Co-authored-by: Omer Adeel <57784751+omeradeel26@users.noreply.github.com> Co-authored-by: Omer Adeel <oadeel@uwaterloo.ca> Co-authored-by: Jacqueline Fung <fungjsl@gmail.com> Co-authored-by: Eugene Zhang <zhang.eug@gmail.com> Co-authored-by: Bowen Zhu <43287170+bowenzhu1@users.noreply.github.com> Co-authored-by: Eugene Zhang <86681988+Ezzhingy@users.noreply.github.com> Co-authored-by: Kevin Yan <70108329+kevinasian122@users.noreply.github.com> Co-authored-by: Cindy Li <82128464+cindyhjli@users.noreply.github.com> Co-authored-by: JoshuaYe <joshua.ye@live.com> Co-authored-by: Jenny Vong <jenny_vong@outlook.com>
* visit.py for DELETE CRUD function * delete_visit implementation * delete_visit bug fixed * spelling error fix (attendace to attendance) * initial commit * initial * visit put endpoint implemented * added attendance_record_service.py interface * Update attendance sheet fields (#208) * finalized attendance sheet field changes * Perform linting * Remove month field from attendance sheet DTO * fixed linting --------- Co-authored-by: Omer Adeel <oadeel@uwaterloo.ca> * Implement get by intake_id for all services relating to intake (#209) * get caregiver by id works * fix intake id * add caregiver itnerface * add child service works, and appending to intake works * get opi by intake id working * fix caregiver method * make caregiver like jenny's * get children working * refactored get children * providers work * fix caregivers * opi works * add column to daytime_contacts and add goals to intake * daytime contacts working * add interface * run linter * fix goals and tests * Update seed for better testing * made changes based on review * revert changes to program details --------- Co-authored-by: Eugene Zhang <zhang.eug@gmail.com> * fix program detail values and review form (#205) * fix program detail values and review form * remove log * fix positioning of icons in program intake form --------- Co-authored-by: Omer Adeel <oadeel@uwaterloo.ca> * Merge db heads (#213) * Implement visit component skeleton (#202) * Implement visit component skeleton * fix linting * Fix small comments * fix linting issue * Wrapped exit arrow with button * lint * Kevin y/implement attendance record service (#210) * Created attendance sheet service, routes (in visit.py), and test * Fixed test b/c attendance sheet got updated * Fix edit caregiver to delete logic (#215) * Fit Intake Cases (#212) modified position, padding, and case width * Refactor case over routing to display proper case data (#214) * Add dynamic routing and data read on case overview * fix linting * change data saving for caseLead --------- Co-authored-by: Omer Adeel <oadeel@uwaterloo.ca> * Implement Visit REST Endpoints (GET) (#211) * Create visit.py * Run linter and instantiate visit.py * Implement GET visits endpoints * Stylistic changes * Run linter * Make requested changes * Add interface descriptions & Fix Wordings (#220) * Fix sheet funciton name * Sheet interface chore * Sheet & Behavior chore * Fill in Additional Fields and Restructuring Object for GET Intake (#217) * got transportRequirements, schedulingRequirements, and suggestedStartDate working * everything working except child behaviour * make concerns work * run linter * implement PR changes * implemented pr changes pt 2 * lint code' * load cases in view all cases page (#219) * Fix: Replace lead with referringWorker (#223) Replace lead with worker * visit.py for DELETE CRUD function * delete_visit bug fixed * spelling error fix (attendace to attendance) * initial commit * initial * visit put endpoint implemented * pr changes * linting backend --------- Co-authored-by: Omer Adeel <57784751+omeradeel26@users.noreply.github.com> Co-authored-by: Omer Adeel <oadeel@uwaterloo.ca> Co-authored-by: Jacqueline Fung <fungjsl@gmail.com> Co-authored-by: Eugene Zhang <zhang.eug@gmail.com> Co-authored-by: Bowen Zhu <43287170+bowenzhu1@users.noreply.github.com> Co-authored-by: Eugene Zhang <86681988+Ezzhingy@users.noreply.github.com> Co-authored-by: Kevin Yan <70108329+kevinasian122@users.noreply.github.com> Co-authored-by: Cindy Li <82128464+cindyhjli@users.noreply.github.com> Co-authored-by: JoshuaYe <joshua.ye@live.com> Co-authored-by: Jenny Vong <jenny_vong@outlook.com>
Notion ticket link
Implement get by intake_id for all services relating to intake
Implementation description
Steps to test
What should reviewers focus on?
Checklist