|
|
|
@ -4,6 +4,7 @@ class ProcedureTempleteDetailsModel {
|
|
|
|
|
int clinicID;
|
|
|
|
|
int doctorID;
|
|
|
|
|
int templateID;
|
|
|
|
|
String templateName;
|
|
|
|
|
String procedureID;
|
|
|
|
|
bool isActive;
|
|
|
|
|
int createdBy;
|
|
|
|
@ -16,6 +17,9 @@ class ProcedureTempleteDetailsModel {
|
|
|
|
|
String aliasN;
|
|
|
|
|
String categoryID;
|
|
|
|
|
String subGroupID;
|
|
|
|
|
String categoryDescription;
|
|
|
|
|
String categoryDescriptionN;
|
|
|
|
|
String categoryAlias;
|
|
|
|
|
dynamic riskCategoryID;
|
|
|
|
|
String type = "1";
|
|
|
|
|
String remarks;
|
|
|
|
@ -40,6 +44,10 @@ class ProcedureTempleteDetailsModel {
|
|
|
|
|
this.categoryID,
|
|
|
|
|
this.subGroupID,
|
|
|
|
|
this.riskCategoryID,
|
|
|
|
|
this.templateName,
|
|
|
|
|
this.categoryDescription,
|
|
|
|
|
this.categoryDescriptionN,
|
|
|
|
|
this.categoryAlias,
|
|
|
|
|
this.remarks,
|
|
|
|
|
this.type = "1",
|
|
|
|
|
this.selectedType = 0});
|
|
|
|
@ -63,6 +71,10 @@ class ProcedureTempleteDetailsModel {
|
|
|
|
|
categoryID = json['CategoryID'];
|
|
|
|
|
subGroupID = json['SubGroupID'];
|
|
|
|
|
riskCategoryID = json['RiskCategoryID'];
|
|
|
|
|
templateName = json['TemplateName'];
|
|
|
|
|
categoryDescription = json['CategoryDescription'];
|
|
|
|
|
categoryDescriptionN = json['CategoryDescriptionN'];
|
|
|
|
|
categoryAlias = json['CategoryAlias'];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
@ -85,6 +97,19 @@ class ProcedureTempleteDetailsModel {
|
|
|
|
|
data['CategoryID'] = this.categoryID;
|
|
|
|
|
data['SubGroupID'] = this.subGroupID;
|
|
|
|
|
data['RiskCategoryID'] = this.riskCategoryID;
|
|
|
|
|
data['TemplateName'] = this.templateName;
|
|
|
|
|
data['CategoryDescription'] = this.categoryDescription;
|
|
|
|
|
data['CategoryDescriptionN'] = this.categoryDescriptionN;
|
|
|
|
|
data['CategoryAlias'] = this.categoryAlias;
|
|
|
|
|
return data;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
class ProcedureTempleteDetailsModelList {
|
|
|
|
|
List<ProcedureTempleteDetailsModel> procedureTemplate;
|
|
|
|
|
String templateName;
|
|
|
|
|
|
|
|
|
|
ProcedureTempleteDetailsModelList(
|
|
|
|
|
{this.templateName, ProcedureTempleteDetailsModel template}) {
|
|
|
|
|
procedureTemplate.add(template);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|