Rest services for openmrs idgen api