Optimizing healthcare queues: a case study on chronic respiratory illness