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

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

            return(new LabMessageBag(messages));
        }
Exemple #2
0
        public static LabMessageBag Create(PatientExtractView patient)
        {
            var message = new LabMessage(patient);

            return(new LabMessageBag(message));
        }
Exemple #3
0
 public LabMessageBag(LabMessage message)
 {
     Message = message;
 }