@ -10,11 +10,21 @@ class AncillaryOrdersListModel {
String ? setupID ;
String ? setupID ;
int ? statusCode ;
int ? statusCode ;
AncillaryOrdersListModel ( { this . ancillaryOrderList , this . errCode , this . message , this . patientID , this . patientName , this . patientType , this . projectID , this . projectName , this . setupID , this . statusCode } ) ;
AncillaryOrdersListModel (
{ this . ancillaryOrderList ,
this . errCode ,
this . message ,
this . patientID ,
this . patientName ,
this . patientType ,
this . projectID ,
this . projectName ,
this . setupID ,
this . statusCode } ) ;
AncillaryOrdersListModel . fromJson ( Map < String , dynamic > json ) {
AncillaryOrdersListModel . fromJson ( Map < String , dynamic > json ) {
if ( json [ ' AncillaryOrderList ' ] ! = null ) {
if ( json [ ' AncillaryOrderList ' ] ! = null ) {
ancillaryOrderList = [ ] ;
ancillaryOrderList = < AncillaryOrderList > [ ] ;
json [ ' AncillaryOrderList ' ] . forEach ( ( v ) {
json [ ' AncillaryOrderList ' ] . forEach ( ( v ) {
ancillaryOrderList ! . add ( new AncillaryOrderList . fromJson ( v ) ) ;
ancillaryOrderList ! . add ( new AncillaryOrderList . fromJson ( v ) ) ;
} ) ;
} ) ;
@ -22,7 +32,7 @@ class AncillaryOrdersListModel {
errCode = json [ ' ErrCode ' ] ;
errCode = json [ ' ErrCode ' ] ;
message = json [ ' Message ' ] ;
message = json [ ' Message ' ] ;
patientID = json [ ' PatientID ' ] ;
patientID = json [ ' PatientID ' ] ;
patientName = json [ ' PatientName ' ] ! = null ? json [ ' PatientName ' ] : " " ;
patientName = json [ ' PatientName ' ] ;
patientType = json [ ' PatientType ' ] ;
patientType = json [ ' PatientType ' ] ;
projectID = json [ ' ProjectID ' ] ;
projectID = json [ ' ProjectID ' ] ;
projectName = json [ ' ProjectName ' ] ;
projectName = json [ ' ProjectName ' ] ;
@ -33,7 +43,8 @@ class AncillaryOrdersListModel {
Map < String , dynamic > toJson ( ) {
Map < String , dynamic > toJson ( ) {
final Map < String , dynamic > data = new Map < String , dynamic > ( ) ;
final Map < String , dynamic > data = new Map < String , dynamic > ( ) ;
if ( this . ancillaryOrderList ! = null ) {
if ( this . ancillaryOrderList ! = null ) {
data [ ' AncillaryOrderList ' ] = this . ancillaryOrderList ! . map ( ( v ) = > v . toJson ( ) ) . toList ( ) ;
data [ ' AncillaryOrderList ' ] =
this . ancillaryOrderList ! . map ( ( v ) = > v . toJson ( ) ) . toList ( ) ;
}
}
data [ ' ErrCode ' ] = this . errCode ;
data [ ' ErrCode ' ] = this . errCode ;
data [ ' Message ' ] = this . message ;
data [ ' Message ' ] = this . message ;
@ -49,42 +60,224 @@ class AncillaryOrdersListModel {
}
}
class AncillaryOrderList {
class AncillaryOrderList {
List < AncillaryProcedureListModels > ? ancillaryProcedureListModels ;
String ? appointmentDate ;
String ? appointmentDate ;
int ? appointmentNo ;
int ? appointmentNo ;
int ? clinicID ;
int ? clinicID ;
String ? clinicName ;
String ? clinicName ;
int ? doctorID ;
int ? doctorID ;
String ? doctorName ;
String ? doctorName ;
bool ? isCheckInAllow ;
bool ? isQueued ;
String ? orderDate ;
String ? orderDate ;
int ? orderNo ;
int ? orderNo ;
bool ? isAllowCheckIn ;
String ? procedureIDs ;
AncillaryOrderList ( { this . appointmentDate , this . appointmentNo , this . clinicID , this . clinicName , this . doctorID , this . doctorName , this . orderDate , this . orderNo , this . isAllowCheckIn , this . procedureIDs } ) ;
AncillaryOrderList (
{ this . ancillaryProcedureListModels ,
this . appointmentDate ,
this . appointmentNo ,
this . clinicID ,
this . clinicName ,
this . doctorID ,
this . doctorName ,
this . isCheckInAllow ,
this . isQueued ,
this . orderDate ,
this . orderNo } ) ;
AncillaryOrderList . fromJson ( Map < String , dynamic > json ) {
AncillaryOrderList . fromJson ( Map < String , dynamic > json ) {
if ( json [ ' AncillaryProcedureListModels ' ] ! = null ) {
ancillaryProcedureListModels = < AncillaryProcedureListModels > [ ] ;
json [ ' AncillaryProcedureListModels ' ] . forEach ( ( v ) {
ancillaryProcedureListModels !
. add ( new AncillaryProcedureListModels . fromJson ( v ) ) ;
} ) ;
}
appointmentDate = json [ ' AppointmentDate ' ] ;
appointmentDate = json [ ' AppointmentDate ' ] ;
appointmentNo = json [ ' AppointmentNo ' ] ;
appointmentNo = json [ ' AppointmentNo ' ] ;
clinicID = json [ ' ClinicID ' ] ;
clinicID = json [ ' ClinicID ' ] ;
clinicName = json [ ' ClinicName ' ] ! = null ? json [ ' ClinicName ' ] : " " ;
clinicName = json [ ' ClinicName ' ] ;
doctorID = json [ ' DoctorID ' ] ;
doctorID = json [ ' DoctorID ' ] ;
doctorName = json [ ' DoctorName ' ] ;
doctorName = json [ ' DoctorName ' ] ;
isCheckInAllow = json [ ' IsCheckInAllow ' ] ;
isQueued = json [ ' IsQueued ' ] ;
orderDate = json [ ' OrderDate ' ] ;
orderDate = json [ ' OrderDate ' ] ;
orderNo = json [ ' OrderNo ' ] ;
orderNo = json [ ' OrderNo ' ] ;
isAllowCheckIn = json [ ' IsCheckInAllow ' ] ;
procedureIDs = json [ ' ProcedureIds ' ] ! = null ? json [ ' ProcedureIds ' ] : " " ;
}
}
Map < String , dynamic > toJson ( ) {
Map < String , dynamic > toJson ( ) {
final Map < String , dynamic > data = new Map < String , dynamic > ( ) ;
final Map < String , dynamic > data = new Map < String , dynamic > ( ) ;
if ( this . ancillaryProcedureListModels ! = null ) {
data [ ' AncillaryProcedureListModels ' ] =
this . ancillaryProcedureListModels ! . map ( ( v ) = > v . toJson ( ) ) . toList ( ) ;
}
data [ ' AppointmentDate ' ] = this . appointmentDate ;
data [ ' AppointmentDate ' ] = this . appointmentDate ;
data [ ' AppointmentNo ' ] = this . appointmentNo ;
data [ ' AppointmentNo ' ] = this . appointmentNo ;
data [ ' ClinicID ' ] = this . clinicID ;
data [ ' ClinicID ' ] = this . clinicID ;
data [ ' ClinicName ' ] = this . clinicName ;
data [ ' ClinicName ' ] = this . clinicName ;
data [ ' DoctorID ' ] = this . doctorID ;
data [ ' DoctorID ' ] = this . doctorID ;
data [ ' DoctorName ' ] = this . doctorName ;
data [ ' DoctorName ' ] = this . doctorName ;
data [ ' IsCheckInAllow ' ] = this . isCheckInAllow ;
data [ ' IsQueued ' ] = this . isQueued ;
data [ ' OrderDate ' ] = this . orderDate ;
data [ ' OrderDate ' ] = this . orderDate ;
data [ ' OrderNo ' ] = this . orderNo ;
data [ ' OrderNo ' ] = this . orderNo ;
return data ;
return data ;
}
}
}
}
class AncillaryProcedureListModels {
int ? ancillaryProcedureId ;
int ? appointmentNo ;
int ? approvalLineItemNo ;
int ? createdBy ;
String ? createdOn ;
int ? editedBy ;
String ? editedOn ;
bool ? isActive ;
int ? orderLineItemNo ;
int ? orderNo ;
int ? patientID ;
String ? procedureID ;
int ? projectID ;
AncillaryProcedureListModels (
{ this . ancillaryProcedureId ,
this . appointmentNo ,
this . approvalLineItemNo ,
this . createdBy ,
this . createdOn ,
this . editedBy ,
this . editedOn ,
this . isActive ,
this . orderLineItemNo ,
this . orderNo ,
this . patientID ,
this . procedureID ,
this . projectID } ) ;
AncillaryProcedureListModels . fromJson ( Map < String , dynamic > json ) {
ancillaryProcedureId = json [ ' AncillaryProcedureId ' ] ;
appointmentNo = json [ ' AppointmentNo ' ] ;
approvalLineItemNo = json [ ' ApprovalLineItemNo ' ] ;
createdBy = json [ ' CreatedBy ' ] ;
createdOn = json [ ' CreatedOn ' ] ;
editedBy = json [ ' EditedBy ' ] ;
editedOn = json [ ' EditedOn ' ] ;
isActive = json [ ' IsActive ' ] ;
orderLineItemNo = json [ ' OrderLineItemNo ' ] ;
orderNo = json [ ' OrderNo ' ] ;
patientID = json [ ' PatientID ' ] ;
procedureID = json [ ' ProcedureID ' ] ;
projectID = json [ ' ProjectID ' ] ;
}
Map < String , dynamic > toJson ( ) {
final Map < String , dynamic > data = new Map < String , dynamic > ( ) ;
data [ ' AncillaryProcedureId ' ] = this . ancillaryProcedureId ;
data [ ' AppointmentNo ' ] = this . appointmentNo ;
data [ ' ApprovalLineItemNo ' ] = this . approvalLineItemNo ;
data [ ' CreatedBy ' ] = this . createdBy ;
data [ ' CreatedOn ' ] = this . createdOn ;
data [ ' EditedBy ' ] = this . editedBy ;
data [ ' EditedOn ' ] = this . editedOn ;
data [ ' IsActive ' ] = this . isActive ;
data [ ' OrderLineItemNo ' ] = this . orderLineItemNo ;
data [ ' OrderNo ' ] = this . orderNo ;
data [ ' PatientID ' ] = this . patientID ;
data [ ' ProcedureID ' ] = this . procedureID ;
data [ ' ProjectID ' ] = this . projectID ;
return data ;
}
}
/ / class AncillaryOrdersListModel {
/ / List < AncillaryOrderList > ? ancillaryOrderList ;
/ / dynamic errCode ;
/ / String ? message ;
/ / int ? patientID ;
/ / String ? patientName ;
/ / int ? patientType ;
/ / int ? projectID ;
/ / String ? projectName ;
/ / String ? setupID ;
/ / int ? statusCode ;
/ /
/ / AncillaryOrdersListModel ( { this . ancillaryOrderList , this . errCode , this . message , this . patientID , this . patientName , this . patientType , this . projectID , this . projectName , this . setupID , this . statusCode } ) ;
/ /
/ / AncillaryOrdersListModel . fromJson ( Map < String , dynamic > json ) {
/ / if ( json [ ' AncillaryOrderList ' ] ! = null ) {
/ / ancillaryOrderList = [ ] ;
/ / json [ ' AncillaryOrderList ' ] . forEach ( ( v ) {
/ / ancillaryOrderList ! . add ( new AncillaryOrderList . fromJson ( v ) ) ;
/ / } ) ;
/ / }
/ / errCode = json [ ' ErrCode ' ] ;
/ / message = json [ ' Message ' ] ;
/ / patientID = json [ ' PatientID ' ] ;
/ / patientName = json [ ' PatientName ' ] ! = null ? json [ ' PatientName ' ] : " " ;
/ / patientType = json [ ' PatientType ' ] ;
/ / projectID = json [ ' ProjectID ' ] ;
/ / projectName = json [ ' ProjectName ' ] ;
/ / setupID = json [ ' SetupID ' ] ;
/ / statusCode = json [ ' StatusCode ' ] ;
/ / }
/ /
/ / Map < String , dynamic > toJson ( ) {
/ / final Map < String , dynamic > data = new Map < String , dynamic > ( ) ;
/ / if ( this . ancillaryOrderList ! = null ) {
/ / data [ ' AncillaryOrderList ' ] = this . ancillaryOrderList ! . map ( ( v ) = > v . toJson ( ) ) . toList ( ) ;
/ / }
/ / data [ ' ErrCode ' ] = this . errCode ;
/ / data [ ' Message ' ] = this . message ;
/ / data [ ' PatientID ' ] = this . patientID ;
/ / data [ ' PatientName ' ] = this . patientName ;
/ / data [ ' PatientType ' ] = this . patientType ;
/ / data [ ' ProjectID ' ] = this . projectID ;
/ / data [ ' ProjectName ' ] = this . projectName ;
/ / data [ ' SetupID ' ] = this . setupID ;
/ / data [ ' StatusCode ' ] = this . statusCode ;
/ / return data ;
/ / }
/ / }
/ /
/ / class AncillaryOrderList {
/ / String ? appointmentDate ;
/ / int ? appointmentNo ;
/ / int ? clinicID ;
/ / String ? clinicName ;
/ / int ? doctorID ;
/ / String ? doctorName ;
/ / String ? orderDate ;
/ / int ? orderNo ;
/ / bool ? isAllowCheckIn ;
/ / String ? procedureIDs ;
/ /
/ / AncillaryOrderList ( { this . appointmentDate , this . appointmentNo , this . clinicID , this . clinicName , this . doctorID , this . doctorName , this . orderDate , this . orderNo , this . isAllowCheckIn , this . procedureIDs } ) ;
/ /
/ / AncillaryOrderList . fromJson ( Map < String , dynamic > json ) {
/ / appointmentDate = json [ ' AppointmentDate ' ] ;
/ / appointmentNo = json [ ' AppointmentNo ' ] ;
/ / clinicID = json [ ' ClinicID ' ] ;
/ / clinicName = json [ ' ClinicName ' ] ! = null ? json [ ' ClinicName ' ] : " " ;
/ / doctorID = json [ ' DoctorID ' ] ;
/ / doctorName = json [ ' DoctorName ' ] ;
/ / orderDate = json [ ' OrderDate ' ] ;
/ / orderNo = json [ ' OrderNo ' ] ;
/ / isAllowCheckIn = json [ ' IsCheckInAllow ' ] ;
/ / procedureIDs = json [ ' ProcedureIds ' ] ! = null ? json [ ' ProcedureIds ' ] : " " ;
/ / }
/ /
/ / Map < String , dynamic > toJson ( ) {
/ / final Map < String , dynamic > data = new Map < String , dynamic > ( ) ;
/ / data [ ' AppointmentDate ' ] = this . appointmentDate ;
/ / data [ ' AppointmentNo ' ] = this . appointmentNo ;
/ / data [ ' ClinicID ' ] = this . clinicID ;
/ / data [ ' ClinicName ' ] = this . clinicName ;
/ / data [ ' DoctorID ' ] = this . doctorID ;
/ / data [ ' DoctorName ' ] = this . doctorName ;
/ / data [ ' OrderDate ' ] = this . orderDate ;
/ / data [ ' OrderNo ' ] = this . orderNo ;
/ / return data ;
/ / }
/ / }