Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.FhirResource.ObservationLastnRequest

Retrieves the N most recent Observation resources for a subject matching search criteria specified as query parameters, grouped by Observation.code, sorted from most recent to oldest. Implements the FHIR extended operation Observation-lastn (STU3, R4). DSTU2 doesn't define the Observation-lastn method, but the server supports it the same way it supports STU3. Search terms are provided as query parameters following the same pattern as the search method. The following search parameters must be provided: - subject or patient to specify a subject for the Observation. - code, category or any of the composite parameters that include code. Any other valid Observation search parameters can also be provided. This operation accepts an additional query parameter max, which specifies N, the maximum number of Observations to return from each group, with a default of 1. Searches with over 1000 results are rejected. Results are counted before grouping and limiting the results with max. To stay within the limit, constrain these searches using Observation search parameters such as _lastUpdated or date. On success, the response body contains a JSON-encoded representation of a Bundle resource of type searchset, containing the results of the operation. Errors generated by the FHIR store contain a JSON-encoded OperationOutcome resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<HttpBody>
CloudHealthcareBaseServiceRequest<HttpBody>
ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.FhirResource.ObservationLastnRequest
Implements
IClientServiceRequest<HttpBody>
IClientServiceRequest
Inherited Members
CloudHealthcareBaseServiceRequest<HttpBody>.Xgafv
CloudHealthcareBaseServiceRequest<HttpBody>.AccessToken
CloudHealthcareBaseServiceRequest<HttpBody>.Alt
CloudHealthcareBaseServiceRequest<HttpBody>.Callback
CloudHealthcareBaseServiceRequest<HttpBody>.Fields
CloudHealthcareBaseServiceRequest<HttpBody>.Key
CloudHealthcareBaseServiceRequest<HttpBody>.OauthToken
CloudHealthcareBaseServiceRequest<HttpBody>.PrettyPrint
CloudHealthcareBaseServiceRequest<HttpBody>.QuotaUser
CloudHealthcareBaseServiceRequest<HttpBody>.UploadType
CloudHealthcareBaseServiceRequest<HttpBody>.UploadProtocol
ClientServiceRequest<HttpBody>.Execute()
ClientServiceRequest<HttpBody>.ExecuteAsStream()
ClientServiceRequest<HttpBody>.ExecuteAsync()
ClientServiceRequest<HttpBody>.ExecuteAsync(CancellationToken)
ClientServiceRequest<HttpBody>.ExecuteAsStreamAsync()
ClientServiceRequest<HttpBody>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<HttpBody>.CreateRequest(bool?)
ClientServiceRequest<HttpBody>.GenerateRequestUri()
ClientServiceRequest<HttpBody>.GetBody()
ClientServiceRequest<HttpBody>.GetDefaultETagAction(string)
ClientServiceRequest<HttpBody>.ETagAction
ClientServiceRequest<HttpBody>.ModifyRequest
ClientServiceRequest<HttpBody>.ValidateParameters
ClientServiceRequest<HttpBody>.ApiVersion
ClientServiceRequest<HttpBody>.RequestParameters
ClientServiceRequest<HttpBody>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudHealthcare.v1beta1
Assembly: Google.Apis.CloudHealthcare.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.FhirResource.ObservationLastnRequest : CloudHealthcareBaseServiceRequest<HttpBody>, IClientServiceRequest<HttpBody>, IClientServiceRequest

Constructors

ObservationLastnRequest(IClientService, string)

Constructs a new ObservationLastn request.

Declaration
public ObservationLastnRequest(IClientService service, string parent)
Parameters
Type Name Description
IClientService service
string parent

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<HttpBody>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<HttpBody>.MethodName

Parent

Required. Name of the FHIR store to retrieve resources from.

Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<HttpBody>.RestPath

Methods

InitParameters()

Initializes ObservationLastn parameter list.

Declaration
protected override void InitParameters()
Overrides
CloudHealthcareBaseServiceRequest<HttpBody>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX