Overall , advance care planning was higher in the intervention group ( 47 % [ n = 15 ] vs. 25 % [ n = 8 ] , P = 0.06 ) , and 79 % of intervention participants had a discussion about pain management documented in their medical record vs. 54 % of control patients ( P = 0.05 ) .