The framework of quality measurement