Skip to main content

save_prescription

Function save_prescription 

Source
pub(crate) fn save_prescription(id: &str, edit: &str) -> String
Expand description

A prescription made (id empty) or changed, with its medicines; returns {“id”} or {“error”}.