FHIR Chat · Medication Refills Remining · implementers

Stream: implementers

Topic: Medication Refills Remining


view this post on Zulip Bindu Swapna (Oct 03 2019 at 15:07):

we have requirement to map the refills remaining column to the FHIR resource.Could you please provide us the correct resource to map this column.

view this post on Zulip Jean Duteau (Oct 03 2019 at 15:12):

Is this being sent as part of Dispense information or as just a statement of a patient's use of a medication?

view this post on Zulip Bindu Swapna (Oct 03 2019 at 15:13):

Is this being sent as part of Dispense information or as just a statement of a patient's use of a medication?

Its part of patient medication.

view this post on Zulip Jean Duteau (Oct 03 2019 at 15:15):

So I'm assuming you are using MedicationStatement to convey that information? If so, then you'll need to create an extension.

view this post on Zulip Lloyd McKenzie (Oct 03 2019 at 16:03):

MedicationStatement doesn't really have a concept of refills or fills. If you're talking about refills, you're probably talking about MedicationRequest

view this post on Zulip Bindu Swapna (Oct 03 2019 at 17:10):

Ok Thank you....

view this post on Zulip Brendan Keeler (Jan 26 2022 at 00:36):

Following up on this - so there's no concept of "refills remaining" on a MedicationDispense?

view this post on Zulip Brendan Keeler (Jan 26 2022 at 00:37):

We'd have to link to the MedicationRequest and then allow someone else to calculate MedicationRequest.numberOfRepeatsAllowed - # of MedicationDispenses linked?

view this post on Zulip Jean Duteau (Jan 26 2022 at 00:44):

yes, we found that different systems had different concepts of fills remaining, especially when it came to taking into account partial fills, so it hasn't been a part of the FHIR MedDispense resource from the beginning.

view this post on Zulip Floyd Eisenberg (Feb 04 2022 at 16:32):

I realize this is an old Zulip thread. Is there any follow up about how one might reference refills remaining in MedicationDispense? Or is the answer the same. MedicationRequest allows numberofrepeatsallowed and initial fill but not number remaining. Just looking to see if there is any new information on the topic. My assumption is that an implementer would seek out MedicationDispense events subsequent to the MedicationRequest.DispenseRequest.initialFill and decrement the number of refills (repeats allowed) from that information. Please advise if that is a correct assumption.Thank you

view this post on Zulip Jean Duteau (Feb 04 2022 at 17:38):

I think that it would be an extension on MedicationDispense to indicate what the pharmacy believes the number of remaining fills is.

view this post on Zulip Brendan Keeler (Feb 04 2022 at 17:39):

Found this should be an extension
extension"" : [
{
""url"" : ""http://hl7.org/fhir/us/meds/StructureDefinition/refill-number-extension"",
""valuePositiveInt"" : 5
}
],"

view this post on Zulip Lloyd McKenzie (Feb 04 2022 at 17:39):

(Keeping in mind that remaining fills might be fractional)

view this post on Zulip Floyd Eisenberg (Feb 04 2022 at 17:39):

Or perhaps what a clinical organization believes is the number or remaining fills

view this post on Zulip Daniel Venton (Feb 04 2022 at 20:01):

If you place a remaining fills number on an instance of a dispense, do you go back and update that value on all previous instances of dispense so they can be up to date? There is a reason why you don't store computed values on resources, because computations change. If you want to know how many fills are left. You calculate f(number authorized - number used) and if a new dispense is done tomorrow the output of the f() changes but not the f() itself or values stored in the data.

This is similar to a previous thread. "I want an extension on a weight observation that shows the avg weight over the last X time." If we want to know the avg, fetch the measurements and calculate it. If you store calculated values then you might have consider how do I update the calculated value whenever a data point changed that could change the calculation.

view this post on Zulip Jean Duteau (Feb 04 2022 at 20:39):

I think the semantics of this would be "when this dispense was made, this was how many fills were remaining". But otherwise I do agree with you.

view this post on Zulip Brendan Keeler (Feb 05 2022 at 05:47):

The reason to include this is that it exists in other analogous standards. So that extension provides the ability to not be lossy.

I think it's pretty clear that it's intended as "at the time of this medication dispense, this many refills remained". If the total number of refills is included in the linked medicationRequest, is there any ambiguity?


Last updated: Apr 12 2022 at 19:14 UTC