Merge branch 'development' into feature_admission_request
commit
ae6cd0e5f8
@ -1,18 +1,90 @@
|
|||||||
class CategoriseProcedureModel {
|
class CategoriseProcedureModel {
|
||||||
String categoryID;
|
List<EntityList> entityList;
|
||||||
String categoryName;
|
int rowcount;
|
||||||
|
dynamic statusMessage;
|
||||||
|
|
||||||
CategoriseProcedureModel({this.categoryID, this.categoryName});
|
CategoriseProcedureModel(
|
||||||
|
{this.entityList, this.rowcount, this.statusMessage});
|
||||||
|
|
||||||
CategoriseProcedureModel.fromJson(Map<String, dynamic> json) {
|
CategoriseProcedureModel.fromJson(Map<String, dynamic> json) {
|
||||||
categoryID = json['CategoryID'];
|
if (json['entityList'] != null) {
|
||||||
categoryName = json['CategoryName'];
|
entityList = new List<EntityList>();
|
||||||
|
json['entityList'].forEach((v) {
|
||||||
|
entityList.add(new EntityList.fromJson(v));
|
||||||
|
});
|
||||||
|
}
|
||||||
|
rowcount = json['rowcount'];
|
||||||
|
statusMessage = json['statusMessage'];
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
if (this.entityList != null) {
|
||||||
|
data['entityList'] = this.entityList.map((v) => v.toJson()).toList();
|
||||||
|
}
|
||||||
|
data['rowcount'] = this.rowcount;
|
||||||
|
data['statusMessage'] = this.statusMessage;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
class EntityList {
|
||||||
|
bool allowedClinic;
|
||||||
|
String category;
|
||||||
|
String categoryID;
|
||||||
|
String genderValidation;
|
||||||
|
String group;
|
||||||
|
String orderedValidation;
|
||||||
|
dynamic price;
|
||||||
|
String procedureId;
|
||||||
|
String procedureName;
|
||||||
|
String specialPermission;
|
||||||
|
String subGroup;
|
||||||
|
String template;
|
||||||
|
|
||||||
|
EntityList(
|
||||||
|
{this.allowedClinic,
|
||||||
|
this.category,
|
||||||
|
this.categoryID,
|
||||||
|
this.genderValidation,
|
||||||
|
this.group,
|
||||||
|
this.orderedValidation,
|
||||||
|
this.price,
|
||||||
|
this.procedureId,
|
||||||
|
this.procedureName,
|
||||||
|
this.specialPermission,
|
||||||
|
this.subGroup,
|
||||||
|
this.template});
|
||||||
|
|
||||||
|
EntityList.fromJson(Map<String, dynamic> json) {
|
||||||
|
allowedClinic = json['allowedClinic'];
|
||||||
|
category = json['category'];
|
||||||
|
categoryID = json['categoryID'];
|
||||||
|
genderValidation = json['genderValidation'];
|
||||||
|
group = json['group'];
|
||||||
|
orderedValidation = json['orderedValidation'];
|
||||||
|
price = json['price'];
|
||||||
|
procedureId = json['procedureId'];
|
||||||
|
procedureName = json['procedureName'];
|
||||||
|
specialPermission = json['specialPermission'];
|
||||||
|
subGroup = json['subGroup'];
|
||||||
|
template = json['template'];
|
||||||
}
|
}
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final Map<String, dynamic> data = new Map<String, dynamic>();
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
data['CategoryID'] = this.categoryID;
|
data['allowedClinic'] = this.allowedClinic;
|
||||||
data['CategoryName'] = this.categoryName;
|
data['category'] = this.category;
|
||||||
|
data['categoryID'] = this.categoryID;
|
||||||
|
data['genderValidation'] = this.genderValidation;
|
||||||
|
data['group'] = this.group;
|
||||||
|
data['orderedValidation'] = this.orderedValidation;
|
||||||
|
data['price'] = this.price;
|
||||||
|
data['procedureId'] = this.procedureId;
|
||||||
|
data['procedureName'] = this.procedureName;
|
||||||
|
data['specialPermission'] = this.specialPermission;
|
||||||
|
data['subGroup'] = this.subGroup;
|
||||||
|
data['template'] = this.template;
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -0,0 +1,40 @@
|
|||||||
|
class GetPatientArrivalListRequestModel {
|
||||||
|
String vidaAuthTokenID;
|
||||||
|
String from;
|
||||||
|
String to;
|
||||||
|
String doctorID;
|
||||||
|
int pageIndex;
|
||||||
|
int pageSize;
|
||||||
|
int clinicID;
|
||||||
|
|
||||||
|
GetPatientArrivalListRequestModel(
|
||||||
|
{this.vidaAuthTokenID,
|
||||||
|
this.from,
|
||||||
|
this.to,
|
||||||
|
this.doctorID,
|
||||||
|
this.pageIndex,
|
||||||
|
this.pageSize,
|
||||||
|
this.clinicID});
|
||||||
|
|
||||||
|
GetPatientArrivalListRequestModel.fromJson(Map<String, dynamic> json) {
|
||||||
|
vidaAuthTokenID = json['VidaAuthTokenID'];
|
||||||
|
from = json['From'];
|
||||||
|
to = json['To'];
|
||||||
|
doctorID = json['DoctorID'];
|
||||||
|
pageIndex = json['PageIndex'];
|
||||||
|
pageSize = json['PageSize'];
|
||||||
|
clinicID = json['ClinicID'];
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
data['VidaAuthTokenID'] = this.vidaAuthTokenID;
|
||||||
|
data['From'] = this.from;
|
||||||
|
data['To'] = this.to;
|
||||||
|
data['DoctorID'] = this.doctorID;
|
||||||
|
data['PageIndex'] = this.pageIndex;
|
||||||
|
data['PageSize'] = this.pageSize;
|
||||||
|
data['ClinicID'] = this.clinicID;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue