Exemple #1
0
        public FhirResponse Search(string type)
        {
            int start        = FhirParameterParser.ParseIntParameter(Request.GetParameter(FhirParameter.SNAPSHOT_INDEX)) ?? 0;
            var searchparams = Request.GetSearchParams();

            //int pagesize = Request.GetIntParameter(FhirParameter.COUNT) ?? Const.DEFAULT_PAGE_SIZE;
            //string sortby = Request.GetParameter(FhirParameter.SORT);

            return(_fhirService.Search(type, searchparams, start));
        }
Exemple #2
0
        public Bundle Search(string type)
        {
            var parameters = Request.TupledParameters();
            int pagesize   = Request.GetIntParameter(FhirParameter.COUNT) ?? Const.DEFAULT_PAGE_SIZE;

            return(service.Search(type, parameters, pagesize));
        }
        public ServerFhirResponse Search(string type)
        {
            int start        = FhirHttpUtil.GetIntParameter(HttpContext.Request, FhirParameter.SNAPSHOT_INDEX) ?? 0;
            var searchparams = HttpHeaderUtil.GetSearchParams(HttpContext.Request);

            return(fhirService.Search(type, searchparams, start));
        }