XML 54 R44.htm IDEA: XBRL DOCUMENT v3.23.1
Acquisitions and other investments - Schedule of Pro Forma and Actual Information (Details) - USD ($)
$ in Millions
3 Months Ended 6 Months Ended
Feb. 28, 2023
Feb. 28, 2022
Feb. 28, 2023
Feb. 28, 2022
Summit Health-CityMD        
Business Acquisition [Line Items]        
Sales, pro forma $ 35,119 $ 34,402 $ 69,216 $ 68,924
Sales, actual $ 463   $ 463  
VillageMD, Shields And CareCentrix        
Business Acquisition [Line Items]        
Sales, pro forma   34,063   68,627
Sales, actual   $ 527   $ 577