public static ObsTraceResult Create(Guid id, DateTime date, Guid mode, Guid outcome, Guid encounterId) { var obs = new ObsTraceResult(date, mode, outcome, encounterId); obs.Id = id; return(obs); }
public static ObsTraceResult Create(Guid id, DateTime date, Guid mode, Guid outcome, Guid encounterId, Guid?reasonNotContacted, string reasonNotContactedOther) { var obs = new ObsTraceResult(date, mode, outcome, encounterId, reasonNotContacted, reasonNotContactedOther); obs.Id = id; return(obs); }
public static ObsTraceResult CreateNew(Guid encounterId) { var obs = new ObsTraceResult(); obs.Date = DateTime.Today; obs.EncounterId = encounterId; return(obs); }