Search in sources :

Example 1 with Capabilities

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());
}
Also used : Capabilities(com.google.api.services.healthcare.v1.CloudHealthcare.Projects.Locations.Datasets.FhirStores.Fhir.Capabilities) HttpBody(com.google.api.services.healthcare.v1.model.HttpBody) CloudHealthcare(com.google.api.services.healthcare.v1.CloudHealthcare)

Aggregations

CloudHealthcare (com.google.api.services.healthcare.v1.CloudHealthcare)1 Capabilities (com.google.api.services.healthcare.v1.CloudHealthcare.Projects.Locations.Datasets.FhirStores.Fhir.Capabilities)1 HttpBody (com.google.api.services.healthcare.v1.model.HttpBody)1