public async Task <IActionResult> Search()
        {
            var request = FhirRequest.Create(null, ResourceType.DocumentReference, null, Request, RequestingAsid());

            var result = await _nrlsSearch.Find(request);

            return(Ok(result));
        }
コード例 #2
0
        public async Task <IActionResult> Search()
        {
            var request = FhirRequest.Create(null, ResourceType.DocumentReference, null, Request, RequestingAsid());

            var result = await _nrlsSearch.Find <DocumentReference>(request);

            if (result.ResourceType == ResourceType.OperationOutcome)
            {
                return(NotFound(result));
            }

            return(Ok(result));
        }