コード例 #1
0
        public IMessageBag <EnhancedAdherenceCounsellingExtractView> Generate(List <EnhancedAdherenceCounsellingExtractView> extracts)
        {
            var messages = new List <IMessage <EnhancedAdherenceCounsellingExtractView> >();

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

            return(new EnhancedAdherenceCounsellingsMessageBag(messages));
        }
コード例 #2
0
        public static EnhancedAdherenceCounsellingsMessageBag Create(PatientExtractView patient)
        {
            var message = new EnhancedAdherenceCounsellingsMessage(patient);

            return(new EnhancedAdherenceCounsellingsMessageBag(message));
        }
コード例 #3
0
 public EnhancedAdherenceCounsellingsMessageBag(EnhancedAdherenceCounsellingsMessage message)
 {
     Message = message;
 }