amida-tech/DRE

medications need refresh after adding

Closed this issue · 6 comments

new patient-entered medications saved but don't show up in medication list right after entering

add dataservice to the medication entry controller, and on successful add call: dataservice.forceRefresh();

When did you take out $route.reload()? I had this in the save medication function before in the record controller. Was there a reason it wasn't working any more?

Oh, looks like it's actually still in the meds modal, but it's called from the modal scope, not the record scope.

using $route.reload AND $location.path was causing the weird double screen issue

Oh interesting. Okay, I'll make the dataservice change.

@oehokie did you mean add it to the modal controller or the record controller?