changed to depend on new emr-api-1.9