post Procedure
							parent
							
								
									5253c28469
								
							
						
					
					
						commit
						dd53a9bd4d
					
				@ -0,0 +1,138 @@
 | 
			
		||||
class GetOrderedProcedureModel {
 | 
			
		||||
  List<EntityList> entityList;
 | 
			
		||||
  int rowcount;
 | 
			
		||||
  dynamic statusMessage;
 | 
			
		||||
 | 
			
		||||
  GetOrderedProcedureModel(
 | 
			
		||||
      {this.entityList, this.rowcount, this.statusMessage});
 | 
			
		||||
 | 
			
		||||
  GetOrderedProcedureModel.fromJson(Map<String, dynamic> json) {
 | 
			
		||||
    if (json['entityList'] != null) {
 | 
			
		||||
      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 {
 | 
			
		||||
  String achiCode;
 | 
			
		||||
  String appointmentDate;
 | 
			
		||||
  int appointmentNo;
 | 
			
		||||
  int categoryID;
 | 
			
		||||
  String clinicDescription;
 | 
			
		||||
  String cptCode;
 | 
			
		||||
  int createdBy;
 | 
			
		||||
  String createdOn;
 | 
			
		||||
  String doctorName;
 | 
			
		||||
  bool isApprovalCreated;
 | 
			
		||||
  bool isApprovalRequired;
 | 
			
		||||
  bool isCovered;
 | 
			
		||||
  bool isInvoiced;
 | 
			
		||||
  bool isReferralInvoiced;
 | 
			
		||||
  bool isUncoveredByDoctor;
 | 
			
		||||
  int lineItemNo;
 | 
			
		||||
  String orderDate;
 | 
			
		||||
  int orderNo;
 | 
			
		||||
  int orderType;
 | 
			
		||||
  String procedureId;
 | 
			
		||||
  String procedureName;
 | 
			
		||||
  String remarks;
 | 
			
		||||
  String status;
 | 
			
		||||
  String template;
 | 
			
		||||
 | 
			
		||||
  EntityList(
 | 
			
		||||
      {this.achiCode,
 | 
			
		||||
      this.appointmentDate,
 | 
			
		||||
      this.appointmentNo,
 | 
			
		||||
      this.categoryID,
 | 
			
		||||
      this.clinicDescription,
 | 
			
		||||
      this.cptCode,
 | 
			
		||||
      this.createdBy,
 | 
			
		||||
      this.createdOn,
 | 
			
		||||
      this.doctorName,
 | 
			
		||||
      this.isApprovalCreated,
 | 
			
		||||
      this.isApprovalRequired,
 | 
			
		||||
      this.isCovered,
 | 
			
		||||
      this.isInvoiced,
 | 
			
		||||
      this.isReferralInvoiced,
 | 
			
		||||
      this.isUncoveredByDoctor,
 | 
			
		||||
      this.lineItemNo,
 | 
			
		||||
      this.orderDate,
 | 
			
		||||
      this.orderNo,
 | 
			
		||||
      this.orderType,
 | 
			
		||||
      this.procedureId,
 | 
			
		||||
      this.procedureName,
 | 
			
		||||
      this.remarks,
 | 
			
		||||
      this.status,
 | 
			
		||||
      this.template});
 | 
			
		||||
 | 
			
		||||
  EntityList.fromJson(Map<String, dynamic> json) {
 | 
			
		||||
    achiCode = json['achiCode'];
 | 
			
		||||
    appointmentDate = json['appointmentDate'];
 | 
			
		||||
    appointmentNo = json['appointmentNo'];
 | 
			
		||||
    categoryID = json['categoryID'];
 | 
			
		||||
    clinicDescription = json['clinicDescription'];
 | 
			
		||||
    cptCode = json['cptCode'];
 | 
			
		||||
    createdBy = json['createdBy'];
 | 
			
		||||
    createdOn = json['createdOn'];
 | 
			
		||||
    doctorName = json['doctorName'];
 | 
			
		||||
    isApprovalCreated = json['isApprovalCreated'];
 | 
			
		||||
    isApprovalRequired = json['isApprovalRequired'];
 | 
			
		||||
    isCovered = json['isCovered'];
 | 
			
		||||
    isInvoiced = json['isInvoiced'];
 | 
			
		||||
    isReferralInvoiced = json['isReferralInvoiced'];
 | 
			
		||||
    isUncoveredByDoctor = json['isUncoveredByDoctor'];
 | 
			
		||||
    lineItemNo = json['lineItemNo'];
 | 
			
		||||
    orderDate = json['orderDate'];
 | 
			
		||||
    orderNo = json['orderNo'];
 | 
			
		||||
    orderType = json['orderType'];
 | 
			
		||||
    procedureId = json['procedureId'];
 | 
			
		||||
    procedureName = json['procedureName'];
 | 
			
		||||
    remarks = json['remarks'];
 | 
			
		||||
    status = json['status'];
 | 
			
		||||
    template = json['template'];
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  Map<String, dynamic> toJson() {
 | 
			
		||||
    final Map<String, dynamic> data = new Map<String, dynamic>();
 | 
			
		||||
    data['achiCode'] = this.achiCode;
 | 
			
		||||
    data['appointmentDate'] = this.appointmentDate;
 | 
			
		||||
    data['appointmentNo'] = this.appointmentNo;
 | 
			
		||||
    data['categoryID'] = this.categoryID;
 | 
			
		||||
    data['clinicDescription'] = this.clinicDescription;
 | 
			
		||||
    data['cptCode'] = this.cptCode;
 | 
			
		||||
    data['createdBy'] = this.createdBy;
 | 
			
		||||
    data['createdOn'] = this.createdOn;
 | 
			
		||||
    data['doctorName'] = this.doctorName;
 | 
			
		||||
    data['isApprovalCreated'] = this.isApprovalCreated;
 | 
			
		||||
    data['isApprovalRequired'] = this.isApprovalRequired;
 | 
			
		||||
    data['isCovered'] = this.isCovered;
 | 
			
		||||
    data['isInvoiced'] = this.isInvoiced;
 | 
			
		||||
    data['isReferralInvoiced'] = this.isReferralInvoiced;
 | 
			
		||||
    data['isUncoveredByDoctor'] = this.isUncoveredByDoctor;
 | 
			
		||||
    data['lineItemNo'] = this.lineItemNo;
 | 
			
		||||
    data['orderDate'] = this.orderDate;
 | 
			
		||||
    data['orderNo'] = this.orderNo;
 | 
			
		||||
    data['orderType'] = this.orderType;
 | 
			
		||||
    data['procedureId'] = this.procedureId;
 | 
			
		||||
    data['procedureName'] = this.procedureName;
 | 
			
		||||
    data['remarks'] = this.remarks;
 | 
			
		||||
    data['status'] = this.status;
 | 
			
		||||
    data['template'] = this.template;
 | 
			
		||||
    return data;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
@ -0,0 +1,18 @@
 | 
			
		||||
class GetOrderedProcedureRequestModel {
 | 
			
		||||
  String vidaAuthTokenID;
 | 
			
		||||
  int patientMRN;
 | 
			
		||||
 | 
			
		||||
  GetOrderedProcedureRequestModel({this.vidaAuthTokenID, this.patientMRN});
 | 
			
		||||
 | 
			
		||||
  GetOrderedProcedureRequestModel.fromJson(Map<String, dynamic> json) {
 | 
			
		||||
    vidaAuthTokenID = json['VidaAuthTokenID'];
 | 
			
		||||
    patientMRN = json['PatientMRN'];
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  Map<String, dynamic> toJson() {
 | 
			
		||||
    final Map<String, dynamic> data = new Map<String, dynamic>();
 | 
			
		||||
    data['VidaAuthTokenID'] = this.vidaAuthTokenID;
 | 
			
		||||
    data['PatientMRN'] = this.patientMRN;
 | 
			
		||||
    return data;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
@ -0,0 +1,48 @@
 | 
			
		||||
class ProcedureCategoryListModel {
 | 
			
		||||
  List<EntityList> entityList;
 | 
			
		||||
  int rowcount;
 | 
			
		||||
  dynamic statusMessage;
 | 
			
		||||
 | 
			
		||||
  ProcedureCategoryListModel(
 | 
			
		||||
      {this.entityList, this.rowcount, this.statusMessage});
 | 
			
		||||
 | 
			
		||||
  ProcedureCategoryListModel.fromJson(Map<String, dynamic> json) {
 | 
			
		||||
    if (json['entityList'] != null) {
 | 
			
		||||
      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 {
 | 
			
		||||
  int categoryId;
 | 
			
		||||
  String categoryName;
 | 
			
		||||
 | 
			
		||||
  EntityList({this.categoryId, this.categoryName});
 | 
			
		||||
 | 
			
		||||
  EntityList.fromJson(Map<String, dynamic> json) {
 | 
			
		||||
    categoryId = json['categoryId'];
 | 
			
		||||
    categoryName = json['categoryName'];
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  Map<String, dynamic> toJson() {
 | 
			
		||||
    final Map<String, dynamic> data = new Map<String, dynamic>();
 | 
			
		||||
    data['categoryId'] = this.categoryId;
 | 
			
		||||
    data['categoryName'] = this.categoryName;
 | 
			
		||||
    return data;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
					Loading…
					
					
				
		Reference in New Issue