Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.BulkExportGroupRequest

Bulk exports a Group resource and resources in the member field, including related resources for each Patient member. The export for each Patient is identical to a GetPatientEverything request. Implements the FHIR implementation guide $export group of patients. The following headers must be set in the request: * Accept: specifies the format of the OperationOutcome response. Only application/fhir+json is supported. * Prefer: specifies whether the response is immediate or asynchronous. Must be to respond-async because only asynchronous responses are supported. Specify the destination for the server to write result files by setting the Cloud Storage location bulk_export_gcs_destination on the FHIR store. URI of an existing Cloud Storage directory where the server writes result files, in the format gs://{bucket-id}/{path/to/destination/dir}. If there is no trailing slash, the service appends one when composing the object path. The user is responsible for creating the Cloud Storage bucket referenced. Supports the following query parameters: * _type: string of comma-delimited FHIR resource types. If provided, only resources of the specified type(s) are exported. * _since: if provided, only resources updated after the specified time are exported. * _outputFormat: optional, specify ndjson to export data in NDJSON format. Exported file names use the format: {export_id}_{resource_type}.ndjson. * organizeOutputBy: resource type to organize the output by. Required and must be set to Patient. When specified, output files are organized by instances of the specified resource type, including the resource, referenced resources, and resources that contain references to that resource. On success, the Content-Location header of response is set to a URL that you can use to query the status of the export. The URL is in the format projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/operations/{export_id}. See get-fhir-operation-status for more information. Errors generated by the FHIR store contain a JSON-encoded OperationOutcome resource describing the reason for the error.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<HttpBody>
CloudHealthcareBaseServiceRequest<HttpBody>
ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.BulkExportGroupRequest
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.v1
Assembly: Google.Apis.CloudHealthcare.v1.dll
Syntax
public class ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.BulkExportGroupRequest : CloudHealthcareBaseServiceRequest<HttpBody>, IClientServiceRequest<HttpBody>, IClientServiceRequest

Constructors

BulkExportGroupRequest(IClientService, string)

Constructs a new BulkExportGroup request.

Declaration
public BulkExportGroupRequest(IClientService service, string name)
Parameters
Type Name Description
IClientService service
string name

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

Name

Required. Name of the Group resource that is exported, in format projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Group/{group_id}.

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

OrganizeOutputBy

Optional. Required. The FHIR resource type used to organize exported resources. Only supports "Patient". When organized by Patient resource, output files are grouped as follows:

  • Patient file(s) containing the Patient resources. Each Patient is sequentially followed by all resources the Patient references, and all resources that reference the Patient (equivalent to a GetPatientEverything request). * Individual files grouped by resource type for resources in the Group's member field and the Group resource itself. Resources may be duplicated across multiple Patients. For example, if two Patient resources reference the same Organization resource, it will appear twice, once after each Patient. The Group resource from the request does not appear in the Patient files.
Declaration
[RequestParameter("organizeOutputBy", RequestParameterType.Query)]
public virtual string OrganizeOutputBy { get; set; }
Property Value
Type Description
string

OutputFormat

Optional. Output format of the export. This field is optional and only application/fhir+ndjson is supported.

Declaration
[RequestParameter("outputFormat", RequestParameterType.Query)]
public virtual string OutputFormat { get; set; }
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

Since

Optional. If provided, only resources updated after this time are exported. The time uses the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. For example, 2015-02-07T13:28:17.239+02:00 or 2017-01-01T00:00:00Z. The time must be specified to the second and include a time zone.

Declaration
[RequestParameter("_since", RequestParameterType.Query)]
public virtual string Since { get; set; }
Property Value
Type Description
string

Type

Optional. String of comma-delimited FHIR resource types. If provided, only resources of the specified resource type(s) are exported.

Declaration
[RequestParameter("_type", RequestParameterType.Query)]
public virtual string Type { get; set; }
Property Value
Type Description
string

Methods

InitParameters()

Initializes BulkExportGroup parameter list.

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

Implements

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