XML 55 R41.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Business and Summary of Significant Accounting Policies - Goodwill - Additional Information (Detail) - USD ($) |  | 12 Months Ended
--- | --- | ---
Oct. 01, 2024 | Dec. 31, 2023 | Dec. 31, 2022
Summary Of Business And Significant Accounting Policies [Line Items] |  |  |
Impairment of goodwill or indefinite-lived intangible assets | $ 0 | $ 0 | $ 0

X
- Definition Summary of business and significant accounting policies. + References No definition available. + Details
Name: | uhs_SummaryOfBusinessAndSignificantAccountingPoliciesLineItems
Namespace Prefix: | uhs_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Total loss recognized during the period from the impairment of goodwill plus the loss recognized in the period resulting from the impairment of the carrying amount of intangible assets, other than goodwill. + References No definition available. + Details
Name: | us-gaap_GoodwillAndIntangibleAssetImpairment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration