Registering, the consultation, and getting the prescription together took a whole morning.
Tips
usage
开 (literally 'to open / write out') is the standard verb for doctors filling out prescriptions — same pattern as 开处方 (write a prescription), 开证明 (issue a certificate).