Example #1
0
        public IMessageBag <PatientVisitExtractView> Generate(List <PatientVisitExtractView> extracts)
        {
            var messages = new List <IMessage <PatientVisitExtractView> >();

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

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

            return(new VisitsMessageBag(message));
        }
Example #3
0
 public VisitsMessageBag(VisitsMessage message)
 {
     Message = message;
 }