use of com.google.api.services.healthcare.v1.CloudHealthcare.Projects.Locations.Datasets.FhirStores.Fhir.Capabilities in project java-docs-samples by GoogleCloudPlatform.
the class FhirStoreGetMetadata method fhirStoreGetMetadata.
public static void fhirStoreGetMetadata(String fhirStoreName) throws IOException {
// String fhirStoreName =
// String.format(
// FHIR_NAME, "project-id", "region-id", "dataset-id", "store-id");
// Initialize the client, which will be used to interact with the service.
CloudHealthcare client = createClient();
// Create request and configure any parameters.
Capabilities request = client.projects().locations().datasets().fhirStores().fhir().capabilities(fhirStoreName);
// Execute the request and process the results.
HttpBody response = request.execute();
System.out.println("FHIR store metadata retrieved: " + response.toPrettyString());
}
Aggregations