|
|
|
|
@ -1,3 +1,5 @@
|
|
|
|
|
import 'lab_result.dart';
|
|
|
|
|
|
|
|
|
|
class AllSpecialLabResultModel {
|
|
|
|
|
dynamic actualDoctorRate;
|
|
|
|
|
dynamic admissionDate;
|
|
|
|
|
@ -51,6 +53,11 @@ class AllSpecialLabResultModel {
|
|
|
|
|
dynamic status;
|
|
|
|
|
dynamic statusDesc;
|
|
|
|
|
String? strOrderDate;
|
|
|
|
|
List<String>? FileNameWithExtensionList;
|
|
|
|
|
List<UploadedDocument>? UploadedDocuments;
|
|
|
|
|
bool? IsLabTestAttachment; // for the attachment icon in the lab result list
|
|
|
|
|
dynamic LabAccessionNo;
|
|
|
|
|
dynamic FileHash;
|
|
|
|
|
|
|
|
|
|
AllSpecialLabResultModel(
|
|
|
|
|
{this.actualDoctorRate,
|
|
|
|
|
@ -112,9 +119,9 @@ class AllSpecialLabResultModel {
|
|
|
|
|
appointmentDate = json['AppointmentDate'];
|
|
|
|
|
appointmentNo = json['AppointmentNo'];
|
|
|
|
|
appointmentTime = json['AppointmentTime'];
|
|
|
|
|
clinicDescription = json['ClinicDescription'];
|
|
|
|
|
clinicDescriptionEnglish = json['ClinicDescriptionEnglish'];
|
|
|
|
|
clinicDescriptionN = json['ClinicDescriptionN'];
|
|
|
|
|
clinicDescription = json['ClinicDescription']??"";
|
|
|
|
|
clinicDescriptionEnglish = json['ClinicDescriptionEnglish']??"";
|
|
|
|
|
clinicDescriptionN = json['ClinicDescriptionN']??"";
|
|
|
|
|
clinicID = json['ClinicID'];
|
|
|
|
|
createdOn = json['CreatedOn'];
|
|
|
|
|
decimalDoctorRate = json['DecimalDoctorRate'];
|
|
|
|
|
@ -146,8 +153,8 @@ class AllSpecialLabResultModel {
|
|
|
|
|
orderNo = json['OrderNo'];
|
|
|
|
|
patientID = json['PatientID'];
|
|
|
|
|
projectID = json['ProjectID'];
|
|
|
|
|
projectName = json['ProjectName'];
|
|
|
|
|
projectNameN = json['ProjectNameN'];
|
|
|
|
|
projectName = json['ProjectName']??"";
|
|
|
|
|
projectNameN = json['ProjectNameN']??"";
|
|
|
|
|
qR = json['QR'];
|
|
|
|
|
resultData = json['ResultData'];
|
|
|
|
|
resultDataHTML = json['ResultDataHTML'];
|
|
|
|
|
@ -157,6 +164,23 @@ class AllSpecialLabResultModel {
|
|
|
|
|
status = json['Status'];
|
|
|
|
|
statusDesc = json['StatusDesc'];
|
|
|
|
|
strOrderDate = json['StrOrderDate'];
|
|
|
|
|
IsLabTestAttachment = json['IsLabTestAttachment'] ?? false;
|
|
|
|
|
|
|
|
|
|
LabAccessionNo = json['LabAccessionNo'] ?? json['AccessionNo'];
|
|
|
|
|
|
|
|
|
|
if (json['FileNameWithExtensionList'] != null) {
|
|
|
|
|
FileNameWithExtensionList = <String>[];
|
|
|
|
|
json['FileNameWithExtensionList'].forEach((v) {
|
|
|
|
|
if (v["FileNameWithExtension"] != null) FileNameWithExtensionList?.add(v["FileNameWithExtension"]);
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
FileHash = json['FileHash'];
|
|
|
|
|
if (json['UploadedDocuments'] != null) {
|
|
|
|
|
UploadedDocuments = <UploadedDocument>[];
|
|
|
|
|
json['UploadedDocuments'].forEach((v) {
|
|
|
|
|
UploadedDocuments!.add(new UploadedDocument.fromJson(v));
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
|
|