示例#1
0
        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);
        }
示例#2
0
        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);
        }
示例#3
0
        public static ObsTraceResult CreateNew(Guid encounterId)
        {
            var obs = new ObsTraceResult();

            obs.Date        = DateTime.Today;
            obs.EncounterId = encounterId;
            return(obs);
        }