Quality and safety assurance