Attitudes toward advance directives and the impact of prognostic information on the preference for cardiopulmonary resuscitation in medical inpatients in Chiang Mai University Hospital, Thailand.