XML 47 R33.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Treasury - Additional Information (Detail) - USD ($) |  |  | 1 Months Ended | 6 Months Ended | 9 Months Ended |  |  |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Sep. 13, 2021 | Aug. 24, 2021 | Aug. 31, 2021 | Jun. 30, 2022 | Sep. 30, 2022 | Sep. 30, 2021 | Mar. 31, 2022 | Dec. 31, 2021 | Apr. 30, 2021 | Sep. 21, 2020 | Oct. 23, 2018
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Rate adjustment to weighted average federal funds rate for credit facility borrowings |  |  |  |  | 0.50% |  |  |  |  |  |
Rate adjustment to one month Eurodollar rate on credit facility borrowings |  |  |  |  | 1.00% |  |  |  |  |  |
Accounts receivable securitization program credit facility, borrowing capacity |  |  |  |  | $ 450,000,000 |  |  |  |  |  |
Accounts receivable securitization program credit facility, available borrowing capacity |  |  |  |  |  |  |  |  | $ 20,000,000 |  |
Securitized extended maturity date |  |  |  |  | Jul. 22, 2022 |  |  |  |  |  |
Accounts receivable securitization program credit facility, amount outstanding |  |  |  |  | $ 0 |  |  |  |  |  |
Debt instrument carrying amount |  |  |  |  | 4,700,000,000 |  |  | $ 4,200,000,000 |  |  |
Fair value of debt |  |  |  |  | 4,300,000,000 |  |  | 4,200,000,000 |  |  |
Foreign Currency Forward Exchange Contracts |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Net cash (outflows) inflows |  |  |  |  | 177,000,000 | $ (4,000,000) |  |  |  |  |
Debt |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Financial liabilities |  |  |  |  | $ 82,000,000 |  |  | $ 82,000,000 |  |  |
Revolving Credit Facility |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Line of credit facility, borrowing capacity |  | $ 1,200,000,000 |  |  |  |  |  |  |  |  | $ 1,000,000,000.0
Line of credit facility, maturity date |  |  |  |  | Aug. 24, 2026 |  |  |  |  |  |
Line of credit facility increased (decreased) amount |  | $ 200,000,000 |  |  |  |  |  |  |  |  |
Line of credit facility amount outstanding |  |  |  |  | $ 189,000,000 |  |  |  |  |  |
Line of credit facility, available borrowing capacity |  |  |  |  | $ 1,007,000,000.000 |  |  |  |  |  |
Revolving Credit Facility | One Month LIBOR Rate Plus Index Based Loans |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Current applicable margins |  |  |  |  | 1.50% |  |  |  |  |  |
Revolving Credit Facility | ABR-based loans |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Current applicable margins |  |  |  |  | 0.50% |  |  |  |  |  |
Revolving Credit Facility | One Month SOFR Rate Plus Index Based Loans |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Current applicable margins |  |  |  |  | 1.50% |  |  |  |  |  |
Revolving Credit Facility | Letter of Credit |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Line of credit facility, borrowing capacity |  |  |  |  | $ 125,000,000 |  |  |  |  |  |
Letters of credit, outstanding |  |  |  |  | $ 4,000,000 |  |  |  |  |  |
Revolving Credit Facility | Minimum | One Month LIBOR Rate Plus Index Based Loans |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Consolidated Leverage Ratio |  |  |  |  | 0.25% |  |  |  |  |  |
Revolving Credit Facility | Minimum | One Three Six Month LIBOR Rate Plus Index Based Loans |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Consolidated Leverage Ratio |  |  |  |  | 1.25% |  |  |  |  |  |
Revolving Credit Facility | Minimum | One Month SOFR Rate Plus Index Based Loans |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Consolidated Leverage Ratio |  |  |  |  | 0.25% |  |  |  |  |  |
Revolving Credit Facility | Minimum | One Three Six Month SOFR Rate Plus Index Based Loans |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Consolidated Leverage Ratio |  |  |  |  | 1.25% |  |  |  |  |  |
Revolving Credit Facility | Maximum | One Month LIBOR Rate Plus Index Based Loans |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Consolidated Leverage Ratio |  |  |  |  | 0.625% |  |  |  |  |  |
Revolving Credit Facility | Maximum | One Three Six Month LIBOR Rate Plus Index Based Loans |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Consolidated Leverage Ratio |  |  |  |  | 1.625% |  |  |  |  |  |
Revolving Credit Facility | Maximum | One Month SOFR Rate Plus Index Based Loans |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Consolidated Leverage Ratio |  |  |  |  | 0.625% |  |  |  |  |  |
Revolving Credit Facility | Maximum | One Three Six Month SOFR Rate Plus Index Based Loans |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Consolidated Leverage Ratio |  |  |  |  | 1.625% |  |  |  |  |  |
Tranche A Term Loan |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Line of credit facility, borrowing capacity |  |  |  |  | $ 700,000,000 |  |  |  |  |  |
Line of credit facility, maturity date |  |  |  |  | Aug. 24, 2026 |  |  |  |  |  |
Line of credit facility increased (decreased) amount |  |  | $ 150,000,000 | $ 700,000,000 |  |  |  |  |  |  |
Line of credit facility amount outstanding |  |  |  |  | $ 2,353,000,000 |  | $ 1,700,000,000 |  |  |  |
Tranche A Term Loan | Quarterly Payment Beginning on December 31,2021 Through September 2023 |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Scheduled principal payments per quarter |  |  |  |  | $ 15,000,000.0 |  |  |  |  |  |
Debt instrument payment, description |  |  |  |  | during the period of September, 2022 through September, 2023 |  |  |  |  |  |
Tranche A Term Loan | Quarterly Payment Beginning on December 31,2023 Through June 30, 2026 |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Scheduled principal payments per quarter |  |  |  |  | $ 30,000,000.0 |  |  |  |  |  |
Debt instrument payment, description |  |  |  |  | during the period of December, 2023 through June, 2026 |  |  |  |  |  |
Tranche B Term Loan |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Line of credit facility amount outstanding |  |  |  |  | $ 488,000,000 |  |  |  |  |  |
New Senior Secured Notes |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Senior notes, issued |  |  |  |  | 2,000,000,000.0 |  |  |  |  |  |
New Senior Secured Notes | 5.00% Senior Secured Notes due 2026 |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Senior notes, interest rate | 5.00% |  |  |  |  |  |  |  |  |  |
Senior notes, redeemed | $ 400,000,000 |  |  |  |  |  |  |  |  |  |
Redemption price, percentage | 102.50% |  |  |  |  |  |  |  |  |  |
Senior notes, redemption price | $ 410,000,000 |  |  |  |  |  |  |  |  |  |
New Senior Secured Notes | 1.65% Senior Secured Notes due 2026 |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Line of credit facility, maturity date |  | Sep. 01, 2026 |  |  |  |  |  |  |  |  |
Senior notes, issued |  | $ 700,000,000 |  |  | $ 700,000,000 |  |  |  |  |  |
Senior notes, interest rate |  | 1.65% |  |  | 1.65% |  |  |  |  |  |
New Senior Secured Notes | 2.65% Senior Secured Notes due 2032 |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Line of credit facility, maturity date |  | Jan. 15, 2032 |  |  |  |  |  |  |  |  |
Senior notes, issued | $ 500,000,000 | $ 500,000,000 |  |  |  |  |  |  |  |  |
Senior notes, interest rate | 2.65% | 2.65% |  |  |  |  |  |  |  |  |
New Senior Secured Notes | 2.65% Senior Secured Notes due 2030 |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Line of credit facility, maturity date |  |  |  |  | Oct. 15, 2030 |  |  |  |  |  |
Senior notes, issued |  |  |  |  |  |  |  |  |  | $ 800,000,000 |
Senior notes, interest rate |  |  |  |  |  |  |  |  |  | 2.65% |
New Senior Secured Notes | 5.00% Senior Secured Notes due 2026 |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Line of credit facility, maturity date |  |  |  |  | Sep. 01, 2026 |  |  |  |  |  |
New Senior Secured Notes | Maximum |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Number of days to complete exchange offer |  |  |  |  | 60 days |  |  |  |  |  |
Term Loan A | One Month LIBOR Rate Plus Index Based Loans |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Current applicable margins |  |  |  |  | 1.50% |  |  |  |  |  |
Term Loan A | ABR-based loans |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Current applicable margins |  |  |  |  | 0.50% |  |  |  |  |  |
Term Loan A | One Month SOFR Rate Plus Index Based Loans |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Current applicable margins |  |  |  |  | 1.50% |  |  |  |  |  |
Term Loan A | Minimum | One Month LIBOR Rate Plus Index Based Loans |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Consolidated Leverage Ratio |  |  |  |  | 0.25% |  |  |  |  |  |
Term Loan A | Minimum | One Three Six Month LIBOR Rate Plus Index Based Loans |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Consolidated Leverage Ratio |  |  |  |  | 1.25% |  |  |  |  |  |
Term Loan A | Minimum | One Month SOFR Rate Plus Index Based Loans |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Consolidated Leverage Ratio |  |  |  |  | 0.25% |  |  |  |  |  |
Term Loan A | Minimum | One Three Six Month SOFR Rate Plus Index Based Loans |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Consolidated Leverage Ratio |  |  |  |  | 1.25% |  |  |  |  |  |
Term Loan A | Maximum | One Month LIBOR Rate Plus Index Based Loans |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Consolidated Leverage Ratio |  |  |  |  | 0.625% |  |  |  |  |  |
Term Loan A | Maximum | One Three Six Month LIBOR Rate Plus Index Based Loans |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Consolidated Leverage Ratio |  |  |  |  | 1.625% |  |  |  |  |  |
Term Loan A | Maximum | One Month SOFR Rate Plus Index Based Loans |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Consolidated Leverage Ratio |  |  |  |  | 0.625% |  |  |  |  |  |
Term Loan A | Maximum | One Three Six Month SOFR Rate Plus Index Based Loans |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Consolidated Leverage Ratio |  |  |  |  | 1.625% |  |  |  |  |  |

X
- Definition Consolidated leverage ratio. + References No definition available. + Details
Name: | uhs_ConsolidatedLeverageRatio
Namespace Prefix: | uhs_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Debt instrument redemption price. + References No definition available. + Details
Name: | uhs_DebtInstrumentRedemptionPrice
Namespace Prefix: | uhs_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Interest rate margin adjustment percentage. + References No definition available. + Details
Name: | uhs_InterestRateMarginAdjustmentPercentage
Namespace Prefix: | uhs_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of days to complete exchange offer. + References No definition available. + Details
Name: | uhs_NumberOfDaysToCompleteExchangeOffer
Namespace Prefix: | uhs_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Rate adjustment to federal funds rate weighted average. + References No definition available. + Details
Name: | uhs_RateAdjustmentToFederalFundsRateWeightedAverage
Namespace Prefix: | uhs_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Rate adjustment to one month Eurodollar rate on credit facility borrowings. + References No definition available. + Details
Name: | uhs_RateAdjustmentToOneMonthEurodollarRateOnCreditFacilityBorrowings
Namespace Prefix: | uhs_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Securitized borrowings credit facility borrowing capacity. + References No definition available. + Details
Name: | uhs_SecuritizedBorrowingsCreditFacilityBorrowingCapacity
Namespace Prefix: | uhs_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Securitized borrowings credit facility remaining borrowing capacity. + References No definition available. + Details
Name: | uhs_SecuritizedBorrowingsCreditFacilityRemainingBorrowingCapacity
Namespace Prefix: | uhs_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Securitized extended maturity date. + References No definition available. + Details
Name: | uhs_SecuritizedExtendedMaturityDate
Namespace Prefix: | uhs_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI https://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124429444&loc=SL124452920-239629 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69C -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612 Reference 6: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69B -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Date when the debt instrument is scheduled to be fully repaid, in YYYY-MM-DD format. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(2)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -URI https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258 + Details
Name: | us-gaap_DebtInstrumentMaturityDate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Description of the payment terms of the debt instrument (for example, whether periodic payments include principal and frequency of payments) and discussion about any contingencies associated with the payment. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(3)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 50 -Paragraph 3 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823 + Details
Name: | us-gaap_DebtInstrumentPaymentTerms
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of the required periodic payments applied to principal. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentPeriodicPaymentPrincipal
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Percentage price of original principal amount of debt at which debt can be redeemed by the issuer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 50 -Paragraph 3 -Subparagraph e -URI https://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823 + Details
Name: | us-gaap_DebtInstrumentRedemptionPricePercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value amount of debt instrument that was repurchased. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentRepurchaseAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 No definition available. + Details
Name: | us-gaap_EquityClassOfTreasuryStockLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition For entities that provide full or partial financing and servicing for customers supplementary to its major operations (such as a manufacturer or a homebuilder providing and servicing loans to buyers), represents the liabilities associated with such activities, including accounts payable and accrued liabilities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.15) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03.15) -URI https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910 + Details
Name: | us-gaap_FinancialServicesLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The increase (decrease) during the reporting period of all assets and liabilities used in operating activities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 + Details
Name: | us-gaap_IncreaseDecreaseInOperatingCapital
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The total amount of the contingent obligation under letters of credit outstanding as of the reporting date. + References No definition available. + Details
Name: | us-gaap_LettersOfCreditOutstandingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The carrying value as of the balance sheet date of the current and noncurrent portions of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount. Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line. Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(16)) -URI https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910 + Details
Name: | us-gaap_LineOfCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of increase (decrease) of the credit facility. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(f)) -URI https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 + Details
Name: | us-gaap_LineOfCreditFacilityIncreaseDecreaseForPeriodNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of borrowing capacity currently available under the credit facility (current borrowing capacity less the amount of borrowings outstanding). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, excluding unamortized premium (discount) and debt issuance cost, of long-term debt. Excludes lease obligation. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (b)(3) -URI https://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69C -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)) -URI https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69B -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1D -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611 Reference 7: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The fair value amount of long-term debt whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. + References No definition available. + Details
Name: | us-gaap_LongTermDebtFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition This is the principal amount outstanding for securitized loans only (across all types of loans). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 860 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719 + Details
Name: | us-gaap_PrincipalAmountOutstandingOnLoansSecuritized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_ForeignExchangeForwardMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_DebtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_RevolvingCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=uhs_OneMonthLIBORRatePlusIndexBasedLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=uhs_ABRBasedLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=uhs_OneMonthSOFRRatePlusIndexBasedLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ShortTermDebtTypeAxis=us-gaap_LetterOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=uhs_OneThreeSixMonthLIBORRatePlusIndexBasedLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=uhs_OneThreeSixMonthSOFRRatePlusIndexBasedLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=uhs_TrancheATermLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=uhs_GroupSevenMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=uhs_GroupEightMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=uhs_TrancheBTermLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=uhs_NewSeniorSecuredCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=uhs_FivePointZeroZeroPercentSeniorSecuredNotesDueJuneTwoThousandTwentySixMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=uhs_OnePointSixFivePercentSeniorSecuredNotesDueTwoThousandTwentySixMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=uhs_TwoPointSixFivePercentSeniorSecuredNotesDueTwoThousandThirtyTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=uhs_TwoPointSixFivePercentSeniorSecuredNotesDueTwoThousandThirtyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=uhs_FivePointZeroZeroPercentSeniorSecuredNotesDueTwoThousandTwentySixMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=uhs_TermLoanAFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |