import 'package:doctor_app_flutter/config/config.dart';

class VerifyReferralDoctorRemarks {
  int projectID;
  String admissionNo;
  int lineItemNo;
  String referredDoctorRemarks;
  int editedBy;
  int patientID;
  int referringDoctor;
  int languageID;
  String stamp;
  String iPAdress;
  double versionID;
  int channel;
  String tokenID;
  String sessionID;
  bool isLoginForDoctorApp;
  bool patientOutSA;
   String firstName;

  String middleName;
  String lastName;
  String patientMobileNumber;
  String patientIdentificationID;

  VerifyReferralDoctorRemarks(
      {this.projectID,
        this.admissionNo,
        this.lineItemNo,
        this.referredDoctorRemarks,
        this.editedBy,
        this.patientID,
        this.referringDoctor,
        this.languageID = LANGUAGE_ID,
        this.stamp = STAMP,
        this.iPAdress = IP_ADDRESS,
        this.versionID = VERSION_ID,
        this.channel= CHANNEL,
        this.tokenID,
        this.sessionID = SESSION_ID,
        this.isLoginForDoctorApp = IS_LOGIN_FOR_DOCTOR_APP,
        this.patientOutSA = PATIENT_OUT_SA,
        this.firstName,
      this.middleName,
      this.lastName,
      this.patientMobileNumber,
      this.patientIdentificationID,
      });

  VerifyReferralDoctorRemarks.fromJson(Map<String, dynamic> json) {
    projectID = json['ProjectID'];
    admissionNo = json['AdmissionNo'];
    lineItemNo = json['LineItemNo'];
    referredDoctorRemarks = json['ReferredDoctorRemarks'];
    editedBy = json['EditedBy'];
    patientID = json['PatientID'];
    referringDoctor = json['ReferringDoctor'];
    languageID = json['LanguageID'];
    stamp = json['stamp'];
    iPAdress = json['IPAdress'];
    versionID = json['VersionID'];
    channel = json['Channel'];
    tokenID = json['TokenID'];
    sessionID = json['SessionID'];
    isLoginForDoctorApp = json['IsLoginForDoctorApp'];
    patientOutSA = json['PatientOutSA'];
    firstName= json["FirstName"];
        middleName= json["MiddleName"];
        lastName= json["LastName"];
        patientMobileNumber= json["PatientMobileNumber"];
        patientIdentificationID = json["PatientIdentificationID"];
        

     
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['ProjectID'] = this.projectID;
    data['AdmissionNo'] = this.admissionNo;
    data['LineItemNo'] = this.lineItemNo;
    data['ReferredDoctorRemarks'] = this.referredDoctorRemarks;
    data['EditedBy'] = this.editedBy;
    data['PatientID'] = this.patientID;
    data['ReferringDoctor'] = this.referringDoctor;
    data['LanguageID'] = this.languageID;
    data['stamp'] = this.stamp;
    data['IPAdress'] = this.iPAdress;
    data['VersionID'] = this.versionID;
    data['Channel'] = this.channel;
    data['TokenID'] = this.tokenID;
    data['SessionID'] = this.sessionID;
    data['IsLoginForDoctorApp'] = this.isLoginForDoctorApp;
    data['PatientOutSA'] = this.patientOutSA;
    data['FirstName'] = this.firstName;
    data['MiddleName'] = this.middleName;
    data['LastName'] = this.lastName;
    data['PatientMobileNumber'] = this.patientMobileNumber;
    data['PatientIdentificationID'] = this.patientIdentificationID;
    return data;
  }
}
