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.
125 lines
3.8 KiB
Dart
125 lines
3.8 KiB
Dart
class LabResult {
|
|
String? setupID;
|
|
int? projectID;
|
|
int? orderNo;
|
|
int? lineItemNo;
|
|
int? packageID;
|
|
int? testID;
|
|
String? description;
|
|
String? resultValue;
|
|
String? referenceRange;
|
|
dynamic convertedResultValue;
|
|
dynamic convertedReferenceRange;
|
|
dynamic resultValueFlag;
|
|
int? status;
|
|
String? createdBy;
|
|
dynamic createdByN;
|
|
String? createdOn;
|
|
String? editedBy;
|
|
dynamic editedByN;
|
|
String? editedOn;
|
|
String? verifiedBy;
|
|
dynamic verifiedByN;
|
|
String? verifiedOn;
|
|
Null patientID;
|
|
int? gender;
|
|
dynamic maleinterpretativeData;
|
|
dynamic femaleinterpretativeData;
|
|
String? testCode;
|
|
String? statusDescription;
|
|
|
|
LabResult(
|
|
{this.setupID,
|
|
this.projectID,
|
|
this.orderNo,
|
|
this.lineItemNo,
|
|
this.packageID,
|
|
this.testID,
|
|
this.description,
|
|
this.resultValue,
|
|
this.referenceRange,
|
|
this.convertedResultValue,
|
|
this.convertedReferenceRange,
|
|
this.resultValueFlag,
|
|
this.status,
|
|
this.createdBy,
|
|
this.createdByN,
|
|
this.createdOn,
|
|
this.editedBy,
|
|
this.editedByN,
|
|
this.editedOn,
|
|
this.verifiedBy,
|
|
this.verifiedByN,
|
|
this.verifiedOn,
|
|
this.patientID,
|
|
this.gender,
|
|
this.maleinterpretativeData,
|
|
this.femaleinterpretativeData,
|
|
this.testCode,
|
|
this.statusDescription});
|
|
|
|
LabResult.fromJson(Map<String?, dynamic> json) {
|
|
setupID = json['SetupID'];
|
|
projectID = json['ProjectID'];
|
|
orderNo = json['OrderNo'];
|
|
lineItemNo = json['LineItemNo'];
|
|
packageID = json['PackageID'];
|
|
testID = json['TestID'];
|
|
description = json['Description'];
|
|
resultValue = json['ResultValue'];
|
|
referenceRange = json['ReferenceRange'];
|
|
convertedResultValue = json['ConvertedResultValue'];
|
|
convertedReferenceRange = json['ConvertedReferenceRange'];
|
|
resultValueFlag = json['ResultValueFlag'];
|
|
status = json['Status'];
|
|
createdBy = json['CreatedBy'];
|
|
createdByN = json['CreatedByN'];
|
|
createdOn = json['CreatedOn'];
|
|
editedBy = json['EditedBy'];
|
|
editedByN = json['EditedByN'];
|
|
editedOn = json['EditedOn'];
|
|
verifiedBy = json['VerifiedBy'];
|
|
verifiedByN = json['VerifiedByN'];
|
|
verifiedOn = json['VerifiedOn'];
|
|
patientID = json['PatientID'];
|
|
gender = json['Gender'];
|
|
maleinterpretativeData = json['Maleint?erpretativeData'];
|
|
femaleinterpretativeData = json['Femaleint?erpretativeData'];
|
|
testCode = json['TestCode'];
|
|
statusDescription = json['StatusDescription'];
|
|
}
|
|
|
|
Map<String?, dynamic> toJson() {
|
|
final Map<String?, dynamic> data = new Map<String?, dynamic>();
|
|
data['SetupID'] = this.setupID;
|
|
data['ProjectID'] = this.projectID;
|
|
data['OrderNo'] = this.orderNo;
|
|
data['LineItemNo'] = this.lineItemNo;
|
|
data['PackageID'] = this.packageID;
|
|
data['TestID'] = this.testID;
|
|
data['Description'] = this.description;
|
|
data['ResultValue'] = this.resultValue;
|
|
data['ReferenceRange'] = this.referenceRange;
|
|
data['ConvertedResultValue'] = this.convertedResultValue;
|
|
data['ConvertedReferenceRange'] = this.convertedReferenceRange;
|
|
data['ResultValueFlag'] = this.resultValueFlag;
|
|
data['Status'] = this.status;
|
|
data['CreatedBy'] = this.createdBy;
|
|
data['CreatedByN'] = this.createdByN;
|
|
data['CreatedOn'] = this.createdOn;
|
|
data['EditedBy'] = this.editedBy;
|
|
data['EditedByN'] = this.editedByN;
|
|
data['EditedOn'] = this.editedOn;
|
|
data['VerifiedBy'] = this.verifiedBy;
|
|
data['VerifiedByN'] = this.verifiedByN;
|
|
data['VerifiedOn'] = this.verifiedOn;
|
|
data['PatientID'] = this.patientID;
|
|
data['Gender'] = this.gender;
|
|
data['Maleint?erpretativeData'] = this.maleinterpretativeData;
|
|
data['Femaleint?erpretativeData'] = this.femaleinterpretativeData;
|
|
data['TestCode'] = this.testCode;
|
|
data['StatusDescription'] = this.statusDescription;
|
|
return data;
|
|
}
|
|
}
|