8. Stock-Based Compensation (Details-Stock-based compensation) - USD ($)  | 
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Dec. 31, 2017  | 
Dec. 31, 2016  | 
Dec. 31, 2017  | 
Dec. 31, 2016  | 
|
| Total stock-based compensation | $ 665,000 | $ 914,000 | $ 1,530,000 | $ 1,732,000 | 
| Cost of service revenue [Member] | ||||
| Total stock-based compensation | 43,000 | 63,000 | 136,000 | 197,000 | 
| Research and development [Member] | ||||
| Total stock-based compensation | 38,000 | 77,000 | 128,000 | 201,000 | 
| Selling, general and administrative [Member] | ||||
| Total stock-based compensation | $ 584,000 | $ 774,000 | $ 1,266,000 | $ 1,334,000 | 
| X | ||||||||||
- Definition Represents the expense recognized during the period arising from equity-based compensation arrangements (for example, shares of stock, unit, stock options or other equity instruments) with employees, directors and certain consultants qualifying for treatment as employees. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  |