XML 39 R31.htm IDEA: XBRL DOCUMENT
v3.25.1

Relationship with Universal Health Realty Income Trust and Other Related Party Transactions - Additional Information 1 (Detail) - Relationship with Universal Health Realty Income Trust - Bed | 3 Months Ended
--- | ---
Mar. 31, 2025 | Mar. 31, 2023
Related Party Transaction [Line Items] |  |
Number of beds available in acute care hospital |  | 170
Behavioral Health Care Facility |  |
Related Party Transaction [Line Items] |  |
Number of bed available in behavioral health care facility | 100 |

X
- Definition Number of beds available in acute care hospital. + References No definition available. + Details
Name: | uhs_NumberOfBedsAvailableInAcuteCareHospital
Namespace Prefix: | uhs_
Data Type: | xbrli:integerItemType
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 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: |