コード例 #1
0
ファイル: FhirController.cs プロジェクト: tomhydra/spark
        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));
        }
コード例 #2
0
ファイル: FhirController.cs プロジェクト: HowardEdidin/spark
        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));
        }
コード例 #3
0
        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));
        }