Business Combinations (Tables)
6 Months Ended
Jun. 30, 2014
Business Combinations [Abstract]  
Schedule of fair values assigned to assets acquired and liabilities assumed at the acquisition date
The following summarizes the fair values assigned to the assets acquired and liabilities assumed at the acquisition date (in thousands):
 
Initial Amounts Recognized at Acquisition Date (a)
 
Measurement Period Adjustments (b)
 
Current Measurement Period Adjustments (c)
 
Current Amounts Recognized at Acquisition Date
Accounts receivable
$
13,842

 
$
—

 
$
—

 
$
13,842

Rebates receivable
6,635

 
(254
)
 
—

 
6,381

Other current assets
383

 
—

 
—

 
383

Total current assets
20,860

 
(254
)
 
—

 
20,606

Property and equipment
1,263

 
—

 
—

 
1,263

Intangible assets
182,720

 
—

 
—

 
182,720

Goodwill
223,474

 
2,280

 
2,084

 
227,838

Total assets acquired
428,317

 
2,026

 
2,084

 
432,427

Accounts payable
22,370

 
—

 
—

 
22,370

Rebates payable
16,106

 
—

 
—

 
16,106

Accrued liabilities
7,231

 
—

 
—

 
7,231

Other long-term liabilities
—

 
—

 
2,084

 
2,084

Total liabilities assumed
45,707

 
—

 
2,084

 
47,791

 
 
 
 
 
 
 
 
Net assets acquired
$
382,610

 
$
2,026

 
$
—

 
$
384,636


(a) As previously reported in the Company's Form 10-K for the period ended December 31, 2013.

(b) These measurement period adjustments were recorded during Q1 2014 to reflect an additional $2.0 million paid to former Restat owners for working capital reconciliation as well as changes in the estimated fair values of the associated assets acquired and liabilities assumed.

(c) These represent measurement period adjustments during the three months ended June 30, 2014 and were recorded to reflect changes in the estimated fair values of the associated Restat assets acquired and liabilities assumed based on factors existing as of the acquisition date.
Schedule of estimated fair values and useful lives of intangible assets acquired
The estimated fair values and useful lives of intangible assets acquired are as follows (dollars in thousands):
 
Fair Value
 
Useful Life
Customer relationships - PBM
$
143,200

 
10 years
Customer relationships - cash card
35,500

 
3 years
Trademarks/Trade names
1,000

 
1 year
Non-compete agreements
3,020

 
5 years
Total
$
182,720

 
 
Unaudited pro forma results of operations
Unaudited pro forma results of operations are as follows (in thousands, except share and per share amounts):
 
 
Three Months Ended June 30, 2013
 
Six Months Ended June 30, 2013
Revenue
 
$
3,620,936

 
$
7,035,001

Gross profit
 
$
285,070

 
$
550,643

Net income attributable to the Company
 
$
66,368

 
$
123,007

Earnings per share attributable to the Company:
 
 
 
 
Basic
 
$
0.32

 
$
0.60

Diluted
 
$
0.32

 
$
0.60

Weighted average shares outstanding:
 
 
 
 
Basic
 
205,975,724

 
205,782,438

Diluted
 
206,624,432

 
206,535,143