You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
diplomatic-quarter/lib/models/anicllary-orders/ancillary_order_proc_model....

250 lines
8.1 KiB
Dart

class AncillaryOrdersListProcListModel {
List<AncillaryOrderProcList> ancillaryOrderProcList;
String appointmentDate;
dynamic appointmentNo;
dynamic clinicID;
String clinicName;
dynamic companyID;
String companyName;
dynamic doctorID;
String doctorName;
Null errCode;
dynamic groupID;
String insurancePolicyNo;
String message;
String patientCardID;
dynamic patientID;
String patientName;
dynamic patientType;
dynamic policyID;
String policyName;
dynamic projectID;
String setupID;
dynamic statusCode;
dynamic subCategoryID;
String subPolicyNo;
AncillaryOrdersListProcListModel(
{this.ancillaryOrderProcList,
this.appointmentDate,
this.appointmentNo,
this.clinicID,
this.clinicName,
this.companyID,
this.companyName,
this.doctorID,
this.doctorName,
this.errCode,
this.groupID,
this.insurancePolicyNo,
this.message,
this.patientCardID,
this.patientID,
this.patientName,
this.patientType,
this.policyID,
this.policyName,
this.projectID,
this.setupID,
this.statusCode,
this.subCategoryID,
this.subPolicyNo});
AncillaryOrdersListProcListModel.fromJson(Map<String, dynamic> json) {
if (json['AncillaryOrderProcList'] != null) {
ancillaryOrderProcList = new List<AncillaryOrderProcList>();
json['AncillaryOrderProcList'].forEach((v) {
ancillaryOrderProcList.add(new AncillaryOrderProcList.fromJson(v));
});
}
appointmentDate = json['AppointmentDate'];
appointmentNo = json['AppointmentNo'];
clinicID = json['ClinicID'];
clinicName = json['ClinicName'];
companyID = json['CompanyID'];
companyName = json['CompanyName'];
doctorID = json['DoctorID'];
doctorName = json['DoctorName'];
errCode = json['ErrCode'];
groupID = json['GroupID'];
insurancePolicyNo = json['InsurancePolicyNo'];
message = json['Message'];
patientCardID = json['PatientCardID'];
patientID = json['PatientID'];
patientName = json['PatientName'];
patientType = json['PatientType'];
policyID = json['PolicyID'];
policyName = json['PolicyName'];
projectID = json['ProjectID'];
setupID = json['SetupID'];
statusCode = json['StatusCode'];
subCategoryID = json['SubCategoryID'];
subPolicyNo = json['SubPolicyNo'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
if (this.ancillaryOrderProcList != null) {
data['AncillaryOrderProcList'] =
this.ancillaryOrderProcList.map((v) => v.toJson()).toList();
}
data['AppointmentDate'] = this.appointmentDate;
data['AppointmentNo'] = this.appointmentNo;
data['ClinicID'] = this.clinicID;
data['ClinicName'] = this.clinicName;
data['CompanyID'] = this.companyID;
data['CompanyName'] = this.companyName;
data['DoctorID'] = this.doctorID;
data['DoctorName'] = this.doctorName;
data['ErrCode'] = this.errCode;
data['GroupID'] = this.groupID;
data['InsurancePolicyNo'] = this.insurancePolicyNo;
data['Message'] = this.message;
data['PatientCardID'] = this.patientCardID;
data['PatientID'] = this.patientID;
data['PatientName'] = this.patientName;
data['PatientType'] = this.patientType;
data['PolicyID'] = this.policyID;
data['PolicyName'] = this.policyName;
data['ProjectID'] = this.projectID;
data['SetupID'] = this.setupID;
data['StatusCode'] = this.statusCode;
data['SubCategoryID'] = this.subCategoryID;
data['SubPolicyNo'] = this.subPolicyNo;
return data;
}
}
class AncillaryOrderProcList {
dynamic approvalLineItemNo;
dynamic approvalNo;
String approvalStatus;
dynamic approvalStatusID;
dynamic companyShare;
dynamic companyShareWithTax;
dynamic companyTaxAmount;
dynamic discountAmount;
dynamic discountCategory;
String discountType;
dynamic discountTypeValue;
bool isApprovalCreated;
bool isApprovalRequired;
bool isCovered;
String orderDate;
dynamic orderLineItemNo;
dynamic orderNo;
dynamic partnerID;
dynamic partnerShare;
String partnerShareType;
dynamic patientShare;
dynamic patientShareWithTax;
dynamic patientTaxAmount;
dynamic procPrice;
dynamic procedureCategoryID;
String procedureCategoryName;
String procedureID;
String procedureName;
dynamic taxAmount;
dynamic taxPct;
AncillaryOrderProcList(
{this.approvalLineItemNo,
this.approvalNo,
this.approvalStatus,
this.approvalStatusID,
this.companyShare,
this.companyShareWithTax,
this.companyTaxAmount,
this.discountAmount,
this.discountCategory,
this.discountType,
this.discountTypeValue,
this.isApprovalCreated,
this.isApprovalRequired,
this.isCovered,
this.orderDate,
this.orderLineItemNo,
this.orderNo,
this.partnerID,
this.partnerShare,
this.partnerShareType,
this.patientShare,
this.patientShareWithTax,
this.patientTaxAmount,
this.procPrice,
this.procedureCategoryID,
this.procedureCategoryName,
this.procedureID,
this.procedureName,
this.taxAmount,
this.taxPct});
AncillaryOrderProcList.fromJson(Map<String, dynamic> json) {
approvalLineItemNo = json['ApprovalLineItemNo'];
approvalNo = json['ApprovalNo'];
approvalStatus = json['ApprovalStatus'];
approvalStatusID = json['ApprovalStatusID'];
companyShare = json['CompanyShare'];
companyShareWithTax = json['CompanyShareWithTax'];
companyTaxAmount = json['CompanyTaxAmount'];
discountAmount = json['DiscountAmount'];
discountCategory = json['DiscountCategory'];
discountType = json['DiscountType'];
discountTypeValue = json['DiscountTypeValue'];
isApprovalCreated = json['IsApprovalCreated'];
isApprovalRequired = json['IsApprovalRequired'];
isCovered = json['IsCovered'];
orderDate = json['OrderDate'];
orderLineItemNo = json['OrderLineItemNo'];
orderNo = json['OrderNo'];
partnerID = json['PartnerID'];
partnerShare = json['PartnerShare'];
partnerShareType = json['PartnerShareType'];
patientShare = json['PatientShare'];
patientShareWithTax = json['PatientShareWithTax'];
patientTaxAmount = json['PatientTaxAmount'];
procPrice = json['ProcPrice'];
procedureCategoryID = json['ProcedureCategoryID'];
procedureCategoryName = json['ProcedureCategoryName'];
procedureID = json['ProcedureID'];
procedureName = json['ProcedureName'];
taxAmount = json['TaxAmount'];
taxPct = json['TaxPct'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['ApprovalLineItemNo'] = this.approvalLineItemNo;
data['ApprovalNo'] = this.approvalNo;
data['ApprovalStatus'] = this.approvalStatus;
data['ApprovalStatusID'] = this.approvalStatusID;
data['CompanyShare'] = this.companyShare;
data['CompanyShareWithTax'] = this.companyShareWithTax;
data['CompanyTaxAmount'] = this.companyTaxAmount;
data['DiscountAmount'] = this.discountAmount;
data['DiscountCategory'] = this.discountCategory;
data['DiscountType'] = this.discountType;
data['DiscountTypeValue'] = this.discountTypeValue;
data['IsApprovalCreated'] = this.isApprovalCreated;
data['IsApprovalRequired'] = this.isApprovalRequired;
data['IsCovered'] = this.isCovered;
data['OrderDate'] = this.orderDate;
data['OrderLineItemNo'] = this.orderLineItemNo;
data['OrderNo'] = this.orderNo;
data['PartnerID'] = this.partnerID;
data['PartnerShare'] = this.partnerShare;
data['PartnerShareType'] = this.partnerShareType;
data['PatientShare'] = this.patientShare;
data['PatientShareWithTax'] = this.patientShareWithTax;
data['PatientTaxAmount'] = this.patientTaxAmount;
data['ProcPrice'] = this.procPrice;
data['ProcedureCategoryID'] = this.procedureCategoryID;
data['ProcedureCategoryName'] = this.procedureCategoryName;
data['ProcedureID'] = this.procedureID;
data['ProcedureName'] = this.procedureName;
data['TaxAmount'] = this.taxAmount;
data['TaxPct'] = this.taxPct;
return data;
}
}