XML 101 R87.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Relationship with Universal Health Realty Income Trust and Other Related Party Transactions - Additional Information 2 (Detail) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2024 USD ($) Bed | Dec. 31, 2023 USD ($) | Dec. 31, 2022 USD ($)
Related Party Transaction [Line Items] |  |  |
Lease and rental | $ 146,433 | $ 141,026 | $ 131,626
Relationship with Universal Health Realty Income Trust |  |  |
Related Party Transaction [Line Items] |  |  |
Financial liability included in debt | 73,800 | 77,500 |
Lease and rental | $ 21,200 | 20,600 |
Notice period on renewal of lease | 90 days |  |
Behavioral Health Care Facility | Relationship with Universal Health Realty Income Trust |  |  |
Related Party Transaction [Line Items] |  |  |
Lease and rental | $ 2,800 | $ 2,700 | $ 2,600
Notice period on renewal of lease | 270 days |  |
Number of bed available in behavioral health care facility | Bed | 100 |  |
Period of rights of refusal to leased facilities | 30 days |  |

X
- Definition Financial liability from fair value of real estate assets exchanged. + References No definition available. + Details
Name: | uhs_FinancialLiabilityFromFairValueOfRealEstateAssetsExchanged
Namespace Prefix: | uhs_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Notice period on renewal of lease. + References No definition available. + Details
Name: | uhs_NoticePeriodOnRenewalOfLease
Namespace Prefix: | uhs_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of beds available in behavioral health care facility. + References No definition available. + Details
Name: | uhs_NumberOfBedsAvailableInBehavioralHealthCareFacility
Namespace Prefix: | uhs_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period of rights of refusal to leased facilities. + References No definition available. + Details
Name: | uhs_PeriodOfRightsOfRefusalToLeasedFacilities
Namespace Prefix: | uhs_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of operating lease expense. Excludes sublease income. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 4 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479041/842-20-45-4 + Details
Name: | us-gaap_OperatingLeaseExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 310 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 13 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481990/310-10-45-13 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(2)(c)(2)(i)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(2)(c)(2)(ii)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(2)(g)(3)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-1 + Details
Name: | us-gaap_RelatedPartyTransactionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=uhs_UniversalHealthRealtyIncomeTrustMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=uhs_BehavioralHealthCareFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |