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

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

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

            return(new DrugAlcoholScreeningsMessageBag(message));
        }
Beispiel #3
0
 public DrugAlcoholScreeningsMessageBag(DrugAlcoholScreeningsMessage message)
 {
     Message = message;
 }