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.
100 lines
2.9 KiB
Dart
100 lines
2.9 KiB
Dart
class LabResult {
|
|
String description;
|
|
Null femaleInterpretativeData;
|
|
int gender;
|
|
int lineItemNo;
|
|
Null maleInterpretativeData;
|
|
String notes;
|
|
String packageID;
|
|
int patientID;
|
|
String projectID;
|
|
String referanceRange;
|
|
String resultValue;
|
|
String sampleCollectedOn;
|
|
String sampleReceivedOn;
|
|
String setupID;
|
|
Null superVerifiedOn;
|
|
String testCode;
|
|
String uOM;
|
|
String verifiedOn;
|
|
Null verifiedOnDateTime;
|
|
|
|
LabResult(
|
|
{this.description,
|
|
this.femaleInterpretativeData,
|
|
this.gender,
|
|
this.lineItemNo,
|
|
this.maleInterpretativeData,
|
|
this.notes,
|
|
this.packageID,
|
|
this.patientID,
|
|
this.projectID,
|
|
this.referanceRange,
|
|
this.resultValue,
|
|
this.sampleCollectedOn,
|
|
this.sampleReceivedOn,
|
|
this.setupID,
|
|
this.superVerifiedOn,
|
|
this.testCode,
|
|
this.uOM,
|
|
this.verifiedOn,
|
|
this.verifiedOnDateTime});
|
|
|
|
LabResult.fromJson(Map<String, dynamic> json) {
|
|
description = json['Description'];
|
|
femaleInterpretativeData = json['FemaleInterpretativeData'];
|
|
gender = json['Gender'];
|
|
lineItemNo = json['LineItemNo'];
|
|
maleInterpretativeData = json['MaleInterpretativeData'];
|
|
notes = json['Notes'];
|
|
packageID = json['PackageID'];
|
|
patientID = json['PatientID'];
|
|
projectID = json['ProjectID'];
|
|
referanceRange = json['ReferanceRange'];
|
|
resultValue = json['ResultValue'];
|
|
sampleCollectedOn = json['SampleCollectedOn'];
|
|
sampleReceivedOn = json['SampleReceivedOn'];
|
|
setupID = json['SetupID'];
|
|
superVerifiedOn = json['SuperVerifiedOn'];
|
|
testCode = json['TestCode'];
|
|
uOM = json['UOM'];
|
|
verifiedOn = json['VerifiedOn'];
|
|
verifiedOnDateTime = json['VerifiedOnDateTime'];
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
data['Description'] = this.description;
|
|
data['FemaleInterpretativeData'] = this.femaleInterpretativeData;
|
|
data['Gender'] = this.gender;
|
|
data['LineItemNo'] = this.lineItemNo;
|
|
data['MaleInterpretativeData'] = this.maleInterpretativeData;
|
|
data['Notes'] = this.notes;
|
|
data['PackageID'] = this.packageID;
|
|
data['PatientID'] = this.patientID;
|
|
data['ProjectID'] = this.projectID;
|
|
data['ReferanceRange'] = this.referanceRange;
|
|
data['ResultValue'] = this.resultValue;
|
|
data['SampleCollectedOn'] = this.sampleCollectedOn;
|
|
data['SampleReceivedOn'] = this.sampleReceivedOn;
|
|
data['SetupID'] = this.setupID;
|
|
data['SuperVerifiedOn'] = this.superVerifiedOn;
|
|
data['TestCode'] = this.testCode;
|
|
data['UOM'] = this.uOM;
|
|
data['VerifiedOn'] = this.verifiedOn;
|
|
data['VerifiedOnDateTime'] = this.verifiedOnDateTime;
|
|
return data;
|
|
}
|
|
}
|
|
|
|
|
|
class LabResultList {
|
|
String filterName = "";
|
|
List<LabResult> patientLabResultList = List();
|
|
|
|
LabResultList(
|
|
{this.filterName, LabResult lab}) {
|
|
patientLabResultList.add(lab);
|
|
}
|
|
}
|