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

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

            return(new PharmacyMessageBag(messages));
        }
Beispiel #2
0
        public static PharmacyMessageBag Create(PatientExtractView patient)
        {
            var message = new PharmacyMessage(patient);

            return(new PharmacyMessageBag(message));
        }
Beispiel #3
0
 public PharmacyMessageBag(PharmacyMessage message)
 {
     Message = message;
 }