Quarterly financial data (unaudited) (Details) - USD ($) $ / shares in Units, $ in Millions |
3 Months Ended | 12 Months Ended | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 31, 2019 |
Sep. 30, 2019 |
Jun. 30, 2019 |
Mar. 31, 2019 |
Dec. 31, 2018 |
Sep. 30, 2018 |
Jun. 30, 2018 |
Mar. 31, 2018 |
Dec. 31, 2019 |
Dec. 31, 2018 |
Dec. 31, 2017 |
|
| Effect of Fourth Quarter Events [Line Items] | |||||||||||
| Product sales | $ 23,362 | $ 23,747 | $ 22,849 | ||||||||
| Gross profit from product sales | $ 4,628 | $ 4,427 | $ 4,562 | $ 4,231 | $ 4,905 | $ 4,473 | $ 4,655 | $ 4,399 | |||
| Net income | $ 1,703 | $ 1,968 | $ 2,179 | $ 1,992 | $ 1,928 | $ 1,859 | $ 2,296 | $ 2,311 | $ 7,842 | $ 8,394 | $ 1,979 |
| Earnings per share: | |||||||||||
| Basic (in usd per share) | $ 2.87 | $ 3.29 | $ 3.59 | $ 3.20 | $ 3.04 | $ 2.88 | $ 3.50 | $ 3.27 | $ 12.96 | $ 12.70 | $ 2.71 |
| Diluted (in usd per share) | $ 2.85 | $ 3.27 | $ 3.57 | $ 3.18 | $ 3.01 | $ 2.86 | $ 3.48 | $ 3.25 | $ 12.88 | $ 12.62 | $ 2.69 |
| Product [Member] | |||||||||||
| Effect of Fourth Quarter Events [Line Items] | |||||||||||
| Product sales | $ 5,881 | $ 5,463 | $ 5,574 | $ 5,286 | $ 6,001 | $ 5,510 | $ 5,679 | $ 5,343 | $ 22,204 | $ 22,533 | $ 21,795 |
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition The amount of net income (loss) for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| 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. No definition available.
|
| X | ||||||||||
- Definition Aggregate revenue less cost of goods and services sold or operating expenses directly attributable to the revenue generation activity. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition The portion of profit or loss for the period, net of income taxes, which is attributable to the parent. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount, including tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer. Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value-added and excise. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Details
|