Chlorine Dosing

How to calculate Chlorine dosing for pharmaceutical water systems?Is there any Calculation?If it is there plz give me the calculation.

And also plz tell me the chlorine contact time.Is there any guideline for the chlorine contact time?

Thanks in Advance