|
|
|
|
@ -1,127 +1,236 @@
|
|
|
|
|
class LabResult {
|
|
|
|
|
String? accessionNo;
|
|
|
|
|
String? calculatedResultFlag;
|
|
|
|
|
dynamic changeResult;
|
|
|
|
|
String? collectedOn;
|
|
|
|
|
dynamic criticalHigh;
|
|
|
|
|
dynamic criticalLow;
|
|
|
|
|
String? description;
|
|
|
|
|
dynamic femaleInterpretativeData;
|
|
|
|
|
String? fileNameWithExtension;
|
|
|
|
|
int? gender;
|
|
|
|
|
dynamic genderDesc;
|
|
|
|
|
String? header;
|
|
|
|
|
dynamic interpretativeData;
|
|
|
|
|
String? invoiceType;
|
|
|
|
|
bool? isCertificateAllowed;
|
|
|
|
|
bool? isLabTestAttachment;
|
|
|
|
|
bool? isPregnant;
|
|
|
|
|
bool? isVisibleComponent;
|
|
|
|
|
int? lineItemNo;
|
|
|
|
|
dynamic maleInterpretativeData;
|
|
|
|
|
dynamic notes;
|
|
|
|
|
dynamic needMedicalVerificationForAbnResult;
|
|
|
|
|
String? notes;
|
|
|
|
|
int? orderLineItemNo;
|
|
|
|
|
int? orderNo;
|
|
|
|
|
String? packageID;
|
|
|
|
|
String? packageName;
|
|
|
|
|
String? packageShortDescription;
|
|
|
|
|
int? patientID;
|
|
|
|
|
String? projectID;
|
|
|
|
|
String? receivedOn;
|
|
|
|
|
String? referanceRange;
|
|
|
|
|
dynamic referenceHigh;
|
|
|
|
|
dynamic referenceLow;
|
|
|
|
|
String? registeredOn;
|
|
|
|
|
String? reportedOn;
|
|
|
|
|
String? resultSymbol;
|
|
|
|
|
int? resultTypeID;
|
|
|
|
|
String? resultValue;
|
|
|
|
|
int? resultValueBasedLineItemNo;
|
|
|
|
|
String? resultValueFlag;
|
|
|
|
|
String? rptTestCode;
|
|
|
|
|
String? sampleCollectedOn;
|
|
|
|
|
String? sampleReceivedOn;
|
|
|
|
|
String? setupID;
|
|
|
|
|
int? status;
|
|
|
|
|
dynamic statusDesc;
|
|
|
|
|
dynamic statusDescription;
|
|
|
|
|
String? subHeader;
|
|
|
|
|
dynamic superVerifiedOn;
|
|
|
|
|
String? testCode;
|
|
|
|
|
int? testID;
|
|
|
|
|
String? testShortDescription;
|
|
|
|
|
String? uOM;
|
|
|
|
|
List<String>? uploadedDocuments;
|
|
|
|
|
String? verifiedOn;
|
|
|
|
|
String? verifiedOnDateTime;
|
|
|
|
|
String? changeResult;
|
|
|
|
|
String? calculatedResultFlag;
|
|
|
|
|
String? criticalHigh;
|
|
|
|
|
String? referenceHigh;
|
|
|
|
|
String? criticalLow;
|
|
|
|
|
String? referenceLow;
|
|
|
|
|
num? resultTypeID;
|
|
|
|
|
String? packageShortDescription;
|
|
|
|
|
int? testId;
|
|
|
|
|
String? testShortDescription;
|
|
|
|
|
String? PackageName;
|
|
|
|
|
dynamic 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.accessionNo,
|
|
|
|
|
this.calculatedResultFlag,
|
|
|
|
|
this.changeResult,
|
|
|
|
|
this.collectedOn,
|
|
|
|
|
this.criticalHigh,
|
|
|
|
|
this.criticalLow,
|
|
|
|
|
this.description,
|
|
|
|
|
this.femaleInterpretativeData,
|
|
|
|
|
this.fileNameWithExtension,
|
|
|
|
|
this.gender,
|
|
|
|
|
this.genderDesc,
|
|
|
|
|
this.header,
|
|
|
|
|
this.interpretativeData,
|
|
|
|
|
this.invoiceType,
|
|
|
|
|
this.isCertificateAllowed,
|
|
|
|
|
this.isLabTestAttachment,
|
|
|
|
|
this.isPregnant,
|
|
|
|
|
this.isVisibleComponent,
|
|
|
|
|
this.lineItemNo,
|
|
|
|
|
this.maleInterpretativeData,
|
|
|
|
|
this.needMedicalVerificationForAbnResult,
|
|
|
|
|
this.notes,
|
|
|
|
|
this.orderLineItemNo,
|
|
|
|
|
this.orderNo,
|
|
|
|
|
this.packageID,
|
|
|
|
|
this.packageName,
|
|
|
|
|
this.packageShortDescription,
|
|
|
|
|
this.patientID,
|
|
|
|
|
this.projectID,
|
|
|
|
|
this.receivedOn,
|
|
|
|
|
this.referanceRange,
|
|
|
|
|
this.referenceHigh,
|
|
|
|
|
this.referenceLow,
|
|
|
|
|
this.registeredOn,
|
|
|
|
|
this.reportedOn,
|
|
|
|
|
this.resultSymbol,
|
|
|
|
|
this.resultTypeID,
|
|
|
|
|
this.resultValue,
|
|
|
|
|
this.resultValueBasedLineItemNo,
|
|
|
|
|
this.resultValueFlag,
|
|
|
|
|
this.rptTestCode,
|
|
|
|
|
this.sampleCollectedOn,
|
|
|
|
|
this.sampleReceivedOn,
|
|
|
|
|
this.setupID,
|
|
|
|
|
this.superVerifiedOn,
|
|
|
|
|
this.testCode,
|
|
|
|
|
this.uOM,
|
|
|
|
|
this.verifiedOn,
|
|
|
|
|
this.calculatedResultFlag,
|
|
|
|
|
this.verifiedOnDateTime,
|
|
|
|
|
this.criticalHigh,
|
|
|
|
|
this.referenceHigh,
|
|
|
|
|
this.criticalLow,
|
|
|
|
|
this.referenceLow,
|
|
|
|
|
this.testId,
|
|
|
|
|
this.testShortDescription,
|
|
|
|
|
this.PackageName
|
|
|
|
|
});
|
|
|
|
|
this.status,
|
|
|
|
|
this.statusDesc,
|
|
|
|
|
this.statusDescription,
|
|
|
|
|
this.subHeader,
|
|
|
|
|
this.superVerifiedOn,
|
|
|
|
|
this.testCode,
|
|
|
|
|
this.testID,
|
|
|
|
|
this.testShortDescription,
|
|
|
|
|
this.uOM,
|
|
|
|
|
this.uploadedDocuments,
|
|
|
|
|
this.verifiedOn,
|
|
|
|
|
this.verifiedOnDateTime});
|
|
|
|
|
|
|
|
|
|
LabResult.fromJson(Map<String, dynamic> json) {
|
|
|
|
|
accessionNo = json['AccessionNo'];
|
|
|
|
|
calculatedResultFlag = json['CalculatedResultFlag'];
|
|
|
|
|
changeResult = json['ChangeResult'];
|
|
|
|
|
collectedOn = json['CollectedOn'];
|
|
|
|
|
criticalHigh = json['CriticalHigh'];
|
|
|
|
|
criticalLow = json['CriticalLow'];
|
|
|
|
|
description = json['Description'];
|
|
|
|
|
femaleInterpretativeData = json['FemaleInterpretativeData'];
|
|
|
|
|
fileNameWithExtension = json['FileNameWithExtension'];
|
|
|
|
|
gender = json['Gender'];
|
|
|
|
|
genderDesc = json['GenderDesc'];
|
|
|
|
|
header = json['Header'];
|
|
|
|
|
interpretativeData = json['InterpretativeData'];
|
|
|
|
|
invoiceType = json['InvoiceType'];
|
|
|
|
|
isCertificateAllowed = json['IsCertificateAllowed'];
|
|
|
|
|
isLabTestAttachment = json['IsLabTestAttachment'];
|
|
|
|
|
isPregnant = json['IsPregnant'];
|
|
|
|
|
isVisibleComponent = json['IsVisibleComponent'];
|
|
|
|
|
lineItemNo = json['LineItemNo'];
|
|
|
|
|
maleInterpretativeData = json['MaleInterpretativeData'];
|
|
|
|
|
needMedicalVerificationForAbnResult = json['NeedMedicalVerificationForAbnResult'];
|
|
|
|
|
notes = json['Notes'];
|
|
|
|
|
orderLineItemNo = json['OrderLineItemNo'];
|
|
|
|
|
orderNo = json['OrderNo'];
|
|
|
|
|
packageID = json['PackageID'];
|
|
|
|
|
packageName = json['PackageName'];
|
|
|
|
|
packageShortDescription = json['PackageShortDescription'];
|
|
|
|
|
patientID = json['PatientID'];
|
|
|
|
|
projectID = json['ProjectID'];
|
|
|
|
|
receivedOn = json['ReceivedOn'];
|
|
|
|
|
referanceRange = json['ReferanceRange'];
|
|
|
|
|
referenceHigh = json['ReferenceHigh'];
|
|
|
|
|
referenceLow = json['ReferenceLow'];
|
|
|
|
|
registeredOn = json['RegisteredOn'];
|
|
|
|
|
reportedOn = json['ReportedOn'];
|
|
|
|
|
resultSymbol = json['ResultSymbol'];
|
|
|
|
|
resultTypeID = json['ResultTypeID'];
|
|
|
|
|
resultValue = json['ResultValue'];
|
|
|
|
|
resultValueBasedLineItemNo = json['ResultValueBasedLineItemNo'];
|
|
|
|
|
resultValueFlag = json['ResultValueFlag'];
|
|
|
|
|
rptTestCode = json['RptTestCode'];
|
|
|
|
|
sampleCollectedOn = json['SampleCollectedOn'];
|
|
|
|
|
sampleReceivedOn = json['SampleReceivedOn'];
|
|
|
|
|
setupID = json['SetupID'];
|
|
|
|
|
status = json['Status'];
|
|
|
|
|
statusDesc = json['StatusDesc'];
|
|
|
|
|
statusDescription = json['StatusDescription'];
|
|
|
|
|
subHeader = json['SubHeader'];
|
|
|
|
|
superVerifiedOn = json['SuperVerifiedOn'];
|
|
|
|
|
testCode = json['TestCode'];
|
|
|
|
|
testID = json['TestID'];
|
|
|
|
|
testShortDescription = json['TestShortDescription'];
|
|
|
|
|
uOM = json['UOM'];
|
|
|
|
|
uploadedDocuments = json['UploadedDocuments'] ?? [];
|
|
|
|
|
verifiedOn = json['VerifiedOn'];
|
|
|
|
|
verifiedOnDateTime = json['VerifiedOnDateTime'];
|
|
|
|
|
changeResult = json['ChangeResult'];
|
|
|
|
|
calculatedResultFlag = json['CalculatedResultFlag'];
|
|
|
|
|
criticalHigh = json['CriticalHigh'];
|
|
|
|
|
referenceHigh = json['ReferenceHigh'];
|
|
|
|
|
criticalLow = json['CriticalLow'];
|
|
|
|
|
referenceLow = json['ReferenceLow'];
|
|
|
|
|
packageShortDescription = json['PackageShortDescription'];
|
|
|
|
|
resultTypeID = json['ResultTypeID'];
|
|
|
|
|
testId = json['TestID'];
|
|
|
|
|
testShortDescription = json['TestShortDescription'];
|
|
|
|
|
PackageName = json['PackageName'];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
|
|
|
data['AccessionNo'] = this.accessionNo;
|
|
|
|
|
data['CalculatedResultFlag'] = this.calculatedResultFlag;
|
|
|
|
|
data['ChangeResult'] = this.changeResult;
|
|
|
|
|
data['CollectedOn'] = this.collectedOn;
|
|
|
|
|
data['CriticalHigh'] = this.criticalHigh;
|
|
|
|
|
data['CriticalLow'] = this.criticalLow;
|
|
|
|
|
data['Description'] = this.description;
|
|
|
|
|
data['FemaleInterpretativeData'] = this.femaleInterpretativeData;
|
|
|
|
|
data['FileNameWithExtension'] = this.fileNameWithExtension;
|
|
|
|
|
data['Gender'] = this.gender;
|
|
|
|
|
data['GenderDesc'] = this.genderDesc;
|
|
|
|
|
data['Header'] = this.header;
|
|
|
|
|
data['InterpretativeData'] = this.interpretativeData;
|
|
|
|
|
data['InvoiceType'] = this.invoiceType;
|
|
|
|
|
data['IsCertificateAllowed'] = this.isCertificateAllowed;
|
|
|
|
|
data['IsLabTestAttachment'] = this.isLabTestAttachment;
|
|
|
|
|
data['IsPregnant'] = this.isPregnant;
|
|
|
|
|
data['IsVisibleComponent'] = this.isVisibleComponent;
|
|
|
|
|
data['LineItemNo'] = this.lineItemNo;
|
|
|
|
|
data['MaleInterpretativeData'] = this.maleInterpretativeData;
|
|
|
|
|
data['NeedMedicalVerificationForAbnResult'] = this.needMedicalVerificationForAbnResult;
|
|
|
|
|
data['Notes'] = this.notes;
|
|
|
|
|
data['OrderLineItemNo'] = this.orderLineItemNo;
|
|
|
|
|
data['OrderNo'] = this.orderNo;
|
|
|
|
|
data['PackageID'] = this.packageID;
|
|
|
|
|
data['PackageName'] = this.packageName;
|
|
|
|
|
data['PackageShortDescription'] = this.packageShortDescription;
|
|
|
|
|
data['PatientID'] = this.patientID;
|
|
|
|
|
data['ProjectID'] = this.projectID;
|
|
|
|
|
data['ReceivedOn'] = this.receivedOn;
|
|
|
|
|
data['ReferanceRange'] = this.referanceRange;
|
|
|
|
|
data['ReferenceHigh'] = this.referenceHigh;
|
|
|
|
|
data['ReferenceLow'] = this.referenceLow;
|
|
|
|
|
data['RegisteredOn'] = this.registeredOn;
|
|
|
|
|
data['ReportedOn'] = this.reportedOn;
|
|
|
|
|
data['ResultSymbol'] = this.resultSymbol;
|
|
|
|
|
data['ResultTypeID'] = this.resultTypeID;
|
|
|
|
|
data['ResultValue'] = this.resultValue;
|
|
|
|
|
data['ResultValueBasedLineItemNo'] = this.resultValueBasedLineItemNo;
|
|
|
|
|
data['ResultValueFlag'] = this.resultValueFlag;
|
|
|
|
|
data['RptTestCode'] = this.rptTestCode;
|
|
|
|
|
data['SampleCollectedOn'] = this.sampleCollectedOn;
|
|
|
|
|
data['SampleReceivedOn'] = this.sampleReceivedOn;
|
|
|
|
|
data['SetupID'] = this.setupID;
|
|
|
|
|
data['Status'] = this.status;
|
|
|
|
|
data['StatusDesc'] = this.statusDesc;
|
|
|
|
|
data['StatusDescription'] = this.statusDescription;
|
|
|
|
|
data['SubHeader'] = this.subHeader;
|
|
|
|
|
data['SuperVerifiedOn'] = this.superVerifiedOn;
|
|
|
|
|
data['TestCode'] = this.testCode;
|
|
|
|
|
data['TestID'] = this.testID;
|
|
|
|
|
data['TestShortDescription'] = this.testShortDescription;
|
|
|
|
|
data['UOM'] = this.uOM;
|
|
|
|
|
data['UploadedDocuments'] = this.uploadedDocuments;
|
|
|
|
|
data['VerifiedOn'] = this.verifiedOn;
|
|
|
|
|
data['VerifiedOnDateTime'] = this.verifiedOnDateTime;
|
|
|
|
|
data['ChangeResult'] = this.changeResult;
|
|
|
|
|
data['CriticalHigh'] = this.criticalHigh;
|
|
|
|
|
data['ReferenceHigh'] = this.referenceHigh;
|
|
|
|
|
data['CriticalLow'] = this.criticalLow;
|
|
|
|
|
data['ReferenceLow'] = this.referenceLow;
|
|
|
|
|
data['TestID'] = this.testId;
|
|
|
|
|
data['TestShortDescription'] = this.testShortDescription;
|
|
|
|
|
data['PackageName'] = this.PackageName;
|
|
|
|
|
return data;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ -145,3 +254,151 @@ class LabResult {
|
|
|
|
|
return 'LabOrderResult(flag: $calculatedResultFlag, value: $resultValue, verifiedOn: $verifiedOnDateTime)';
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// class LabResult {
|
|
|
|
|
// String? description;
|
|
|
|
|
// dynamic femaleInterpretativeData;
|
|
|
|
|
// int? gender;
|
|
|
|
|
// int? lineItemNo;
|
|
|
|
|
// dynamic maleInterpretativeData;
|
|
|
|
|
// dynamic notes;
|
|
|
|
|
// String? packageID;
|
|
|
|
|
// int? patientID;
|
|
|
|
|
// String? projectID;
|
|
|
|
|
// String? referanceRange;
|
|
|
|
|
// String? resultValue;
|
|
|
|
|
// String? sampleCollectedOn;
|
|
|
|
|
// String? sampleReceivedOn;
|
|
|
|
|
// String? setupID;
|
|
|
|
|
// dynamic superVerifiedOn;
|
|
|
|
|
// String? testCode;
|
|
|
|
|
// String? uOM;
|
|
|
|
|
// String? verifiedOn;
|
|
|
|
|
// String? verifiedOnDateTime;
|
|
|
|
|
// String? changeResult;
|
|
|
|
|
// String? calculatedResultFlag;
|
|
|
|
|
// String? criticalHigh;
|
|
|
|
|
// String? referenceHigh;
|
|
|
|
|
// String? criticalLow;
|
|
|
|
|
// String? referenceLow;
|
|
|
|
|
// num? resultTypeID;
|
|
|
|
|
// String? packageShortDescription;
|
|
|
|
|
// int? testId;
|
|
|
|
|
// String? testShortDescription;
|
|
|
|
|
// String? PackageName;
|
|
|
|
|
//
|
|
|
|
|
// 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.calculatedResultFlag,
|
|
|
|
|
// this.verifiedOnDateTime,
|
|
|
|
|
// this.criticalHigh,
|
|
|
|
|
// this.referenceHigh,
|
|
|
|
|
// this.criticalLow,
|
|
|
|
|
// this.referenceLow,
|
|
|
|
|
// this.testId,
|
|
|
|
|
// this.testShortDescription,
|
|
|
|
|
// this.PackageName
|
|
|
|
|
// });
|
|
|
|
|
//
|
|
|
|
|
// 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'];
|
|
|
|
|
// changeResult = json['ChangeResult'];
|
|
|
|
|
// calculatedResultFlag = json['CalculatedResultFlag'];
|
|
|
|
|
// criticalHigh = json['CriticalHigh'];
|
|
|
|
|
// referenceHigh = json['ReferenceHigh'];
|
|
|
|
|
// criticalLow = json['CriticalLow'];
|
|
|
|
|
// referenceLow = json['ReferenceLow'];
|
|
|
|
|
// packageShortDescription = json['PackageShortDescription'];
|
|
|
|
|
// resultTypeID = json['ResultTypeID'];
|
|
|
|
|
// testId = json['TestID'];
|
|
|
|
|
// testShortDescription = json['TestShortDescription'];
|
|
|
|
|
// PackageName = json['PackageName'];
|
|
|
|
|
// }
|
|
|
|
|
//
|
|
|
|
|
// 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;
|
|
|
|
|
// data['ChangeResult'] = this.changeResult;
|
|
|
|
|
// data['CriticalHigh'] = this.criticalHigh;
|
|
|
|
|
// data['ReferenceHigh'] = this.referenceHigh;
|
|
|
|
|
// data['CriticalLow'] = this.criticalLow;
|
|
|
|
|
// data['ReferenceLow'] = this.referenceLow;
|
|
|
|
|
// data['TestID'] = this.testId;
|
|
|
|
|
// data['TestShortDescription'] = this.testShortDescription;
|
|
|
|
|
// data['PackageName'] = this.PackageName;
|
|
|
|
|
// return data;
|
|
|
|
|
// }
|
|
|
|
|
//
|
|
|
|
|
// bool checkIfGraphShouldBeDisplayed(){
|
|
|
|
|
// if (resultTypeID == null) return false;
|
|
|
|
|
// if (resultTypeID == 6) return false;
|
|
|
|
|
// if (referanceRange == null || referanceRange == "" || referanceRange == "\n") return false;
|
|
|
|
|
// bool isDigit = RegExp(r"\\d+").hasMatch("$resultValue");
|
|
|
|
|
// if(isDigit) return true;
|
|
|
|
|
// try {
|
|
|
|
|
// num.parse(resultValue ?? "");
|
|
|
|
|
// } catch (e) {
|
|
|
|
|
// return false;
|
|
|
|
|
// }
|
|
|
|
|
//
|
|
|
|
|
// return true;
|
|
|
|
|
// }
|
|
|
|
|
//
|
|
|
|
|
// @override
|
|
|
|
|
// String toString() {
|
|
|
|
|
// return 'LabOrderResult(flag: $calculatedResultFlag, value: $resultValue, verifiedOn: $verifiedOnDateTime)';
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
|