Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

List of missed appointments #351

Closed
tangollama opened this issue Mar 14, 2016 · 5 comments
Closed

List of missed appointments #351

tangollama opened this issue Mar 14, 2016 · 5 comments
Labels
in progress indicates that issue/pull request is currently being worked on

Comments

@tangollama
Copy link
Member

Create a new route in Appointments that lists the missed appointments. (suggested: /appointments/missed). The purpose for this is to create a mechanism for followup.

@tangollama tangollama added Appointments help wanted indicates that an issue is open for contributions labels Mar 14, 2016
@tangollama tangollama added this to the HospitalRun 1.0 milestone Mar 14, 2016
@pete-the-pete
Copy link
Contributor

I can look into this one if no one else has it.

@tangollama
Copy link
Member Author

Go for it.

Typed or dictated imperfectly on my iPhone (717.385.9970)

On Mar 14, 2016, at 10:37 PM, Pete [email protected] wrote:

I can look into this one if no one else has it.


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#351 (comment)

@tangollama
Copy link
Member Author

Assuming @pete-the-pete has this.

@tangollama tangollama added in progress indicates that issue/pull request is currently being worked on and removed help wanted indicates that an issue is open for contributions labels Mar 15, 2016
@pete-the-pete
Copy link
Contributor

Yep. I'll take a crack at it in the next few days.

@pete-the-pete
Copy link
Contributor

@tangollama I have started; I created a new applications/missed pod, and have looked at the other applications code for inspiration. I wanted to get your thoughts on my approach and assumptions, and maybe ask a few questions, before getting too far into it.

Assumptions/Requirements

  • this will add an 'appointments/missed' url
  • it will also add a 'Missed' sub-nav item in the the left menu
  • each missed appointment will have the edit and _delete _ functionality
  • the missed appointments will not have the add visit functionality

Approach

This will be very similar to the other appointments code; the route will extend AbstractIndexRoute and load the data; the controller will set the flags for the buttons, and the template will loop over the data, using the appointments' item/template.hbs for each row.

A 'missed' appointment will be any which has endDate < Date.now() && status !== canceled

Questions

Is the 'missed' logic correct?
Do we want to limit the functionality at all (not allowing adding a visit)?
Is the right approach to define the _filterParams in the appointments/missed/route?

Thanks for any feedback.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
in progress indicates that issue/pull request is currently being worked on
Projects
None yet
Development

No branches or pull requests

2 participants