FHIR Chat · NCPDP LastFillDate to FHIR · Medication

Stream: Medication

Topic: NCPDP LastFillDate to FHIR


view this post on Zulip Brendan Keeler (Jan 26 2022 at 17:45):

Looking at NCPDP LastFillDate and trying to figure out what it corresponds to. Should it go to whenPrepared or to whenHandedOver (or both)?

view this post on Zulip Jean Duteau (Jan 26 2022 at 18:20):

no, LastFillDate is a summary item across all dispenses, so it does not have a current data element in the FHIR resources. It would be the latest date in the list of all MedicationDispense.whenHandedOver for the medication in question.

view this post on Zulip Brendan Keeler (Jan 27 2022 at 01:51):

I am looking at LastFillDate across a number of dispenses returned by a NCPDP Med History query and they have different values

view this post on Zulip Jean Duteau (Jan 27 2022 at 03:20):

I guess I'll go back to the beginning - what is the definition of LastFillDate on a Dispense?

view this post on Zulip Brendan Keeler (Jan 27 2022 at 16:58):

Good question. I was hoping someone else might know. I have no idea, the NCPDP documentation is an indecipherable mess.

view this post on Zulip Melva Peters (Jan 27 2022 at 20:49):

That's probably a question NCPDP!

view this post on Zulip Brendan Keeler (Jan 28 2022 at 00:06):

Yeah I've asked there as well

view this post on Zulip Brendan Keeler (Jan 28 2022 at 00:06):

Just thinking that perhaps this community may have already run into it in mapping NCPDP to FHIR

view this post on Zulip Brendan Keeler (Jan 28 2022 at 00:06):

I'll update if i hear back

view this post on Zulip Brendan Keeler (Jan 28 2022 at 21:06):

Got an answer!
"LastFillDate is the date prepared. If the Pharmacy provides sold date (i.e. picked up), then that would be available in the OtherMedicationDate segment (there is a SoldDate qualifier there). Not all data sources provide the sold date though (it’s not required per the standard), so you may just see last fill date."


Last updated: Apr 12 2022 at 19:14 UTC