Fixed in https://github.com/openmrs/openmrs-module-emrapi/commit/38a21ddbec00f3494ea0b3d1c57f7b3597eedbc6