2.2.0.25falsefalse0612 - Disclosure - Commitments and contingencies (Details)truefalseIn Millions, unless otherwise specifiedfalse1falsefalseUSDfalsefalse1/1/2011 - 12/31/2011
USD ($)
$TwelveMonthsEnded_31Dec2011http://www.sec.gov/CIK0000885721duration2011-01-01T00:00:002011-12-31T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170PureStandardhttp://www.xbrl.org/2003/instancepurexbrli0SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDUSD$2falsefalseUSDfalsefalse1/1/2010 - 12/31/2010
USD ($)
USD ($) / shares
$TwelveMonthsEnded_31Dec2010http://www.sec.gov/CIK0000885721duration2010-01-01T00:00:002010-12-31T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170PureStandardhttp://www.xbrl.org/2003/instancepurexbrli0USDEPSDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDUSD$3falsefalseUSDfalsefalse1/1/2009 - 12/31/2009
USD ($)
USD ($) / shares
$TwelveMonthsEnded_31Dec2009http://www.sec.gov/CIK0000885721duration2009-01-01T00:00:002009-12-31T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170PureStandardhttp://www.xbrl.org/2003/instancepurexbrli0SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDEPSDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDUSD$4falsefalseUSDfalsefalse1/1/2008 - 12/31/2008
USD ($)
USD ($) / shares
$TwelveMonthsEnded_31Dec2008http://www.sec.gov/CIK0000885721duration2008-01-01T00:00:002008-12-31T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170PureStandardhttp://www.xbrl.org/2003/instancepurexbrli0USDEPSDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDUSD$3true0us-gaap_OperatingLeasesFutureMinimumPaymentsDueAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1falsefalsefalse00falsefalsefalsefalsefalse2falsefalsefalse00falsefalsefalsefalsefalse3falsefalsefalse00falsefalsefalsefalsefalse4falsefalsefalse00falsefalsefalsefalsefalseOtherxbrli:stringItemTypestringNo definition available.falsefalse4false0us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrentus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1falsefalsefalse00falsefalsefalsefalsefalse2truefalsefalse3590000035.9falsetruefalsefalsefalse3falsefalsefalse00falsefalsefalsefalsefalse4falsefalsefalse00falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryFor leases having an initial or remaining non-cancelable letter-terms in excess of one year, required rental payments due within one year of the balance sheet date relating to leases defined as operating.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 13
-Paragraph 122
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 13
-Paragraph 16
-Subparagraph b(i)
falsefalse5false0us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYearsus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1falsefalsefalse00falsefalsefalsefalsefalse2truefalsefalse2950000029.5falsefalsefalsefalsefalse3falsefalsefalse00falsefalsefalsefalsefalse4falsefalsefalse00falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryFor leases having an initial or remaining non-cancelable letter-terms in excess of one year, required rental payments due within the second year of the balance sheet date relating to leases defined as operating.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 13
-Paragraph 122
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 13
-Paragraph 16
-Subparagraph b(i)
falsefalse6false0us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYearsus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1falsefalsefalse00falsefalsefalsefalsefalse2truefalsefalse2730000027.3falsefalsefalsefalsefalse3falsefalsefalse00falsefalsefalsefalsefalse4falsefalsefalse00falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryFor leases having an initial or remaining non-cancelable letter-terms in excess of one year, required rental payments due within the third year of the balance sheet date relating to leases defined as operating.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 13
-Paragraph 122
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 13
-Paragraph 16
-Subparagraph b(i)
falsefalse7false0us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYearsus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1falsefalsefalse00falsefalsefalsefalsefalse2truefalsefalse2430000024.3falsefalsefalsefalsefalse3falsefalsefalse00falsefalsefalsefalsefalse4falsefalsefalse00falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryFor leases having an initial or remaining non-cancelable letter-terms in excess of one year, required rental payments due within the fourth year of the balance sheet date relating to leases defined as operating.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 13
-Paragraph 122
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 13
-Paragraph 16
-Subparagraph b(i)
falsefalse8false0us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYearsus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1falsefalsefalse00falsefalsefalsefalsefalse2truefalsefalse2330000023.3falsefalsefalsefalsefalse3falsefalsefalse00falsefalsefalsefalsefalse4falsefalsefalse00falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryFor leases having an initial or remaining non-cancelable letter-terms in excess of one year, required rental payments due within the fifth year of the balance sheet date relating to leases defined as operating.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 13
-Paragraph 122
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 13
-Paragraph 16
-Subparagraph b(i)
falsefalse9false0us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafterus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabel1falsefalsefalse00falsefalsefalsefalsefalse2truefalsefalse5580000055.8falsefalsefalsefalsefalse3falsefalsefalse00falsefalsefalsefalsefalse4falsefalsefalse00falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryFor leases having an initial or remaining non-cancelable letter-terms in excess of one year, required rental payments due after the fifth year from the balance sheet date on leases defined as operating.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 13
-Paragraph 122
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 13
-Paragraph 16
-Subparagraph b(i)
truefalse10false0us-gaap_OperatingLeasesFutureMinimumPaymentsDueus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabel1falsefalsefalse00falsefalsefalsefalsefalse2truefalsefalse196100000196.1falsefalsefalsefalsefalse3falsefalsefalse00falsefalsefalsefalsefalse4falsefalsefalse00falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryThe total of future contractually required payments on leases defined as operating.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 13
-Paragraph 122
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 13
-Paragraph 16
-Subparagraph b(i)
truefalse11true0esrx_FuturePurchaseCommitmentsAbstractesrxfalsenadurationFuture purchase commitments.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1falsefalsefalse00falsefalsefalsefalsefalse2falsefalsefalse00falsefalsefalsefalsefalse3falsefalsefalse00falsefalsefalsefalsefalse4falsefalsefalse00falsefalsefalsefalsefalseOtherxbrli:stringItemTypestringFuture purchase commitments.falsefalse12false0esrx_FuturePurchaseCommitmentsDueCurrentYearesrxfalsecreditinstantFuture purchase commitments due current year.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1falsefalsefalse00falsefalsefalsefalsefalse2truefalsefalse9010000090.1falsefalsefalsefalsefalse3falsefalsefalse00falsefalsefalsefalsefalse4falsefalsefalse00falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryFuture purchase commitments due current year.No authoritative reference available.falsefalse13false0esrx_FuturePurchaseCommitmentsDueInTwoYearsesrxfalsecreditinstantFuture Purchase Commitments Due In Two Years.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1falsefalsefalse00falsefalsefalsefalsefalse2truefalsefalse5700000057.0falsefalsefalsefalsefalse3falsefalsefalse00falsefalsefalsefalsefalse4falsefalsefalse00falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryFuture Purchase Commitments Due In Two Years.No authoritative reference available.falsefalse14false0esrx_FuturePurchaseCommitmentsDueInThreeYearsesrxfalsecreditinstantFuture Purchase Commitments Due In Three Years.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1falsefalsefalse00falsefalsefalsefalsefalse2truefalsefalse1880000018.8falsefalsefalsefalsefalse3falsefalsefalse00falsefalsefalsefalsefalse4falsefalsefalse00falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryFuture Purchase Commitments Due In Three Years.No authoritative reference available.falsefalse15false0esrx_FuturePurchaseCommitmentsDueInFourYearsesrxfalsecreditinstantFuture Purchase Commitments Due In Four Years.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1falsefalsefalse00falsefalsefalsefalsefalse2truefalsefalse1370000013.7falsefalsefalsefalsefalse3falsefalsefalse00falsefalsefalsefalsefalse4falsefalsefalse00falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryFuture Purchase Commitments Due In Four Years.No authoritative reference available.falsefalse16false0esrx_FuturePurchaseCommitmentsDueInFiveYearsesrxfalsecreditinstantFuture Purchase Commitments Due In Five Years.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1falsefalsefalse00falsefalsefalsefalsefalse2truefalsefalse4000000.4falsefalsefalsefalsefalse3falsefalsefalse00falsefalsefalsefalsefalse4falsefalsefalse00falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryFuture Purchase Commitments Due In Five Years.No authoritative reference available.falsefalse17false0esrx_FuturePurchaseCommitmentsDueInThereafteresrxfalsecreditinstantFuture Purchase Commitments Due In Thereafter.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1falsefalsefalse00falsefalsefalsefalsefalse2truefalsefalse00falsefalsefalsefalsefalse3falsefalsefalse00falsefalsefalsefalsefalse4falsefalsefalse00falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryFuture Purchase Commitments Due In Thereafter.No authoritative reference available.falsefalse18false0esrx_FuturePurchaseCommitmentsDueesrxfalsecreditinstantFuture Purchase Commitments Due.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1falsefalsefalse00falsefalsefalsefalsefalse2truefalsefalse180000000180.0falsefalsefalsefalsefalse3falsefalsefalse00falsefalsefalsefalsefalse4falsefalsefalse00falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryFuture Purchase Commitments Due.No authoritative reference available.falsefalse19true0esrx_CommitmentsAndContingenciesTextualsAbstractesrxfalsenadurationCommitments and Contingencies.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1falsefalsefalse00falsefalsefalsefalsefalse2falsefalsefalse00falsefalsefalsefalsefalse3falsefalsefalse00falsefalsefalsefalsefalse4falsefalsefalse00falsefalsefalsefalsefalseOtherxbrli:stringItemTypestringCommitments and Contingencies.falsefalse20false0us-gaap_LeaseAndRentalExpenseus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1falsefalsefalse00falsefalsefalsefalsefalse2truefalsefalse4030000040.3falsefalsefalsefalsefalse3truefalsefalse2780000027.8falsefalsefalsefalsefalse4truefalsefalse2880000028.8falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryRental expense incurred for leased assets including furniture and equipment which has not been recognized in costs and expenses applicable to sales and revenues; for example, cost of goods sold or other operating costs and expenses.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 13
-Paragraph 15
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 13
-Paragraph 16
-Subparagraph c
falsefalse21false0esrx_AnnualLeaseCommitmentsForNewFacilityesrxfalsedebitdurationAnnual lease commitments for pharmacy fulfillment facility.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1truefalsefalse34000003.4falsefalsefalsefalsefalse2truefalsefalse16000001.6falsefalsefalsefalsefalse3falsefalsefalse00falsefalsefalsefalsefalse4falsefalsefalse00falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryAnnual lease commitments for pharmacy fulfillment facility.No authoritative reference available.falsefalse22false0us-gaap_CapitalLeaseObligationsus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1falsefalsefalse00falsefalsefalsefalsefalse2truefalsefalse58000005.8falsefalsefalsefalsefalse3falsefalsefalse00falsefalsefalsefalsefalse4falsefalsefalse00falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryAmount equal to the present value (the principal) at the beginning of the lease term of minimum lease payments during the lease term (excluding that portion of the payments representing executory costs such as insurance, maintenance, and taxes to be paid by the lessor, together with any profit thereon) net of payments or other amounts applied to the principal through the balance sheet date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 16
-Article 7
falsefalse23false0esrx_TermsOfNoncancellableLeaseAgreementsRangeesrxfalsenadurationTerms of noncancellable lease agreements range.falsefalsefalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse0010 years10 yearsfalsefalsefalsefalsefalse2falsefalsefalse0010 years10 yearsfalsefalsefalsefalsefalse3falsefalsefalse00falsefalsefalsefalsefalse4falsefalsefalse00falsefalsefalsefalsefalseOtherxbrli:stringItemTypestringTerms of noncancellable lease agreements range.No authoritative reference available.falsefalse24false0esrx_CapitalLeaseObligationsAsOffsetAgainstIndustrialBondsesrxfalsecreditinstantCapital lease obligations as offset against industrial bonds.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1falsefalsefalse00falsefalsefalsefalsefalse2truefalsefalse58000005.8falsefalsefalsefalsefalse3falsefalsefalse00falsefalsefalsefalsefalse4falsefalsefalse00falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryCapital lease obligations as offset against industrial bonds.No authoritative reference available.falsefalse25false0esrx_PharmaceuticalPurchasesFromOneWholesalerInPercentesrxfalsenadurationPharmaceutical purchases from one wholesaler in percent.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1falsetruefalse00falsefalsefalsefalsefalse2truetruefalse0.6050.605falsefalsefalsefalsefalse3falsetruefalse00falsefalsefalsefalsefalse4falsetruefalse00falsefalsefalsefalsefalseOtherus-types:percentItemTypepurePharmaceutical purchases from one wholesaler in percent.No authoritative reference available.falsefalse26false0us-gaap_InsuranceRecoveriesus-gaaptruecreditdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1falsefalsefalse00falsefalsefalsefalsefalse2falsefalsefalse00falsefalsefalsefalsefalse3truefalsefalse1500000015.0falsefalsefalsefalsefalse4falsefalsefalse00falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryThe amount recovered from insurance. To the extent that costs are losses are reported as a separate line item, this reduces operating expenses.No authoritative reference available.falsefalse27false0us-gaap_LitigationSettlementExpenseus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1falsefalsefalse00falsefalsefalsefalsefalse2falsefalsefalse00falsefalsefalsefalsefalse3truefalsefalse3500000035.0falsetruefalsefalsefalse4falsefalsefalse00falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryThis element represents the expenses incurred by the entity which are directly related and attributable to receiving an award in settlement of litigation.No authoritative reference available.falsefalse28false0esrx_NoncancellableLeaseAgreementPeriodRangeesrxfalsenadurationNoncancellable lease agreement period range.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1falsefalsefalse00falsefalsefalsefalsefalse2falsefalsefalse00one to ten yearsone to ten yearsfalsefalsefalsefalsefalse3falsefalsefalse00falsefalsefalsefalsefalse4falsefalsefalse00falsefalsefalsefalsefalseOtherxbrli:stringItemTypestringNoncancellable lease agreement period range.No authoritative reference available.falsefalse29false0esrx_ExtendedAgreementOfRenewableOptionsRangeesrxfalsenadurationExtended agreement of renewable options range.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1falsefalsefalse00falsefalsefalsefalsefalse2falsefalsefalse00one to five yearsone to five yearsfalsefalsefalsefalsefalse3falsefalsefalse00falsefalsefalsefalsefalse4falsefalsefalse00falsefalsefalsefalsefalseOtherxbrli:stringItemTypestringExtended agreement of renewable options range.No authoritative reference available.falsefalse427Commitments and contingencies (Details) (USD $)HundredThousandsUnKnownUnKnownUnKnowntruetrue