Class ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource
The "fhirStores" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudHealthcare.v1beta1
Assembly: Google.Apis.CloudHealthcare.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource
Constructors
FhirStoresResource(IClientService)
Constructs a new resource.
Declaration
public FhirStoresResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Fhir
Gets the Fhir resource.
Declaration
public virtual ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.FhirResource Fhir { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.FhirResource |
Methods
ApplyAdminConsents(ApplyAdminConsentsRequest, string)
Applies the admin Consent resources for the FHIR store and reindexes the underlying resources in
the FHIR store according to the aggregate consents. This method also updates the
consent_config.enforced_admin_consents
field of the FhirStore unless validate_only=true
in
ApplyAdminConsentsRequest. Any admin Consent resource change after this operation execution
(including deletion) requires you to call ApplyAdminConsents again for the change to take
effect. This method returns an Operation that can be used to track the progress of the resources
that were reindexed, by calling GetOperation. Upon completion, the ApplyAdminConsentsResponse
additionally contains the number of resources that were reindexed. If at least one Consent
resource contains an error or fails be be enforced for any reason, the method returns an error
instead of an Operation. No resources will be reindexed and the
consent_config.enforced_admin_consents
field will be unchanged. To enforce a consent check for
data access, consent_config.access_enforced
must be set to true for the FhirStore.
Declaration
public virtual ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.ApplyAdminConsentsRequest ApplyAdminConsents(ApplyAdminConsentsRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
ApplyAdminConsentsRequest | body | The body of the request. |
string | name | Required. The name of the FHIR store to enforce, in the format
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.ApplyAdminConsentsRequest |
ApplyConsents(ApplyConsentsRequest, string)
Apply the Consent resources for the FHIR store and reindex the underlying resources in the FHIR
store according to the aggregate consent. The aggregate consent of the patient in scope in this
request replaces any previous call of this method. Any Consent resource change after this
operation execution (including deletion) requires you to call ApplyConsents again to have
effect. This method returns an Operation that can be used to track the progress of the consent
resources that were processed by calling GetOperation. Upon completion, the
ApplyConsentsResponse additionally contains the number of resources that was reindexed. Errors
are logged to Cloud Logging (see Viewing error logs in Cloud
Logging). To enforce consent check
for data access, consent_config.access_enforced
must be set to true for the FhirStore.
Declaration
public virtual ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.ApplyConsentsRequest ApplyConsents(ApplyConsentsRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
ApplyConsentsRequest | body | The body of the request. |
string | name | Required. The name of the FHIR store to enforce, in the format
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.ApplyConsentsRequest |
ConfigureSearch(ConfigureSearchRequest, string)
Configure the search parameters for the FHIR store and reindex resources in the FHIR store according to the defined search parameters. The search parameters provided in this request will replace any previous search configuration. The target SearchParameter resources need to exist in the store before calling ConfigureSearch, otherwise an error will occur. This method returns an Operation that can be used to track the progress of the reindexing by calling GetOperation.
Declaration
public virtual ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.ConfigureSearchRequest ConfigureSearch(ConfigureSearchRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
ConfigureSearchRequest | body | The body of the request. |
string | name | Required. The name of the FHIR store to configure, in the format
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.ConfigureSearchRequest |
Create(FhirStore, string)
Creates a new FHIR store within the parent dataset.
Declaration
public virtual ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.CreateRequest Create(FhirStore body, string parent)
Parameters
Type | Name | Description |
---|---|---|
FhirStore | body | The body of the request. |
string | parent | Required. The name of the dataset this FHIR store belongs to. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.CreateRequest |
Deidentify(DeidentifyFhirStoreRequest, string)
De-identifies data from the source store and writes it to the destination store. The metadata field type is OperationMetadata. If the request is successful, the response field type is DeidentifyFhirStoreSummary. The number of resources processed are tracked in Operation.metadata. Error details are logged to Cloud Logging. For more information, see Viewing error logs in Cloud Logging.
Declaration
public virtual ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.DeidentifyRequest Deidentify(DeidentifyFhirStoreRequest body, string sourceStore)
Parameters
Type | Name | Description |
---|---|---|
DeidentifyFhirStoreRequest | body | The body of the request. |
string | sourceStore | Required. Source FHIR store resource name. For example,
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.DeidentifyRequest |
Delete(string)
Deletes the specified FHIR store and removes all resources within it.
Declaration
public virtual ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the FHIR store to delete. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.DeleteRequest |
ExplainDataAccess(string)
Explains all the permitted/denied actor, purpose and environment for a given resource.
Declaration
public virtual ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.ExplainDataAccessRequest ExplainDataAccess(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the FHIR store to enforce, in the format
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.ExplainDataAccessRequest |
Export(ExportResourcesRequest, string)
Export resources from the FHIR store to the specified destination. This method returns an Operation that can be used to track the status of the export by calling GetOperation. Immediate fatal errors appear in the error field, errors are also logged to Cloud Logging (see Viewing error logs in Cloud Logging). Otherwise, when the operation finishes, a detailed response of type ExportResourcesResponse is returned in the response field. The metadata field type for this operation is OperationMetadata.
Declaration
public virtual ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.ExportRequest Export(ExportResourcesRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
ExportResourcesRequest | body | The body of the request. |
string | name | Required. The name of the FHIR store to export resource from, in the format of
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.ExportRequest |
ExportHistory(ExportResourcesHistoryRequest, string)
Export resources including historical versions from the FHIR store to the specified destination. The exported resource, along with previous versions, will be exported in one or more FHIR history bundles. This method returns an Operation that can be used to track the status of the export by calling GetOperation. Immediate fatal errors appear in the error field, errors are also logged to Cloud Logging (see Viewing error logs in Cloud Logging). Otherwise, when the operation finishes, a detailed response of type ExportResourcesResponse is returned in the response field. The metadata field type for this operation is OperationMetadata.
Declaration
public virtual ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.ExportHistoryRequest ExportHistory(ExportResourcesHistoryRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
ExportResourcesHistoryRequest | body | The body of the request. |
string | name | Required. The name of the FHIR store to export resource from, in the format
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.ExportHistoryRequest |
Get(string)
Gets the configuration of the specified FHIR store.
Declaration
public virtual ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the FHIR store to get. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.GetRequest |
GetFHIRStoreMetrics(string)
Gets metrics associated with the FHIR store.
Declaration
public virtual ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.GetFHIRStoreMetricsRequest GetFHIRStoreMetrics(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the FHIR store to get metrics for. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.GetFHIRStoreMetricsRequest |
GetIamPolicy(string)
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
Declaration
public virtual ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.GetIamPolicyRequest GetIamPolicy(string resource)
Parameters
Type | Name | Description |
---|---|---|
string | resource | REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.GetIamPolicyRequest |
Import(ImportResourcesRequest, string)
Import resources to the FHIR store by loading data from the specified sources. This method is
optimized to load large quantities of data using import semantics that ignore some FHIR store
configuration options and are not suitable for all use cases. It is primarily intended to load
data into an empty FHIR store that is not being used by other clients. In cases where this
method is not appropriate, consider using ExecuteBundle to load data. Every resource in the
input must contain a client-supplied ID. Each resource is stored using the supplied ID
regardless of the enable_update_create setting on the FHIR store. It is strongly advised not to
include or encode any sensitive data such as patient identifiers in client-specified resource
IDs. Those IDs are part of the FHIR resource path recorded in Cloud Audit Logs and Cloud Pub/Sub
notifications. Those IDs can also be contained in reference fields within other resources. The
import process does not enforce referential integrity, regardless of the
disable_referential_integrity setting on the FHIR store. This allows the import of resources
with arbitrary interdependencies without considering grouping or ordering, but if the input data
contains invalid references or if some resources fail to be imported, the FHIR store might be
left in a state that violates referential integrity. The import process does not trigger Pub/Sub
notification or BigQuery streaming update, regardless of how those are configured on the FHIR
store. If a resource with the specified ID already exists, the most recent version of the
resource is overwritten without creating a new historical version, regardless of the
disable_resource_versioning setting on the FHIR store. If transient failures occur during the
import, it is possible that successfully imported resources will be overwritten more than once.
The import operation is idempotent unless the input data contains multiple valid resources with
the same ID but different contents. In that case, after the import completes, the store contains
exactly one resource with that ID but there is no ordering guarantee on which version of the
contents it will have. The operation result counters do not count duplicate IDs as an error and
count one success for each resource in the input, which might result in a success count larger
than the number of resources in the FHIR store. This often occurs when importing data organized
in bundles produced by Patient-everything where each bundle contains its own copy of a resource
such as Practitioner that might be referred to by many patients. If some resources fail to
import, for example due to parsing errors, successfully imported resources are not rolled back.
The location and format of the input data are specified by the parameters in
ImportResourcesRequest. Note that if no format is specified, this method assumes the BUNDLE
format. When using the BUNDLE
format this method ignores the Bundle.type
field, except that
history
bundles are rejected, and does not apply any of the bundle processing semantics for
batch or transaction bundles. Unlike in ExecuteBundle, transaction bundles are not executed as a
single transaction and bundle-internal references are not rewritten. The bundle is treated as a
collection of resources to be written as provided in Bundle.entry.resource
, ignoring
Bundle.entry.request
. As an example, this allows the import of searchset
bundles produced by
a FHIR search or Patient-everything operation. This method returns an Operation that can be used
to track the status of the import by calling GetOperation. Immediate fatal errors appear in the
error field, errors are also logged to Cloud Logging (see Viewing error logs in Cloud
Logging). Otherwise, when the
operation finishes, a detailed response of type ImportResourcesResponse is returned in the
response field. The metadata field type for this operation is OperationMetadata.
Declaration
public virtual ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.ImportRequest Import(ImportResourcesRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
ImportResourcesRequest | body | The body of the request. |
string | name | Required. The name of the FHIR store to import FHIR resources to, in the format of
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.ImportRequest |
ImportHistory(ImportResourcesHistoryRequest, string)
Import resource historical versions from Cloud Storage source to destination fhir store. The exported resource, along with previous versions, will be exported in one or more FHIR history bundles. This method returns an Operation that can be used to track the status of the export by calling GetOperation. Immediate fatal errors appear in the error field, errors are also logged to Cloud Logging (see Viewing error logs in Cloud Logging). Otherwise, when the operation finishes, a detailed response of type ImportResourcesResponse is returned in the response field. The metadata field type for this operation is OperationMetadata.
Declaration
public virtual ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.ImportHistoryRequest ImportHistory(ImportResourcesHistoryRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
ImportResourcesHistoryRequest | body | The body of the request. |
string | name | Required. The name of the FHIR store to import FHIR resources to, in the format of
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.ImportHistoryRequest |
List(string)
Lists the FHIR stores in the given dataset.
Declaration
public virtual ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Name of the dataset. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.ListRequest |
Patch(FhirStore, string)
Updates the configuration of the specified FHIR store.
Declaration
public virtual ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.PatchRequest Patch(FhirStore body, string name)
Parameters
Type | Name | Description |
---|---|---|
FhirStore | body | The body of the request. |
string | name | Output only. Identifier. Resource name of the FHIR store, of the form
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.PatchRequest |
Rollback(RollbackFhirResourcesRequest, string)
Rolls back resources from the FHIR store to the specified time. This method returns an Operation that can be used to track the status of the rollback by calling GetOperation. Immediate fatal errors appear in the error field, errors are also logged to Cloud Logging (see Viewing error logs in Cloud Logging). Otherwise, when the operation finishes, a detailed response of type RollbackFhirResourcesResponse is returned in the response field. The metadata field type for this operation is OperationMetadata.
Declaration
public virtual ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.RollbackRequest Rollback(RollbackFhirResourcesRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
RollbackFhirResourcesRequest | body | The body of the request. |
string | name | Required. The name of the FHIR store to rollback, in the format of "projects/{project_id}/locations/{location_id}/datasets/{dataset_id} /fhirStores/{fhir_store_id}". |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.RollbackRequest |
SetIamPolicy(SetIamPolicyRequest, string)
Sets the access control policy on the specified resource. Replaces any existing policy. Can
return NOT_FOUND
, INVALID_ARGUMENT
, and PERMISSION_DENIED
errors.
Declaration
public virtual ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.SetIamPolicyRequest SetIamPolicy(SetIamPolicyRequest body, string resource)
Parameters
Type | Name | Description |
---|---|---|
SetIamPolicyRequest | body | The body of the request. |
string | resource | REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.SetIamPolicyRequest |
TestIamPermissions(TestIamPermissionsRequest, string)
Returns permissions that a caller has on the specified resource. If the resource does not exist,
this will return an empty set of permissions, not a NOT_FOUND
error. Note: This operation is
designed to be used for building permission-aware UIs and command-line tools, not for
authorization checking. This operation may "fail open" without warning.
Declaration
public virtual ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.TestIamPermissionsRequest TestIamPermissions(TestIamPermissionsRequest body, string resource)
Parameters
Type | Name | Description |
---|---|---|
TestIamPermissionsRequest | body | The body of the request. |
string | resource | REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.TestIamPermissionsRequest |