From 1f85452012b33ddd94ace2f39fc8279699eef5ee Mon Sep 17 00:00:00 2001 From: Adeola Badmus Date: Fri, 17 Feb 2017 00:52:44 +0100 Subject: [PATCH] Rename report types --- app/reports/edit/controller.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/reports/edit/controller.js b/app/reports/edit/controller.js index 965cf613f2..9a5cd3ed7f 100644 --- a/app/reports/edit/controller.js +++ b/app/reports/edit/controller.js @@ -65,13 +65,13 @@ export default AbstractEditController.extend(PatientSubmodule, PatientDiagnosis, if (this.get('model.isNew')) { if (this.get('model.visit.outPatient')) { - this.get('model').set('reportType', 'OutPatient'); + this.get('model').set('reportType', 'OPD Report'); let appointmentDate = this.get('nextAppointment').get('content'); this.get('model').set('nextAppointment', appointmentDate); this.get('model').set('diagnosis', this.get('diagnosis')); } else { // update discharge report properties - this.get('model').set('reportType', 'Discharge'); + this.get('model').set('reportType', 'Discharge Report'); } } resolve();