XML 79 R36.htm IDEA: XBRL DOCUMENT
v2.4.0.8

Long-Term Debt (Details) (USD $) | 0 Months Ended | 3 Months Ended |  | 3 Months Ended | 6 Months Ended | 12 Months Ended |  | 3 Months Ended | 12 Months Ended | 0 Months Ended | 1 Months Ended | 3 Months Ended | 6 Months Ended | 12 Months Ended | 2 Months Ended | 6 Months Ended |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Jan. 29, 2007 | Jun. 30, 2013 | Dec. 31, 2012 | Jun. 30, 2013 5% Convertible Senior Secured Promissory Note [Member] | Jun. 30, 2013 5% Convertible Senior Secured Promissory Note [Member] | Dec. 31, 2011 5% Convertible Senior Secured Promissory Note [Member] | Dec. 31, 2012 5% Convertible Senior Secured Promissory Note [Member] | Jun. 30, 2013 5% Convertible Senior Secured Promissory Note [Member] First Contingent Warrants [Member] | Dec. 31, 2011 5% Convertible Senior Secured Promissory Note [Member] First Contingent Warrants [Member] | Jul. 03, 2012 5% Convertible Senior Secured Promissory Note [Member] Second Contingent Warrants [Member] | Jul. 31, 2012 5% Convertible Senior Secured Promissory Note [Member] Second Contingent Warrants [Member] | Jun. 30, 2013 5% Convertible Senior Secured Promissory Note [Member] Second Contingent Warrants [Member] | Jun. 30, 2013 5% Convertible Senior Secured Promissory Note [Member] Second Contingent Warrants [Member] | Dec. 31, 2011 5% Convertible Senior Secured Promissory Note [Member] Chairman and CEO [Member] | Feb. 28, 2013 Loan Agreement [Member] | Jun. 30, 2013 Loan Agreement [Member] | May 17, 2013 Revolving Credit Facility [Member] Bank of America [Member] | May 17, 2013 Letter of Credit [Member] Bank of America [Member] | May 17, 2013 London Interbank Offered Rate (LIBOR) [Member] Loan Agreement [Member]
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Total debt |  | $ 0 | $ 5,313,645 | $ 0 | [1] | $ 0 | [1] |  | $ 5,313,645 | [1] |  |  |  |  |  |  |  |  |  |  |  |
Less unamortized debt discount |  | 0 | 1,301,203 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 1,328,000 |  |  |
Less current portion |  | 0 | 0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Long-term portion |  | 0 | 4,012,442 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Annual interest rate (in hundredths) |  | 5.00% |  | 5.00% |  | 5.00% |  | 5.00% | 5.00% |  |  |  |  |  |  |  |  |  |  |  |  | 2.00%
Maturity date |  |  |  |  |  | Dec. 31, 2013 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Additional interest payment (in hundredths) |  |  |  |  |  |  |  |  | 5.00% |  |  |  |  |  |  |  |  |  |  |  |  |
Percentage of equity securities to be sold for conversion of notes (in hundredths) |  |  |  |  |  |  |  |  |  |  | 25.00% |  |  |  | 25.00% |  |  |  |  |  |  |
Warrant exercise price (in dollars per share) |  |  |  |  |  | $ 1.09 |  |  |  |  | $ 0.01 |  |  |  |  | $ 0.01 |  |  |  |  |  |
Warrants vested (in shares) |  |  |  |  |  |  |  |  |  |  |  | 1,250,000 |  |  |  |  |  |  |  |  |  |
Warrants voided (in shares) |  |  |  |  |  |  |  |  |  |  |  |  |  | 1,250,000 |  |  |  |  |  |  |  |
Closing trading price of Company stock (in dollars per share) |  |  |  |  |  |  |  |  |  |  |  |  | $ 1.75 |  |  |  |  |  |  |  |  |
Number of consecutive trading days |  |  |  |  |  |  |  |  |  |  |  |  |  | 10 days |  |  |  |  |  |  |  |
Beneficial Conversion Feature Value Related To Convertible Debt Issued With Regard To Senior Secured Promissory Notes |  |  |  |  |  |  |  |  |  |  | 2,278,052 |  |  |  |  |  |  |  |  |  |  |
Proceeds from issuance of debt |  |  |  |  |  |  |  | 5,000,000 |  |  |  |  |  |  |  |  | 500,000 |  |  |  |  |
Convertible debt, shares issuable if converted (in shares) |  |  |  |  |  |  |  | 5,000,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Unpaid interest to be considered for conversion in to shares of common stock (in dollars per share) |  |  |  |  |  |  |  | $ 1.00 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Placement fee |  |  |  | 32,800 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Placement fee, warrants issued (in shares) | 1,120,000 |  |  | 42,400 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Warrants term |  | 5 years |  | 5 years |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Fair value of placement fee warrants |  |  |  | 15,000 |  | 15,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Direct costs of sale of notes |  |  |  | 47,800 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Conversion, Converted Instrument, Amount |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 5,272,000 |  |  |  |
Convertible secured promissory note to common stock (in shares) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 5,272,000 | 532,260 |  |  |
Line of Credit Facility, Maximum Borrowing Capacity |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 3,000,000 | $ 1,000,000 |
[1] | Investors received First Contingent Warrants (25% of amount invested) and Second Contingent Warrants (25% of amount invested) at an exercise price of $.01 per share. On December 31, 2011, a total of 1,250,000 First Contingent Warrants were vested. In July 2012, a total of 1,250,000 Second Contingent Warrants were voided due to the Company's share price trading at or above $1.75 for ten consecutive trading days. The additional interest resulting from the beneficial conversion feature, inclusive of the First Contingent Warrants, totaled $2,278,052 which was recorded as a debt discount and was amortized to interest expense using the effective interest rate over the life of the note.

X
- Definition The percentage of additional interest payment if not repaid in full by December 31, 2012. + References No definition available. + Details
Name: | mdxg_AdditionalInterestPaymentPercentage
Namespace Prefix: | mdxg_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The fair value of the beneficial conversion feature of debt issued with regard to the Senior Secured Promissory Notes. + References No definition available. + Details
Name: | mdxg_BeneficialConversionFeatureValueRelatedToConvertibleDebtIssuedWithRegardToSeniorSecuredPromissoryNotes
Namespace Prefix: | mdxg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The closing trading price of the company stock as a benchmark for Second Contingent Warrants to be voided. + References No definition available. + Details
Name: | mdxg_ClosingTradingPriceOfCompanyStock
Namespace Prefix: | mdxg_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of common stock that the holder of the debt instrument would receive if the debt was converted to equity. + References No definition available. + Details
Name: | mdxg_DebtInstrumentConvertibleNumberOfShares
Namespace Prefix: | mdxg_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Carrying amount of long-term debt and related party notes payable, net of unamortized discount or premium, scheduled to be repaid within one year or the normal operating cycle, if longer. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations. + References No definition available. + Details
Name: | mdxg_LongTermDebtIncludingRelatedPartyCurrentMaturities
Namespace Prefix: | mdxg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Number of consecutive trading days of the closing trading price of the company stock being at least $1.75, which causes Second Contingent Warrants to be voided. + References No definition available. + Details
Name: | mdxg_NumberOfConsecutiveTradingDays
Namespace Prefix: | mdxg_
Data Type: | us-types:durationStringItemType
Balance Type: | na
Period Type: | duration

X
- Definition This line item represents the percentage of equity securities to be sold for conversion of notes in to the shares of the entity. + References No definition available. + Details
Name: | mdxg_PercentageOfEquitySecuritiesToBeSoldForConversionOfNotes
Namespace Prefix: | mdxg_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of placement fees incurred in conjunction with the sale of the convertible senior secured promissory notes. + References No definition available. + Details
Name: | mdxg_PlacementFee
Namespace Prefix: | mdxg_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Unpaid interest to be considered for conversion in to shares of common stock upon the election of the holder of the note. + References No definition available. + Details
Name: | mdxg_UnpaidInterestToBeConsideredForConversionInToSharesOfCommonStock
Namespace Prefix: | mdxg_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition The price of one share of common stock for each warrant. + References No definition available. + Details
Name: | mdxg_WarrantExercisePrice
Namespace Prefix: | mdxg_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Term of warrants. + References No definition available. + Details
Name: | mdxg_WarrantsTerm
Namespace Prefix: | mdxg_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of warrants vested and shares issued as of the balance sheet date. + References No definition available. + Details
Name: | mdxg_WarrantsVested
Namespace Prefix: | mdxg_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of warrants voided during the period. + References No definition available. + Details
Name: | mdxg_WarrantsVoided
Namespace Prefix: | mdxg_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition The value of the financial instrument(s) that the original debt is being converted into in a noncash (or part noncash) transaction. "Part noncash" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4304-108586 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 32 -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4332-108586 + Details
Name: | us-gaap_DebtConversionConvertedInstrumentAmount1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The number of shares issued in exchange for the original debt being converted in a noncash (or part noncash) transaction. "Part noncash" refers to that portion of the transaction not resulting in cash receipts or payments in the period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4304-108586 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 32 -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4332-108586 + Details
Name: | us-gaap_DebtConversionConvertedInstrumentSharesIssued1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Including current and noncurrent portions, aggregate carrying amount of long-term borrowings as of the balance sheet date before deducting unamortized discount or premiums (if any). May include notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt, which had initial maturities beyond one year or beyond the normal operating cycle, if longer. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 20 -Article 5 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 22 -Article 5 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 16 -Article 9 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number APB14-1 -Paragraph 31 -Subparagraph b -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. + Details
Name: | us-gaap_DebtInstrumentCarryingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Interest rate stated in the contractual debt agreement. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 22 -Article 5 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_DebtInstrumentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Date when the debt instrument is scheduled to be fully repaid, in CCYY-MM-DD format. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 22 -Article 5 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(2)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 129 -Paragraph 2, 4 -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. + Details
Name: | us-gaap_DebtInstrumentMaturityDate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of debt discount that was originally recognized at the issuance of the instrument that has yet to be amortized. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 1A -URI http://asc.fasb.org/extlink&oid=6451184&loc=d3e28541-108399 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number APB14-1 -Paragraph 31 -Subparagraph b -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=6584090&loc=d3e28878-108400 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher AICPA -Name Accounting Principles Board Opinion (APB) -Number 21 -Paragraph 16, 20 -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. + Details
Name: | us-gaap_DebtInstrumentUnamortizedDiscount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of debt issuance costs (for example, but not limited to, legal, accounting, broker, and regulatory fees). + References No definition available. + Details
Name: | us-gaap_DebtIssuanceCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 129 -Paragraph 2, 4 -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 19, 22 -Article 5 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Carrying amount of long-term debt, net of unamortized discount or premium, excluding amounts to be repaid within one year or the normal operating cycle, if longer (current maturities). Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 22 -Article 5 + Details
Name: | us-gaap_LongTermDebtNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The cash inflow during the period from additional borrowings in aggregate debt. Includes proceeds from short-term and long-term debt. + References No definition available. + Details
Name: | us-gaap_ProceedsFromIssuanceOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Number of shares issued in lieu of cash for services contributed to the entity. Number of shares includes, but is not limited to, shares issued for services contributed by vendors and founders. + References No definition available. + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesIssuedForServices
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. This item represents warrants not settleable in cash classified as equity. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=7578670&loc=d3e19207-110258 + Details
Name: | us-gaap_WarrantsNotSettleableInCashFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant