finding out if a patient has active ipd program or not
modified the size of the inputFrameClass
redirecting to the admission encounter if the patient is not admitted