/// <summary> /// Adds a person /// </summary> /// <param name="firstname">The firstname.</param> /// <param name="initial">The middle initial.</param> /// <param name="lastname">The lastname.</param> /// <param name="dob">Date of birth.</param> /// <param name="sex">Gender of person.</param> /// <param name="hcn">The health card number/</param> /// <returns>Patient added</returns> public object AddPerson(string firstname, char initial, string lastname, string dob, char sex, string hcn) { return(people.CreatePatient(hcn, lastname, firstname, initial, dob, (SexTypes)Enum.Parse(typeof(SexTypes), initial.ToString()), 0)); }