Reliability in healthcare systems ensuring patient safety