patterns essay sample case study on quality management system