How the nurse-to-patient ratio can affect quality measures