XML 53 R40.htm IDEA: XBRL DOCUMENT
v3.6.0.2

Financial Instruments (Cash and Available for Sale Securities Adjusted Cost, Gross Unrealized Gains, Gross Unrealized Losses, and Fair Value by Significant Investment Category) (Detail) - USD ($) $ in Thousands | Dec. 31, 2016 | Dec. 31, 2015 | Dec. 31, 2014 | Dec. 31, 2013
--- | --- | --- | --- | ---
Cash and Cash Equivalents and Marketable Securities [Line Items] |  |  |  |
Cost | $ 76,927 | $ 67,237 |  |
Unrealized Gains |  | 372 |  |
Unrealized Losses | (396) | (583) |  |
Accrued Interest | 317 | 83 |  |
Estimated Fair Value | 76,848 | 67,109 |  |
Cash & Cash Equivalents | 52,436 | 42,037 | $ 24,459 | $ 36,382
Investment Securities | 24,412 | 25,072 |  |
Cash [Member] |  |  |  |
Cash and Cash Equivalents and Marketable Securities [Line Items] |  |  |  |
Cost | 52,005 | 38,276 |  |
Estimated Fair Value | 52,005 | 38,276 |  |
Cash & Cash Equivalents | 52,005 | 38,276 |  |
Fair Value, Inputs, Level 1 [Member] |  |  |  |
Cash and Cash Equivalents and Marketable Securities [Line Items] |  |  |  |
Cost | 3,086 | 20,172 |  |
Unrealized Gains |  | 308 |  |
Unrealized Losses | (48) | (539) |  |
Accrued Interest | 9 | 17 |  |
Estimated Fair Value | 3,047 | 19,958 |  |
Cash & Cash Equivalents | 431 | 3,761 |  |
Investment Securities | 2,616 | 16,197 |  |
Fair Value, Inputs, Level 1 [Member] | Money Market Funds [Member] |  |  |  |
Cash and Cash Equivalents and Marketable Securities [Line Items] |  |  |  |
Cost | 431 | 3,761 |  |
Estimated Fair Value | 431 | 3,761 |  |
Cash & Cash Equivalents | 431 | 3,761 |  |
Fair Value, Inputs, Level 1 [Member] | Mutual Funds [Member] |  |  |  |
Cash and Cash Equivalents and Marketable Securities [Line Items] |  |  |  |
Cost |  | 9,654 |  |
Unrealized Gains |  | 37 |  |
Unrealized Losses |  | (444) |  |
Estimated Fair Value |  | 9,247 |  |
Investment Securities |  | 9,247 |  |
Fair Value, Inputs, Level 1 [Member] | Corporate Equity Securities [Member] |  |  |  |
Cash and Cash Equivalents and Marketable Securities [Line Items] |  |  |  |
Cost |  | 1,332 |  |
Unrealized Gains |  | 246 |  |
Unrealized Losses |  | (76) |  |
Estimated Fair Value |  | 1,502 |  |
Investment Securities |  | 1,502 |  |
Fair Value, Inputs, Level 1 [Member] | Government and Agency Securities [Member] |  |  |  |
Cash and Cash Equivalents and Marketable Securities [Line Items] |  |  |  |
Cost | 2,655 | 5,425 |  |
Unrealized Gains |  | 25 |  |
Unrealized Losses | (48) | (19) |  |
Accrued Interest | 9 | 17 |  |
Estimated Fair Value | 2,616 | 5,448 |  |
Investment Securities | 2,616 | 5,448 |  |
Fair Value, Inputs, Level 2 [Member] |  |  |  |
Cash and Cash Equivalents and Marketable Securities [Line Items] |  |  |  |
Cost | 21,836 | 8,789 |  |
Unrealized Gains |  | 64 |  |
Unrealized Losses | (348) | (44) |  |
Accrued Interest | 308 | 66 |  |
Estimated Fair Value | 21,796 | 8,875 |  |
Investment Securities | 21,796 | 8,875 |  |
Fair Value, Inputs, Level 2 [Member] | Municipal Bonds [Member] |  |  |  |
Cash and Cash Equivalents and Marketable Securities [Line Items] |  |  |  |
Cost | 21,836 | 2,735 |  |
Unrealized Gains |  | 42 |  |
Unrealized Losses | (348) | (3) |  |
Accrued Interest | 308 | 20 |  |
Estimated Fair Value | 21,796 | 2,794 |  |
Investment Securities | $ 21,796 | 2,794 |  |
Fair Value, Inputs, Level 2 [Member] | Corporate Bonds |  |  |  |
Cash and Cash Equivalents and Marketable Securities [Line Items] |  |  |  |
Cost |  | 6,054 |  |
Unrealized Gains |  | 22 |  |
Unrealized Losses |  | (41) |  |
Accrued Interest |  | 46 |  |
Estimated Fair Value |  | 6,081 |  |
Investment Securities |  | $ 6,081 |  |

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

X
- Definition Amount of investment in debt and equity securities categorized neither as held-to-maturity nor trading. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 25 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=65884222&loc=d3e22054-111558 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 5 -Subparagraph (aa) -URI http://asc.fasb.org/extlink&oid=73527792&loc=d3e27232-111563 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=66010992&loc=d3e26610-111562 + Details
Name: | us-gaap_AvailableForSaleSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount before tax of unrealized gain in accumulated other comprehensive income (AOCI) on investments in debt and equity securities classified as available-for-sale. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=73527792&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount before tax of unrealized loss in accumulated other comprehensive income (AOCI) on investments in debt and equity securities classified as available-for-sale. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=73527792&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of investments in debt securities classified as available-for-sale, expected to be converted to cash, sold or exchanged within one year or the normal operating cycle, if longer. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 25 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=65884222&loc=d3e22054-111558 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=66010992&loc=d3e26626-111562 + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Cash -URI http://asc.fasb.org/extlink&oid=6506951 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=28358313&loc=d3e6676-107765 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=66902209&loc=d3e3044-108585 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Cash Equivalents -URI http://asc.fasb.org/extlink&oid=6507016 Reference 5: 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.1) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_CashAndCashEquivalentsAtCarryingValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Carrying amount as of the balance sheet date of interest earned but not received. Also called accrued interest or accrued interest receivable. + 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.8) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_InterestReceivable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Value of the investment at close of period. For schedules of investments that are categorized, the value would be aggregated by category. For investment in and advances to affiliates, if operations of any controlled companies are different in character from those of the company, group such affiliates within divisions and by type of activities. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 320 -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12.Column C.3,4) -URI http://asc.fasb.org/extlink&oid=50485924&loc=d3e611133-123010 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 320 -Section S99 -Paragraph 4 -Subparagraph (SX 210.12-12C.Column C.7) -URI http://asc.fasb.org/extlink&oid=50485924&loc=d3e611225-123010 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 320 -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14.Column E.2,3) -URI http://asc.fasb.org/extlink&oid=50485924&loc=d3e611322-123010 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 320 -Section S99 -Paragraph 5 -Subparagraph (SX 210.12-13.Column C.6) -URI http://asc.fasb.org/extlink&oid=50485924&loc=d3e611282-123010 + Details
Name: | us-gaap_InvestmentOwnedAtFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_CashAndCashEquivalentsAxis=us-gaap_CashMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CashAndCashEquivalentsAxis=us-gaap_MoneyMarketFundsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CashAndCashEquivalentsAxis=med_MutualFundsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CashAndCashEquivalentsAxis=med_CorporateEquitySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CashAndCashEquivalentsAxis=med_GovernmentAgencySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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