Class: Google::Apis::HealthcareV1beta1::CloudHealthcareService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::HealthcareV1beta1::CloudHealthcareService
- Defined in:
- lib/google/apis/healthcare_v1beta1/service.rb
Overview
Cloud Healthcare API
Manage, store, and access healthcare data in Google Cloud Platform.
Constant Summary collapse
- DEFAULT_ENDPOINT_TEMPLATE =
"https://healthcare.$UNIVERSE_DOMAIN$/"
Instance Attribute Summary collapse
-
#key ⇒ String
API key.
-
#quota_user ⇒ String
Available to use for quota purposes for server-side applications.
Instance Method Summary collapse
-
#activate_consent(name, activate_consent_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Consent
Activates the latest revision of the specified Consent by committing a new revision with
stateupdated toACTIVE. -
#analyze_nlp_entities(nlp_service, analyze_entities_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::AnalyzeEntitiesResponse
Analyze heathcare entity in a document.
-
#apply_fhir_store_admin_consents(name, apply_admin_consents_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
Applies the admin Consent resources for the FHIR store and reindexes the underlying resources in the FHIR store according to the aggregate consents.
-
#apply_fhir_store_consents(name, apply_consents_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
Apply the Consent resources for the FHIR store and reindex the underlying resources in the FHIR store according to the aggregate consent.
-
#archive_user_data_mapping(name, archive_user_data_mapping_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::ArchiveUserDataMappingResponse
Archives the specified User data mapping.
-
#batch_project_location_dataset_hl7_v2_store_message_get(parent, ids: nil, view: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::BatchGetMessagesResponse
Gets multiple messages in the given HL7v2 store.
-
#binary_project_location_dataset_fhir_store_fhir_create(parent, http_body_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Creates a FHIR Binary resource.
-
#binary_project_location_dataset_fhir_store_fhir_read(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Gets the contents of a FHIR Binary resource.
-
#binary_project_location_dataset_fhir_store_fhir_update(name, http_body_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Updates the entire contents of a Binary resource.
-
#binary_project_location_dataset_fhir_store_fhir_vread(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Gets the contents of a version (current or historical) of a FHIR Binary resource by version ID.
-
#bulk_project_location_dataset_fhir_store_export_group(name, _since: nil, _type: nil, organize_output_by: nil, output_format: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Bulk exports a Group resource and resources in the member field, including related resources for each Patient member.
-
#bulk_project_location_dataset_fhir_store_fhir_export(name, _since: nil, _type: nil, output_format: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Bulk exports all resources from the FHIR store to the specified destination.
-
#cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Empty
Starts asynchronous cancellation on a long-running operation.
-
#capabilities_project_location_dataset_fhir_store_fhir(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Gets the FHIR capability statement (STU3, R4, R5), or the conformance statement in the DSTU2 case for the store, which contains a description of functionality supported by the server.
-
#check_consent_store_data_access(consent_store, check_data_access_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::CheckDataAccessResponse
Checks if a particular data_id of a User data mapping in the specified consent store is consented for the specified use.
-
#concept_project_location_dataset_fhir_store_fhir_map_search_translate(parent, code: nil, concept_map_version: nil, source: nil, system: nil, target: nil, url: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Translates a code from one value set to another by searching for appropriate concept maps.
-
#concept_project_location_dataset_fhir_store_fhir_map_translate(name, code: nil, concept_map_version: nil, system: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Translates a code from one value set to another using a concept map.
-
#conditional_project_location_dataset_fhir_store_fhir_delete(parent, type, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Empty
Deletes FHIR resources that match a search query.
-
#conditional_project_location_dataset_fhir_store_fhir_patch(parent, type, http_body_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
If a resource is found based on the search criteria specified in the query parameters, updates part of that resource by applying the operations specified in a JSON Patch document.
-
#conditional_project_location_dataset_fhir_store_fhir_update(parent, type, http_body_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
If a resource is found based on the search criteria specified in the query parameters, updates the entire contents of that resource.
-
#configure_fhir_store_search(name, configure_search_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
Configure the search parameters for the FHIR store and reindex resources in the FHIR store according to the defined search parameters.
-
#consent_project_location_dataset_fhir_store_fhir_enforcement_status(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Returns the consent enforcement status of a single consent resource.
-
#create_message(parent, create_message_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Message
Parses and stores an HL7v2 message.
-
#create_project_location_dataset(parent, dataset_object = nil, dataset_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
Creates a new health dataset.
-
#create_project_location_dataset_consent_store(parent, consent_store_object = nil, consent_store_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::ConsentStore
Creates a new consent store in the parent dataset.
-
#create_project_location_dataset_consent_store_attribute_definition(parent, attribute_definition_object = nil, attribute_definition_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::AttributeDefinition
Creates a new Attribute definition in the parent consent store.
-
#create_project_location_dataset_consent_store_consent(parent, consent_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Consent
Creates a new Consent in the parent consent store.
-
#create_project_location_dataset_consent_store_consent_artifact(parent, consent_artifact_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::ConsentArtifact
Creates a new Consent artifact in the parent consent store.
-
#create_project_location_dataset_consent_store_user_data_mapping(parent, user_data_mapping_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::UserDataMapping
Creates a new User data mapping in the parent consent store.
-
#create_project_location_dataset_dicom_store(parent, dicom_store_object = nil, dicom_store_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::DicomStore
Creates a new DICOM store within the parent dataset.
-
#create_project_location_dataset_fhir_store(parent, fhir_store_object = nil, fhir_store_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::FhirStore
Creates a new FHIR store within the parent dataset.
-
#create_project_location_dataset_fhir_store_fhir(parent, type, http_body_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Creates a FHIR resource.
-
#create_project_location_dataset_hl7_v2_store(parent, hl7_v2_store_object = nil, hl7_v2_store_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Hl7V2Store
Creates a new HL7v2 store within the parent dataset.
-
#deidentify_dataset(source_dataset, deidentify_dataset_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
Creates a new dataset containing de-identified data from the source dataset.
-
#deidentify_dicom_store(source_store, deidentify_dicom_store_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
De-identifies data from the source store and writes it to the destination store.
-
#deidentify_fhir_store(source_store, deidentify_fhir_store_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
De-identifies data from the source store and writes it to the destination store.
-
#delete_project_location_dataset(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Empty
Deletes the specified health dataset and all data contained in the dataset.
-
#delete_project_location_dataset_consent_store(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Empty
Deletes the specified consent store and removes all the consent store's data.
-
#delete_project_location_dataset_consent_store_attribute_definition(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Empty
Deletes the specified Attribute definition.
-
#delete_project_location_dataset_consent_store_consent(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Empty
Deletes the Consent and its revisions.
-
#delete_project_location_dataset_consent_store_consent_artifact(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Empty
Deletes the specified Consent artifact.
-
#delete_project_location_dataset_consent_store_consent_revision(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Empty
Deletes the specified revision of a Consent.
-
#delete_project_location_dataset_consent_store_user_data_mapping(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Empty
Deletes the specified User data mapping.
-
#delete_project_location_dataset_dicom_store(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Empty
Deletes the specified DICOM store and removes all images that are contained within it.
-
#delete_project_location_dataset_dicom_store_study(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
DeleteStudy deletes all instances within the given study using a long running operation.
-
#delete_project_location_dataset_dicom_store_study_series(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
DeleteSeries deletes all instances within the given study and series using a long running operation.
-
#delete_project_location_dataset_dicom_store_study_series_instance(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Empty
DeleteInstance deletes an instance associated with the given study, series, and SOP Instance UID.
-
#delete_project_location_dataset_fhir_store(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Empty
Deletes the specified FHIR store and removes all resources within it.
-
#delete_project_location_dataset_fhir_store_fhir(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Deletes a FHIR resource.
-
#delete_project_location_dataset_fhir_store_operation_fhir_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Deletes operations as defined in the FHIR specification.
-
#delete_project_location_dataset_hl7_v2_store(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Empty
Deletes the specified HL7v2 store and removes all messages that it contains.
-
#delete_project_location_dataset_hl7_v2_store_message(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Empty
Deletes an HL7v2 message.
-
#encounter_project_location_dataset_fhir_store_fhir_everything(name, _count: nil, _page_token: nil, _since: nil, _type: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Retrieves an Encounter resource and resources related to that Encounter.
-
#evaluate_consent_store_user_consents(consent_store, evaluate_user_consents_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::EvaluateUserConsentsResponse
Evaluates the user's Consents for all matching User data mappings.
-
#execute_project_location_dataset_fhir_store_fhir_bundle(parent, http_body_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Executes all the requests in the given Bundle.
-
#explain_project_location_dataset_fhir_store_data_access(name, resource_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::ExplainDataAccessResponse
Explains all the permitted/denied actor, purpose and environment for a given resource.
-
#export_dicom_store_dicom_data(name, export_dicom_data_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
Exports data to the specified destination by copying it from the DICOM store.
-
#export_fhir_store_resources(name, export_resources_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
Export resources from the FHIR store to the specified destination.
-
#export_hl7_v2_store_messages(name, export_messages_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
Exports the messages to a destination.
-
#export_project_location_dataset_fhir_store_history(name, export_resources_history_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
Export resources including historical versions from the FHIR store to the specified destination.
-
#get_project_location(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Location
Gets information about a location.
-
#get_project_location_dataset(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Dataset
Gets any metadata associated with a dataset.
-
#get_project_location_dataset_consent_store(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::ConsentStore
Gets the specified consent store.
-
#get_project_location_dataset_consent_store_attribute_definition(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::AttributeDefinition
Gets the specified Attribute definition.
-
#get_project_location_dataset_consent_store_consent(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Consent
Gets the specified revision of a Consent, or the latest revision if
revision_idis not specified in the resource name. -
#get_project_location_dataset_consent_store_consent_artifact(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::ConsentArtifact
Gets the specified Consent artifact.
-
#get_project_location_dataset_consent_store_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Policy
Gets the access control policy for a resource.
-
#get_project_location_dataset_consent_store_user_data_mapping(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::UserDataMapping
Gets the specified User data mapping.
-
#get_project_location_dataset_data_mapper_workspace_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Policy
Gets the access control policy for a resource.
-
#get_project_location_dataset_dicom_store(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::DicomStore
Gets the specified DICOM store.
-
#get_project_location_dataset_dicom_store_dicom_store_metrics(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::DicomStoreMetrics
Gets metrics associated with the DICOM store.
-
#get_project_location_dataset_dicom_store_dicom_web_study_series_instance_storage_info(resource, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::StorageInfo
GetStorageInfo returns the storage info of the specified resource.
-
#get_project_location_dataset_dicom_store_dicom_web_study_series_series_metrics(series, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::SeriesMetrics
GetSeriesMetrics returns metrics for a series.
-
#get_project_location_dataset_dicom_store_dicom_web_study_study_metrics(study, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::StudyMetrics
GetStudyMetrics returns metrics for a study.
-
#get_project_location_dataset_dicom_store_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Policy
Gets the access control policy for a resource.
-
#get_project_location_dataset_fhir_store(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::FhirStore
Gets the configuration of the specified FHIR store.
-
#get_project_location_dataset_fhir_store_fhir_store_metrics(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::FhirStoreMetrics
Gets metrics associated with the FHIR store.
-
#get_project_location_dataset_fhir_store_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Policy
Gets the access control policy for a resource.
-
#get_project_location_dataset_fhir_store_operation_fhir_operation_status(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Gets the status of operations as defined in the FHIR specification.
-
#get_project_location_dataset_hl7_v2_store(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Hl7V2Store
Gets the specified HL7v2 store.
-
#get_project_location_dataset_hl7_v2_store_hl7v2_store_metrics(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Hl7V2StoreMetrics
Gets metrics associated with the HL7v2 store.
-
#get_project_location_dataset_hl7_v2_store_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Policy
Gets the access control policy for a resource.
-
#get_project_location_dataset_hl7_v2_store_message(name, view: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Message
Gets an HL7v2 message.
-
#get_project_location_dataset_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Policy
Gets the access control policy for a resource.
-
#get_project_location_dataset_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
Gets the latest state of a long-running operation.
-
#history_project_location_dataset_fhir_store_fhir(name, _at: nil, _count: nil, _page_token: nil, _since: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Lists all the versions of a resource (including the current version and deleted versions) from the FHIR store.
-
#import_dicom_store_dicom_data(name, import_dicom_data_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
Imports data into the DICOM store by copying it from the specified source.
-
#import_fhir_store_resources(name, import_resources_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
Import resources to the FHIR store by loading data from the specified sources.
-
#import_hl7_v2_store_messages(name, import_messages_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
Import messages to the HL7v2 store by loading data from the specified sources.
-
#import_project_location_dataset_fhir_store_history(name, import_resources_history_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
Import resource historical versions from Cloud Storage source to destination fhir store.
-
#ingest_message(parent, ingest_message_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::IngestMessageResponse
Parses and stores an HL7v2 message.
-
#initialize ⇒ CloudHealthcareService
constructor
A new instance of CloudHealthcareService.
-
#list_project_location_dataset_consent_store_attribute_definitions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::ListAttributeDefinitionsResponse
Lists the Attribute definitions in the specified consent store.
-
#list_project_location_dataset_consent_store_consent_artifacts(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::ListConsentArtifactsResponse
Lists the Consent artifacts in the specified consent store.
-
#list_project_location_dataset_consent_store_consent_revisions(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::ListConsentRevisionsResponse
Lists the revisions of the specified Consent in reverse chronological order.
-
#list_project_location_dataset_consent_store_consents(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::ListConsentsResponse
Lists the Consent in the given consent store, returning each Consent's latest revision.
-
#list_project_location_dataset_consent_store_user_data_mappings(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::ListUserDataMappingsResponse
Lists the User data mappings in the specified consent store.
-
#list_project_location_dataset_consent_stores(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::ListConsentStoresResponse
Lists the consent stores in the specified dataset.
-
#list_project_location_dataset_dicom_stores(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::ListDicomStoresResponse
Lists the DICOM stores in the given dataset.
-
#list_project_location_dataset_fhir_stores(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::ListFhirStoresResponse
Lists the FHIR stores in the given dataset.
-
#list_project_location_dataset_hl7_v2_store_messages(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::ListMessagesResponse
Lists all the messages in the given HL7v2 store with support for filtering.
-
#list_project_location_dataset_hl7_v2_stores(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::ListHl7V2StoresResponse
Lists the HL7v2 stores in the given dataset.
-
#list_project_location_dataset_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::ListOperationsResponse
Lists operations that match the specified filter in the request.
-
#list_project_location_datasets(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::ListDatasetsResponse
Lists the health datasets in the current project.
-
#list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::ListLocationsResponse
Lists information about the supported locations for this service.
-
#observation_project_location_dataset_fhir_store_fhir_lastn(parent, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Retrieves the N most recent
Observationresources for a subject matching search criteria specified as query parameters, grouped byObservation.code, sorted from most recent to oldest. -
#patch_project_location_dataset(name, dataset_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Dataset
Updates dataset metadata.
-
#patch_project_location_dataset_consent_store(name, consent_store_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::ConsentStore
Updates the specified consent store.
-
#patch_project_location_dataset_consent_store_attribute_definition(name, attribute_definition_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::AttributeDefinition
Updates the specified Attribute definition.
-
#patch_project_location_dataset_consent_store_consent(name, consent_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Consent
Updates the latest revision of the specified Consent by committing a new revision with the changes.
-
#patch_project_location_dataset_consent_store_user_data_mapping(name, user_data_mapping_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::UserDataMapping
Updates the specified User data mapping.
-
#patch_project_location_dataset_dicom_store(name, dicom_store_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::DicomStore
Updates the specified DICOM store.
-
#patch_project_location_dataset_fhir_store(name, fhir_store_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::FhirStore
Updates the configuration of the specified FHIR store.
-
#patch_project_location_dataset_fhir_store_fhir(name, http_body_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Updates part of an existing resource by applying the operations specified in a JSON Patch document.
-
#patch_project_location_dataset_hl7_v2_store(name, hl7_v2_store_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Hl7V2Store
Updates the HL7v2 store.
-
#patch_project_location_dataset_hl7_v2_store_message(name, message_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Message
Update the message.
-
#patient_project_location_dataset_fhir_store_fhir_consent_enforcement_status(name, _count: nil, _page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Returns the consent enforcement status of all consent resources for a patient.
-
#patient_project_location_dataset_fhir_store_fhir_everything(name, _count: nil, _page_token: nil, _since: nil, _type: nil, end_: nil, start: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Retrieves a Patient resource and resources related to that patient.
-
#query_consent_store_accessible_data(consent_store, query_accessible_data_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
Queries all data_ids that are consented for a specified use in the given consent store and writes them to a specified destination.
-
#read_project_location_dataset_fhir_store_fhir(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Gets the contents of a FHIR resource.
-
#reject_consent(name, reject_consent_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Consent
Rejects the latest revision of the specified Consent by committing a new revision with
stateupdated toREJECTED. -
#resource_project_location_dataset_fhir_store_fhir_incoming_references(parent, _count: nil, _page_token: nil, _summary: nil, _type: nil, target: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Lists all the resources that directly refer to the given target FHIR resource.
-
#resource_project_location_dataset_fhir_store_fhir_purge(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Empty
Deletes all the historical versions of a resource (excluding the current version) from the FHIR store.
-
#resource_project_location_dataset_fhir_store_fhir_validate(parent, type, http_body_object = nil, profile: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Validates an input FHIR resource's conformance to its profiles and the profiles configured on the FHIR store.
-
#retrieve_project_location_dataset_dicom_store_study_metadata(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
RetrieveStudyMetadata returns instance associated with the given study presented as metadata.
-
#retrieve_project_location_dataset_dicom_store_study_series_instance_bulkdatum_bulkdata(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Returns uncompressed, unencoded bytes representing the referenced bulkdata tag from an instance.
-
#retrieve_project_location_dataset_dicom_store_study_series_instance_frame_frames(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
RetrieveFrames returns instances associated with the given study, series, SOP Instance UID and frame numbers.
-
#retrieve_project_location_dataset_dicom_store_study_series_instance_frame_rendered(parent, dicom_web_path, viewport: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
RetrieveRenderedFrames returns instances associated with the given study, series, SOP Instance UID and frame numbers in an acceptable Rendered Media Type.
-
#retrieve_project_location_dataset_dicom_store_study_series_instance_instance(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
RetrieveInstance returns instance associated with the given study, series, and SOP Instance UID.
-
#retrieve_project_location_dataset_dicom_store_study_series_instance_metadata(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
RetrieveInstanceMetadata returns instance associated with the given study, series, and SOP Instance UID presented as metadata.
-
#retrieve_project_location_dataset_dicom_store_study_series_instance_rendered(parent, dicom_web_path, viewport: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
RetrieveRenderedInstance returns instance associated with the given study, series, and SOP Instance UID in an acceptable Rendered Media Type.
-
#retrieve_project_location_dataset_dicom_store_study_series_metadata(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
RetrieveSeriesMetadata returns instance associated with the given study and series, presented as metadata.
-
#retrieve_project_location_dataset_dicom_store_study_series_series(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
RetrieveSeries returns all instances within the given study and series.
-
#retrieve_project_location_dataset_dicom_store_study_study(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
RetrieveStudy returns all instances within the given study.
-
#revoke_consent(name, revoke_consent_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Consent
Revokes the latest revision of the specified Consent by committing a new revision with
stateupdated toREVOKED. -
#rollback_fhir_store_fhir_resources(name, rollback_fhir_resources_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
Rolls back resources from the FHIR store to the specified time.
-
#rollback_hl7_v2_store_hl7_v2_messages(name, rollback_hl7_v2_messages_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
Rolls back messages from the HL7v2 store to the specified time.
-
#search_fhir_resources(parent, http_body_object = nil, resource_type: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Searches for resources in the given FHIR store according to criteria specified as query parameters.
-
#search_project_location_dataset_dicom_store_for_instances(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
SearchForInstances returns a list of matching instances.
-
#search_project_location_dataset_dicom_store_for_series(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
SearchForSeries returns a list of matching series.
-
#search_project_location_dataset_dicom_store_for_studies(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
SearchForStudies returns a list of matching studies.
-
#search_project_location_dataset_dicom_store_study_for_instances(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
SearchForInstances returns a list of matching instances.
-
#search_project_location_dataset_dicom_store_study_for_series(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
SearchForSeries returns a list of matching series.
-
#search_project_location_dataset_dicom_store_study_series_for_instances(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
SearchForInstances returns a list of matching instances.
-
#search_project_location_dataset_fhir_store_fhir_type(parent, resource_type, http_body_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Searches for resources in the given FHIR store according to criteria specified as query parameters.
-
#set_consent_store_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Policy
Sets the access control policy on the specified resource.
-
#set_data_mapper_workspace_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Policy
Sets the access control policy on the specified resource.
-
#set_dataset_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Policy
Sets the access control policy on the specified resource.
-
#set_dicom_store_blob_storage_settings(resource, set_blob_storage_settings_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
SetBlobStorageSettings sets the blob storage settings of the specified resources.
-
#set_dicom_store_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Policy
Sets the access control policy on the specified resource.
-
#set_fhir_store_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Policy
Sets the access control policy on the specified resource.
-
#set_hl7_v2_store_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Policy
Sets the access control policy on the specified resource.
-
#set_study_blob_storage_settings(resource, set_blob_storage_settings_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
SetBlobStorageSettings sets the blob storage settings of the specified resources.
-
#store_project_location_dataset_dicom_store_instances(parent, dicom_web_path, http_body_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
StoreInstances stores DICOM instances associated with study instance unique identifiers (SUID).
-
#store_project_location_dataset_dicom_store_study_instances(parent, dicom_web_path, http_body_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
StoreInstances stores DICOM instances associated with study instance unique identifiers (SUID).
-
#test_consent_store_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_data_mapper_workspace_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_dataset_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_dicom_store_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_fhir_store_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_hl7_v2_store_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#update_project_location_dataset_dicom_store_instances(parent, dicom_web_path, http_body_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
UpdateInstances updates DICOM instances associated with study instance unique identifiers (SUID).
-
#update_project_location_dataset_dicom_store_study_instances(parent, dicom_web_path, http_body_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
UpdateInstances updates DICOM instances associated with study instance unique identifiers (SUID).
-
#update_project_location_dataset_dicom_store_study_metadata(parent, dicom_web_path, http_body_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
UpdateStudyMetadata modifies the metadata of all instances in the given study.
-
#update_project_location_dataset_dicom_store_study_series_instance_metadata(parent, dicom_web_path, http_body_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
UpdateInstanceMetadata modifies the metadata of a single instance.
-
#update_project_location_dataset_dicom_store_study_series_metadata(parent, dicom_web_path, http_body_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
UpdateSeriesMetadata modifies the metadata of all instances in the given series.
-
#update_project_location_dataset_fhir_store_fhir(name, http_body_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Updates the entire contents of a resource.
-
#vread_project_location_dataset_fhir_store_fhir(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Gets the contents of a version (current or historical) of a FHIR resource by version ID.
Constructor Details
#initialize ⇒ CloudHealthcareService
Returns a new instance of CloudHealthcareService.
47 48 49 50 51 52 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 47 def initialize super(DEFAULT_ENDPOINT_TEMPLATE, '', client_name: 'google-apis-healthcare_v1beta1', client_version: Google::Apis::HealthcareV1beta1::GEM_VERSION) @batch_path = 'batch' end |
Instance Attribute Details
#key ⇒ String
Returns API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
40 41 42 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 40 def key @key end |
#quota_user ⇒ String
Returns Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
45 46 47 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 45 def quota_user @quota_user end |
Instance Method Details
#activate_consent(name, activate_consent_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Consent
Activates the latest revision of the specified Consent by committing a new
revision with state updated to ACTIVE. If the latest revision of the
specified Consent is in the ACTIVE state, no new revision is committed. A
FAILED_PRECONDITION error occurs if the latest revision of the specified
consent is in the REJECTED or REVOKED state.
1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 1322 def (name, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+name}:activate', ) command.request_representation = Google::Apis::HealthcareV1beta1::ActivateConsentRequest::Representation command.request_object = command.response_representation = Google::Apis::HealthcareV1beta1::Consent::Representation command.response_class = Google::Apis::HealthcareV1beta1::Consent command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#analyze_nlp_entities(nlp_service, analyze_entities_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::AnalyzeEntitiesResponse
Analyze heathcare entity in a document. Its response includes the recognized entity mentions and the relationships between them. AnalyzeEntities uses context aware models to detect entities. This method can only analyze documents written in English.
7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 7480 def analyze_nlp_entities(nlp_service, analyze_entities_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+nlpService}:analyzeEntities', ) command.request_representation = Google::Apis::HealthcareV1beta1::AnalyzeEntitiesRequest::Representation command.request_object = analyze_entities_request_object command.response_representation = Google::Apis::HealthcareV1beta1::AnalyzeEntitiesResponse::Representation command.response_class = Google::Apis::HealthcareV1beta1::AnalyzeEntitiesResponse command.params['nlpService'] = nlp_service unless nlp_service.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#apply_fhir_store_admin_consents(name, apply_admin_consents_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
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. FHIR Consent is not supported in DSTU2 or R5.
3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 3885 def (name, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+name}:applyAdminConsents', ) command.request_representation = Google::Apis::HealthcareV1beta1::ApplyAdminConsentsRequest::Representation command.request_object = command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation command.response_class = Google::Apis::HealthcareV1beta1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#apply_fhir_store_consents(name, apply_consents_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
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. FHIR Consent is not supported in DSTU2 or R5.
3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 3931 def (name, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+name}:applyConsents', ) command.request_representation = Google::Apis::HealthcareV1beta1::ApplyConsentsRequest::Representation command.request_object = command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation command.response_class = Google::Apis::HealthcareV1beta1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#archive_user_data_mapping(name, archive_user_data_mapping_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::ArchiveUserDataMappingResponse
Archives the specified User data mapping.
1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 1746 def archive_user_data_mapping(name, archive_user_data_mapping_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+name}:archive', ) command.request_representation = Google::Apis::HealthcareV1beta1::ArchiveUserDataMappingRequest::Representation command.request_object = archive_user_data_mapping_request_object command.response_representation = Google::Apis::HealthcareV1beta1::ArchiveUserDataMappingResponse::Representation command.response_class = Google::Apis::HealthcareV1beta1::ArchiveUserDataMappingResponse command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#batch_project_location_dataset_hl7_v2_store_message_get(parent, ids: nil, view: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::BatchGetMessagesResponse
Gets multiple messages in the given HL7v2 store.
7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 7047 def (parent, ids: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/messages:batchGet', ) command.response_representation = Google::Apis::HealthcareV1beta1::BatchGetMessagesResponse::Representation command.response_class = Google::Apis::HealthcareV1beta1::BatchGetMessagesResponse command.params['parent'] = parent unless parent.nil? command.query['ids'] = ids unless ids.nil? command.query['view'] = view unless view.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#binary_project_location_dataset_fhir_store_fhir_create(parent, http_body_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Creates a FHIR Binary resource. This method can be used to create a Binary
resource either by using one of the accepted FHIR JSON content types, or as a
raw data stream. If a resource is created with this method using the FHIR
content type this method's behavior is the same as fhir.create. If a resource type other than Binary is used
in the request it's treated in the same way as non-FHIR data (e.g., images,
zip archives, pdf files, documents). When a non-FHIR content type is used in
the request, a Binary resource will be generated, and the uploaded data will
be stored in the content field (DSTU2 and STU3), or the data field (
R4 and R5). The Binary resource's contentType will be filled in using the
value of the Content-Type header, and the securityContext field (not
present in DSTU2) will be populated from the X-Security-Context header if
it exists. At this time securityContext has no special behavior in the Cloud
Healthcare API. Note: the limit on data ingested through this method is 1 GB.
For best performance, use a non-FHIR data type instead of wrapping the data in
a Binary resource. Some of the Healthcare API features, such as exporting to
BigQuery or Pub/Sub notifications
with full resource content, do not support Binary resources that are larger
than 10 MB. In these cases the resource's data field will be omitted.
Instead, the "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
extension will be present to indicate that including the data is unsupported.
On success, an empty 201 Created response is returned. The newly created
resource's ID and version are returned in the Location header. Using Prefer:
representation=resource is not allowed for this method. The definition of the
Binary REST API can be found at https://hl7.org/fhir/binary.html#rest.
4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 4811 def binary_project_location_dataset_fhir_store_fhir_create(parent, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/fhir/Binary', ) command.request_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.request_object = http_body_object command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#binary_project_location_dataset_fhir_store_fhir_read(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Gets the contents of a FHIR Binary resource. This method can be used to
retrieve a Binary resource either by using the FHIR JSON mimetype as the value
for the Accept header, or as a raw data stream. If the FHIR Accept type is
used this method will return a Binary resource with the data base64-encoded,
regardless of how the resource was created. The resource data can be retrieved
in base64-decoded form if the Accept type of the request matches the value of
the resource's contentType field. The definition of the Binary REST API can
be found at https://hl7.org/fhir/binary.html#rest.
4850 4851 4852 4853 4854 4855 4856 4857 4858 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 4850 def binary_project_location_dataset_fhir_store_fhir_read(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#binary_project_location_dataset_fhir_store_fhir_update(name, http_body_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Updates the entire contents of a Binary resource. If the specified resource
does not exist and the FHIR store has enable_update_create set, creates the
resource with the client-specified ID. 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 Pub/Sub notifications. Those IDs can also be contained in
reference fields within other resources. This method can be used to update a
Binary resource either by using one of the accepted FHIR JSON content types,
or as a raw data stream. If a resource is updated with this method using the
FHIR content type this method's behavior is the same as update. If a
resource type other than Binary is used in the request it will be treated in
the same way as non-FHIR data. When a non-FHIR content type is used in the
request, a Binary resource will be generated using the ID from the resource
path, and the uploaded data will be stored in the content field (DSTU2 and
STU3), or the data field (R4 and R5). The Binary resource's
contentType will be filled in using the value of the Content-Type header,
and the securityContext field (not present in DSTU2) will be populated
from the X-Security-Context header if it exists. At this time
securityContext has no special behavior in the Cloud Healthcare API. Note:
the limit on data ingested through this method is 2 GB. For best performance,
use a non-FHIR data type instead of wrapping the data in a Binary resource.
Some of the Healthcare API features, such as exporting to BigQuery or Pub/Sub
notifications with full
resource content, do not support Binary resources that are larger than 10 MB.
In these cases the resource's data field will be omitted. Instead, the "http:
//hl7.org/fhir/StructureDefinition/data-absent-reason" extension will be
present to indicate that including the data is unsupported. On success, an
empty 200 OK response will be returned, or a 201 Created if the resource did
not exit. The resource's ID and version are returned in the Location header.
Using Prefer: representation=resource is not allowed for this method. The
definition of the Binary REST API can be found at https://hl7.org/fhir/binary.
html#rest.
4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 4914 def binary_project_location_dataset_fhir_store_fhir_update(name, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.request_object = http_body_object command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#binary_project_location_dataset_fhir_store_fhir_vread(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Gets the contents of a version (current or historical) of a FHIR Binary
resource by version ID. This method can be used to retrieve a Binary resource
version either by using the FHIR JSON mimetype as the value for the Accept
header, or as a raw data stream. If the FHIR Accept type is used this method
will return a Binary resource with the data base64-encoded, regardless of how
the resource version was created. The resource data can be retrieved in base64-
decoded form if the Accept type of the request matches the value of the
resource version's contentType field. The definition of the Binary REST API
can be found at https://hl7.org/fhir/binary.html#rest.
4954 4955 4956 4957 4958 4959 4960 4961 4962 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 4954 def binary_project_location_dataset_fhir_store_fhir_vread(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#bulk_project_location_dataset_fhir_store_export_group(name, _since: nil, _type: nil, organize_output_by: nil, output_format: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
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 toPatient. 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, theContent-Locationheader of response is set to a URL that you can use to query the status of the export. The URL is in the formatprojects/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-encodedOperationOutcome` resource describing the reason for the error.
4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 4017 def bulk_project_location_dataset_fhir_store_export_group(name, _since: nil, _type: nil, organize_output_by: nil, output_format: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}/$export', ) command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['name'] = name unless name.nil? command.query['_since'] = _since unless _since.nil? command.query['_type'] = _type unless _type.nil? command.query['organizeOutputBy'] = organize_output_by unless organize_output_by.nil? command.query['outputFormat'] = output_format unless output_format.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#bulk_project_location_dataset_fhir_store_fhir_export(name, _since: nil, _type: nil, output_format: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Bulk exports all resources from the FHIR store to the specified destination.
Implements the FHIR implementation guide system level $export. 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 torespond-asyncbecause 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 the resources of the specified type(s) are exported. *_since: if provided, only the resources that are 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. On success, theContent-Locationheader of the response is set to a URL that the user 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-encodedOperationOutcome` resource describing the reason for the error.
5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 5593 def bulk_project_location_dataset_fhir_store_fhir_export(name, _since: nil, _type: nil, output_format: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}/fhir/$export', ) command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['name'] = name unless name.nil? command.query['_since'] = _since unless _since.nil? command.query['_type'] = _type unless _type.nil? command.query['outputFormat'] = output_format unless output_format.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Empty
Starts asynchronous cancellation on a long-running operation. The server makes
a best effort to cancel the operation, but success is not guaranteed. If the
server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.
Clients can use Operations.GetOperation or other methods to check whether the
cancellation succeeded or whether the operation completed despite cancellation.
On successful cancellation, the operation is not deleted; instead, it becomes
an operation with an Operation.error value with a google.rpc.Status.code of 1
, corresponding to Code.CANCELLED.
7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 7363 def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+name}:cancel', ) command.request_representation = Google::Apis::HealthcareV1beta1::CancelOperationRequest::Representation command.request_object = cancel_operation_request_object command.response_representation = Google::Apis::HealthcareV1beta1::Empty::Representation command.response_class = Google::Apis::HealthcareV1beta1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#capabilities_project_location_dataset_fhir_store_fhir(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Gets the FHIR capability statement (STU3, R4, R5), or the
conformance statement in the
DSTU2 case for the store, which contains a description of functionality
supported by the server. Implements the FHIR standard capabilities interaction
(STU3, R4, R5), or the conformance interaction in the DSTU2 case. On success, the response body
contains a JSON-encoded representation of a CapabilityStatement resource.
5636 5637 5638 5639 5640 5641 5642 5643 5644 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 5636 def capabilities_project_location_dataset_fhir_store_fhir(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}/fhir/metadata', ) command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#check_consent_store_data_access(consent_store, check_data_access_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::CheckDataAccessResponse
Checks if a particular data_id of a User data mapping in the specified consent store is consented for the specified use.
499 500 501 502 503 504 505 506 507 508 509 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 499 def (, check_data_access_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+consentStore}:checkDataAccess', ) command.request_representation = Google::Apis::HealthcareV1beta1::CheckDataAccessRequest::Representation command.request_object = check_data_access_request_object command.response_representation = Google::Apis::HealthcareV1beta1::CheckDataAccessResponse::Representation command.response_class = Google::Apis::HealthcareV1beta1::CheckDataAccessResponse command.params['consentStore'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#concept_project_location_dataset_fhir_store_fhir_map_search_translate(parent, code: nil, concept_map_version: nil, source: nil, system: nil, target: nil, url: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Translates a code from one value set to another by searching for appropriate
concept maps. Implements the FHIR standard $translate operation (DSTU2, STU3, R4, R5). On success, the response body
contains a JSON-encoded representation of a FHIR Parameters resource, which
includes the translation result. 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.
5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 5011 def concept_project_location_dataset_fhir_store_fhir_map_search_translate(parent, code: nil, concept_map_version: nil, source: nil, system: nil, target: nil, url: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/fhir/ConceptMap/$translate', ) command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['parent'] = parent unless parent.nil? command.query['code'] = code unless code.nil? command.query['conceptMapVersion'] = concept_map_version unless concept_map_version.nil? command.query['source'] = source unless source.nil? command.query['system'] = system unless system.nil? command.query['target'] = target unless target.nil? command.query['url'] = url unless url.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#concept_project_location_dataset_fhir_store_fhir_map_translate(name, code: nil, concept_map_version: nil, system: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Translates a code from one value set to another using a concept map. You can
provide your own concept maps to translate any code system to another code
system. Implements the FHIR standard $translate operation (DSTU2, STU3, R4), R5). On success, the response body
contains a JSON-encoded representation of a FHIR Parameters resource, which
includes the translation result. 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.
5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 5065 def concept_project_location_dataset_fhir_store_fhir_map_translate(name, code: nil, concept_map_version: nil, system: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}/$translate', ) command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['name'] = name unless name.nil? command.query['code'] = code unless code.nil? command.query['conceptMapVersion'] = concept_map_version unless concept_map_version.nil? command.query['system'] = system unless system.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#conditional_project_location_dataset_fhir_store_fhir_delete(parent, type, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Empty
Deletes FHIR resources that match a search query. Implements the FHIR standard
conditional delete interaction (DSTU2, STU3, R4, R5). If multiple resources match, all matching resources are deleted.
Search terms are provided as query parameters following the same pattern as
the search method. Not all FHIR resources that match the search query might be
deleted because, by default, a maximum of 100 FHIR resources can be deleted.
The number of FHIR resources that can be deleted depends on the page size of
the returned resources, which you can control using the _count query
parameter. Even when using _count, you can delete a maximum 1,000 FHIR
resources per each call of conditionalDelete. Note: Unless resource
versioning is disabled by setting the disable_resource_versioning flag on the
FHIR store, the deleted resources are moved to a history repository that can
still be retrieved through vread and related methods, unless they are removed
by the purge method. This method requires thehealthcare.fhirStores.
searchResources and healthcare.fhirResources.delete permissions on the
parent FHIR store. For samples that show how to call conditionalDelete, see
Conditionally deleting a FHIR resource.
5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 5691 def conditional_project_location_dataset_fhir_store_fhir_delete(parent, type, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+parent}/fhir/{+type}', ) command.response_representation = Google::Apis::HealthcareV1beta1::Empty::Representation command.response_class = Google::Apis::HealthcareV1beta1::Empty command.params['parent'] = parent unless parent.nil? command.params['type'] = type unless type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#conditional_project_location_dataset_fhir_store_fhir_patch(parent, type, http_body_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
If a resource is found based on the search criteria specified in the query
parameters, updates part of that resource by applying the operations specified
in a JSON Patch document. Implements the FHIR
standard conditional patch interaction (STU3, R4, R5). DSTU2 doesn't define a conditional patch method,
but the server supports it in the same way it supports STU3. Search terms are
provided as query parameters following the same pattern as the search method.
If the search criteria identify more than one match, the request returns a
412 Precondition Failed error. If the search criteria doesn't identify any
matches, the request returns a 404 Not Found error. The request body must
contain a JSON Patch document, and the request headers must contain Content-
Type: application/json-patch+json. On success, the response body contains a
JSON-encoded representation of the updated resource, including the server-
assigned version ID. 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. This method requires thehealthcare.
fhirStores.searchResources permission on the parent FHIR store and the
healthcare.fhirResources.patch permission on the requested FHIR store
resource. For samples that show how to call conditionalPatch, see
Conditionally patching a FHIR resource.
5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 5751 def conditional_project_location_dataset_fhir_store_fhir_patch(parent, type, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta1/{+parent}/fhir/{+type}', ) command.request_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.request_object = http_body_object command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['parent'] = parent unless parent.nil? command.params['type'] = type unless type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#conditional_project_location_dataset_fhir_store_fhir_update(parent, type, http_body_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
If a resource is found based on the search criteria specified in the query
parameters, updates the entire contents of that resource. Implements the FHIR
standard conditional update interaction (DSTU2, STU3,
R4, R5). Search terms are provided as query parameters
following the same pattern as the search method. If the search criteria
identify more than one match, the request returns a 412 Precondition Failed
error. If the search criteria identify zero matches, and the supplied resource
body contains an id, and the FHIR store has enable_update_create set,
creates the resource with the client-specified ID. 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 Pub/Sub notifications. Those IDs can also be contained
in reference fields within other resources. If the search criteria identify
zero matches, and the supplied resource body does not contain an id, the
resource is created with a server-assigned ID as per the create method. The
request body must contain a JSON-encoded FHIR resource, and the request
headers must contain Content-Type: application/fhir+json. On success, the
response body contains a JSON-encoded representation of the updated resource,
including the server-assigned version ID. 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. This method requires the
healthcare.fhirStores.searchResources and healthcare.fhirResources.update
permissions on the parent FHIR store. For samples that show how to call
conditionalUpdate, see Conditionally updating a FHIR resource.
5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 5819 def conditional_project_location_dataset_fhir_store_fhir_update(parent, type, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'v1beta1/{+parent}/fhir/{+type}', ) command.request_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.request_object = http_body_object command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['parent'] = parent unless parent.nil? command.params['type'] = type unless type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#configure_fhir_store_search(name, configure_search_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
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.
4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 4060 def configure_fhir_store_search(name, configure_search_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+name}:configureSearch', ) command.request_representation = Google::Apis::HealthcareV1beta1::ConfigureSearchRequest::Representation command.request_object = configure_search_request_object command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation command.response_class = Google::Apis::HealthcareV1beta1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#consent_project_location_dataset_fhir_store_fhir_enforcement_status(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Returns the consent enforcement status of a single consent resource. On
success, the response body contains a JSON-encoded representation of a
Parameters (http://hl7.org/fhir/parameters.html) FHIR resource, containing
the current enforcement status. Does not support DSTU2.
5103 5104 5105 5106 5107 5108 5109 5110 5111 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 5103 def (name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}/$consent-enforcement-status', ) command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_message(parent, create_message_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Message
Parses and stores an HL7v2 message. This method triggers an asynchronous notification to any Pub/Sub topic configured in Hl7V2Store. Hl7V2NotificationConfig, if the filtering matches the message. If an MLLP adapter is configured to listen to a Pub/Sub topic, the adapter transmits the message when a notification is received.
7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 7084 def (parent, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/messages', ) command.request_representation = Google::Apis::HealthcareV1beta1::CreateMessageRequest::Representation command.request_object = command.response_representation = Google::Apis::HealthcareV1beta1::Message::Representation command.response_class = Google::Apis::HealthcareV1beta1::Message command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_dataset(parent, dataset_object = nil, dataset_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
Creates a new health dataset. Results are returned through the Operation
interface which returns either an Operation.response which contains a
Dataset or Operation.error. The metadata field type is OperationMetadata.
158 159 160 161 162 163 164 165 166 167 168 169 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 158 def create_project_location_dataset(parent, dataset_object = nil, dataset_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/datasets', ) command.request_representation = Google::Apis::HealthcareV1beta1::Dataset::Representation command.request_object = dataset_object command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation command.response_class = Google::Apis::HealthcareV1beta1::Operation command.params['parent'] = parent unless parent.nil? command.query['datasetId'] = dataset_id unless dataset_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_dataset_consent_store(parent, consent_store_object = nil, consent_store_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::ConsentStore
Creates a new consent store in the parent dataset. Attempting to create a consent store with the same ID as an existing store fails with an ALREADY_EXISTS error.
537 538 539 540 541 542 543 544 545 546 547 548 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 537 def (parent, = nil, consent_store_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/consentStores', ) command.request_representation = Google::Apis::HealthcareV1beta1::ConsentStore::Representation command.request_object = command.response_representation = Google::Apis::HealthcareV1beta1::ConsentStore::Representation command.response_class = Google::Apis::HealthcareV1beta1::ConsentStore command.params['parent'] = parent unless parent.nil? command.query['consentStoreId'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_dataset_consent_store_attribute_definition(parent, attribute_definition_object = nil, attribute_definition_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::AttributeDefinition
Creates a new Attribute definition in the parent consent store.
952 953 954 955 956 957 958 959 960 961 962 963 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 952 def (parent, attribute_definition_object = nil, attribute_definition_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/attributeDefinitions', ) command.request_representation = Google::Apis::HealthcareV1beta1::AttributeDefinition::Representation command.request_object = attribute_definition_object command.response_representation = Google::Apis::HealthcareV1beta1::AttributeDefinition::Representation command.response_class = Google::Apis::HealthcareV1beta1::AttributeDefinition command.params['parent'] = parent unless parent.nil? command.query['attributeDefinitionId'] = attribute_definition_id unless attribute_definition_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_dataset_consent_store_consent(parent, consent_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Consent
Creates a new Consent in the parent consent store.
1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 1355 def (parent, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/consents', ) command.request_representation = Google::Apis::HealthcareV1beta1::Consent::Representation command.request_object = command.response_representation = Google::Apis::HealthcareV1beta1::Consent::Representation command.response_class = Google::Apis::HealthcareV1beta1::Consent command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_dataset_consent_store_consent_artifact(parent, consent_artifact_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::ConsentArtifact
Creates a new Consent artifact in the parent consent store.
1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 1155 def (parent, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/consentArtifacts', ) command.request_representation = Google::Apis::HealthcareV1beta1::ConsentArtifact::Representation command.request_object = command.response_representation = Google::Apis::HealthcareV1beta1::ConsentArtifact::Representation command.response_class = Google::Apis::HealthcareV1beta1::ConsentArtifact command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_dataset_consent_store_user_data_mapping(parent, user_data_mapping_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::UserDataMapping
Creates a new User data mapping in the parent consent store.
1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 1779 def (parent, user_data_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/userDataMappings', ) command.request_representation = Google::Apis::HealthcareV1beta1::UserDataMapping::Representation command.request_object = user_data_mapping_object command.response_representation = Google::Apis::HealthcareV1beta1::UserDataMapping::Representation command.response_class = Google::Apis::HealthcareV1beta1::UserDataMapping command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_dataset_dicom_store(parent, dicom_store_object = nil, dicom_store_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::DicomStore
Creates a new DICOM store within the parent dataset.
2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 2100 def create_project_location_dataset_dicom_store(parent, dicom_store_object = nil, dicom_store_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/dicomStores', ) command.request_representation = Google::Apis::HealthcareV1beta1::DicomStore::Representation command.request_object = dicom_store_object command.response_representation = Google::Apis::HealthcareV1beta1::DicomStore::Representation command.response_class = Google::Apis::HealthcareV1beta1::DicomStore command.params['parent'] = parent unless parent.nil? command.query['dicomStoreId'] = dicom_store_id unless dicom_store_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_dataset_fhir_store(parent, fhir_store_object = nil, fhir_store_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::FhirStore
Creates a new FHIR store within the parent dataset.
4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 4096 def create_project_location_dataset_fhir_store(parent, fhir_store_object = nil, fhir_store_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/fhirStores', ) command.request_representation = Google::Apis::HealthcareV1beta1::FhirStore::Representation command.request_object = fhir_store_object command.response_representation = Google::Apis::HealthcareV1beta1::FhirStore::Representation command.response_class = Google::Apis::HealthcareV1beta1::FhirStore command.params['parent'] = parent unless parent.nil? command.query['fhirStoreId'] = fhir_store_id unless fhir_store_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_dataset_fhir_store_fhir(parent, type, http_body_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Creates a FHIR resource. Implements the FHIR standard create interaction (
DSTU2, STU3, R4),
R5), which creates a new resource
with a server-assigned resource ID. Also supports the FHIR standard
conditional create interaction (DSTU2, STU3, R4), R5), specified by supplying an If-None-Exist header containing a FHIR
search query. If no resources match this search query, the server processes
the create operation as normal. The request body must contain a JSON-encoded
FHIR resource, and the request headers must contain Content-Type: application/
fhir+json. On success, the response body contains a JSON-encoded
representation of the resource as it was created on the server, including the
server-assigned resource ID and version ID. 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. For samples that show
how to call create, see Creating a FHIR resource.
5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 5878 def create_project_location_dataset_fhir_store_fhir(parent, type, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/fhir/{+type}', ) command.request_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.request_object = http_body_object command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['parent'] = parent unless parent.nil? command.params['type'] = type unless type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_dataset_hl7_v2_store(parent, hl7_v2_store_object = nil, hl7_v2_store_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Hl7V2Store
Creates a new HL7v2 store within the parent dataset.
6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 6550 def create_project_location_dataset_hl7_v2_store(parent, hl7_v2_store_object = nil, hl7_v2_store_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/hl7V2Stores', ) command.request_representation = Google::Apis::HealthcareV1beta1::Hl7V2Store::Representation command.request_object = hl7_v2_store_object command.response_representation = Google::Apis::HealthcareV1beta1::Hl7V2Store::Representation command.response_class = Google::Apis::HealthcareV1beta1::Hl7V2Store command.params['parent'] = parent unless parent.nil? command.query['hl7V2StoreId'] = hl7_v2_store_id unless hl7_v2_store_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#deidentify_dataset(source_dataset, deidentify_dataset_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
Creates a new dataset containing de-identified data from the source dataset. The metadata field type is OperationMetadata. If the request is successful, the response field type is DeidentifySummary. The LRO result may still be successful if de-identification fails for some resources. The new de- identified dataset will not contain these failed resources. 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.
201 202 203 204 205 206 207 208 209 210 211 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 201 def deidentify_dataset(source_dataset, deidentify_dataset_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+sourceDataset}:deidentify', ) command.request_representation = Google::Apis::HealthcareV1beta1::DeidentifyDatasetRequest::Representation command.request_object = deidentify_dataset_request_object command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation command.response_class = Google::Apis::HealthcareV1beta1::Operation command.params['sourceDataset'] = source_dataset unless source_dataset.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#deidentify_dicom_store(source_store, deidentify_dicom_store_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
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 DeidentifyDicomStoreSummary. The LRO result may still be successful if de-identification fails for some DICOM instances. The output DICOM store will not contain these failed resources. 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.
2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 2142 def deidentify_dicom_store(source_store, deidentify_dicom_store_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+sourceStore}:deidentify', ) command.request_representation = Google::Apis::HealthcareV1beta1::DeidentifyDicomStoreRequest::Representation command.request_object = deidentify_dicom_store_request_object command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation command.response_class = Google::Apis::HealthcareV1beta1::Operation command.params['sourceStore'] = source_store unless source_store.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#deidentify_fhir_store(source_store, deidentify_fhir_store_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
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.
4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 4137 def deidentify_fhir_store(source_store, deidentify_fhir_store_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+sourceStore}:deidentify', ) command.request_representation = Google::Apis::HealthcareV1beta1::DeidentifyFhirStoreRequest::Representation command.request_object = deidentify_fhir_store_request_object command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation command.response_class = Google::Apis::HealthcareV1beta1::Operation command.params['sourceStore'] = source_store unless source_store.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_dataset(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Empty
Deletes the specified health dataset and all data contained in the dataset. Deleting a dataset does not affect the sources from which the dataset was imported (if any).
236 237 238 239 240 241 242 243 244 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 236 def delete_project_location_dataset(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::HealthcareV1beta1::Empty::Representation command.response_class = Google::Apis::HealthcareV1beta1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_dataset_consent_store(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Empty
Deletes the specified consent store and removes all the consent store's data.
570 571 572 573 574 575 576 577 578 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 570 def (name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::HealthcareV1beta1::Empty::Representation command.response_class = Google::Apis::HealthcareV1beta1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_dataset_consent_store_attribute_definition(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Empty
Deletes the specified Attribute definition. Fails if the Attribute definition is referenced by any User data mapping, or the latest revision of any Consent.
988 989 990 991 992 993 994 995 996 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 988 def (name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::HealthcareV1beta1::Empty::Representation command.response_class = Google::Apis::HealthcareV1beta1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_dataset_consent_store_consent(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Empty
Deletes the Consent and its revisions. To keep a record of the Consent but mark it inactive, see [RevokeConsent]. To delete a revision of a Consent, see [ DeleteConsentRevision]. This operation does not delete the related Consent artifact.
1393 1394 1395 1396 1397 1398 1399 1400 1401 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 1393 def (name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::HealthcareV1beta1::Empty::Representation command.response_class = Google::Apis::HealthcareV1beta1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_dataset_consent_store_consent_artifact(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Empty
Deletes the specified Consent artifact. Fails if the artifact is referenced by the latest revision of any Consent.
1190 1191 1192 1193 1194 1195 1196 1197 1198 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 1190 def (name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::HealthcareV1beta1::Empty::Representation command.response_class = Google::Apis::HealthcareV1beta1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_dataset_consent_store_consent_revision(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Empty
Deletes the specified revision of a Consent. An INVALID_ARGUMENT error occurs if the specified revision is the latest revision.
1427 1428 1429 1430 1431 1432 1433 1434 1435 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 1427 def (name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}:deleteRevision', ) command.response_representation = Google::Apis::HealthcareV1beta1::Empty::Representation command.response_class = Google::Apis::HealthcareV1beta1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_dataset_consent_store_user_data_mapping(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Empty
Deletes the specified User data mapping.
1811 1812 1813 1814 1815 1816 1817 1818 1819 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 1811 def (name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::HealthcareV1beta1::Empty::Representation command.response_class = Google::Apis::HealthcareV1beta1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_dataset_dicom_store(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Empty
Deletes the specified DICOM store and removes all images that are contained within it.
2175 2176 2177 2178 2179 2180 2181 2182 2183 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 2175 def delete_project_location_dataset_dicom_store(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::HealthcareV1beta1::Empty::Representation command.response_class = Google::Apis::HealthcareV1beta1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_dataset_dicom_store_study(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
DeleteStudy deletes all instances within the given study using a long running operation. The method returns an Operation which will be marked successful when the deletion is complete. Warning: Instances cannot be inserted into a study that is being deleted by an operation until the operation completes. For samples that show how to call DeleteStudy, see Delete a study, series, or instance.
2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 2968 def delete_project_location_dataset_dicom_store_study(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', ) command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation command.response_class = Google::Apis::HealthcareV1beta1::Operation command.params['parent'] = parent unless parent.nil? command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_dataset_dicom_store_study_series(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
DeleteSeries deletes all instances within the given study and series using a long running operation. The method returns an Operation which will be marked successful when the deletion is complete. Warning: Instances cannot be inserted into a series that is being deleted by an operation until the operation completes. For samples that show how to call DeleteSeries, see Delete a study, series, or instance.
3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 3309 def delete_project_location_dataset_dicom_store_study_series(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', ) command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation command.response_class = Google::Apis::HealthcareV1beta1::Operation command.params['parent'] = parent unless parent.nil? command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_dataset_dicom_store_study_series_instance(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Empty
DeleteInstance deletes an instance associated with the given study, series, and SOP Instance UID. Delete requests are equivalent to the GET requests specified in the Retrieve transaction. Study and series search results can take a few seconds to be updated after an instance is deleted using DeleteInstance. For samples that show how to call DeleteInstance, see Delete a study, series, or instance.
3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 3522 def delete_project_location_dataset_dicom_store_study_series_instance(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', ) command.response_representation = Google::Apis::HealthcareV1beta1::Empty::Representation command.response_class = Google::Apis::HealthcareV1beta1::Empty command.params['parent'] = parent unless parent.nil? command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_dataset_fhir_store(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Empty
Deletes the specified FHIR store and removes all resources within it.
4169 4170 4171 4172 4173 4174 4175 4176 4177 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 4169 def delete_project_location_dataset_fhir_store(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::HealthcareV1beta1::Empty::Representation command.response_class = Google::Apis::HealthcareV1beta1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_dataset_fhir_store_fhir(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Deletes a FHIR resource. Implements the FHIR standard delete interaction (
DSTU2, STU3, R4,
R5). Note: Unless resource
versioning is disabled by setting the disable_resource_versioning flag on the
FHIR store, the deleted resources are moved to a history repository that can
still be retrieved through vread and related methods, unless they are removed
by the purge method. For samples that show how to call delete, see Deleting
a FHIR resource.
5920 5921 5922 5923 5924 5925 5926 5927 5928 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 5920 def delete_project_location_dataset_fhir_store_fhir(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_dataset_fhir_store_operation_fhir_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Deletes operations as defined in the FHIR specification. Implements the FHIR implementation guide bulk data delete request. Returns success if the operation was successfully cancelled. If the operation is complete, or has already been cancelled, returns an error response.
6475 6476 6477 6478 6479 6480 6481 6482 6483 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 6475 def delete_project_location_dataset_fhir_store_operation_fhir_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_dataset_hl7_v2_store(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Empty
Deletes the specified HL7v2 store and removes all messages that it contains.
6583 6584 6585 6586 6587 6588 6589 6590 6591 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 6583 def delete_project_location_dataset_hl7_v2_store(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::HealthcareV1beta1::Empty::Representation command.response_class = Google::Apis::HealthcareV1beta1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_dataset_hl7_v2_store_message(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Empty
Deletes an HL7v2 message.
7116 7117 7118 7119 7120 7121 7122 7123 7124 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 7116 def (name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::HealthcareV1beta1::Empty::Representation command.response_class = Google::Apis::HealthcareV1beta1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#encounter_project_location_dataset_fhir_store_fhir_everything(name, _count: nil, _page_token: nil, _since: nil, _type: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Retrieves an Encounter resource and resources related to that Encounter.
Implements the FHIR extended operation Encounter-everything (DSTU2, STU3, R4, or R5). 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. The resources in scope
for the response are: * The Encounter resource itself. * All the resources
directly referenced by the Encounter resource, including attachments and
binaries. * Resources directly referencing the Encounter resource that meet
the inclusion criteria. The inclusion criteria are based on the membership
rules in the Encounter Compartment definition (DSTU2, STU3, R4, R5), which details the eligible resource
types and referencing search parameters. * Resources referencing to the
Encounter resource through the "http://hl7.org/fhir/StructureDefinition/
encounter-associatedEncounter" extension.
5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 5175 def encounter_project_location_dataset_fhir_store_fhir_everything(name, _count: nil, _page_token: nil, _since: nil, _type: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}/$everything', ) command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['name'] = name unless name.nil? command.query['_count'] = _count unless _count.nil? command.query['_page_token'] = _page_token unless _page_token.nil? command.query['_since'] = _since unless _since.nil? command.query['_type'] = _type unless _type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#evaluate_consent_store_user_consents(consent_store, evaluate_user_consents_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::EvaluateUserConsentsResponse
Evaluates the user's Consents for all matching User data mappings. Note: User data mappings are indexed asynchronously, which can cause a slight delay between the time mappings are created or updated and when they are included in EvaluateUserConsents results.
604 605 606 607 608 609 610 611 612 613 614 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 604 def (, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+consentStore}:evaluateUserConsents', ) command.request_representation = Google::Apis::HealthcareV1beta1::EvaluateUserConsentsRequest::Representation command.request_object = command.response_representation = Google::Apis::HealthcareV1beta1::EvaluateUserConsentsResponse::Representation command.response_class = Google::Apis::HealthcareV1beta1::EvaluateUserConsentsResponse command.params['consentStore'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#execute_project_location_dataset_fhir_store_fhir_bundle(parent, http_body_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Executes all the requests in the given Bundle. Implements the FHIR standard
batch/transaction interaction and history operations. (DSTU2, STU3, R4, R5). Supports all interactions within a
bundle, except search. This method accepts Bundles of type batch,
transaction and history, processing batch and transaction bundles
according to the batch processing rules (DSTU2, STU3,
R4, R5) and transaction processing rules (DSTU2, STU3, R4, R5). The request body must contain a JSON-encoded
FHIR Bundle resource, and the request headers must contain Content-Type:
application/fhir+json. For a batch bundle or a successful transaction, the
response body contains a JSON-encoded representation of a Bundle resource of
type batch-response or transaction-response containing one entry for each
entry in the request, with the outcome of processing the entry. In the case of
an error for a transaction or history bundle, the response body contains 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. This method checks permissions
for each request in the bundle. The executeBundle permission is required to
call this method, but you must also grant sufficient permissions to execute
the individual requests in the bundle. For example, if the bundle contains a
request to create a FHIR resource, the caller must also have been granted the
healthcare.fhirResources.create permission. history bundles also check the
import permission. You can use audit logs to view the permissions for
executeBundle and each request in the bundle. For more information, see
Viewing Cloud Audit logs. For samples that show how to call executeBundle, see
Managing FHIR resources using FHIR bundles.
5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 5984 def execute_project_location_dataset_fhir_store_fhir_bundle(parent, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/fhir', ) command.request_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.request_object = http_body_object command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#explain_project_location_dataset_fhir_store_data_access(name, resource_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::ExplainDataAccessResponse
Explains all the permitted/denied actor, purpose and environment for a given resource. FHIR Consent is not supported in DSTU2 or R5.
4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 4205 def explain_project_location_dataset_fhir_store_data_access(name, resource_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}:explainDataAccess', ) command.response_representation = Google::Apis::HealthcareV1beta1::ExplainDataAccessResponse::Representation command.response_class = Google::Apis::HealthcareV1beta1::ExplainDataAccessResponse command.params['name'] = name unless name.nil? command.query['resourceId'] = resource_id unless resource_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#export_dicom_store_dicom_data(name, export_dicom_data_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
Exports data to the specified destination by copying it from the DICOM store. Errors are also logged to Cloud Logging. For more information, see Viewing errors in Cloud Logging. The metadata field type is OperationMetadata.
2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 2211 def export_dicom_store_dicom_data(name, export_dicom_data_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+name}:export', ) command.request_representation = Google::Apis::HealthcareV1beta1::ExportDicomDataRequest::Representation command.request_object = export_dicom_data_request_object command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation command.response_class = Google::Apis::HealthcareV1beta1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#export_fhir_store_resources(name, export_resources_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
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. To improve performance, it is recommended to make the
type filter as specific as possible, including only the resource types that
are absolutely needed. This minimizes the size of the initial dataset to be
processed and is the most effective way to improve performance. While post-
filters like _since are useful for refining results, they do not speed up
the initial data retrieval phase, which is primarily governed by the type
filter. 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.
4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 4252 def export_fhir_store_resources(name, export_resources_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+name}:export', ) command.request_representation = Google::Apis::HealthcareV1beta1::ExportResourcesRequest::Representation command.request_object = export_resources_request_object command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation command.response_class = Google::Apis::HealthcareV1beta1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#export_hl7_v2_store_messages(name, export_messages_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
Exports the messages to a destination. To filter messages to be exported, define a filter using the start and end time, relative to the message generation time (MSH.7). This API returns an Operation that can be used to track the status of the job by calling GetOperation. Immediate fatal errors appear in the error field. Otherwise, when the operation finishes, a detailed response of type ExportMessagesResponse is returned in the response field. The metadata field type for this operation is OperationMetadata.
6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 6622 def (name, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+name}:export', ) command.request_representation = Google::Apis::HealthcareV1beta1::ExportMessagesRequest::Representation command.request_object = command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation command.response_class = Google::Apis::HealthcareV1beta1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#export_project_location_dataset_fhir_store_history(name, export_resources_history_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
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.
4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 4296 def export_project_location_dataset_fhir_store_history(name, export_resources_history_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+name}:exportHistory', ) command.request_representation = Google::Apis::HealthcareV1beta1::ExportResourcesHistoryRequest::Representation command.request_object = export_resources_history_request_object command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation command.response_class = Google::Apis::HealthcareV1beta1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Location
Gets information about a location.
74 75 76 77 78 79 80 81 82 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 74 def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::HealthcareV1beta1::Location::Representation command.response_class = Google::Apis::HealthcareV1beta1::Location command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_dataset(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Dataset
Gets any metadata associated with a dataset.
267 268 269 270 271 272 273 274 275 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 267 def get_project_location_dataset(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::HealthcareV1beta1::Dataset::Representation command.response_class = Google::Apis::HealthcareV1beta1::Dataset command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_dataset_consent_store(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::ConsentStore
Gets the specified consent store.
636 637 638 639 640 641 642 643 644 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 636 def (name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::HealthcareV1beta1::ConsentStore::Representation command.response_class = Google::Apis::HealthcareV1beta1::ConsentStore command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_dataset_consent_store_attribute_definition(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::AttributeDefinition
Gets the specified Attribute definition.
1018 1019 1020 1021 1022 1023 1024 1025 1026 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 1018 def (name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::HealthcareV1beta1::AttributeDefinition::Representation command.response_class = Google::Apis::HealthcareV1beta1::AttributeDefinition command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_dataset_consent_store_consent(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Consent
Gets the specified revision of a Consent, or the latest revision if
revision_id is not specified in the resource name.
1463 1464 1465 1466 1467 1468 1469 1470 1471 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 1463 def (name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::HealthcareV1beta1::Consent::Representation command.response_class = Google::Apis::HealthcareV1beta1::Consent command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_dataset_consent_store_consent_artifact(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::ConsentArtifact
Gets the specified Consent artifact.
1220 1221 1222 1223 1224 1225 1226 1227 1228 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 1220 def (name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::HealthcareV1beta1::ConsentArtifact::Representation command.response_class = Google::Apis::HealthcareV1beta1::ConsentArtifact command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_dataset_consent_store_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
680 681 682 683 684 685 686 687 688 689 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 680 def (resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::HealthcareV1beta1::Policy::Representation command.response_class = Google::Apis::HealthcareV1beta1::Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_dataset_consent_store_user_data_mapping(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::UserDataMapping
Gets the specified User data mapping.
1841 1842 1843 1844 1845 1846 1847 1848 1849 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 1841 def (name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::HealthcareV1beta1::UserDataMapping::Representation command.response_class = Google::Apis::HealthcareV1beta1::UserDataMapping command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_dataset_data_mapper_workspace_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 1989 def get_project_location_dataset_data_mapper_workspace_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::HealthcareV1beta1::Policy::Representation command.response_class = Google::Apis::HealthcareV1beta1::Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_dataset_dicom_store(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::DicomStore
Gets the specified DICOM store.
2243 2244 2245 2246 2247 2248 2249 2250 2251 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 2243 def get_project_location_dataset_dicom_store(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::HealthcareV1beta1::DicomStore::Representation command.response_class = Google::Apis::HealthcareV1beta1::DicomStore command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_dataset_dicom_store_dicom_store_metrics(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::DicomStoreMetrics
Gets metrics associated with the DICOM store.
2273 2274 2275 2276 2277 2278 2279 2280 2281 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 2273 def get_project_location_dataset_dicom_store_dicom_store_metrics(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}:getDICOMStoreMetrics', ) command.response_representation = Google::Apis::HealthcareV1beta1::DicomStoreMetrics::Representation command.response_class = Google::Apis::HealthcareV1beta1::DicomStoreMetrics command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_dataset_dicom_store_dicom_web_study_series_instance_storage_info(resource, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::StorageInfo
GetStorageInfo returns the storage info of the specified resource.
2930 2931 2932 2933 2934 2935 2936 2937 2938 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 2930 def get_project_location_dataset_dicom_store_dicom_web_study_series_instance_storage_info(resource, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+resource}:getStorageInfo', ) command.response_representation = Google::Apis::HealthcareV1beta1::StorageInfo::Representation command.response_class = Google::Apis::HealthcareV1beta1::StorageInfo command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_dataset_dicom_store_dicom_web_study_series_series_metrics(series, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::SeriesMetrics
GetSeriesMetrics returns metrics for a series.
2897 2898 2899 2900 2901 2902 2903 2904 2905 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 2897 def get_project_location_dataset_dicom_store_dicom_web_study_series_series_metrics(series, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+series}:getSeriesMetrics', ) command.response_representation = Google::Apis::HealthcareV1beta1::SeriesMetrics::Representation command.response_class = Google::Apis::HealthcareV1beta1::SeriesMetrics command.params['series'] = series unless series.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_dataset_dicom_store_dicom_web_study_study_metrics(study, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::StudyMetrics
GetStudyMetrics returns metrics for a study.
2822 2823 2824 2825 2826 2827 2828 2829 2830 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 2822 def get_project_location_dataset_dicom_store_dicom_web_study_study_metrics(study, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+study}:getStudyMetrics', ) command.response_representation = Google::Apis::HealthcareV1beta1::StudyMetrics::Representation command.response_class = Google::Apis::HealthcareV1beta1::StudyMetrics command.params['study'] = study unless study.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_dataset_dicom_store_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 2317 def get_project_location_dataset_dicom_store_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::HealthcareV1beta1::Policy::Representation command.response_class = Google::Apis::HealthcareV1beta1::Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_dataset_fhir_store(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::FhirStore
Gets the configuration of the specified FHIR store.
4328 4329 4330 4331 4332 4333 4334 4335 4336 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 4328 def get_project_location_dataset_fhir_store(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::HealthcareV1beta1::FhirStore::Representation command.response_class = Google::Apis::HealthcareV1beta1::FhirStore command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_dataset_fhir_store_fhir_store_metrics(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::FhirStoreMetrics
Gets metrics associated with the FHIR store.
4358 4359 4360 4361 4362 4363 4364 4365 4366 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 4358 def get_project_location_dataset_fhir_store_fhir_store_metrics(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}:getFHIRStoreMetrics', ) command.response_representation = Google::Apis::HealthcareV1beta1::FhirStoreMetrics::Representation command.response_class = Google::Apis::HealthcareV1beta1::FhirStoreMetrics command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_dataset_fhir_store_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 4402 def get_project_location_dataset_fhir_store_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::HealthcareV1beta1::Policy::Representation command.response_class = Google::Apis::HealthcareV1beta1::Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_dataset_fhir_store_operation_fhir_operation_status(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Gets the status of operations as defined in the FHIR specification. Implements
the FHIR implementation guide bulk data status request. Operations can
have one of these states: * in-progress: response status code is 202 and X-
Progress header is set to in progress. * complete: response status code is
200 and the body is a JSON-encoded operation response as defined by the spec.
For a bulk export, this response is defined in https://build.fhir.org/ig/HL7/
bulk-data/export.html#response---complete-status. * error: response status
code is 5XX, and the body is a JSON-encoded OperationOutcome resource
describing the reason for the error.
6516 6517 6518 6519 6520 6521 6522 6523 6524 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 6516 def get_project_location_dataset_fhir_store_operation_fhir_operation_status(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_dataset_hl7_v2_store(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Hl7V2Store
Gets the specified HL7v2 store.
6654 6655 6656 6657 6658 6659 6660 6661 6662 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 6654 def get_project_location_dataset_hl7_v2_store(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::HealthcareV1beta1::Hl7V2Store::Representation command.response_class = Google::Apis::HealthcareV1beta1::Hl7V2Store command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_dataset_hl7_v2_store_hl7v2_store_metrics(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Hl7V2StoreMetrics
Gets metrics associated with the HL7v2 store.
6686 6687 6688 6689 6690 6691 6692 6693 6694 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 6686 def get_project_location_dataset_hl7_v2_store_hl7v2_store_metrics(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}:getHL7v2StoreMetrics', ) command.response_representation = Google::Apis::HealthcareV1beta1::Hl7V2StoreMetrics::Representation command.response_class = Google::Apis::HealthcareV1beta1::Hl7V2StoreMetrics command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_dataset_hl7_v2_store_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 6730 def get_project_location_dataset_hl7_v2_store_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::HealthcareV1beta1::Policy::Representation command.response_class = Google::Apis::HealthcareV1beta1::Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_dataset_hl7_v2_store_message(name, view: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Message
Gets an HL7v2 message.
7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 7149 def (name, view: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::HealthcareV1beta1::Message::Representation command.response_class = Google::Apis::HealthcareV1beta1::Message command.params['name'] = name unless name.nil? command.query['view'] = view unless view.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_dataset_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
311 312 313 314 315 316 317 318 319 320 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 311 def get_project_location_dataset_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::HealthcareV1beta1::Policy::Representation command.response_class = Google::Apis::HealthcareV1beta1::Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_dataset_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
7396 7397 7398 7399 7400 7401 7402 7403 7404 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 7396 def get_project_location_dataset_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation command.response_class = Google::Apis::HealthcareV1beta1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#history_project_location_dataset_fhir_store_fhir(name, _at: nil, _count: nil, _page_token: nil, _since: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Lists all the versions of a resource (including the current version and
deleted versions) from the FHIR store. Implements the per-resource form of the
FHIR standard history interaction (DSTU2, STU3, R4, R5). On success, the response body contains a JSON-encoded
representation of a Bundle resource of type history, containing the
version history sorted from most recent to oldest versions. 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. For samples that show how to call history, see Listing FHIR
resource versions.
6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 6049 def history_project_location_dataset_fhir_store_fhir(name, _at: nil, _count: nil, _page_token: nil, _since: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}/_history', ) command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['name'] = name unless name.nil? command.query['_at'] = _at unless _at.nil? command.query['_count'] = _count unless _count.nil? command.query['_page_token'] = _page_token unless _page_token.nil? command.query['_since'] = _since unless _since.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#import_dicom_store_dicom_data(name, import_dicom_data_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
Imports data into the DICOM store by copying it from the specified source. Errors are logged to Cloud Logging. For more information, see Viewing error logs in Cloud Logging. The metadata field type is OperationMetadata.
2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 2354 def import_dicom_store_dicom_data(name, import_dicom_data_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+name}:import', ) command.request_representation = Google::Apis::HealthcareV1beta1::ImportDicomDataRequest::Representation command.request_object = import_dicom_data_request_object command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation command.response_class = Google::Apis::HealthcareV1beta1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#import_fhir_store_resources(name, import_resources_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
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.
4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 4488 def import_fhir_store_resources(name, import_resources_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+name}:import', ) command.request_representation = Google::Apis::HealthcareV1beta1::ImportResourcesRequest::Representation command.request_object = import_resources_request_object command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation command.response_class = Google::Apis::HealthcareV1beta1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#import_hl7_v2_store_messages(name, import_messages_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
Import messages to the HL7v2 store by loading data from the specified sources. This method is optimized to load large quantities of data using import semantics that ignore some HL7v2 store configuration options and are not suitable for all use cases. It is primarily intended to load data into an empty HL7v2 store that is not being used by other clients. An existing message will be overwritten if a duplicate message is imported. A duplicate message is a message with the same raw bytes as a message that already exists in this HL7v2 store. When a message is overwritten, its labels will also be overwritten. The import operation is idempotent unless the input data contains multiple valid messages with the same raw bytes but different labels. In that case, after the import completes, the store contains exactly one message with those raw bytes but there is no ordering guarantee on which version of the labels it has. The operation result counters do not count duplicated raw bytes as an error and count one success for each message in the input, which might result in a success count larger than the number of messages in the HL7v2 store. If some messages fail to import, for example due to parsing errors, successfully imported messages are not rolled back. 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 response of type ImportMessagesResponse is returned in the response field. The metadata field type for this operation is OperationMetadata.
6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 6787 def (name, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+name}:import', ) command.request_representation = Google::Apis::HealthcareV1beta1::ImportMessagesRequest::Representation command.request_object = command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation command.response_class = Google::Apis::HealthcareV1beta1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#import_project_location_dataset_fhir_store_history(name, import_resources_history_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
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 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.
4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 4532 def import_project_location_dataset_fhir_store_history(name, import_resources_history_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+name}:importHistory', ) command.request_representation = Google::Apis::HealthcareV1beta1::ImportResourcesHistoryRequest::Representation command.request_object = import_resources_history_request_object command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation command.response_class = Google::Apis::HealthcareV1beta1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#ingest_message(parent, ingest_message_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::IngestMessageResponse
Parses and stores an HL7v2 message. This method triggers an asynchronous
notification to any Pub/Sub topic configured in Hl7V2Store.
Hl7V2NotificationConfig, if the filtering matches the message. If an MLLP
adapter is configured to listen to a Pub/Sub topic, the adapter transmits the
message when a notification is received. If the method is successful, it
generates a response containing an HL7v2 acknowledgment (ACK) message. If
the method encounters an error, it returns a negative acknowledgment (NACK)
message. This behavior is suitable for replying to HL7v2 interface systems
that expect these acknowledgments.
7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 7189 def (parent, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/messages:ingest', ) command.request_representation = Google::Apis::HealthcareV1beta1::IngestMessageRequest::Representation command.request_object = command.response_representation = Google::Apis::HealthcareV1beta1::IngestMessageResponse::Representation command.response_class = Google::Apis::HealthcareV1beta1::IngestMessageResponse command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_dataset_consent_store_attribute_definitions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::ListAttributeDefinitionsResponse
Lists the Attribute definitions in the specified consent store.
1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 1077 def (parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/attributeDefinitions', ) command.response_representation = Google::Apis::HealthcareV1beta1::ListAttributeDefinitionsResponse::Representation command.response_class = Google::Apis::HealthcareV1beta1::ListAttributeDefinitionsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_dataset_consent_store_consent_artifacts(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::ListConsentArtifactsResponse
Lists the Consent artifacts in the specified consent store.
1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 1281 def (parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/consentArtifacts', ) command.response_representation = Google::Apis::HealthcareV1beta1::ListConsentArtifactsResponse::Representation command.response_class = Google::Apis::HealthcareV1beta1::ListConsentArtifactsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_dataset_consent_store_consent_revisions(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::ListConsentRevisionsResponse
Lists the revisions of the specified Consent in reverse chronological order.
1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 1589 def (name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}:listRevisions', ) command.response_representation = Google::Apis::HealthcareV1beta1::ListConsentRevisionsResponse::Representation command.response_class = Google::Apis::HealthcareV1beta1::ListConsentRevisionsResponse command.params['name'] = name unless name.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_dataset_consent_store_consents(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::ListConsentsResponse
Lists the Consent in the given consent store, returning each Consent's latest revision.
1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 1525 def (parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/consents', ) command.response_representation = Google::Apis::HealthcareV1beta1::ListConsentsResponse::Representation command.response_class = Google::Apis::HealthcareV1beta1::ListConsentsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_dataset_consent_store_user_data_mappings(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::ListUserDataMappingsResponse
Lists the User data mappings in the specified consent store.
1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 1901 def (parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/userDataMappings', ) command.response_representation = Google::Apis::HealthcareV1beta1::ListUserDataMappingsResponse::Representation command.response_class = Google::Apis::HealthcareV1beta1::ListUserDataMappingsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_dataset_consent_stores(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::ListConsentStoresResponse
Lists the consent stores in the specified dataset.
740 741 742 743 744 745 746 747 748 749 750 751 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 740 def (parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/consentStores', ) command.response_representation = Google::Apis::HealthcareV1beta1::ListConsentStoresResponse::Representation command.response_class = Google::Apis::HealthcareV1beta1::ListConsentStoresResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_dataset_dicom_stores(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::ListDicomStoresResponse
Lists the DICOM stores in the given dataset.
2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 2414 def list_project_location_dataset_dicom_stores(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/dicomStores', ) command.response_representation = Google::Apis::HealthcareV1beta1::ListDicomStoresResponse::Representation command.response_class = Google::Apis::HealthcareV1beta1::ListDicomStoresResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_dataset_fhir_stores(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::ListFhirStoresResponse
Lists the FHIR stores in the given dataset.
4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 4592 def list_project_location_dataset_fhir_stores(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/fhirStores', ) command.response_representation = Google::Apis::HealthcareV1beta1::ListFhirStoresResponse::Representation command.response_class = Google::Apis::HealthcareV1beta1::ListFhirStoresResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_dataset_hl7_v2_store_messages(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::ListMessagesResponse
Lists all the messages in the given HL7v2 store with support for filtering. Note: HL7v2 messages are indexed asynchronously, so there might be a slight delay between the time a message is created and when it can be found through a filter.
7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 7276 def (parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/messages', ) command.response_representation = Google::Apis::HealthcareV1beta1::ListMessagesResponse::Representation command.response_class = Google::Apis::HealthcareV1beta1::ListMessagesResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['view'] = view unless view.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_dataset_hl7_v2_stores(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::ListHl7V2StoresResponse
Lists the HL7v2 stores in the given dataset.
6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 6847 def list_project_location_dataset_hl7_v2_stores(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/hl7V2Stores', ) command.response_representation = Google::Apis::HealthcareV1beta1::ListHl7V2StoresResponse::Representation command.response_class = Google::Apis::HealthcareV1beta1::ListHl7V2StoresResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_dataset_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::ListOperationsResponse
Lists operations that match the specified filter in the request. If the server
doesn't support this method, it returns UNIMPLEMENTED.
7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 7441 def list_project_location_dataset_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}/operations', ) command.response_representation = Google::Apis::HealthcareV1beta1::ListOperationsResponse::Representation command.response_class = Google::Apis::HealthcareV1beta1::ListOperationsResponse command.params['name'] = name unless name.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_datasets(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::ListDatasetsResponse
Lists the health datasets in the current project.
348 349 350 351 352 353 354 355 356 357 358 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 348 def list_project_location_datasets(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/datasets', ) command.response_representation = Google::Apis::HealthcareV1beta1::ListDatasetsResponse::Representation command.response_class = Google::Apis::HealthcareV1beta1::ListDatasetsResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::ListLocationsResponse
Lists information about the supported locations for this service.
117 118 119 120 121 122 123 124 125 126 127 128 129 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 117 def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}/locations', ) command.response_representation = Google::Apis::HealthcareV1beta1::ListLocationsResponse::Representation command.response_class = Google::Apis::HealthcareV1beta1::ListLocationsResponse command.params['name'] = name unless name.nil? command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#observation_project_location_dataset_fhir_store_fhir_lastn(parent, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
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,
R5). 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.
5231 5232 5233 5234 5235 5236 5237 5238 5239 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 5231 def observation_project_location_dataset_fhir_store_fhir_lastn(parent, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/fhir/Observation/$lastn', ) command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_dataset(name, dataset_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Dataset
Updates dataset metadata.
386 387 388 389 390 391 392 393 394 395 396 397 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 386 def patch_project_location_dataset(name, dataset_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::HealthcareV1beta1::Dataset::Representation command.request_object = dataset_object command.response_representation = Google::Apis::HealthcareV1beta1::Dataset::Representation command.response_class = Google::Apis::HealthcareV1beta1::Dataset command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_dataset_consent_store(name, consent_store_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::ConsentStore
Updates the specified consent store.
781 782 783 784 785 786 787 788 789 790 791 792 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 781 def (name, = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::HealthcareV1beta1::ConsentStore::Representation command.request_object = command.response_representation = Google::Apis::HealthcareV1beta1::ConsentStore::Representation command.response_class = Google::Apis::HealthcareV1beta1::ConsentStore command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_dataset_consent_store_attribute_definition(name, attribute_definition_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::AttributeDefinition
Updates the specified Attribute definition.
1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 1121 def (name, attribute_definition_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::HealthcareV1beta1::AttributeDefinition::Representation command.request_object = attribute_definition_object command.response_representation = Google::Apis::HealthcareV1beta1::AttributeDefinition::Representation command.response_class = Google::Apis::HealthcareV1beta1::AttributeDefinition command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_dataset_consent_store_consent(name, consent_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Consent
Updates the latest revision of the specified Consent by committing a new
revision with the changes. A FAILED_PRECONDITION error occurs if the latest
revision of the specified Consent is in the REJECTED or REVOKED state.
1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 1632 def (name, = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::HealthcareV1beta1::Consent::Representation command.request_object = command.response_representation = Google::Apis::HealthcareV1beta1::Consent::Representation command.response_class = Google::Apis::HealthcareV1beta1::Consent command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_dataset_consent_store_user_data_mapping(name, user_data_mapping_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::UserDataMapping
Updates the specified User data mapping.
1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 1942 def (name, user_data_mapping_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::HealthcareV1beta1::UserDataMapping::Representation command.request_object = user_data_mapping_object command.response_representation = Google::Apis::HealthcareV1beta1::UserDataMapping::Representation command.response_class = Google::Apis::HealthcareV1beta1::UserDataMapping command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_dataset_dicom_store(name, dicom_store_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::DicomStore
Updates the specified DICOM store.
2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 2454 def patch_project_location_dataset_dicom_store(name, dicom_store_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::HealthcareV1beta1::DicomStore::Representation command.request_object = dicom_store_object command.response_representation = Google::Apis::HealthcareV1beta1::DicomStore::Representation command.response_class = Google::Apis::HealthcareV1beta1::DicomStore command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_dataset_fhir_store(name, fhir_store_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::FhirStore
Updates the configuration of the specified FHIR store.
4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 4632 def patch_project_location_dataset_fhir_store(name, fhir_store_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::HealthcareV1beta1::FhirStore::Representation command.request_object = fhir_store_object command.response_representation = Google::Apis::HealthcareV1beta1::FhirStore::Representation command.response_class = Google::Apis::HealthcareV1beta1::FhirStore command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_dataset_fhir_store_fhir(name, http_body_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Updates part of an existing resource by applying the operations specified in a
JSON Patch document. Implements the FHIR standard
patch interaction (STU3, R4, R5). DSTU2 doesn't define a patch method, but the server supports it
in the same way it supports STU3. The request body must contain a JSON Patch
document, and the request headers must contain Content-Type: application/json-
patch+json. On success, the response body contains a JSON-encoded
representation of the updated resource, including the server-assigned version
ID. 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. For samples that show how to call patch, see
Patching a FHIR resource.
6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 6098 def patch_project_location_dataset_fhir_store_fhir(name, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.request_object = http_body_object command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_dataset_hl7_v2_store(name, hl7_v2_store_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Hl7V2Store
Updates the HL7v2 store.
6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 6887 def patch_project_location_dataset_hl7_v2_store(name, hl7_v2_store_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::HealthcareV1beta1::Hl7V2Store::Representation command.request_object = hl7_v2_store_object command.response_representation = Google::Apis::HealthcareV1beta1::Hl7V2Store::Representation command.response_class = Google::Apis::HealthcareV1beta1::Hl7V2Store command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_dataset_hl7_v2_store_message(name, message_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Message
Update the message. The contents of the message in Message.data and data extracted from the contents such as Message.create_time can't be altered. Only the Message.labels field is allowed to be updated. The labels in the request are merged with the existing set of labels. Existing labels with the same keys are updated.
7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 7322 def (name, = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::HealthcareV1beta1::Message::Representation command.request_object = command.response_representation = Google::Apis::HealthcareV1beta1::Message::Representation command.response_class = Google::Apis::HealthcareV1beta1::Message command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patient_project_location_dataset_fhir_store_fhir_consent_enforcement_status(name, _count: nil, _page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Returns the consent enforcement status of all consent resources for a patient.
On success, the response body contains a JSON-encoded representation of a
bundle of Parameters (http://hl7.org/fhir/parameters.html) FHIR resources,
containing the current enforcement status for each consent resource of the
patient. Does not support DSTU2.
5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 5277 def (name, _count: nil, _page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}/$consent-enforcement-status', ) command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['name'] = name unless name.nil? command.query['_count'] = _count unless _count.nil? command.query['_page_token'] = _page_token unless _page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patient_project_location_dataset_fhir_store_fhir_everything(name, _count: nil, _page_token: nil, _since: nil, _type: nil, end_: nil, start: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Retrieves a Patient resource and resources related to that patient. Implements
the FHIR extended operation Patient-everything (DSTU2, STU3, R4, R5). 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. The resources in scope for the response
are: * The patient resource itself. * All the resources directly referenced by
the patient resource. * Resources directly referencing the patient resource
that meet the inclusion criteria. The inclusion criteria are based on the
membership rules in the patient compartment definition (DSTU2, STU3, R4, R5), which details the eligible resource
types and referencing search parameters. For samples that show how to call
Patient-everything, see Getting all patient compartment resources.
5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 5358 def patient_project_location_dataset_fhir_store_fhir_everything(name, _count: nil, _page_token: nil, _since: nil, _type: nil, end_: nil, start: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}/$everything', ) command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['name'] = name unless name.nil? command.query['_count'] = _count unless _count.nil? command.query['_page_token'] = _page_token unless _page_token.nil? command.query['_since'] = _since unless _since.nil? command.query['_type'] = _type unless _type.nil? command.query['end'] = end_ unless end_.nil? command.query['start'] = start unless start.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#query_consent_store_accessible_data(consent_store, query_accessible_data_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
Queries all data_ids that are consented for a specified use in the given
consent store and writes them to a specified destination. The returned
Operation includes a progress counter for the number of User data mappings
processed. If the request is successful, a detailed response is returned of
type QueryAccessibleDataResponse, contained in the response field when the
operation finishes. The metadata field type is OperationMetadata. Errors are
logged to Cloud Logging (see Viewing error logs in Cloud Logging). For example, the following
sample log entry shows a failed to evaluate consent policy error that
occurred during a QueryAccessibleData call to consent store projects/
project_id/locations/location_id/datasets/dataset_id/consentStores/
consent_store_id.json jsonPayload: @type: "type.googleapis.com/google.
cloud.healthcare.logging.QueryAccessibleDataLogEntry" error: code: 9 message:
"failed to evaluate consent policy" resourceName: "projects/project_id/
locations/location_id/datasets/dataset_id/consentStores/consent_store_id/
consents/consent_id" logName: "projects/project_id/logs/healthcare.
googleapis.com%2Fquery_accessible_data" operation: id: "projects/project_id
/locations/location_id/datasets/dataset_id/operations/operation_id"
producer: "healthcare.googleapis.com/QueryAccessibleData" receiveTimestamp: "
TIMESTAMP" resource: labels: consent_store_id: "consent_store_id"
dataset_id: "dataset_id" location: "location_id" project_id: "project_id"
type: "healthcare_consent_store" ` severity: "ERROR" timestamp: "TIMESTAMP"
</code>
837 838 839 840 841 842 843 844 845 846 847 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 837 def (, query_accessible_data_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+consentStore}:queryAccessibleData', ) command.request_representation = Google::Apis::HealthcareV1beta1::QueryAccessibleDataRequest::Representation command.request_object = query_accessible_data_request_object command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation command.response_class = Google::Apis::HealthcareV1beta1::Operation command.params['consentStore'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#read_project_location_dataset_fhir_store_fhir(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Gets the contents of a FHIR resource. Implements the FHIR standard read
interaction (DSTU2, STU3, R4), R5). Also supports the FHIR
standard conditional read interaction (DSTU2, STU3, R4), R5) specified by supplying an If-Modified-Since header with a date/time
value or an If-None-Match header with an ETag value. On success, the
response body contains a JSON-encoded representation of the resource. 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. For samples that show how to call read, see Getting a FHIR
resource.
6145 6146 6147 6148 6149 6150 6151 6152 6153 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 6145 def read_project_location_dataset_fhir_store_fhir(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#reject_consent(name, reject_consent_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Consent
Rejects the latest revision of the specified Consent by committing a new
revision with state updated to REJECTED. If the latest revision of the
specified Consent is in the REJECTED state, no new revision is committed. A
FAILED_PRECONDITION error occurs if the latest revision of the specified
Consent is in the ACTIVE or REVOKED state.
1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 1673 def (name, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+name}:reject', ) command.request_representation = Google::Apis::HealthcareV1beta1::RejectConsentRequest::Representation command.request_object = command.response_representation = Google::Apis::HealthcareV1beta1::Consent::Representation command.response_class = Google::Apis::HealthcareV1beta1::Consent command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#resource_project_location_dataset_fhir_store_fhir_incoming_references(parent, _count: nil, _page_token: nil, _summary: nil, _type: nil, target: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Lists all the resources that directly refer to the given target FHIR resource.
Can also support the case when the target resource doesn't exist, for example,
if the target has been deleted. On success, the response body contains a
Bundle with type searchset, where each entry in the Bundle contains the full
content of the resource. If the operation fails, an OperationOutcome is
returned describing the failure. If the request cannot be mapped to a valid
API method on a FHIR store, a generic Google Cloud error might be returned
instead.
5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 5424 def resource_project_location_dataset_fhir_store_fhir_incoming_references(parent, _count: nil, _page_token: nil, _summary: nil, _type: nil, target: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/fhir/$references', ) command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['parent'] = parent unless parent.nil? command.query['_count'] = _count unless _count.nil? command.query['_page_token'] = _page_token unless _page_token.nil? command.query['_summary'] = _summary unless _summary.nil? command.query['_type'] = _type unless _type.nil? command.query['target'] = target unless target.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#resource_project_location_dataset_fhir_store_fhir_purge(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Empty
Deletes all the historical versions of a resource (excluding the current
version) from the FHIR store. To remove all versions of a resource, first
delete the current version and then call this method. This is not a FHIR
standard operation. For samples that show how to call Resource-purge, see
Deleting historical versions of a FHIR resource.
5465 5466 5467 5468 5469 5470 5471 5472 5473 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 5465 def resource_project_location_dataset_fhir_store_fhir_purge(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}/$purge', ) command.response_representation = Google::Apis::HealthcareV1beta1::Empty::Representation command.response_class = Google::Apis::HealthcareV1beta1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#resource_project_location_dataset_fhir_store_fhir_validate(parent, type, http_body_object = nil, profile: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Validates an input FHIR resource's conformance to its profiles and the
profiles configured on the FHIR store. Implements the FHIR extended operation $
validate (DSTU2
, STU3, R4, or R5). The request body must contain
a JSON-encoded FHIR resource, and the request headers must contain Content-
Type: application/fhir+json. The Parameters input syntax is not supported.
The profile query parameter can be used to request that the resource only be
validated against a specific profile. If a profile with the given URL cannot
be found in the FHIR store then an error is returned. Errors generated by
validation 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.
5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 5522 def resource_project_location_dataset_fhir_store_fhir_validate(parent, type, http_body_object = nil, profile: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/fhir/{+type}/$validate', ) command.request_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.request_object = http_body_object command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['parent'] = parent unless parent.nil? command.params['type'] = type unless type.nil? command.query['profile'] = profile unless profile.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#retrieve_project_location_dataset_dicom_store_study_metadata(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
RetrieveStudyMetadata returns instance associated with the given study presented as metadata. See RetrieveTransaction. For details on the implementation of RetrieveStudyMetadata, see Metadata resources in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveStudyMetadata, see Retrieve metadata.
3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 3011 def (parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', ) command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['parent'] = parent unless parent.nil? command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#retrieve_project_location_dataset_dicom_store_study_series_instance_bulkdatum_bulkdata(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Returns uncompressed, unencoded bytes representing the referenced bulkdata tag from an instance. See Retrieve Transaction. For details on the implementation of RetrieveBulkdata, see Bulkdata resources in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveBulkdata, see Retrieve bulkdata.
3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 3744 def retrieve_project_location_dataset_dicom_store_study_series_instance_bulkdatum_bulkdata(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', ) command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['parent'] = parent unless parent.nil? command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#retrieve_project_location_dataset_dicom_store_study_series_instance_frame_frames(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
RetrieveFrames returns instances associated with the given study, series, SOP Instance UID and frame numbers. See RetrieveTransaction. For details on the implementation of RetrieveFrames, see DICOM frames in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveFrames, see Retrieve DICOM data.
3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 3788 def retrieve_project_location_dataset_dicom_store_study_series_instance_frame_frames(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', ) command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['parent'] = parent unless parent.nil? command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#retrieve_project_location_dataset_dicom_store_study_series_instance_frame_rendered(parent, dicom_web_path, viewport: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
RetrieveRenderedFrames returns instances associated with the given study, series, SOP Instance UID and frame numbers in an acceptable Rendered Media Type. See RetrieveTransaction. For details on the implementation of RetrieveRenderedFrames, see Rendered resources in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveRenderedFrames, see Retrieve consumer image formats.
3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 3836 def retrieve_project_location_dataset_dicom_store_study_series_instance_frame_rendered(parent, dicom_web_path, viewport: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', ) command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['parent'] = parent unless parent.nil? command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil? command.query['viewport'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#retrieve_project_location_dataset_dicom_store_study_series_instance_instance(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
RetrieveInstance returns instance associated with the given study, series, and SOP Instance UID. See RetrieveTransaction. For details on the implementation of RetrieveInstance, see DICOM study/series/instances and DICOM instances in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveInstance, see Retrieve an instance.
3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 3566 def retrieve_project_location_dataset_dicom_store_study_series_instance_instance(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', ) command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['parent'] = parent unless parent.nil? command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#retrieve_project_location_dataset_dicom_store_study_series_instance_metadata(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
RetrieveInstanceMetadata returns instance associated with the given study, series, and SOP Instance UID presented as metadata. See RetrieveTransaction . For details on the implementation of RetrieveInstanceMetadata, see Metadata resources in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveInstanceMetadata, see Retrieve metadata.
3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 3610 def (parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', ) command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['parent'] = parent unless parent.nil? command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#retrieve_project_location_dataset_dicom_store_study_series_instance_rendered(parent, dicom_web_path, viewport: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
RetrieveRenderedInstance returns instance associated with the given study, series, and SOP Instance UID in an acceptable Rendered Media Type. See RetrieveTransaction. For details on the implementation of RetrieveRenderedInstance, see Rendered resources in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveRenderedInstance, see Retrieve consumer image formats.
3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 3658 def retrieve_project_location_dataset_dicom_store_study_series_instance_rendered(parent, dicom_web_path, viewport: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', ) command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['parent'] = parent unless parent.nil? command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil? command.query['viewport'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#retrieve_project_location_dataset_dicom_store_study_series_metadata(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
RetrieveSeriesMetadata returns instance associated with the given study and series, presented as metadata. See RetrieveTransaction. For details on the implementation of RetrieveSeriesMetadata, see Metadata resources in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveSeriesMetadata, see Retrieve metadata.
3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 3352 def (parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', ) command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['parent'] = parent unless parent.nil? command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#retrieve_project_location_dataset_dicom_store_study_series_series(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
RetrieveSeries returns all instances within the given study and series. See RetrieveTransaction. For details on the implementation of RetrieveSeries, see DICOM study/series/instances in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveSeries, see Retrieve DICOM data.
3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 3395 def retrieve_project_location_dataset_dicom_store_study_series_series(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', ) command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['parent'] = parent unless parent.nil? command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#retrieve_project_location_dataset_dicom_store_study_study(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
RetrieveStudy returns all instances within the given study. See RetrieveTransaction. For details on the implementation of RetrieveStudy, see DICOM study/series/instances in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveStudy, see Retrieve DICOM data.
3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 3054 def retrieve_project_location_dataset_dicom_store_study_study(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', ) command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['parent'] = parent unless parent.nil? command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#revoke_consent(name, revoke_consent_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Consent
Revokes the latest revision of the specified Consent by committing a new
revision with state updated to REVOKED. If the latest revision of the
specified Consent is in the REVOKED state, no new revision is committed. A
FAILED_PRECONDITION error occurs if the latest revision of the given consent
is in DRAFT or REJECTED state.
1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 1713 def (name, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+name}:revoke', ) command.request_representation = Google::Apis::HealthcareV1beta1::RevokeConsentRequest::Representation command.request_object = command.response_representation = Google::Apis::HealthcareV1beta1::Consent::Representation command.response_class = Google::Apis::HealthcareV1beta1::Consent command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#rollback_fhir_store_fhir_resources(name, rollback_fhir_resources_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
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.
4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 4675 def rollback_fhir_store_fhir_resources(name, rollback_fhir_resources_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+name}:rollback', ) command.request_representation = Google::Apis::HealthcareV1beta1::RollbackFhirResourcesRequest::Representation command.request_object = rollback_fhir_resources_request_object command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation command.response_class = Google::Apis::HealthcareV1beta1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#rollback_hl7_v2_store_hl7_v2_messages(name, rollback_hl7_v2_messages_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
Rolls back messages from the HL7v2 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 RollbackHl7V2MessagesResponse is returned in the response field. The metadata field type for this operation is OperationMetadata.
6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 6930 def (name, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+name}:rollback', ) command.request_representation = Google::Apis::HealthcareV1beta1::RollbackHl7V2MessagesRequest::Representation command.request_object = command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation command.response_class = Google::Apis::HealthcareV1beta1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#search_fhir_resources(parent, http_body_object = nil, resource_type: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Searches for resources in the given FHIR store according to criteria specified
as query parameters. Implements the FHIR standard search interaction (DSTU2, STU3, R4, R5) using the search semantics described in
the FHIR Search specification (DSTU2,
STU3, R4, R5). Supports four
methods of search defined by the specification: * GET [base]?[parameters] to
search across all resources. * GET [base]/[type]?[parameters] to search
resources of a specified type. * POST [base]/_search?[parameters] as an
alternate form having the same semantics as the GET method across all
resources. * POST [base]/[type]/_search?[parameters] as an alternate form
having the same semantics as the GET method for the specified type. The GET
and POST methods do not support compartment searches. The POST method
does not support application/x-www-form-urlencoded search parameters. On
success, the response body contains a JSON-encoded representation of a Bundle
resource of type searchset, containing the results of the search. 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. The server's capability statement, retrieved through capabilities,
indicates what search parameters are supported on each FHIR resource. A list
of all search parameters defined by the specification can be found in the FHIR
Search Parameter Registry (STU3, R4,
R5). FHIR search
parameters for DSTU2 can be found on each resource's definition page.
Supported search modifiers: :missing, :exact, :contains, :text, :in,
:not-in, :above, :below, :[type], :not, and recurse (DSTU2 and
STU3) or :iterate (R4 and R5). Supported search result parameters: _sort,
_count, _include, _revinclude, _summary=text, _summary=data, and
_elements. The maximum number of search results returned defaults to 100,
which can be overridden by the _count parameter up to a maximum limit of
- The server might return fewer resources than requested to prevent
excessively large responses. If there are additional results, the returned
Bundlecontains a link ofrelation"next", which has a_page_tokenparameter for an opaque pagination token that can be used to retrieve the next page. Resources with a total size larger than 5MB or a field count larger than 50,000 might not be fully searchable as the server might trim its generated search index in those cases. Note: FHIR resources are indexed asynchronously, so there might be a slight delay between the time a resource is created or changed, and the time when the change reflects in search results. The only exception is resource identifier data, which is indexed synchronously as a special index. As a result, searching using resource identifier is not subject to indexing delay. To use the special synchronous index, the search term for identifier should be in the patternidentifier=[system]|[value]oridentifier=[value], and any of the following search result parameters can be used: *_count*_include*_revinclude*_summary*_elementsIf your query contains any other search parameters, the standard asynchronous index will be used instead. Note that searching against the special index is optimized for resolving a small number of matches. The search isn't optimized if your identifier search criteria matches a large number (i.e. more than 2, 000) of resources. For a search query that will match a large number of resources, you can avoiding using the special synchronous index by including an additional_sortparameter in your query. Use_sort=-_lastUpdatedif you want to keep the default sorting order. For samples and detailed information, see Searching for FHIR resources and Advanced FHIR search features.
6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 6241 def search_fhir_resources(parent, http_body_object = nil, resource_type: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/fhir/_search', ) command.request_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.request_object = http_body_object command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['parent'] = parent unless parent.nil? command.query['resourceType'] = resource_type unless resource_type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#search_project_location_dataset_dicom_store_for_instances(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
SearchForInstances returns a list of matching instances. See RetrieveTransaction. For details on the implementation of SearchForInstances, see Search transaction in the Cloud Healthcare API conformance statement. For samples that show how to call SearchForInstances, see Search for DICOM data.
2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 2500 def search_project_location_dataset_dicom_store_for_instances(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', ) command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['parent'] = parent unless parent.nil? command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#search_project_location_dataset_dicom_store_for_series(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
SearchForSeries returns a list of matching series. See RetrieveTransaction . For details on the implementation of SearchForSeries, see Search transaction in the Cloud Healthcare API conformance statement. For samples that show how to call SearchForSeries, see Search for DICOM data.
2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 2542 def search_project_location_dataset_dicom_store_for_series(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', ) command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['parent'] = parent unless parent.nil? command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#search_project_location_dataset_dicom_store_for_studies(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
SearchForStudies returns a list of matching studies. See RetrieveTransaction . For details on the implementation of SearchForStudies, see Search transaction in the Cloud Healthcare API conformance statement. For samples that show how to call SearchForStudies, see Search for DICOM data.
2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 2584 def search_project_location_dataset_dicom_store_for_studies(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', ) command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['parent'] = parent unless parent.nil? command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#search_project_location_dataset_dicom_store_study_for_instances(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
SearchForInstances returns a list of matching instances. See RetrieveTransaction. For details on the implementation of SearchForInstances, see Search transaction in the Cloud Healthcare API conformance statement. For samples that show how to call SearchForInstances, see Search for DICOM data.
3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 3098 def search_project_location_dataset_dicom_store_study_for_instances(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', ) command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['parent'] = parent unless parent.nil? command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#search_project_location_dataset_dicom_store_study_for_series(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
SearchForSeries returns a list of matching series. See RetrieveTransaction . For details on the implementation of SearchForSeries, see Search transaction in the Cloud Healthcare API conformance statement. For samples that show how to call SearchForSeries, see Search for DICOM data.
3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 3140 def search_project_location_dataset_dicom_store_study_for_series(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', ) command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['parent'] = parent unless parent.nil? command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#search_project_location_dataset_dicom_store_study_series_for_instances(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
SearchForInstances returns a list of matching instances. See RetrieveTransaction. For details on the implementation of SearchForInstances, see Search transaction in the Cloud Healthcare API conformance statement. For samples that show how to call SearchForInstances, see Search for DICOM data.
3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 3439 def search_project_location_dataset_dicom_store_study_series_for_instances(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', ) command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['parent'] = parent unless parent.nil? command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#search_project_location_dataset_fhir_store_fhir_type(parent, resource_type, http_body_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Searches for resources in the given FHIR store according to criteria specified
as query parameters. Implements the FHIR standard search interaction (DSTU2, STU3, R4, R5) using the search semantics described in
the FHIR Search specification (DSTU2,
STU3, R4, R5). Supports four
methods of search defined by the specification: * GET [base]?[parameters] to
search across all resources. * GET [base]/[type]?[parameters] to search
resources of a specified type. * POST [base]/_search?[parameters] as an
alternate form having the same semantics as the GET method across all
resources. * POST [base]/[type]/_search?[parameters] as an alternate form
having the same semantics as the GET method for the specified type. The GET
and POST methods do not support compartment searches. The POST method
does not support application/x-www-form-urlencoded search parameters. On
success, the response body contains a JSON-encoded representation of a Bundle
resource of type searchset, containing the results of the search. 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. The server's capability statement, retrieved through capabilities,
indicates what search parameters are supported on each FHIR resource. A list
of all search parameters defined by the specification can be found in the FHIR
Search Parameter Registry (STU3, R4,
R5). FHIR search
parameters for DSTU2 can be found on each resource's definition page.
Supported search modifiers: :missing, :exact, :contains, :text, :in,
:not-in, :above, :below, :[type], :not, and recurse (DSTU2 and
STU3) or :iterate (R4 and R5). Supported search result parameters: _sort,
_count, _include, _revinclude, _summary=text, _summary=data, and
_elements. The maximum number of search results returned defaults to 100,
which can be overridden by the _count parameter up to a maximum limit of
- The server might return fewer resources than requested to prevent
excessively large responses. If there are additional results, the returned
Bundlecontains a link ofrelation"next", which has a_page_tokenparameter for an opaque pagination token that can be used to retrieve the next page. Resources with a total size larger than 5MB or a field count larger than 50,000 might not be fully searchable as the server might trim its generated search index in those cases. Note: FHIR resources are indexed asynchronously, so there might be a slight delay between the time a resource is created or changed, and the time when the change reflects in search results. The only exception is resource identifier data, which is indexed synchronously as a special index. As a result, searching using resource identifier is not subject to indexing delay. To use the special synchronous index, the search term for identifier should be in the patternidentifier=[system]|[value]oridentifier=[value], and any of the following search result parameters can be used: *_count*_include*_revinclude*_summary*_elementsIf your query contains any other search parameters, the standard asynchronous index will be used instead. Note that searching against the special index is optimized for resolving a small number of matches. The search isn't optimized if your identifier search criteria matches a large number (i.e. more than 2, 000) of resources. For a search query that will match a large number of resources, you can avoiding using the special synchronous index by including an additional_sortparameter in your query. Use_sort=-_lastUpdatedif you want to keep the default sorting order. For samples and detailed information, see Searching for FHIR resources and Advanced FHIR search features.
6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 6340 def search_project_location_dataset_fhir_store_fhir_type(parent, resource_type, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/fhir/{resourceType}/_search', ) command.request_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.request_object = http_body_object command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['parent'] = parent unless parent.nil? command.params['resourceType'] = resource_type unless resource_type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_consent_store_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and
PERMISSION_DENIED errors.
874 875 876 877 878 879 880 881 882 883 884 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 874 def (resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::HealthcareV1beta1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::HealthcareV1beta1::Policy::Representation command.response_class = Google::Apis::HealthcareV1beta1::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_data_mapper_workspace_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and
PERMISSION_DENIED errors.
2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 2025 def set_data_mapper_workspace_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::HealthcareV1beta1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::HealthcareV1beta1::Policy::Representation command.response_class = Google::Apis::HealthcareV1beta1::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_dataset_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and
PERMISSION_DENIED errors.
424 425 426 427 428 429 430 431 432 433 434 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 424 def set_dataset_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::HealthcareV1beta1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::HealthcareV1beta1::Policy::Representation command.response_class = Google::Apis::HealthcareV1beta1::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_dicom_store_blob_storage_settings(resource, set_blob_storage_settings_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
SetBlobStorageSettings sets the blob storage settings of the specified resources.
2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 2626 def set_dicom_store_blob_storage_settings(resource, set_blob_storage_settings_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:setBlobStorageSettings', ) command.request_representation = Google::Apis::HealthcareV1beta1::SetBlobStorageSettingsRequest::Representation command.request_object = set_blob_storage_settings_request_object command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation command.response_class = Google::Apis::HealthcareV1beta1::Operation command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_dicom_store_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and
PERMISSION_DENIED errors.
2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 2663 def set_dicom_store_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::HealthcareV1beta1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::HealthcareV1beta1::Policy::Representation command.response_class = Google::Apis::HealthcareV1beta1::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_fhir_store_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and
PERMISSION_DENIED errors.
4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 4712 def set_fhir_store_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::HealthcareV1beta1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::HealthcareV1beta1::Policy::Representation command.response_class = Google::Apis::HealthcareV1beta1::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_hl7_v2_store_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and
PERMISSION_DENIED errors.
6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 6967 def set_hl7_v2_store_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::HealthcareV1beta1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::HealthcareV1beta1::Policy::Representation command.response_class = Google::Apis::HealthcareV1beta1::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_study_blob_storage_settings(resource, set_blob_storage_settings_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
SetBlobStorageSettings sets the blob storage settings of the specified resources.
2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 2863 def set_study_blob_storage_settings(resource, set_blob_storage_settings_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:setBlobStorageSettings', ) command.request_representation = Google::Apis::HealthcareV1beta1::SetBlobStorageSettingsRequest::Representation command.request_object = set_blob_storage_settings_request_object command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation command.response_class = Google::Apis::HealthcareV1beta1::Operation command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#store_project_location_dataset_dicom_store_instances(parent, dicom_web_path, http_body_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
StoreInstances stores DICOM instances associated with study instance unique identifiers (SUID). See Store Transaction. For details on the implementation of StoreInstances, see Store transaction in the Cloud Healthcare API conformance statement. For samples that show how to call StoreInstances, see Store DICOM data.
2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 2708 def store_project_location_dataset_dicom_store_instances(parent, dicom_web_path, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', ) command.request_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.request_object = http_body_object command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['parent'] = parent unless parent.nil? command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#store_project_location_dataset_dicom_store_study_instances(parent, dicom_web_path, http_body_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
StoreInstances stores DICOM instances associated with study instance unique identifiers (SUID). See Store Transaction. For details on the implementation of StoreInstances, see Store transaction in the Cloud Healthcare API conformance statement. For samples that show how to call StoreInstances, see Store DICOM data.
3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 3184 def store_project_location_dataset_dicom_store_study_instances(parent, dicom_web_path, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', ) command.request_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.request_object = http_body_object command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['parent'] = parent unless parent.nil? command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_consent_store_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse
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.
913 914 915 916 917 918 919 920 921 922 923 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 913 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::HealthcareV1beta1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_data_mapper_workspace_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse
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.
2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 2064 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::HealthcareV1beta1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_dataset_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse
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.
463 464 465 466 467 468 469 470 471 472 473 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 463 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::HealthcareV1beta1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_dicom_store_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse
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.
2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 2748 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::HealthcareV1beta1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_fhir_store_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse
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.
4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 4751 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::HealthcareV1beta1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_hl7_v2_store_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse
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.
7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 7006 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::HealthcareV1beta1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_project_location_dataset_dicom_store_instances(parent, dicom_web_path, http_body_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
UpdateInstances updates DICOM instances associated with study instance unique identifiers (SUID).
2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 2787 def update_project_location_dataset_dicom_store_instances(parent, dicom_web_path, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', ) command.request_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.request_object = http_body_object command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['parent'] = parent unless parent.nil? command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_project_location_dataset_dicom_store_study_instances(parent, dicom_web_path, http_body_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
UpdateInstances updates DICOM instances associated with study instance unique identifiers (SUID).
3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 3224 def update_project_location_dataset_dicom_store_study_instances(parent, dicom_web_path, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}', ) command.request_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.request_object = http_body_object command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['parent'] = parent unless parent.nil? command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_project_location_dataset_dicom_store_study_metadata(parent, dicom_web_path, http_body_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
UpdateStudyMetadata modifies the metadata of all instances in the given study. The request body must contain a JSON Patch document specifying the updates to be applied to the metadata of all instances within the study.
3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 3265 def (parent, dicom_web_path, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}/metadata', ) command.request_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.request_object = http_body_object command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation command.response_class = Google::Apis::HealthcareV1beta1::Operation command.params['parent'] = parent unless parent.nil? command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_project_location_dataset_dicom_store_study_series_instance_metadata(parent, dicom_web_path, http_body_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
UpdateInstanceMetadata modifies the metadata of a single instance. The request body must contain a JSON Patch document specifying the updates to be applied to the metadata of the instance.
3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 3698 def (parent, dicom_web_path, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}/metadata', ) command.request_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.request_object = http_body_object command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['parent'] = parent unless parent.nil? command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_project_location_dataset_dicom_store_study_series_metadata(parent, dicom_web_path, http_body_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::Operation
UpdateSeriesMetadata modifies the metadata of all instances in the given series. The request body must contain a JSON Patch document specifying the updates to be applied to the metadata of all instances within the series.
3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 3478 def (parent, dicom_web_path, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta1/{+parent}/dicomWeb/{+dicomWebPath}/metadata', ) command.request_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.request_object = http_body_object command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation command.response_class = Google::Apis::HealthcareV1beta1::Operation command.params['parent'] = parent unless parent.nil? command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_project_location_dataset_fhir_store_fhir(name, http_body_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Updates the entire contents of a resource. Implements the FHIR standard update
interaction (DSTU2, STU3, R4, R5). If the
specified resource does not exist and the FHIR store has enable_update_create
set, creates the resource with the client-specified ID. 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 Pub/Sub notifications. Those IDs can also be
contained in reference fields within other resources. The request body must
contain a JSON-encoded FHIR resource, and the request headers must contain
Content-Type: application/fhir+json. The resource must contain an id
element having an identical value to the ID in the REST path of the request.
On success, the response body contains a JSON-encoded representation of the
updated resource, including the server-assigned version ID. 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. The conditional update interaction If-None-Match is supported,
including the wildcard behaviour, as defined by the R5 spec. This
functionality is supported in R4 and R5. For samples that show how to call
update, see Updating a FHIR resource.
6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 6396 def update_project_location_dataset_fhir_store_fhir(name, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.request_object = http_body_object command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#vread_project_location_dataset_fhir_store_fhir(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::HealthcareV1beta1::HttpBody
Gets the contents of a version (current or historical) of a FHIR resource by
version ID. Implements the FHIR standard vread interaction (DSTU2, STU3, R4, R5). On success, the response body contains a JSON-
encoded representation of the resource. 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. For samples that show
how to call vread, see Retrieving a FHIR resource version.
6439 6440 6441 6442 6443 6444 6445 6446 6447 |
# File 'lib/google/apis/healthcare_v1beta1/service.rb', line 6439 def vread_project_location_dataset_fhir_store_fhir(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation command.response_class = Google::Apis::HealthcareV1beta1::HttpBody command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |