medical errors requirement