public QueryWorklistResponse<RegistrationWorklistItemSummary> QueryWorklist(QueryWorklistRequest request)
		{
			var assembler = new RegistrationWorkflowAssembler();

			return QueryWorklistHelper<WorklistItem, RegistrationWorklistItemSummary>(
				request,
				item => assembler.CreateWorklistItemSummary(item, this.PersistenceContext));
		}
        public QueryWorklistResponse <RegistrationWorklistItemSummary> QueryWorklist(QueryWorklistRequest request)
        {
            var assembler = new RegistrationWorkflowAssembler();

            return(QueryWorklistHelper <WorklistItem, RegistrationWorklistItemSummary>(
                       request,
                       item => assembler.CreateWorklistItemSummary(item, this.PersistenceContext)));
        }
		public TextQueryResponse<RegistrationWorklistItemSummary> SearchWorklists(WorklistItemTextQueryRequest request)
		{
			var assembler = new RegistrationWorkflowAssembler();
			var broker = this.PersistenceContext.GetBroker<IRegistrationWorklistItemBroker>();

			return SearchHelper<WorklistItem, RegistrationWorklistItemSummary>(
				request,
				broker,
				WorklistItemProjection.RegistrationWorklistSearch,
				item => assembler.CreateWorklistItemSummary(item, PersistenceContext));
		}
        public TextQueryResponse <RegistrationWorklistItemSummary> SearchWorklists(WorklistItemTextQueryRequest request)
        {
            var assembler = new RegistrationWorkflowAssembler();
            var broker    = this.PersistenceContext.GetBroker <IRegistrationWorklistItemBroker>();

            return(SearchHelper <WorklistItem, RegistrationWorklistItemSummary>(
                       request,
                       broker,
                       WorklistItemProjection.RegistrationWorklistSearch,
                       item => assembler.CreateWorklistItemSummary(item, PersistenceContext)));
        }