Changed how the patient registration view works