Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Calculating 30 day hospital readmission rates for unique patients

jcoranx1
5 - Atom

 

MRNAdmitDateDischargeDate
22019-01-052019-01-07
22019-01-302019-02-03
32019-11-202019-11-25
42019-05-122019-05-15
42019-05-192019-05-26
42019-07-292019-08-04
52019-04-082019-04-14
62019-03-092019-03-13
62019-03-182019-03-23
62019-08-012019-08-09

 

I am trying to calculate 30 day readmission rates for unique patients in a large dataset. I am familiar with how to use the datetime difference formula to calculate length of stay or 30 day intervals between a discharge and admit date. Where I am stuck, is how to calculate the 30 day readmission rates with the condition of unique patient identifiers?

 

I included dummy data with similar structure to see if anyone on the forums can assist me. Is anyone able to walk me through the tool or code that can accomplish this?

10 REPLIES 10
DonnaB
5 - Atom

Hi there, I'm a student and having a difficult time trying to read the pick to get the formulas for both the Readmit Times and Readmit Flag. Can you please advise?

Thanks

Donna

Labels