Extend the prescription interface to record more than one medication at a time?

I’m playing around this and trying to figure it out, right now the trivial stage of adding more fields to the form can be done but any help of recording the data from multiple medications at once? So basically The “add” page of prescriptions would have multiple rows to add multiple medications to one prescription.