public IMessageBag <AllergiesChronicIllnessExtractView> Generate(List <AllergiesChronicIllnessExtractView> extracts)
        {
            var messages = new List <IMessage <AllergiesChronicIllnessExtractView> >();

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

            return(new AllergiesChronicIllnesssMessageBag(messages));
        }
        public static AllergiesChronicIllnesssMessageBag Create(PatientExtractView patient)
        {
            var message = new AllergiesChronicIllnesssMessage(patient);

            return(new AllergiesChronicIllnesssMessageBag(message));
        }
 public AllergiesChronicIllnesssMessageBag(AllergiesChronicIllnesssMessage message)
 {
     Message = message;
 }