XML 61 R48.htm IDEA: XBRL DOCUMENT
v3.6.0.2

Income Taxes (Narrative) (Detail) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2016 | Dec. 31, 2015 | Dec. 31, 2014
Tax Credit Carryforward [Line Items] |  |  |
Operating Loss Carryforwards Expiration Year | 2031 |  |
Operating Loss Carryforwards | $ 8,000 |  |
Income Tax Expense (Benefit), Intraperiod Tax Allocation, Total | 8,983 | $ 9,887 | $ 4,905
Tax Credit Carryforward, Amount | $ 110 |  |
Tax Credit Carryforward Expiration Year | 2022 |  |
Deferred Tax Liabilities, Net, Noncurrent | $ 779 | 3,682 |
Accounting Standards Update 2015-17 [Member] |  |  |
Tax Credit Carryforward [Line Items] |  |  |
Deferred Tax Assets Reclassified, Current | $ 1,700 | $ 1,200 | $ 3,700
Maryland State [Member] |  |  |
Tax Credit Carryforward [Line Items] |  |  |
Operating Loss Carryforwards Expiration Year | 2017 |  |
Operating Loss Carryforwards | $ 116 |  |

X
- Definition Operating loss carryforwards expiration year. + References No definition available. + Details
Name: | med_OperatingLossCarryforwardsExpirationYear
Namespace Prefix: | med_
Data Type: | xbrli:gYearItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tax credit carryforward expiration year. + References No definition available. + Details
Name: | med_TaxCreditCarryforwardExpirationYear
Namespace Prefix: | med_
Data Type: | xbrli:gYearItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount after allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards classified as current. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=65882285&loc=d3e32537-109319 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 45 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=75116654&loc=d3e31917-109318 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 45 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=75116654&loc=d3e31931-109318 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 45 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=75116654&loc=d3e31928-109318 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 45 -Paragraph 9 -URI http://asc.fasb.org/extlink&oid=75116654&loc=d3e31958-109318 + Details
Name: | us-gaap_DeferredTaxAssetsNetCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, after deferred tax asset, of deferred tax liability attributable to taxable differences, with jurisdictional netting and classified as noncurrent. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 45 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=75116654&loc=d3e31931-109318 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 45 -Paragraph 9 -URI http://asc.fasb.org/extlink&oid=75116654&loc=d3e31958-109318 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 45 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=75116654&loc=d3e31917-109318 + Details
Name: | us-gaap_DeferredTaxLiabilitiesNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 20 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=65896914&loc=d3e38679-109324 + Details
Name: | us-gaap_IncomeTaxExpenseBenefitIntraperiodTaxAllocation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of operating loss carryforward, before tax effects, available to reduce future taxable income under enacted tax laws. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=65882285&loc=d3e32559-109319 + Details
Name: | us-gaap_OperatingLossCarryforwards
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of the tax credit carryforward, before tax effects, available to reduce future taxable income under enacted tax laws. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=65882285&loc=d3e32559-109319 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Carryforwards -URI http://asc.fasb.org/extlink&oid=6506874 + Details
Name: | us-gaap_TaxCreditCarryforwardAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_TaxCreditCarryforwardLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_AdjustmentsForNewAccountingPronouncementsAxis=us-gaap_AccountingStandardsUpdate201517Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementGeographicalAxis=med_MarylandStateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |