XML 40 R32.htm IDEA: XBRL DOCUMENT
v3.25.2

Relationship with Universal Health Realty Income Trust and Other Related Party Transactions - Additional Information 2 (Detail) $ in Thousands | 3 Months Ended | 6 Months Ended | 12 Months Ended
--- | --- | --- | ---
Jun. 30, 2025 USD ($) | Jun. 30, 2024 USD ($) | Jun. 30, 2025 USD ($) Bed | Jun. 30, 2024 USD ($) | Dec. 31, 2024 USD ($) | Dec. 31, 2023 USD ($) | Dec. 31, 2022 USD ($) | Dec. 31, 2014 USD ($)
Related Party Transaction [Line Items] |  |  |  |  |  |  |  |
Lease and rental expense | $ 35,240 | $ 36,175 | $ 72,053 | $ 71,625 |  |  |  |
Financial liability | 72,000 |  | 72,000 |  | $ 74,000 |  |  | $ 74,000
Relationship with Universal Health Realty Income Trust |  |  |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |  |  |
Lease and rental expense | $ 5,000 | $ 5,000 | $ 11,000 | $ 11,000 |  |  |  |
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 expense |  |  |  |  |  | $ 2,700 | $ 2,600 | $ 2,800
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. + References No definition available. + Details
Name: | uhs_FinancialLiability
Namespace Prefix: | uhs_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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 850 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483326/850-10-50-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 850 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483326/850-10-50-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 850 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483326/850-10-50-3 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480738/235-10-S50-1 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(k)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-1 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(k)(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-1 Reference 7: 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 8: 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 9: 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 10: 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: |