Text this: An analysis of causation in medical law