Esempio n. 1
0
        public IMessageBag <PatientBaselinesExtractView> Generate(List <PatientBaselinesExtractView> extracts)
        {
            var messages = new List <IMessage <PatientBaselinesExtractView> >();

            foreach (var artExtractView in extracts)
            {
                var message = new BaselineMessage(artExtractView);
                messages.Add(message);
            }

            return(new BaselineMessageBag(messages));
        }
Esempio n. 2
0
        public static BaselineMessageBag Create(PatientExtractView patient)
        {
            var message = new BaselineMessage(patient);

            return(new BaselineMessageBag(message));
        }
Esempio n. 3
0
 public BaselineMessageBag(BaselineMessage message)
 {
     Message = message;
 }