|
|
|
@ -1,26 +1,26 @@
|
|
|
|
class GetOrderedProcedureModel {
|
|
|
|
class GetOrderedProcedureModel {
|
|
|
|
List<EntityList> entityList;
|
|
|
|
List<EntityList>? entityList;
|
|
|
|
int rowcount;
|
|
|
|
int? rowcount;
|
|
|
|
dynamic statusMessage;
|
|
|
|
dynamic statusMessage;
|
|
|
|
|
|
|
|
|
|
|
|
GetOrderedProcedureModel(
|
|
|
|
GetOrderedProcedureModel(
|
|
|
|
{this.entityList, this.rowcount, this.statusMessage});
|
|
|
|
{this.entityList, this.rowcount, this.statusMessage});
|
|
|
|
|
|
|
|
|
|
|
|
GetOrderedProcedureModel.fromJson(Map<String, dynamic> json) {
|
|
|
|
GetOrderedProcedureModel.fromJson(Map<String?, dynamic> json) {
|
|
|
|
if (json['entityList'] != null) {
|
|
|
|
if (json['entityList'] != null) {
|
|
|
|
entityList = new List<EntityList>();
|
|
|
|
entityList = [];
|
|
|
|
json['entityList'].forEach((v) {
|
|
|
|
json['entityList'].forEach((v) {
|
|
|
|
entityList.add(new EntityList.fromJson(v));
|
|
|
|
entityList!.add(new EntityList.fromJson(v));
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
rowcount = json['rowcount'];
|
|
|
|
rowcount = json['rowcount'];
|
|
|
|
statusMessage = json['statusMessage'];
|
|
|
|
statusMessage = json['statusMessage'];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
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>();
|
|
|
|
if (this.entityList != null) {
|
|
|
|
if (this.entityList != null) {
|
|
|
|
data['entityList'] = this.entityList.map((v) => v.toJson()).toList();
|
|
|
|
data['entityList'] = this.entityList!.map((v) => v.toJson()).toList();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
data['rowcount'] = this.rowcount;
|
|
|
|
data['rowcount'] = this.rowcount;
|
|
|
|
data['statusMessage'] = this.statusMessage;
|
|
|
|
data['statusMessage'] = this.statusMessage;
|
|
|
|
@ -29,31 +29,31 @@ class GetOrderedProcedureModel {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
class EntityList {
|
|
|
|
class EntityList {
|
|
|
|
String achiCode;
|
|
|
|
String? achiCode;
|
|
|
|
String appointmentDate;
|
|
|
|
String? appointmentDate;
|
|
|
|
int appointmentNo;
|
|
|
|
int? appointmentNo;
|
|
|
|
int categoryID;
|
|
|
|
int? categoryID;
|
|
|
|
String clinicDescription;
|
|
|
|
String? clinicDescription;
|
|
|
|
String cptCode;
|
|
|
|
String? cptCode;
|
|
|
|
int createdBy;
|
|
|
|
int? createdBy;
|
|
|
|
String createdOn;
|
|
|
|
String? createdOn;
|
|
|
|
String doctorName;
|
|
|
|
String? doctorName;
|
|
|
|
bool isApprovalCreated;
|
|
|
|
bool? isApprovalCreated;
|
|
|
|
bool isApprovalRequired;
|
|
|
|
bool? isApprovalRequired;
|
|
|
|
bool isCovered;
|
|
|
|
bool? isCovered;
|
|
|
|
bool isInvoiced;
|
|
|
|
bool? isInvoiced;
|
|
|
|
bool isReferralInvoiced;
|
|
|
|
bool? isReferralInvoiced;
|
|
|
|
bool isUncoveredByDoctor;
|
|
|
|
bool? isUncoveredByDoctor;
|
|
|
|
int lineItemNo;
|
|
|
|
int? lineItemNo;
|
|
|
|
String orderDate;
|
|
|
|
String? orderDate;
|
|
|
|
int orderNo;
|
|
|
|
int? orderNo;
|
|
|
|
int orderType;
|
|
|
|
int? orderType;
|
|
|
|
String procedureId;
|
|
|
|
String? procedureId;
|
|
|
|
String procedureName;
|
|
|
|
String? procedureName;
|
|
|
|
String remarks;
|
|
|
|
String? remarks;
|
|
|
|
String status;
|
|
|
|
String? status;
|
|
|
|
String template;
|
|
|
|
String? template;
|
|
|
|
int doctorID;
|
|
|
|
int? doctorID;
|
|
|
|
|
|
|
|
|
|
|
|
EntityList(
|
|
|
|
EntityList(
|
|
|
|
{this.achiCode,
|
|
|
|
{this.achiCode,
|
|
|
|
@ -82,7 +82,7 @@ class EntityList {
|
|
|
|
this.template,
|
|
|
|
this.template,
|
|
|
|
this.doctorID});
|
|
|
|
this.doctorID});
|
|
|
|
|
|
|
|
|
|
|
|
EntityList.fromJson(Map<String, dynamic> json) {
|
|
|
|
EntityList.fromJson(Map<String?, dynamic> json) {
|
|
|
|
achiCode = json['achiCode'];
|
|
|
|
achiCode = json['achiCode'];
|
|
|
|
doctorID = json['doctorID'];
|
|
|
|
doctorID = json['doctorID'];
|
|
|
|
appointmentDate = json['appointmentDate'];
|
|
|
|
appointmentDate = json['appointmentDate'];
|
|
|
|
@ -110,8 +110,8 @@ class EntityList {
|
|
|
|
template = json['template'];
|
|
|
|
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['achiCode'] = this.achiCode;
|
|
|
|
data['achiCode'] = this.achiCode;
|
|
|
|
data['doctorID'] = this.doctorID;
|
|
|
|
data['doctorID'] = this.doctorID;
|
|
|
|
data['appointmentDate'] = this.appointmentDate;
|
|
|
|
data['appointmentDate'] = this.appointmentDate;
|
|
|
|
|