XML 52 R39.htm IDEA: XBRL DOCUMENT
v3.6.0.2

Financial Instruments (Narrative) (Detail) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2016 | Dec. 31, 2015 | Dec. 31, 2014
Financial Instruments [Line Items] |  |  |
Realized Gain (Loss) on Marketable Securities, Cost Method Investments, and Other Investments | $ (313) | $ 458 | $ 771
US Treasury and Government Short-term Debt Securities [Member] |  |  |
Financial Instruments [Line Items] |  |  |
Available for Sale Securities Maturity Period | 5 years |  |

X
- Definition Number of maturity year relating to investment securities. + References No definition available. + Details
Name: | med_AvailableForSaleSecuritiesMaturityPeriod
Namespace Prefix: | med_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | med_FinancialInstrumentsLineItems
Namespace Prefix: | med_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition This item represents the total realized gain (loss) included in earnings for the period as a result of selling marketable securities categorized as trading, available-for-sale, or held-to-maturity and any gains or losses realized during the period from the sale of investments accounted for under the cost method of accounting and/or investments that are separately or otherwise not categorized as trading, available-for-sale, or held-to-maturity. Additionally, this item would include any losses recognized for other than temporary impairments (OTTI) of the subject investments in debt and equity securities. + References No definition available. + Details
Name: | us-gaap_RealizedGainLossOnMarketableSecuritiesCostMethodInvestmentsAndOtherInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_USTreasuryAndGovernmentShorttermDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |