|
@@ -203,13 +203,14 @@ class PatientService extends CrudService {
|
|
|
|
|
|
|
|
|
const emr = patient.emrs.id(id);
|
|
|
- const { indate, outdate, title, content, doctorid, doctorname } = data;
|
|
|
+ const { indate, outdate, title, content, doctorid, doctorname, img } = data;
|
|
|
emr.indate = indate;
|
|
|
emr.outdate = outdate;
|
|
|
emr.title = title;
|
|
|
emr.content = content;
|
|
|
emr.doctorid = doctorid;
|
|
|
emr.doctorname = doctorname;
|
|
|
+ emr.img = img;
|
|
|
return await patient.save();
|
|
|
}
|
|
|
|