internal static void MakePatientInValid(Patient item) { item.Identifier = ""; item.FullName = ""; Assert.IsTrue(!String.IsNullOrWhiteSpace(item.Error)); }
internal static void MakePatientValid(Patient item) { item.Identifier = "999999999"; item.FullName = "Jones, Jane Mary (64 years old)"; Assert.IsTrue(String.IsNullOrWhiteSpace(item.Error), "Patient had validation errors: {0}", item.Error); }
public ManualEntryPatientSelect() { InitializeComponent(); Model = new Patient { FullName = string.Empty, Identifier = string.Empty }; DataContext = Model; }