(AREA) -- Two federal judges say a suburban-Detroit doctor charged with conducting a multimillion-dollar Medicare fraud scheme can leave jail if he posts a $170,000 bond and remains electronically tethered to his home. U.S. Magistrate Judge David Grand on Thursday set release conditions for Dr. Farid Fata. His lawyer and prosecutors both appealed, and U.S. District Judge David Lawson upheld the conditions. Defense lawyer Christopher Andreoff says a hearing Friday before a third judge will decide whether the cash bond that his client posts isn't drawn from funds linked to the Medicare fraud case. Fata is charged with deliberately misdiagnosing patients with cancer and ordering chemotherapy for others who didn't need it at Detroit-area clinics. Fata owns Michigan Hematology Oncology, which has offices in Clarkston, Bloomfield Hills, Lapeer, Sterling Heights, Troy and Oak Park. The government says the clinics billed $35 million to Medicare over two years.