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
- 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
ordate
. On success, the response body contains a JSON-encoded representation of aBundle
resource of typesearchset
, containing the results of the operation. Errors generated by the FHIR store contain a JSON-encodedOperationOutcome
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
Inherited Members
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
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
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
Methods
InitParameters()
Initializes ObservationLastn parameter list.
Declaration
protected override void InitParameters()