Hi Leonid,

Thank you so much for this post. It is definitely inspirational.
However, I am encountering an issue where I need to identify at least three medication overlapping (I don't need to calculate the overlapping period, but I need to flag it). The overlapping requires medications A, B, and C are all overlapped -- hard task to tackle.

Would you have any clues or ideas on how to solve this case?

Thank you.
Bocheng