XML 67 R49.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Business Acquisitions - Additional Information (Detail) $ in Thousands | 3 Months Ended | 12 Months Ended
--- | --- | ---
Mar. 31, 2017 | Dec. 31, 2017 USD ($) Company shares | Dec. 31, 2016 USD ($) Company Acquisition
Business Acquisition [Line Items] |  |  |
Number of physician group practices acquired | Company |  | 10 | 13
Number of neonatology practices acquired | Company |  | 1 | 1
Number of maternal-fetal medicine practices acquired | Company |  | 2 | 1
Number of other pediatric subspecialty practices acquired | Company |  | 2 | 2
Number of pediatric multi-specialty practice acquired | Company |  | 1 |
Number of radiology practices acquired | Company |  | 4 |
Total business acquisition consideration, net of cash acquired |  | $ 554,000 | $ 759,600
Cash payments to acquire businesses |  | 531,700 | 756,100
Payments to acquire business by issue of common stock |  | $ 2,700 |
Number of shares of common stock issued | shares |  | 69,014 |
Contingent consideration liability |  | $ 18,600 | $ 3,500
Purchase consideration liability |  | $ 1,000 |
Contractual restriction period on disposition or assignment of common stock |  | 3 years |
Assets held for sale, current |  | $ 23,500 |
Assets held for sale, other noncurrent assets |  | $ 22,500 |
Business combination contingent consideration arrangements description |  | The contingent consideration of $18.6 million recorded during the year ended December 31, 2017 is related to an agreement to pay an additional cash amount based on the achievement of certain performance measures for the period through June 1, 2019. |
Restricted cash |  | $ 20,000 |
Contingent consideration payments related to prior-period acquisitions |  | 6,200 |
Number of business acquired | Acquisition |  |  | 15
Cash acquired from acquisition |  |  | $ 15,000
Number of third-party receivables companies acquired | Company |  |  | 1
Number of anesthesiology practices acquired | Company |  |  | 8
Number of pediatric cardiology practices acquired | Company |  |  | 1
Number of patient engagement software company acquired | Company |  |  | 1
Sale of minority interest percentage | 75.00% |  |
Deconsolidation percentage | 100.00% |  |
Prior-Period Acquisitions [Member] |  |  |
Business Acquisition [Line Items] |  |  |
Increase in deferred tax liabilities |  | 500 |
Increase in goodwill resulting from finalization of tax acquisition accounting |  | 500 |
Contingent Consideration [Member] |  |  |
Business Acquisition [Line Items] |  |  |
Range of the undiscounted amount under contingent consideration agreement, low |  | 0 |
Range of the undiscounted amount under contingent consideration agreement, high |  | 20,000 |
Restricted cash |  | $ 20,000 |
Minimum [Member] | Contingent Consideration [Member] |  |  |
Business Acquisition [Line Items] |  |  |
Assumed discount rates for acquisition-date fair value |  | 4.00% |
Maximum [Member] | Contingent Consideration [Member] |  |  |
Business Acquisition [Line Items] |  |  |
Assumed discount rates for acquisition-date fair value |  | 4.75% |

X
- Definition Business combination disposition or assignment restriction period. + References No definition available. + Details
Name: | md_BusinessCombinationDispositionOrAssignmentRestrictionPeriod
Namespace Prefix: | md_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Deconsolidation percentage. + References No definition available. + Details
Name: | md_DeconsolidationPercentage
Namespace Prefix: | md_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of anesthesiology practices acquired. + References No definition available. + Details
Name: | md_NumberOfAnesthesiologyPracticesAcquired
Namespace Prefix: | md_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of maternal-fetal medicine practices acquired. + References No definition available. + Details
Name: | md_NumberOfMaternalfetalMedicinePracticesAcquired
Namespace Prefix: | md_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of neonatology practices acquired. + References No definition available. + Details
Name: | md_NumberOfNeonatologyPracticesAcquired
Namespace Prefix: | md_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of patient engagement software company acquired. + References No definition available. + Details
Name: | md_NumberOfPatientEngagementSoftwareCompanyAcquired
Namespace Prefix: | md_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of pediatric cardiology practices acquired. + References No definition available. + Details
Name: | md_NumberOfPediatricCardiologyPracticesAcquired
Namespace Prefix: | md_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of pediatric multi-specialty practices acquired. + References No definition available. + Details
Name: | md_NumberOfPediatricMultiSpecialtyPracticesAcquired
Namespace Prefix: | md_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of other pediatric subspecialty practices acquired. + References No definition available. + Details
Name: | md_NumberOfPediatricSubspecialtyPracticesAcquired
Namespace Prefix: | md_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of physician group practices acquired. + References No definition available. + Details
Name: | md_NumberOfPhysicianGroupPracticesAcquired
Namespace Prefix: | md_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of radiology practices acquired. + References No definition available. + Details
Name: | md_NumberOfRadiologyPracticesAcquired
Namespace Prefix: | md_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of third-party receivables companies acquired. + References No definition available. + Details
Name: | md_NumberOfThirdpartyReceivablesCompaniesAcquired
Namespace Prefix: | md_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Purchase consideration liability. + References No definition available. + Details
Name: | md_PurchaseConsiderationLiability
Namespace Prefix: | md_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Sale of minority interest percentage. + References No definition available. + Details
Name: | md_SaleOfMinorityInterestPercentage
Namespace Prefix: | md_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of assets held-for-sale that are not part of a disposal group, expected to be sold within a 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 360 -SubTopic 10 -Section 15 -Paragraph 4 -Subparagraph (b)(2) -URI http://asc.fasb.org/extlink&oid=77912953&loc=d3e400-110220 + Details
Name: | us-gaap_AssetsHeldForSaleNotPartOfDisposalGroupCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of other assets held-for-sale that are not part of a disposal group, expected to be sold within a 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 360 -SubTopic 10 -Section 15 -Paragraph 4 -Subparagraph (b)(2) -URI http://asc.fasb.org/extlink&oid=77912953&loc=d3e400-110220 + Details
Name: | us-gaap_AssetsHeldForSaleNotPartOfDisposalGroupCurrentOther
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Value of equity interests (such as common shares, preferred shares, or partnership interest) issued or issuable to acquire the entity. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (b)(4) -URI http://asc.fasb.org/extlink&oid=35744584&loc=d3e6927-128479 + Details
Name: | us-gaap_BusinessAcquisitionEquityInterestIssuedOrIssuableValueAssigned
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Number of shares of equity interests issued or issuable to acquire entity. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (b)(4) -URI http://asc.fasb.org/extlink&oid=35744584&loc=d3e6927-128479 + Details
Name: | us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

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_BusinessAcquisitionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of consideration transferred, consisting of acquisition-date fair value of assets transferred by the acquirer, liabilities incurred by the acquirer, and equity interest issued by the acquirer. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=6911251&loc=d3e6578-128477 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=35744584&loc=d3e6927-128479 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=6911251&loc=d3e6613-128477 + Details
Name: | us-gaap_BusinessCombinationConsiderationTransferred1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition For contingent consideration arrangements recognized in connection with a business combination, this element represents a description of such arrangements. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (c)(2) -URI http://asc.fasb.org/extlink&oid=35744584&loc=d3e6927-128479 + Details
Name: | us-gaap_BusinessCombinationContingentConsiderationArrangementsDescription
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition For contingent consideration arrangements recognized in connection with a business combination, this element represents an estimate of the high-end of the potential range (undiscounted) of the consideration which may be paid. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (c)(3) -URI http://asc.fasb.org/extlink&oid=35744584&loc=d3e6927-128479 + Details
Name: | us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition For contingent consideration arrangements and indemnification assets recognized in connection with a business combination, this element represents an estimate of the low-end of the potential range (undiscounted) of the consideration which may be paid. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (c)(3) -URI http://asc.fasb.org/extlink&oid=35744584&loc=d3e6927-128479 + Details
Name: | us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueLow
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of liability recognized arising from contingent consideration in a business combination. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=35744584&loc=d3e6927-128479 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 35 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6911338&loc=d3e6819-128478 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 25 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=6911189&loc=d3e6408-128476 + Details
Name: | us-gaap_BusinessCombinationContingentConsiderationLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of deferred tax liability attributable to taxable temporary difference assumed at the acquisition date that are classified as noncurrent. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=84161108&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The cash inflow associated with the acquisition of business during the period (for example, cash that was held by the acquired business). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 12 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3179-108585 + Details
Name: | us-gaap_CashAcquiredFromAcquisition
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Interest rate used to find the present value of an amount to be paid or received in the future as an input to measure fair value. For example, but not limited to, weighted average cost of capital (WACC), cost of capital, cost of equity and cost of debt. + 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 (bbb) -URI http://asc.fasb.org/extlink&oid=66048111&loc=d3e19207-110258 + Details
Name: | us-gaap_FairValueInputsDiscountRate
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of increase (decrease) from adjustments after acquisition date under purchase accounting of an asset representing the future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 25 -Paragraph 16 -URI http://asc.fasb.org/extlink&oid=84229725&loc=d3e961-128460 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (g) -URI http://asc.fasb.org/extlink&oid=35741047&loc=d3e13816-109267 + Details
Name: | us-gaap_GoodwillPurchaseAccountingAdjustments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The number of businesses acquired by the entity during the period. + References No definition available. + Details
Name: | us-gaap_NumberOfBusinessesAcquired
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Cash outflow representing an adjustment to the purchase price of a previous acquisition. + References No definition available. + Details
Name: | us-gaap_PaymentsForPreviousAcquisition
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash outflow associated with the acquisition of business during the period. The cash portion only of the acquisition price. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3213-108585 + Details
Name: | us-gaap_PaymentsToAcquireBusinessesGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of cash restricted as to withdrawal or usage, classified as noncurrent. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=98513485&loc=SL98516268-108586 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(17)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 4 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=82887183&loc=d3e6812-107765 Reference 4: 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=98514028&loc=d3e3044-108585 + Details
Name: | us-gaap_RestrictedCashNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=md_PriorPeriodAcquisitionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ContingentConsiderationByTypeAxis=md_ContingentConsiderationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |