How to create a service in Openmrs

I have a new service to be added on Openmrs will using in Hospital Where should I pass to add it in order to be sync in Pharmacy module?