Converted encounter form to new security model