Yes, generally the patient pays upfront and would then be reimbursed by their national authority as quickly as possible. The law also gives Member States the option of confirming the amount of reimbursement in writing in advance.
Member States also have the option of paying for the healthcare directly, rather than reimbursing patients. (Source: EU Commission MEMO/11/32.)