Beispiel #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));
        }
Beispiel #2
0
        public static VisitsMessageBag Create(PatientExtractView patient)
        {
            var message = new VisitsMessage(patient);

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