Medication Lists and doses

I am generally a newbie at rails, I come from a medical background. We
are building an application that generates dynamic forms for ordering
various tests in a medical application. We want to have the ability to
also choose medications and appropriate doses from the thousands of
medications that are available in a flexible way. Does anyone know of
a library or module that has been built using Rails to order
medications and their appropriate doses, rather than us creating one.