Esempio n. 1
0
        public IMessageBag <DepressionScreeningExtractView> Generate(List <DepressionScreeningExtractView> extracts)
        {
            var messages = new List <IMessage <DepressionScreeningExtractView> >();

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

            return(new DepressionScreeningsMessageBag(messages));
        }
Esempio n. 2
0
        public static DepressionScreeningsMessageBag Create(PatientExtractView patient)
        {
            var message = new DepressionScreeningsMessage(patient);

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