Stream: implementers
Topic: Gettings Patients along with their latest Observations
Hacène Khemici (Jun 27 2018 at 17:32):
Hi,
I currently have a web client for clinicians to monitor their patients.
On login, the clinician sees a list of patients along with their most recent observations. There are 25 patients displayed at one given time.
So far we have not used FHIR; the server returns "Patient" objects which include recent observations (does not conform to the FHIR Patient resource). This makes it so that we have 1 API call to fill the clinician's dashboard.
However, we are moving towards using FHIR. My question is the following:
How would I GET
Patients along with their most recent Observations efficiently while complying with FHIR (no Observations in the Patient resource)?
Would I do an initial GET Patient/
followed by a GET Observation?subject={Patient ID}
for each patient? Is there a way to specify an array of Patients to get Observations from (and have these Observations be the latest)? Please let me know if the answer is in the documentation, I must have missed it.
Thank you!
Grahame Grieve (Jun 27 2018 at 20:00):
@Eric Haas I don't think we have anything like this?
Michele Mottini (Jun 27 2018 at 20:02):
You can specify multiple patient IDs separated by comma and a starting date: GET Observation?patient=id1,id2,id2...&date=ge2018-06-01
Eric Haas (Jun 27 2018 at 20:19):
...or specify a group search operation. payload = Group along with the usual filter parameters or just list patients in the Parameter resource
Last updated: Apr 12 2022 at 19:14 UTC