Opal fell on the ice and injured her hip this winter. As a result she paid $3,200 for a visit to the hospital emergency room and $950 for follow-up visits with her doctor. While she recuperated, Opal paid $700 for prescription medicine and $800 to a therapist for rehabilitation. Insurance reimbursed Opal $1,400 for these expenses. What is the amount of Opal's qualifying medical expense?