def save(self):
     """function to save a new prescription for a given patient"""
     db = DBStorage()
     p = self.createPatient()
     db.add_prescription(p)
Example #2
0
 def save(self):
     db = DBStorage()
     p = self.createPatient()
     db.add_prescription(p)