Stream: implementers
Topic: Deleted Medications
Pranitha Sruthi (Dec 21 2017 at 06:57):
Hi all, if I retrieve the list of medications for a particular patient to plot a medication graph, I get only the latest list but not the previous medications which were discontinued by the patient. How can I get the list of all medications i.e., the previous discontinued medications and current medications? Thank you
Lloyd McKenzie (Dec 21 2017 at 07:01):
What's the query you're using to retrieve medications now?
Jose Costa Teixeira (Dec 21 2017 at 07:02):
The current behaviour you describe and the desired behaviour are both depending on the way you query for data. How are you getting the "latest list"?
Pranitha Sruthi (Dec 22 2017 at 05:36):
Which one of the following approach shall I opt to retrieve the list of all the medications (both current and previous medications)
1. using the list resource (with help of version history)
2. using the list of MedicationStatements
Lloyd McKenzie (Dec 22 2017 at 17:00):
It depends. Some lists will only show current meds. Other lists might provide medication history as well. In either case, they'll be curated to filter out duplicates - either by a human or some sort of algorithm. Querying MedicationStatement directly will give you everything, but will also give you duplicate and potentially obsolete records
Lloyd McKenzie (Dec 22 2017 at 17:01):
As well, not all servers will necessarily expose List views of medications
Last updated: Apr 12 2022 at 19:14 UTC