public ServerFhirResponse Snapshot()
        {
            string snapshot = FhirHttpUtil.GetStringParameter(Request, FhirParameter.SNAPSHOT_ID);
            int    start    = FhirHttpUtil.GetIntParameter(Request, FhirParameter.SNAPSHOT_INDEX) ?? 0;

            return(fhirService.GetPage(snapshot, start));
        }
        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));
        }