I hope I can explain this... Okay, I am trying to find out what non-medical services were rendered during the prior 90-days to Prescription start date. Here's what I have so far:

The False at the left is pulling out non-medical services. It later joins to the medication data. I'm using this formula to determine prior 90-days:

Next, what is the formula I should use to figure out which services were provided during this time period?