XML 74 R57.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Line of Credit, Long-Term Debt and Capital Lease Obligations - Summary of Estimated Fair Value of Notes (Detail) - Level 2 [Member] - Estimate of Fair Value Measurement [Member] - USD ($) $ in Thousands | Dec. 31, 2018 | Dec. 31, 2017
--- | --- | ---
5.25% Senior Unsecured Notes Due 2023 [Member] |  |
Debt Instrument Fair Value [Line Items] |  |
Estimated fair value | $ 736,725 | $ 763,125
6.25% Senior Unsecured Notes Due 2027 [Member] |  |
Debt Instrument Fair Value [Line Items] |  |
Estimated fair value | $ 482,500 |

X
- Definition Debt Instrument Fair Value [Line Items] + References No definition available. + Details
Name: | md_DebtInstrumentFairValueLineItems
Namespace Prefix: | md_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value portion of notes payable. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19,20,22) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_NotesPayableFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_CreditFacilityAxis=md_FivePointTwoFivePercentSeniorUnsecuredNotesDueTwoThousandTwentyThreeMember
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_FairValueByMeasurementBasisAxis=us-gaap_EstimateOfFairValueFairValueDisclosureMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=md_SixPointTwoFivePercentSeniorUnsecuredNotesDueTwoThousandTwentySevenMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |