public IMessageBag <PatientVisitExtractView> Generate(List <PatientVisitExtractView> extracts) { var messages = new List <IMessage <PatientVisitExtractView> >(); foreach (var artExtractView in extracts) { var message = new VisitsMessage(artExtractView); messages.Add(message); } return(new VisitsMessageBag(messages)); }
public static VisitsMessageBag Create(PatientExtractView patient) { var message = new VisitsMessage(patient); return(new VisitsMessageBag(message)); }
public VisitsMessageBag(VisitsMessage message) { Message = message; }