Esempio n. 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));
        }
Esempio n. 2
0
        public static PharmacyMessageBag Create(PatientExtractView patient)
        {
            var message = new PharmacyMessage(patient);

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