2.2.0.7falseCommon Stock (Details) (USD $)0608 - Disclosure - Common Stock (Details)truefalseIn Millions, except Per Share datafalsefalse1USDfalsefalseUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170PureStandardhttp://www.xbrl.org/2003/instancepurexbrli0SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDEPSDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0$false2USDfalsefalseUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDEPSDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0PureStandardhttp://www.xbrl.org/2003/instancepurexbrli0$false3USDfalsefalseSharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDEPSDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0$31esrx_CommonStockTextualsAbstractesrxfalsenadurationCommon stock.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringCommon stock.false42esrx_SharesIssuedInCommonStockOfferingesrxfalsenainstantShares issued in the common stock offering.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse5290000052.9falsefalsefalsexbrli:sharesItemTypesharesShares issued in the common stock offering.No authoritative reference available.false52esrx_SharesIssuedInCommonStockOfferingUnadjustedForTwoInOneStockSplitesrxfalsenainstantShares issued in the common stock offering unadjusted for two-in-one stock split.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse2645000026.45falsefalsefalsexbrli:sharesItemTypesharesShares issued in the common stock offering unadjusted for two-in-one stock split.No authoritative reference available.false62us-gaap_StockholdersEquityNoteStockSplitus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00two-for-one stock splittwo-for-one stock splitfalsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringDescription of the stock split arrangement. Also provide the retroactive effect given by a stock split that occurs after the balance date but before the release of financial statements.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Staff Accounting Bulletin (SAB)
-Number Topic 4
-Section C
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 43
-Chapter 7
-Section B
-Paragraph 2, 15, 16
false72esrx_CommonStockSharesSoldAsResultOfUnderwritersExerciseOfOverallotmentOptionesrxfalsenainstantCommon stock Shares sold as a result of the underwriters exercise of overallotment option.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse69000006.9falsefalsefalsexbrli:sharesItemTypesharesCommon stock Shares sold as a result of the underwriters exercise of overallotment option.No authoritative reference available.false82esrx_CommonStockSharesSoldAsResultOfUnderwritersExerciseOfOverallotmentOptionUnadjustedesrxfalsenainstantCommon Stock Shares Sold As Result Of Underwriters Exercise Of Overallotment Option Unadjusted.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse34500003.45falsefalsefalsexbrli:sharesItemTypesharesCommon Stock Shares Sold As Result Of Underwriters Exercise Of Overallotment Option Unadjusted.No authoritative reference available.false92esrx_UnderwritersExerciseOfCommonStockOverallotmentOptionInFullAtClosingesrxfalsenainstantunderwriter's exercise of common stock overallotment option in full at closing, per share.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabeltrue1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3truetruefalsefalse30.530.5falsefalsefalseus-types:perShareItemTypedecimalunderwriter's exercise of common stock overallotment option in full at closing, per share.No authoritative reference available.false102esrx_UnderwritersExerciseOfCommonStockOverallotmentOptionInFullAtClosingUnadjustedesrxfalsenainstantUnderwriters Exercise Of Common Stock Overallotment Option In Full At Closing Unadjusted.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabeltrue1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3truetruefalsefalse6161falsefalsefalseus-types:perShareItemTypedecimalUnderwriters Exercise Of Common Stock Overallotment Option In Full At Closing Unadjusted.No authoritative reference available.false112us-gaap_ProceedsFromIssuanceOfCommonStockus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse00falsefalsefalse2truetruefalsefalse15691000001569.1falsefalsefalse3falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash inflow from the additional capital contribution to the entity.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 18
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 19
-Subparagraph a
false122us-gaap_PaymentsOfStockIssuanceCostsus-gaaptruecreditdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2truetruefalsefalse4440000044.4falsefalsefalse3falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash outflow for cost incurred directly with the issuance of an equity security.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 18, 19, 20
false310falseHundredThousandsTenThousandsNoRoundingfalsetrue