Compute gaps in a patient's therapy from the end of their prior fill to the beginning of the next. This function assumes that one has
arranged the dates and grouped appropriately outside of the function. The length of any gap will be appended
to the row after the gap has occurred.