GAIAEH-207 me.pid value now is set during openEncounter method