| FAIR VALUE MEASUREMENTS (Details) - Changes in the fair value of the Company's Level 3 financial liabilities measured at fair value | 9 Months Ended | 
|---|---|
| Jul. 31, 2017  USD ($) | |
| Changes in the fair value of the Company's Level 3 financial liabilities measured at fair value [Abstract] | |
| Balance October 31, 2016 | $ 4,171,876 | 
| Accreted interest on patent obligation | 228,026 | 
| Extinguishment of patent obligation | (4,399,902) | 
| Balance July 31, 2017 | 
| X | ||||||||||
| 
- References No definition available. 
 | 
| X | ||||||||||
| 
- Definition Extinguishment of patent obligation. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Interest expense recorded during the period for the accretion of interest on patent acquisition obligations. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Fair value of financial instrument classified as a liability measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 |