XML 38 R27.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Treasury - Additional Information (Detail) |  |  | 3 Months Ended | 6 Months Ended | 9 Months Ended | 12 Months Ended |  |  |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Jun. 07, 2016 USD ($) | May 31, 2015 USD ($) Derivative | Dec. 31, 2015 USD ($) Derivative | Sep. 30, 2015 USD ($) Derivative | Jun. 30, 2015 USD ($) Derivative | Dec. 31, 2014 USD ($) | Jun. 30, 2018 USD ($) | Jun. 30, 2017 USD ($) | Sep. 30, 2017 USD ($) | Dec. 31, 2015 USD ($) Derivative | Apr. 30, 2018 USD ($) | Mar. 31, 2018 USD ($) | Dec. 31, 2017 USD ($) | Jun. 03, 2016 USD ($) | Aug. 07, 2014 USD ($)
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of credit facility, starting date | Jun. 07, 2016 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of credit facility, maturity month | 2019-08 |  |  |  |  |  |  |  |  |  |  |  |  |  |
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 | $ 440,000,000 |  |  |
Accounts receivable securitization program credit facility, amount outstanding |  |  |  |  |  |  | $ 450,000,000 |  |  |  |  |  |  |  |
Accounts receivable securitization program credit facility, available borrowing capacity |  |  |  |  |  |  | 0 |  |  |  |  |  |  |  |
Debt instrument carrying amount |  |  |  |  |  |  | 4,000,000,000 |  |  |  |  |  | $ 4,000,000,000 |  |
Fair value of debt |  |  |  |  |  |  | 4,000,000,000 |  |  |  |  |  | 4,100,000,000 |  |
Number of additional forward starting interest rate swaps | Derivative |  |  |  | 4 |  |  |  |  |  |  |  |  |  |  |
Previously Outstanding Interest Rate Swaps |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Maturity date of interest rate cash flow hedges |  | May 31, 2015 |  |  |  |  |  |  |  |  |  |  |  |  |
One Point Three One Percent Forward Starting Interest Rate Swaps |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Maturity date of interest rate cash flow hedges |  |  |  |  |  |  |  |  |  | Apr. 15, 2019 |  |  |  |  |
Number of additional forward starting interest rate swaps | Derivative |  |  |  |  |  |  |  |  |  | 9 |  |  |  |  |
Fixed rate payable on interest rate swap |  |  | 1.31% |  |  |  |  |  |  | 1.31% |  |  |  |  |
One Point Four Zero Percent Forward Starting Interest Rate Swaps |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Maturity date of interest rate cash flow hedges |  |  |  |  | Apr. 15, 2019 |  |  |  |  |  |  |  |  |  |
Number of additional forward starting interest rate swaps | Derivative |  |  |  |  | 4 |  |  |  |  |  |  |  |  |  |
Average fixed rate payable on interest rate swap |  |  |  |  | 1.40% |  |  |  |  |  |  |  |  |  |
One Point Two Three Percent Forward Starting Interest Rate Swaps One |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Maturity date of interest rate cash flow hedges |  |  |  | Apr. 15, 2019 |  |  |  |  |  |  |  |  |  |  |
Average fixed rate payable on interest rate swap |  |  |  | 1.23% |  |  |  |  |  |  |  |  |  |  |
One Point Two One Percent Forward Starting Interest Rate Swaps |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Maturity date of interest rate cash flow hedges |  |  | Apr. 15, 2019 |  |  |  |  |  |  |  |  |  |  |  |
Number of additional forward starting interest rate swaps | Derivative |  |  | 1 |  |  |  |  |  |  |  |  |  |  |  |
Fixed rate payable on interest rate swap |  |  | 1.21% |  |  |  |  |  |  | 1.21% |  |  |  |  |
Interest Rate Swap |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Fair value of our interest rate swaps |  |  |  |  |  |  |  |  |  |  |  |  | 7,000,000 |  |
Interest Rate Swap | Net Accounts Receivable |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Fair value of our interest rate swaps, assets |  |  |  |  |  |  | 8,000,000 |  |  |  |  |  | 4,000,000 |  |
Interest Rate Swap | Other Assets |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Fair value of our interest rate swaps, assets |  |  |  |  |  |  |  |  |  |  |  |  | $ 3,000,000 |  |
Foreign Currency Forward Exchange Contracts |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Net cash inflows (outflows) |  |  |  |  |  |  | 22,000,000 | $ (42,000,000) |  |  |  |  |  |  |
Cash Flow Hedging | Previously Outstanding Interest Rate Swaps |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Number of interest rate swaps | Derivative |  | 7 |  |  |  |  |  |  |  |  |  |  |  |  |
Notional amount of interest rate cash flow hedges |  | $ 825,000,000 |  |  |  |  |  |  |  |  |  |  |  |  |
Cash Flow Hedging | One Point Three One Percent Forward Starting Interest Rate Swaps |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Notional amount of interest rate cash flow hedges |  |  | $ 1,000,000,000 |  |  |  |  |  |  | $ 1,000,000,000 |  |  |  |  |
Cash Flow Hedging | One Point Four Zero Percent Forward Starting Interest Rate Swaps |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Notional amount of interest rate cash flow hedges |  |  |  |  | $ 500,000,000 |  |  |  |  |  |  |  |  |  |
Cash Flow Hedging | Forward Starting Interest Rate Swaps |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Notional amount of interest rate cash flow hedges |  |  |  | $ 400,000,000 |  |  |  |  |  |  |  |  |  |  |
Cash Flow Hedging | One Point Two Three Percent Forward Starting Interest Rate Swaps One |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Notional amount of interest rate cash flow hedges |  |  |  | 100,000,000 |  |  |  |  |  |  |  |  |  |  |
Cash Flow Hedging | One Point Two Three Percent Forward Starting Interest Rate Swaps Two |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Notional amount of interest rate cash flow hedges |  |  |  | 200,000,000 |  |  |  |  |  |  |  |  |  |  |
Cash Flow Hedging | One Point Two Three Percent Forward Starting Interest Rate Swaps Three |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Notional amount of interest rate cash flow hedges |  |  |  | $ 100,000,000 |  |  |  |  |  |  |  |  |  |  |
Cash Flow Hedging | One Point Two One Percent Forward Starting Interest Rate Swaps |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Notional amount of interest rate cash flow hedges |  |  | $ 100,000,000 |  |  |  |  |  |  | $ 100,000,000 |  |  |  |  |
Revolving Credit Facility |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of credit facility, borrowing capacity | $ 800,000,000 |  |  |  |  |  | 800,000,000 |  |  |  |  |  |  |  |
Line of credit facility amount outstanding |  |  |  |  |  |  | $ 366,000,000 |  |  |  |  |  |  |  |
Current applicable margins |  |  |  |  |  |  | 1.50% |  |  |  |  |  |  |  |
Line of credit facility, available borrowing capacity |  |  |  |  |  |  | $ 365,000,000 |  |  |  |  |  |  |  |
Letters of credit, outstanding |  |  |  |  |  |  | 34,000,000 |  |  |  |  |  |  |  |
Revolving Credit Facility | Short Term on Demand Credit Facility |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of credit facility amount outstanding |  |  |  |  |  |  | 35,000,000 |  |  |  |  |  |  |  |
Revolving Credit Facility | Letter of Credit |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of credit facility, borrowing capacity |  |  |  |  |  |  | $ 125,000,000 |  |  |  |  |  |  |  |
Revolving Credit Facility | ABR-based loans |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Current applicable margins |  |  |  |  |  |  | 0.50% |  |  |  |  |  |  |  |
Revolving Credit Facility | Minimum | One Month Eurodollar Rate Plus Index Based Loans |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Consolidated Leverage Ratio |  |  |  |  |  |  | 0.50% |  |  |  |  |  |  |  |
Revolving Credit Facility | Minimum | One Two Three Six Month Eurodollar Rate Plus Index Based Loans |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Consolidated Leverage Ratio |  |  |  |  |  |  | 1.50% |  |  |  |  |  |  |  |
Revolving Credit Facility | Maximum | One Month Eurodollar Rate Plus Index Based Loans |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Consolidated Leverage Ratio |  |  |  |  |  |  | 1.25% |  |  |  |  |  |  |  |
Revolving Credit Facility | Maximum | One Two Three Six Month Eurodollar Rate Plus Index Based Loans |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Consolidated Leverage Ratio |  |  |  |  |  |  | 2.25% |  |  |  |  |  |  |  |
Term Loan A |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of credit facility amount outstanding |  |  |  |  |  |  | $ 1,731,000,000 |  |  |  |  |  |  |  |
Line of credit facility increased amount | $ 200,000,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Current applicable margins |  |  |  |  |  |  | 1.50% |  |  |  |  |  |  |  |
Term Loan A | Quarterly installment payments made from the fourth quarter of 2014 through third quarter of 2016 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Scheduled principal payments made |  |  |  |  |  | $ 11,000,000 |  |  |  |  |  |  |  |  |
Term Loan A | Quarterly installment payments after September, 2016 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Scheduled principal payments made |  |  |  |  |  |  |  |  | $ 22,000,000 |  |  |  |  |  |
Term Loan A | ABR-based loans |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Current applicable margins |  |  |  |  |  |  | 0.50% |  |  |  |  |  |  |  |
Term Loan A | Minimum | One Month Eurodollar Rate Plus Index Based Loans |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Consolidated Leverage Ratio |  |  |  |  |  |  | 0.50% |  |  |  |  |  |  |  |
Term Loan A | Minimum | One Two Three Six Month Eurodollar Rate Plus Index Based Loans |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Consolidated Leverage Ratio |  |  |  |  |  |  | 1.50% |  |  |  |  |  |  |  |
Term Loan A | Maximum | One Month Eurodollar Rate Plus Index Based Loans |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Consolidated Leverage Ratio |  |  |  |  |  |  | 1.25% |  |  |  |  |  |  |  |
Term Loan A | Maximum | One Two Three Six Month Eurodollar Rate Plus Index Based Loans |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Consolidated Leverage Ratio |  |  |  |  |  |  | 2.25% |  |  |  |  |  |  |  |
New Senior Secured Notes |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Senior notes, issued |  |  |  |  |  |  | $ 1,400,000,000 |  |  |  |  |  |  |  |
New Senior Secured Notes | 3.75% Senior Secured Notes due 2019 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Senior notes, issued |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 300,000,000
Senior notes, interest rate |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 3.75%
Senior notes, maturity date |  |  |  |  |  |  | Aug. 01, 2019 |  |  |  |  |  |  |  |
New Senior Secured Notes | 4.75% Senior Secured Notes due 2022 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Senior notes, issued |  |  |  |  |  |  | $ 700,000,000 |  |  |  |  |  |  | $ 400,000,000 | $ 300,000,000
Senior notes, interest rate |  |  |  |  |  |  | 4.75% |  |  |  |  |  |  |  |
Senior notes issued percentage |  |  |  |  |  |  |  |  |  |  |  |  |  | 101.50% |
Senior notes yield percentage |  |  |  |  |  |  |  |  |  |  |  |  |  | 4.35% |
Senior notes, maturity date |  |  |  |  |  |  | Aug. 01, 2022 |  |  |  |  |  |  |  |
New Senior Secured Notes | 5.00% Senior Secured Notes due 2026 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity Class Of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Senior notes, issued |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 400,000,000 |
Senior notes, interest rate |  |  |  |  |  |  |  |  |  |  |  |  |  | 5.00% |
Senior notes, maturity date |  |  |  |  |  |  | Jun. 01, 2026 |  |  |  |  |  |  |  |

X
- Definition Aggregate notional amount specified by the derivative(s). Expressed as an absolute value. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Article 12 -Section 13 -Sentence Column B + Details
Name: | invest_DerivativeNotionalAmount
Namespace Prefix: | invest_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

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

X
- Definition Debt instrument principal amount issuance percentage. + References No definition available. + Details
Name: | uhs_DebtInstrumentPrincipalAmountIssuancePercentage
Namespace Prefix: | uhs_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Debt instrument yield percentage. + References No definition available. + Details
Name: | uhs_DebtInstrumentYieldPercentage
Namespace Prefix: | uhs_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

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

X
- Definition Line of credit facility maturity month and year. + References No definition available. + Details
Name: | uhs_LineOfCreditFacilityMaturityMonthAndYear
Namespace Prefix: | uhs_
Data Type: | xbrli:gYearMonthItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of additional forward starting interest rate swaps. + References No definition available. + Details
Name: | uhs_NumberOfAdditionalForwardStartingInterestRateSwaps
Namespace Prefix: | uhs_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of interest rate swaps. + References No definition available. + Details
Name: | uhs_NumberOfInterestRateSwaps
Namespace Prefix: | uhs_
Data Type: | xbrli:integerItemType
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: | num: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: | num: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 Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt. + 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)(1) -URI http://asc.fasb.org/extlink&oid=109500613&loc=SL6031897-161870 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(16)) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 Reference 3: 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 http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 4: 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 http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 + Details
Name: | us-gaap_DebtInstrumentCarryingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=114775744&loc=d3e28551-108399 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400 + 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://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 http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Date when the debt instrument is scheduled to be fully repaid, in CCYY-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 http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: 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 http://asc.fasb.org/extlink&oid=99377789&loc=d3e19207-110258 + Details
Name: | us-gaap_DebtInstrumentMaturityDate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
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 http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentPeriodicPaymentPrincipal
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Average fixed interest rate related to the group of interest rate derivatives. + References No definition available. + Details
Name: | us-gaap_DerivativeAverageFixedInterestRate
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Fixed interest rate related to the interest rate derivative. + References No definition available. + Details
Name: | us-gaap_DerivativeFixedInterestRate
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Date the derivative contract matures, in CCYY-MM-DD format. + References No definition available. + Details
Name: | us-gaap_DerivativeMaturityDates
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
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 No definition available. + Details
Name: | us-gaap_EquityClassOfTreasuryStockLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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 http://asc.fasb.org/extlink&oid=109223946&loc=d3e3602-108585 + Details
Name: | us-gaap_IncreaseDecreaseInOperatingCapital
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Fair value as of the balance sheet date of all interest rate derivative assets designated as cash flow hedging instruments. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4B -Subparagraph (c)(1) -URI http://asc.fasb.org/extlink&oid=109980867&loc=SL5624163-113959 + Details
Name: | us-gaap_InterestRateCashFlowHedgeAssetAtFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value as of the balance sheet date of all interest rate derivatives designated as cash flow hedging instruments. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 45 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=6945355&loc=d3e41228-113958 + Details
Name: | us-gaap_InterestRateCashFlowHedgeDerivativeAtFairValueNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 http://asc.fasb.org/extlink&oid=6877327&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 http://asc.fasb.org/extlink&oid=6876686&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 http://asc.fasb.org/extlink&oid=6879938&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://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(f)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 + Details
Name: | us-gaap_LineOfCreditFacilityIncreaseDecreaseForPeriodNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Date the credit facility first became available, in CCYY-MM-DD format. + 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 http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityInitiationDate1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
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 http://asc.fasb.org/extlink&oid=6877327&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 http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity
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 http://asc.fasb.org/extlink&oid=109247956&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=uhs_PreviouslyOutstandingInterestRateSwapsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

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

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

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=uhs_AccountsReceivableNetMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_OtherAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis=us-gaap_CashFlowHedgingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=uhs_OnePointTwoThreePercentForwardStartingInterestRateSwapsThreeMember
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_ShortTermDebtTypeAxis=uhs_ShortTermOnDemandCreditFacilityMember
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: | us-gaap_VariableRateAxis=uhs_ABRBasedLoansMember
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_OneMonthEurodollarRatePlusIndexBasedLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=uhs_OneTwoThreeSixMonthEurodollarRatePlusIndexBasedLoansMember
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_TermLoanFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_DebtInstrumentAxis=uhs_GroupFourMember
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_ThreePointSevenFivePercentSeniorSecuredNotesDueTwoThousandNineteenMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=uhs_FourPointSevenFivePercentSeniorSecuredNotesDueTwoThousandTwentyTwoMember
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: |