private static void GetPatient(Patient.CovidPatient patient, int index) { Console.WriteLine("\n"); Console.WriteLine($"\t***Displaying patient data for record {index}***"); // Patient Console.WriteLine($"\t\tName: {patient.Name}"); Console.WriteLine($"\t\tSurname: {patient.Surname}"); Console.WriteLine($"\t\tAge: {patient.Age}"); Console.WriteLine($"\t\tFirst symptoms: {patient.Age}"); Console.WriteLine($"\t\tDate of test: {patient.Age}"); Console.WriteLine($"\t\tAddress: {patient.Age}"); // Contact Console.WriteLine("\t\t***Patient contact data***"); Console.WriteLine($"\t\t\tName: {patient.PatientContact.Name}"); Console.WriteLine($"\t\t\tSurname: {patient.PatientContact.Surname}"); Console.WriteLine($"\t\t\tContact date: {patient.PatientContact.ContactDate}"); Console.WriteLine($"\t\t\tAddress: {patient.PatientContact.Address}"); }
public void AddPatient(Patient.CovidPatient patient) { base.Channel.AddPatient(patient); }
public System.Threading.Tasks.Task AddPatientAsync(Patient.CovidPatient patient) { return(base.Channel.AddPatientAsync(patient)); }
public void AddPatient(Patient.CovidPatient patient) { Patients.Add(patient); }