示例#1
0
 private static PatientInfo GetPat2()
 {
     var pat2 = new PatientInfo();
     pat2.PersonalIdentity = new Identity
     {
         IdentityNumber = "778899",
         IdentityType = IdentityType.Pesel
     };
     pat2.FirstName = "brad";
     pat2.LastName = "pitt";
     
     return pat2;
 }
示例#2
0
        private static PatientInfo Getpat1()
        {
            var pat1 = new PatientInfo();
            pat1.ExternalId = "2345oo";
            pat1.PersonalIdentity = new Identity
            {
                IdentityNumber = "1234",
                IdentityType = IdentityType.General
            };
            pat1.FirstName = "Emily";
            pat1.LastName = "Rrr";
            pat1.Sex = Sex.Female;
            pat1.BirthDate = DateTime.Now;

            return pat1;
        }
示例#3
0
 public void AddNewPatient(PatientInfo patient)
 {
     SaveOrUpdate(patient);
 }
示例#4
0
 public void AddNewPatient(PatientInfo patient)
 {
     //logika
     _patientsDal.AddNewPatient(patient);
 }