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

Extent track appointment fields with conditions (like rounds) #520

Open
roelfaber opened this issue Oct 24, 2019 · 2 comments
Open

Extent track appointment fields with conditions (like rounds) #520

roelfaber opened this issue Oct 24, 2019 · 2 comments

Comments

@roelfaber
Copy link
Contributor

When a track has multiple appointment fields (e.g. at age 5/8/12/21 months) the automatic appointment filter always fills the first available appointment field. But for patients starting later (e.g. transferral at age 7 months) the first appointment(s) should be skipped. By adding conditions (in this case for age between 4 and 6 months) this first field could be invalid and the next would be filled. The conditions editor that is currently used for rounds only should work fine for this purpose.

@jvangestel
Copy link
Contributor

You can already set minimum and maximum time difference. The problem is that each field is relative to the previous. A fix would be to be able to set the base value from which these minimum and maximum should be calculated. Either from the previous appointmentfield, the respondent start date or maybe a date trackfield (with birthday, treatment start date, etc.)

Would this be an appropriate fix in this use case?

@roelfaber
Copy link
Contributor Author

This will work, but still one can't time appointments when e.g. previous appointments have been skipped. The interface is not clear in its descriptions and order. A new Out-of-the-box thinking proposal by users (maybe using a wizard-like approach) will be discussed in the next release meeting.

mddejong added a commit that referenced this issue Dec 31, 2019


Needs more work on linking to the items using a filter appointment but it is a start
mddejong added a commit that referenced this issue Jan 8, 2020
, also added Filter Check option at appointment level

The current extension do not change the workings of the fields, but do make it easier to see what happens where.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants