Missed some changes that were made to this fragment controller in the emr module after I copied it.