コード例 #1
0
 public PatientCard(Model.Users.Patient patient)
 {
     if (patient == null)
     {
         this.patient = new Users.Patient();
     }
     else
     {
         this.patient = new Users.Patient(patient);
     }
     this.examinationList = new List <Doctor.Examination>();
 }
コード例 #2
0
 public PatientCard(PatientCard patientCard)
 {
     if (patientCard.patient == null)
     {
         this.patient = new Users.Patient();
     }
     else
     {
         this.patient = new Users.Patient(patientCard.patient);
     }
     this.BloodType       = patientCard.BloodType;
     this.RhFactor        = patientCard.RhFactor;
     this.Alergies        = patientCard.Alergies;
     this.MedicalHistory  = patientCard.MedicalHistory;
     this.HasInsurance    = patientCard.HasInsurance;
     this.Lbo             = patientCard.Lbo;
     this.examinationList = patientCard.examinationList;
 }
コード例 #3
0
 public PatientCard(Model.Users.Patient patient, BloodType bloodType, RhFactorType rhFactor, string alergies, string medicalHistory, bool hasInsurance, string lbo)
 {
     if (patient == null)
     {
         this.patient = new Users.Patient();
     }
     else
     {
         this.patient = new Users.Patient(patient);
     }
     this.BloodType       = bloodType;
     this.RhFactor        = rhFactor;
     this.Alergies        = alergies;
     this.MedicalHistory  = medicalHistory;
     this.HasInsurance    = hasInsurance;
     this.Lbo             = lbo;
     this.examinationList = new List <Doctor.Examination>();
 }