public static HIV_TESTS Create(List <ClientTestingStage> tests, SUMMARY summary) { var screening = NewTests.Create(tests.Where(x => x.HtsTestType == HtsTestType.Screening)); var confirmatory = NewTests.Create(tests.Where(x => x.HtsTestType == HtsTestType.Confrimatory)); return(new HIV_TESTS(screening, confirmatory, summary)); }
public static HIV_TESTS Create(List <NewTests> screening, List <NewTests> confirmatory, SUMMARY summary) { return(new HIV_TESTS(screening, confirmatory, summary)); }
private HIV_TESTS(List <NewTests> screening, List <NewTests> confirmatory, SUMMARY summary) { SCREENING = screening; CONFIRMATORY = confirmatory; SUMMARY = summary; }