count the number of days between the appointments taken by the same patient.

The link you posted is for a file on your device, and obviously we can't access it. Please provide a reprex as suggested here.

1 Like