예제 #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));
        }
예제 #2
0
        public static DepressionScreeningsMessageBag Create(PatientExtractView patient)
        {
            var message = new DepressionScreeningsMessage(patient);

            return(new DepressionScreeningsMessageBag(message));
        }
예제 #3
0
 public DepressionScreeningsMessageBag(DepressionScreeningsMessage message)
 {
     Message = message;
 }