Stream: implementers
Topic: Appointment search parameter
Kathy Pickering (Nov 27 2019 at 16:29):
We want to be able to search for both booked and proposed appointments in one request. The current date search parameter is mapped to Appointment.start. Since proposed appointments are missing start, we need a new search parameter that is mapped to both Appointment.start and Appointment.requestedPeriod. We are proposing the new search parameter be called "date-period".
Does anyone else have the same requirement and have found a solution? Does anyone have a better name for the search parameter?
Grahame Grieve (Nov 27 2019 at 16:35):
shouldn't we just fix the existing parameter? but what if they are different?
Grahame Grieve (Nov 27 2019 at 16:36):
why not just 2 search parameters?
Jenni Syed (Dec 02 2019 at 16:28):
@Grahame Grieve In this case, the caller just wants appointments that will or might start at a certain time. This worked in prior versions because there was just one field. Without getting into the filter syntax, there would be no way to do this very basic workflow with one call (appointment.start OR appointment.requestedPeriod in a certain time period).
Jenni Syed (Dec 02 2019 at 16:28):
Which seems unfortunate
Jenni Syed (Dec 02 2019 at 16:29):
If both were populated, I would expect it to qualify if one qualified for range... I think. :) Since we were hoping for something like the equivalent "OR" query above
Grahame Grieve (Dec 02 2019 at 17:32):
well, you can add such a parameter yourself, but I guess it's going to be a Jira task for #patient administration WG
Brian Postlethwaite (Dec 29 2019 at 10:17):
And it totally makes sense to me to update the existing parameter.
Can you log it @Jenni Syed ?
Kathy Pickering (Jan 06 2020 at 17:14):
Logged https://jira.hl7.org/browse/FHIR-25419
Last updated: Apr 12 2022 at 19:14 UTC