Procedure template service
parent
84a7f44b68
commit
066acc404a
@ -0,0 +1,84 @@
|
|||||||
|
class ProcedureTempleteDetailsModel {
|
||||||
|
String setupID;
|
||||||
|
int projectID;
|
||||||
|
int clinicID;
|
||||||
|
int doctorID;
|
||||||
|
int templateID;
|
||||||
|
String procedureID;
|
||||||
|
bool isActive;
|
||||||
|
int createdBy;
|
||||||
|
String createdOn;
|
||||||
|
dynamic editedBy;
|
||||||
|
dynamic editedOn;
|
||||||
|
String procedureName;
|
||||||
|
String procedureNameN;
|
||||||
|
String alias;
|
||||||
|
String aliasN;
|
||||||
|
String categoryID;
|
||||||
|
String subGroupID;
|
||||||
|
dynamic riskCategoryID;
|
||||||
|
|
||||||
|
ProcedureTempleteDetailsModel(
|
||||||
|
{this.setupID,
|
||||||
|
this.projectID,
|
||||||
|
this.clinicID,
|
||||||
|
this.doctorID,
|
||||||
|
this.templateID,
|
||||||
|
this.procedureID,
|
||||||
|
this.isActive,
|
||||||
|
this.createdBy,
|
||||||
|
this.createdOn,
|
||||||
|
this.editedBy,
|
||||||
|
this.editedOn,
|
||||||
|
this.procedureName,
|
||||||
|
this.procedureNameN,
|
||||||
|
this.alias,
|
||||||
|
this.aliasN,
|
||||||
|
this.categoryID,
|
||||||
|
this.subGroupID,
|
||||||
|
this.riskCategoryID});
|
||||||
|
|
||||||
|
ProcedureTempleteDetailsModel.fromJson(Map<String, dynamic> json) {
|
||||||
|
setupID = json['SetupID'];
|
||||||
|
projectID = json['ProjectID'];
|
||||||
|
clinicID = json['ClinicID'];
|
||||||
|
doctorID = json['DoctorID'];
|
||||||
|
templateID = json['TemplateID'];
|
||||||
|
procedureID = json['ProcedureID'];
|
||||||
|
isActive = json['IsActive'];
|
||||||
|
createdBy = json['CreatedBy'];
|
||||||
|
createdOn = json['CreatedOn'];
|
||||||
|
editedBy = json['EditedBy'];
|
||||||
|
editedOn = json['EditedOn'];
|
||||||
|
procedureName = json['ProcedureName'];
|
||||||
|
procedureNameN = json['ProcedureNameN'];
|
||||||
|
alias = json['Alias'];
|
||||||
|
aliasN = json['AliasN'];
|
||||||
|
categoryID = json['CategoryID'];
|
||||||
|
subGroupID = json['SubGroupID'];
|
||||||
|
riskCategoryID = json['RiskCategoryID'];
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
data['SetupID'] = this.setupID;
|
||||||
|
data['ProjectID'] = this.projectID;
|
||||||
|
data['ClinicID'] = this.clinicID;
|
||||||
|
data['DoctorID'] = this.doctorID;
|
||||||
|
data['TemplateID'] = this.templateID;
|
||||||
|
data['ProcedureID'] = this.procedureID;
|
||||||
|
data['IsActive'] = this.isActive;
|
||||||
|
data['CreatedBy'] = this.createdBy;
|
||||||
|
data['CreatedOn'] = this.createdOn;
|
||||||
|
data['EditedBy'] = this.editedBy;
|
||||||
|
data['EditedOn'] = this.editedOn;
|
||||||
|
data['ProcedureName'] = this.procedureName;
|
||||||
|
data['ProcedureNameN'] = this.procedureNameN;
|
||||||
|
data['Alias'] = this.alias;
|
||||||
|
data['AliasN'] = this.aliasN;
|
||||||
|
data['CategoryID'] = this.categoryID;
|
||||||
|
data['SubGroupID'] = this.subGroupID;
|
||||||
|
data['RiskCategoryID'] = this.riskCategoryID;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,124 @@
|
|||||||
|
class ProcedureTempleteDetailsRequestModel {
|
||||||
|
int doctorID;
|
||||||
|
String firstName;
|
||||||
|
int templateID;
|
||||||
|
String middleName;
|
||||||
|
String lastName;
|
||||||
|
String patientMobileNumber;
|
||||||
|
String patientIdentificationID;
|
||||||
|
int patientID;
|
||||||
|
String from;
|
||||||
|
String to;
|
||||||
|
int searchType;
|
||||||
|
String mobileNo;
|
||||||
|
String identificationNo;
|
||||||
|
int editedBy;
|
||||||
|
int projectID;
|
||||||
|
int clinicID;
|
||||||
|
String tokenID;
|
||||||
|
int languageID;
|
||||||
|
String stamp;
|
||||||
|
String iPAdress;
|
||||||
|
double versionID;
|
||||||
|
int channel;
|
||||||
|
String sessionID;
|
||||||
|
bool isLoginForDoctorApp;
|
||||||
|
bool patientOutSA;
|
||||||
|
String vidaAuthTokenID;
|
||||||
|
String vidaRefreshTokenID;
|
||||||
|
int deviceTypeID;
|
||||||
|
|
||||||
|
ProcedureTempleteDetailsRequestModel(
|
||||||
|
{this.doctorID,
|
||||||
|
this.firstName,
|
||||||
|
this.templateID,
|
||||||
|
this.middleName,
|
||||||
|
this.lastName,
|
||||||
|
this.patientMobileNumber,
|
||||||
|
this.patientIdentificationID,
|
||||||
|
this.patientID,
|
||||||
|
this.from,
|
||||||
|
this.to,
|
||||||
|
this.searchType,
|
||||||
|
this.mobileNo,
|
||||||
|
this.identificationNo,
|
||||||
|
this.editedBy,
|
||||||
|
this.projectID,
|
||||||
|
this.clinicID,
|
||||||
|
this.tokenID,
|
||||||
|
this.languageID,
|
||||||
|
this.stamp,
|
||||||
|
this.iPAdress,
|
||||||
|
this.versionID,
|
||||||
|
this.channel,
|
||||||
|
this.sessionID,
|
||||||
|
this.isLoginForDoctorApp,
|
||||||
|
this.patientOutSA,
|
||||||
|
this.vidaAuthTokenID,
|
||||||
|
this.vidaRefreshTokenID,
|
||||||
|
this.deviceTypeID});
|
||||||
|
|
||||||
|
ProcedureTempleteDetailsRequestModel.fromJson(Map<String, dynamic> json) {
|
||||||
|
doctorID = json['DoctorID'];
|
||||||
|
firstName = json['FirstName'];
|
||||||
|
templateID = json['TemplateID'];
|
||||||
|
middleName = json['MiddleName'];
|
||||||
|
lastName = json['LastName'];
|
||||||
|
patientMobileNumber = json['PatientMobileNumber'];
|
||||||
|
patientIdentificationID = json['PatientIdentificationID'];
|
||||||
|
patientID = json['PatientID'];
|
||||||
|
from = json['From'];
|
||||||
|
to = json['To'];
|
||||||
|
searchType = json['SearchType'];
|
||||||
|
mobileNo = json['MobileNo'];
|
||||||
|
identificationNo = json['IdentificationNo'];
|
||||||
|
editedBy = json['EditedBy'];
|
||||||
|
projectID = json['ProjectID'];
|
||||||
|
clinicID = json['ClinicID'];
|
||||||
|
tokenID = json['TokenID'];
|
||||||
|
languageID = json['LanguageID'];
|
||||||
|
stamp = json['stamp'];
|
||||||
|
iPAdress = json['IPAdress'];
|
||||||
|
versionID = json['VersionID'];
|
||||||
|
channel = json['Channel'];
|
||||||
|
sessionID = json['SessionID'];
|
||||||
|
isLoginForDoctorApp = json['IsLoginForDoctorApp'];
|
||||||
|
patientOutSA = json['PatientOutSA'];
|
||||||
|
vidaAuthTokenID = json['VidaAuthTokenID'];
|
||||||
|
vidaRefreshTokenID = json['VidaRefreshTokenID'];
|
||||||
|
deviceTypeID = json['DeviceTypeID'];
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
data['DoctorID'] = this.doctorID;
|
||||||
|
data['FirstName'] = this.firstName;
|
||||||
|
data['TemplateID'] = this.templateID;
|
||||||
|
data['MiddleName'] = this.middleName;
|
||||||
|
data['LastName'] = this.lastName;
|
||||||
|
data['PatientMobileNumber'] = this.patientMobileNumber;
|
||||||
|
data['PatientIdentificationID'] = this.patientIdentificationID;
|
||||||
|
data['PatientID'] = this.patientID;
|
||||||
|
data['From'] = this.from;
|
||||||
|
data['To'] = this.to;
|
||||||
|
data['SearchType'] = this.searchType;
|
||||||
|
data['MobileNo'] = this.mobileNo;
|
||||||
|
data['IdentificationNo'] = this.identificationNo;
|
||||||
|
data['EditedBy'] = this.editedBy;
|
||||||
|
data['ProjectID'] = this.projectID;
|
||||||
|
data['ClinicID'] = this.clinicID;
|
||||||
|
data['TokenID'] = this.tokenID;
|
||||||
|
data['LanguageID'] = this.languageID;
|
||||||
|
data['stamp'] = this.stamp;
|
||||||
|
data['IPAdress'] = this.iPAdress;
|
||||||
|
data['VersionID'] = this.versionID;
|
||||||
|
data['Channel'] = this.channel;
|
||||||
|
data['SessionID'] = this.sessionID;
|
||||||
|
data['IsLoginForDoctorApp'] = this.isLoginForDoctorApp;
|
||||||
|
data['PatientOutSA'] = this.patientOutSA;
|
||||||
|
data['VidaAuthTokenID'] = this.vidaAuthTokenID;
|
||||||
|
data['VidaRefreshTokenID'] = this.vidaRefreshTokenID;
|
||||||
|
data['DeviceTypeID'] = this.deviceTypeID;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue