added documentation for emr
cleaning up