public GetProgramDetailsSummaryResponse RequestPatientProgramDetailsSummary(DTO.GetPatientProgramDetailsSummaryRequest request) { GetProgramDetailsSummaryResponse response = new GetProgramDetailsSummaryResponse(); response.Program = new ProgramDetail { Id = "000000000000000000000000", AssignBy = request.UserId, Description = "this is a test program from the stub.", AssignDate = System.DateTime.UtcNow, Client = "NG", Completed = false, ContractProgramId = "123456789098765432167846", StateUpdatedOn = DateTime.UtcNow, ElementState = 4, Enabled = true, Name = "test stub program", ShortName = "t s p", EligibilityRequirements = "Individual must be a part of the health plan and have completed HRA and other requirements.", EligibilityStartDate = DateTime.UtcNow.AddDays(1), EligibilityEndDate = DateTime.UtcNow.AddDays(20), Modules = new List <ModuleDetail>() { new ModuleDetail { Id = "000000000000000000000000", Name = "Test stub module 1", Description = "BSHSI - Outreach & Enrollment", SourceId = "532b5585a381168abe00042c", Actions = new List <ActionsDetail>() { new ActionsDetail { Id = "000000000000000000000000", ElementState = 4, Name = "test action from stub", Description = "action Description", Text = "test action 1", AttrEndDate = DateTime.UtcNow.AddDays(10), AttrStartDate = DateTime.UtcNow, AssignTo = "5325d9f7d6a4850adcbba4da", AssignBy = "5325d9f7d6a4850adcbb2323", AssignDate = System.DateTime.UtcNow, Objectives = getObjectives() } } } }, Text = "This is a sample patient program for the request patient details summary test stub", Attributes = new ProgramAttributeData { //AssignedBy = "me", //AssignedOn = System.DateTime.UtcNow, Id = "000000000000000000000000", PlanElementId = "000000000000000000000000" } }; return(response); }
public DTO.GetPatientProgramDetailsSummaryResponse GetPatientProgramDetailsSummary(DTO.GetPatientProgramDetailsSummaryRequest request) { DTO.GetPatientProgramDetailsSummaryResponse response = new DTO.GetPatientProgramDetailsSummaryResponse { Program = new DTO.Program { Name = "Test Program", Description = "test description", AssignById = request.UserId, AssignDate = System.DateTime.UtcNow, StateUpdatedOn = System.DateTime.UtcNow, Attributes = new DTO.ProgramAttribute { //AssignedBy = "me", //AssignedOn = System.DateTime.UtcNow, Id = "0000000000000000000000000" }, Modules = new List <Module>() { new Module { Id = "000000000000000000000000", Name = "Test stub module 1", Description = "BSHSI - Outreach & Enrollment", SourceId = "532b5585a381168abe00042c", Actions = new List <Actions>() { new Actions { Id = "000000000000000000000000", ElementState = 4, Name = "test action from stub", Text = "test action 1" } } } }, Objectives = new List <DTO.ObjectiveInfo> { new DTO.ObjectiveInfo { Id = "123456789012345678901234", Status = 1, Unit = "lbs", Value = "12" } } }, Version = 1.0 }; return(response); }