2.2.0.7falseDiscontinued Operations (Details) (USD $)0604 - Disclosure - Discontinued Operations (Details)truefalseIn Millionsfalsefalse1USDfalsefalseUSDStandardhttp://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/instancesharesxbrli0$false3USDfalsefalseUSDStandardhttp://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$false4USDfalsefalseUSDStandardhttp://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$31us-gaap_DisposalGroupIncludingDiscontinuedOperationAdditionalDisclosuresAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false42us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenueus-gaaptruecreditdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1truetruefalsefalse52000005.2falsefalsefalse2truetruefalsefalse64000006.4falsefalsefalse3truetruefalsefalse1650000016.5falsefalsefalse4truetruefalsefalse2020000020.2falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of sales or other form of revenues attributable to the disposal group, including a component of the entity (discontinued operation), during the reporting period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 144
-Paragraph 47
-Subparagraph c
false52us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntityus-gaaptruecreditdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse-5600000-5.6falsefalsefalse2falsetruefalsefalse8000000.8falsefalsefalse3falsetruefalsefalse-23400000-23.4falsefalsefalse4falsetruefalsefalse8000000.8falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the overall income (loss) from a disposal group apportioned to the parent that is classified as a component of the entity, net of income tax, reported as a separate component of income before extraordinary items and the cumulative effect of accounting changes after deduction or consideration of the amount which may be allocable to noncontrolling interests, if any. Includes the following (net of tax): income (loss) from operations during the phase-out period, gain (loss) on disposal, provision (or any reversals of earlier provisions) for loss on disposal, and adjustments of a prior period gain (loss) on disposal.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 29
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 28
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 38
-Subparagraph b(2)
false62us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperationus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse-2500000-2.5falsefalsefalse2falsetruefalsefalse4000000.4falsefalsefalse3falsetruefalsefalse-12900000-12.9falsefalsefalse4falsetruefalsefalse4000000.4falsefalsefalsexbrli:monetaryItemTypemonetaryTax effect allocated to a disposal group that is classified as a component of the entity reported as a separate component of income before extraordinary items and the cumulative effect of accounting changes. Includes the tax effects of the following: income (loss) from operations during the phase-out period, gain (loss) on disposal, provision (or any reversals of earlier provisions) for loss on disposal, and adjustments of a prior period gain (loss) on disposal.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 144
-Paragraph 43
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 144
-Paragraph 47
-Subparagraph c
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 109
-Paragraph 46
false71esrx_DiscontinuedOperationsTextualsAbstractesrxfalsenadurationDiscontinued Operations.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringDiscontinued Operations.false82esrx_ImpairmentChargeOnClassificationDiscontinuedOperationMajorityIncludingGoodwillAndOtherIntangibleAssetsesrxfalsedebitdurationImpairment charge on classification discontinued operation majority including goodwill and other intangible assets.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse2820000028.2falsefalsefalse4falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryImpairment charge on classification discontinued operation majority including goodwill and other intangible assets.No authoritative reference available.false92us-gaap_DiscontinuedOperationGainLossFromDisposalOfDiscontinuedOperationBeforeIncomeTaxus-gaaptruecreditdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1truetruefalsefalse83000008.3falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryPretax gain (loss), not previously recognized and resulting from the sale of a business component, which is recognized at the date of sale. A gain (loss) reflects the amount by which the consideration received exceeds (is exceeded by) the net carrying amount (reflecting previous provisions for loss on disposal, if any) of the disposal group.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 144
-Paragraph 43
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 144
-Paragraph 47
-Subparagraph b
false47falseHundredThousandsUnKnownUnKnownfalsetrue