changed to use 1.2 version of emr-api