XML 65 R54.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Business Combinations - Additional Information (Detail) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2023 USD ($) Number | Dec. 31, 2022 USD ($) Number
Business Acquisition [Line Items] |  |
Business Acquisition, Goodwill, Expected Tax Deductible Amount | $ 400 | $ 26,700
Other intangible assets | 4,500 | 2,300
Fixed assets | 100 | 2,200
Other non-current assets | 82,165 | 123,176
Pediatric Gastroenterology And Gynecology practice And Multi Location Pediatric Urgent Care Practice [Member] |  |
Business Acquisition [Line Items] |  |
Total business acquisition consideration |  | $ 31,300
Number of other multi location pediatric urgent care practice acquired | Number |  | 1
One pediatric gastroenterology practice | Number |  | 1
Business acquisition consiideration paid in cash |  | $ 26,500
Business acquisitions contingent consideration liability |  | 4,800
Pediatric Urology Practice [Member] |  |
Business Acquisition [Line Items] |  |
Total business acquisition consideration | $ 5,000 |
Number of pediatric urology practice acquired | Number | 1 |
Pediatric Subspecialty Practice [Member] |  |
Business Acquisition [Line Items] |  |
Other non-current assets |  | $ 100

X
- Definition Number of multi location pediatric urgent care practice acquired. + References No definition available. + Details
Name: | md_NumberOfMultiLocationPediatricUrgentCarePracticeAcquired
Namespace Prefix: | md_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number Of Pediatric Urology Practice Acquired + References No definition available. + Details
Name: | md_NumberOfPediatricUrologyPracticeAcquired
Namespace Prefix: | md_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition One pediatric gastroenterology practice + References No definition available. + Details
Name: | md_OnePediatricGastroenterologyPractice
Namespace Prefix: | md_
Data Type: | xbrli:integerItemType
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 Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479907/805-20-50-5 + Details
Name: | us-gaap_BusinessAcquisitionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of goodwill arising from a business combination that is expected to be deductible for tax purposes. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479581/805-30-50-1 + Details
Name: | us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 30 -Paragraph 8 -SubTopic 30 -Topic 805 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479637/805-30-30-8 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b) -SubTopic 30 -Topic 805 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479581/805-30-50-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 30 -Paragraph 7 -SubTopic 30 -Topic 805 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479637/805-30-30-7 + Details
Name: | us-gaap_BusinessCombinationConsiderationTransferred1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of assets that are expected to be realized or consumed within one year or the normal operating cycle, if longer, acquired at the acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479907/805-20-50-1 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of identifiable intangible assets recognized as of the acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 55 -Paragraph 37 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479303/805-10-55-37 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479907/805-20-50-1 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of property, plant, and equipment recognized as of the acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 55 -Paragraph 37 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479303/805-10-55-37 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479907/805-20-50-1 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of noncurrent assets classified as other. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(17)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_OtherAssetsNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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/disclosureRef -Topic 805 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479581/805-30-50-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-13 + Details
Name: | us-gaap_PaymentsToAcquireBusinessesGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

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

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