|
|
|
|
@ -33,7 +33,6 @@ class PatientMedicalReportService extends BaseService {
|
|
|
|
|
Future getMedicalReportTemplate() async {
|
|
|
|
|
hasError = false;
|
|
|
|
|
Map<String, dynamic> body = Map();
|
|
|
|
|
body['TokenID'] = "@dm!n";
|
|
|
|
|
body['SetupID'] = "91877";
|
|
|
|
|
body['TemplateID'] = 43;
|
|
|
|
|
|
|
|
|
|
@ -54,7 +53,6 @@ class PatientMedicalReportService extends BaseService {
|
|
|
|
|
Future insertMedicalReport(PatiantInformtion patient, String htmlText) async {
|
|
|
|
|
hasError = false;
|
|
|
|
|
Map<String, dynamic> body = Map();
|
|
|
|
|
// body['TokenID'] = "@dm!n";
|
|
|
|
|
body['SetupID'] = "91877";
|
|
|
|
|
body['AdmissionNo'] = patient.admissionNo;
|
|
|
|
|
body['MedicalReportHTML'] = htmlText;
|
|
|
|
|
@ -71,7 +69,6 @@ class PatientMedicalReportService extends BaseService {
|
|
|
|
|
PatiantInformtion patient, MedicalReportModel medicalReport) async {
|
|
|
|
|
hasError = false;
|
|
|
|
|
Map<String, dynamic> body = Map();
|
|
|
|
|
body['TokenID'] = "@dm!n";
|
|
|
|
|
body['SetupID'] = "91877";
|
|
|
|
|
body['AdmissionNo'] = patient.admissionNo;
|
|
|
|
|
body['InvoiceNo'] = medicalReport.invoiceNo;
|
|
|
|
|
@ -92,7 +89,6 @@ class PatientMedicalReportService extends BaseService {
|
|
|
|
|
Future addMedicalReport(PatiantInformtion patient, String htmlText) async {
|
|
|
|
|
hasError = false;
|
|
|
|
|
Map<String, dynamic> body = Map();
|
|
|
|
|
// body['TokenID'] = "@dm!n";
|
|
|
|
|
body['SetupID'] = body.containsKey('SetupID')
|
|
|
|
|
? body['SetupID'] != null
|
|
|
|
|
? body['SetupID']
|
|
|
|
|
@ -117,7 +113,6 @@ class PatientMedicalReportService extends BaseService {
|
|
|
|
|
int limitNumber, String invoiceNumber) async {
|
|
|
|
|
hasError = false;
|
|
|
|
|
Map<String, dynamic> body = Map();
|
|
|
|
|
// body['TokenID'] = "@dm!n";
|
|
|
|
|
|
|
|
|
|
body['LineItemNo'] = limitNumber;
|
|
|
|
|
body['InvoiceNo'] = invoiceNumber;
|
|
|
|
|
|