Consolidated Statements of Operations - USD ($)
12 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Jun. 30, 2016
Revenues      
Total revenue $ 36,679,826 $ 27,269,963 $ 23,113,194
Cost of goods sold 9,794,898 8,217,439 7,640,626
Gross profit 26,884,928 19,052,524 15,472,568
Operating expenses:      
Selling expenses 16,368,381 14,220,907 12,632,961
General and administrative expenses 9,063,139 9,595,206 6,829,516
Research and development expenses 4,394,149 1,837,497 1,839,479
Total operating expenses 29,825,669 25,653,610 21,301,956
Loss from operations (2,940,741) (6,601,086) (5,829,388)
Other income (expense):      
Interest income 26,123 75 81
Royalty income 525,438 3,771,610 3,948,757
Other 2,274 (36,211) (21,878)
Total other income 553,835 3,735,474 3,926,960
(Loss) from continuing operations before income taxes (2,386,906) (2,865,612) (1,902,428)
Income tax expense (benefit) 5,416,646 (1,022,808) (573,351)
Net (loss) from continuing operations (7,803,552) (1,842,804) (1,329,077)
Discontinued operations:      
Gain from sale of discontinued operations net of tax of $58,883, $88,375 and $93,069, respectively 191,117 161,625 156,931
Net income from discontinued operations 191,117 161,625 156,931
Net (loss) $ (7,612,435) $ (1,681,179) $ (1,172,146)
Continuing operations:      
Basic (in dollars per share) $ (0.87) $ (0.22) $ (0.17)
Diluted (in dollars per share) (0.87) (0.22) (0.17)
Discontinued operations      
Basic (in dollars per share) 0.02 0.02 0.02
Diluted (in dollars per share) 0.02 0.02 0.02
Combined      
Basic (in dollars per share) (0.85) (0.20) (0.15)
Diluted (in dollars per share) $ (0.85) $ (0.20) $ (0.15)
Weighted average shares - Basic (in shares) 9,009,189 8,398,778 7,776,949
Weighted average shares - Diluted (in shares) 9,009,189 8,398,778 7,776,949
Product [Member]      
Revenues      
Total revenue $ 32,669,826 $ 27,269,963 $ 23,113,194
License [Member]      
Revenues      
Total revenue $ 4,010,000