public IMessageBag <PatientAdverseEventView> Generate(List <PatientAdverseEventView> extracts)
        {
            var messages = new List <IMessage <PatientAdverseEventView> >();

            foreach (var adverseEventsExtractView in extracts)
            {
                var message = new AdverseEventsMessage(adverseEventsExtractView);
                messages.Add(message);
            }

            return(new AdverseEventsMessageBag(messages));
        }
Example #2
0
        public static AdverseEventsMessageBag Create(PatientExtractView patient)
        {
            var message = new AdverseEventsMessage(patient);

            return(new AdverseEventsMessageBag(message));
        }
Example #3
0
 public AdverseEventsMessageBag(AdverseEventsMessage message)
 {
     Message = message;
 }