XML 40 R53.htm IDEA: XBRL DOCUMENT
v3.19.3.a.u2

Income Taxes (Summary of Tax Provision Allocation to Financial Statement Items) (Detail) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2019 | Dec. 31, 2018 | Dec. 31, 2017
Income Taxes [Abstract] |  |  |
Income from operations | $ 14,447 | $ 14,759 | $ 12,605
Stockholders' equity, unrealized gain (loss) on investment securities & foreign currency | 75 | 43 | 52
Total Income Tax Expense | $ 14,522 | $ 14,802 | $ 12,657

X
- Definition The sum of the tax effects of unrealized gain (loss) on investment securities & foreign currency occurring during the period that have been charged or credited directly to other comprehensive income or to related components of shareholders' equity. + References No definition available. + Details
Name: | med_UnrealizedGainLossOnInvestmentSecuritiesAndForeignCurrencyIncomeTaxEffectsAllocatedToEquity
Namespace Prefix: | med_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Definition Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 22 -Subparagraph (h) -URI http://asc.fasb.org/extlink&oid=115929826&loc=d3e8736-108599 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(h)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 20 -Section 45 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=109238882&loc=d3e38679-109324 + Details
Name: | us-gaap_IncomeTaxExpenseBenefit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of income tax expense (benefit) for continuing operations, discontinued operations, other comprehensive income, and items charged (credited) directly to shareholders' equity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 20 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=109238882&loc=d3e38679-109324 + Details
Name: | us-gaap_IncomeTaxExpenseBenefitIntraperiodTaxAllocation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration