Scottish health board uses a mobile app and digital platform to improve communication between patients and clinical teams and make the best possible use of clinic and theatre capacity.