예제 #1
0
 public TreatmentFacility(string facilityName, AddressInformation facilityAddress, ContactInformation facilityContactInformation, ContactHours facilityHours)
 {
     FacilityName               = facilityName;
     FacilityAddress            = facilityAddress;
     FacilityContactInformation = facilityContactInformation;
     FacilityHours              = facilityHours;
 }
예제 #2
0
 /// <summary>
 /// Default Constructor
 /// Calls <see cref="GetAgeOfPatient"/> that returns the age for the patient
 /// Calls <see cref="GetGenderOfPatient"/> that returns an enum with the gender of a patient
 /// </summary>
 /// <param name="name"></param>
 /// <param name="contact"></param>
 /// <param name="address"></param>
 /// <param name="anamnesis"></param>
 /// <param name="diagnosis"></param>
 /// <param name="cpr"></param>
 /// <param name="translationInformation"></param>
 /// <param name="hoursToContact"></param>
 public Patient(string name, ContactInformation contact, AddressInformation address,
                string anamnesis, string diagnosis, int cpr, Translator translationInformation, ContactHours hoursToContact)
     : base(name, contact, address)
 {
     Anamnesis              = anamnesis;
     Diagnosis              = diagnosis;
     Cpr                    = cpr;
     Age                    = GetAgeOfPatient();
     PatientGender          = GetGenderOfPatient();
     TranslationInformation = translationInformation;
     HoursToContact         = hoursToContact;
 }
예제 #3
0
 public ReferringAuthority(string name, ContactInformation contact, AddressInformation address,
                           ContactHours hoursToContact)
     : base(name, contact, address)
 {
     HoursToContact = hoursToContact;
 }