S
Simon L
I am trying to set up a summary query to identify how many total days a
patient has gone without any medication. The following are the data that I
start with.
Member # Fill Date Days Supply Next Med Date
940183753-02 1/11/2007 30 2/10/2007
940183753-02 2/7/2007 30 3/9/2007
940183753-02 2/8/2007 28 3/8/2007
940183753-02 2/11/2007 90 5/12/2007
940183753-02 5/2/2007 90 7/31/2007
940183753-02 5/2/2007 90 7/31/2007
940183753-02 7/12/2007 30 8/11/2007
940183753-02 9/19/2007 30 10/19/2007
940183753-02 9/19/2007 30 10/19/2007
This particular mbr was on multiple meds for a specific disease and filled
those meds at various dates within a time period. Based on the days supply of
the each refill, I can calculate when he needs a refill before med runs out
(Next Med Date). What I need to find out is: once he started on a treatment
between 1/11/07 and 10/19/07, how many days he was without medication of any
kind. I need to have this info for thousand of mbrs being treated for
specific disease. Each mbr has differenct start and end date of tx period.
The type of meds does not matter, we just need to know if a mbr is on at
least one med. Any help will be appreciated. Thanks
patient has gone without any medication. The following are the data that I
start with.
Member # Fill Date Days Supply Next Med Date
940183753-02 1/11/2007 30 2/10/2007
940183753-02 2/7/2007 30 3/9/2007
940183753-02 2/8/2007 28 3/8/2007
940183753-02 2/11/2007 90 5/12/2007
940183753-02 5/2/2007 90 7/31/2007
940183753-02 5/2/2007 90 7/31/2007
940183753-02 7/12/2007 30 8/11/2007
940183753-02 9/19/2007 30 10/19/2007
940183753-02 9/19/2007 30 10/19/2007
This particular mbr was on multiple meds for a specific disease and filled
those meds at various dates within a time period. Based on the days supply of
the each refill, I can calculate when he needs a refill before med runs out
(Next Med Date). What I need to find out is: once he started on a treatment
between 1/11/07 and 10/19/07, how many days he was without medication of any
kind. I need to have this info for thousand of mbrs being treated for
specific disease. Each mbr has differenct start and end date of tx period.
The type of meds does not matter, we just need to know if a mbr is on at
least one med. Any help will be appreciated. Thanks