|
@@ -0,0 +1,54 @@
|
|
|
|
|
+// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
|
+
|
|
|
|
|
+part of 'today_patient_model.dart';
|
|
|
|
|
+
|
|
|
|
|
+// **************************************************************************
|
|
|
|
|
+// JsonSerializableGenerator
|
|
|
|
|
+// **************************************************************************
|
|
|
|
|
+
|
|
|
|
|
+TodayPatientModel _$TodayPatientModelFromJson(Map<String, dynamic> json) =>
|
|
|
|
|
+ TodayPatientModel(
|
|
|
|
|
+ appointmentUUID: json['appointment_uuid'] as String,
|
|
|
|
|
+ gender: json['gender'] as String,
|
|
|
|
|
+ serialNumber: json['serial_number'] as String,
|
|
|
|
|
+ action: (json['action'] as num).toInt(),
|
|
|
|
|
+ patientName: json['patient_name'] as String,
|
|
|
|
|
+ patientPhone: json['patient_phone'] as String?,
|
|
|
|
|
+ doctorName: json['doctor_name'] as String?,
|
|
|
|
|
+ hisDeptName: json['his_dept_name'] as String?,
|
|
|
|
|
+ dayPart: json['day_part'] as String,
|
|
|
|
|
+ appointmentStatus: (json['appointment_status'] as num).toInt(),
|
|
|
|
|
+ institutionPatientUUID: json['institution_patient_uuid'] as String?,
|
|
|
|
|
+ seeDoctorTime: json['see_doctor_time'] as String?,
|
|
|
|
|
+ createdTime: json['created_time'] as String,
|
|
|
|
|
+ statusWeight: (json['status_weight'] as num).toInt(),
|
|
|
|
|
+ paymentReceiptUUID: json['payment_receipt_uuid'] as String,
|
|
|
|
|
+ paymentReceiptStatus: (json['payment_receipt_status'] as num).toInt(),
|
|
|
|
|
+ prescribesReceiptStatus: (json['prescribes_receipt_status'] as num?)
|
|
|
|
|
+ ?.toInt(),
|
|
|
|
|
+ isRetail: json['is_retail'] as bool,
|
|
|
|
|
+ temporaryReceptionStatus: json['temporary_reception_status'] as String,
|
|
|
|
|
+ );
|
|
|
|
|
+
|
|
|
|
|
+Map<String, dynamic> _$TodayPatientModelToJson(TodayPatientModel instance) =>
|
|
|
|
|
+ <String, dynamic>{
|
|
|
|
|
+ 'appointment_uuid': instance.appointmentUUID,
|
|
|
|
|
+ 'gender': instance.gender,
|
|
|
|
|
+ 'serial_number': instance.serialNumber,
|
|
|
|
|
+ 'action': instance.action,
|
|
|
|
|
+ 'patient_name': instance.patientName,
|
|
|
|
|
+ 'patient_phone': instance.patientPhone,
|
|
|
|
|
+ 'doctor_name': instance.doctorName,
|
|
|
|
|
+ 'his_dept_name': instance.hisDeptName,
|
|
|
|
|
+ 'day_part': instance.dayPart,
|
|
|
|
|
+ 'appointment_status': instance.appointmentStatus,
|
|
|
|
|
+ 'institution_patient_uuid': instance.institutionPatientUUID,
|
|
|
|
|
+ 'see_doctor_time': instance.seeDoctorTime,
|
|
|
|
|
+ 'created_time': instance.createdTime,
|
|
|
|
|
+ 'status_weight': instance.statusWeight,
|
|
|
|
|
+ 'payment_receipt_uuid': instance.paymentReceiptUUID,
|
|
|
|
|
+ 'payment_receipt_status': instance.paymentReceiptStatus,
|
|
|
|
|
+ 'prescribes_receipt_status': instance.prescribesReceiptStatus,
|
|
|
|
|
+ 'is_retail': instance.isRetail,
|
|
|
|
|
+ 'temporary_reception_status': instance.temporaryReceptionStatus,
|
|
|
|
|
+ };
|