1. Packages
  2. Google Cloud Native
  3. API Docs
  4. healthcare
  5. healthcare/v1beta1
  6. getFhir

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.healthcare/v1beta1.getFhir

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Gets the contents of a FHIR resource. Implements the FHIR standard read interaction (DSTU2, STU3, R4). Also supports the FHIR standard conditional read interaction (DSTU2, STU3, R4) 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.

    Using getFhir

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getFhir(args: GetFhirArgs, opts?: InvokeOptions): Promise<GetFhirResult>
    function getFhirOutput(args: GetFhirOutputArgs, opts?: InvokeOptions): Output<GetFhirResult>
    def get_fhir(dataset_id: Optional[str] = None,
                 fhir_id: Optional[str] = None,
                 fhir_id1: Optional[str] = None,
                 fhir_store_id: Optional[str] = None,
                 location: Optional[str] = None,
                 project: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetFhirResult
    def get_fhir_output(dataset_id: Optional[pulumi.Input[str]] = None,
                 fhir_id: Optional[pulumi.Input[str]] = None,
                 fhir_id1: Optional[pulumi.Input[str]] = None,
                 fhir_store_id: Optional[pulumi.Input[str]] = None,
                 location: Optional[pulumi.Input[str]] = None,
                 project: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetFhirResult]
    func GetFhir(ctx *Context, args *GetFhirArgs, opts ...InvokeOption) (*GetFhirResult, error)
    func GetFhirOutput(ctx *Context, args *GetFhirOutputArgs, opts ...InvokeOption) GetFhirResultOutput

    > Note: This function is named GetFhir in the Go SDK.

    public static class GetFhir 
    {
        public static Task<GetFhirResult> InvokeAsync(GetFhirArgs args, InvokeOptions? opts = null)
        public static Output<GetFhirResult> Invoke(GetFhirInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFhirResult> getFhir(GetFhirArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:healthcare/v1beta1:getFhir
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DatasetId string
    FhirId string
    FhirId1 string
    FhirStoreId string
    Location string
    Project string
    DatasetId string
    FhirId string
    FhirId1 string
    FhirStoreId string
    Location string
    Project string
    datasetId String
    fhirId String
    fhirId1 String
    fhirStoreId String
    location String
    project String
    datasetId string
    fhirId string
    fhirId1 string
    fhirStoreId string
    location string
    project string
    datasetId String
    fhirId String
    fhirId1 String
    fhirStoreId String
    location String
    project String

    getFhir Result

    The following output properties are available:

    ContentType string
    The HTTP Content-Type header value specifying the content type of the body.
    Data string
    The HTTP request/response body as raw binary.
    Extensions List<ImmutableDictionary<string, string>>
    Application specific response metadata. Must be set in the first response for streaming APIs.
    ContentType string
    The HTTP Content-Type header value specifying the content type of the body.
    Data string
    The HTTP request/response body as raw binary.
    Extensions []map[string]string
    Application specific response metadata. Must be set in the first response for streaming APIs.
    contentType String
    The HTTP Content-Type header value specifying the content type of the body.
    data String
    The HTTP request/response body as raw binary.
    extensions List<Map<String,String>>
    Application specific response metadata. Must be set in the first response for streaming APIs.
    contentType string
    The HTTP Content-Type header value specifying the content type of the body.
    data string
    The HTTP request/response body as raw binary.
    extensions {[key: string]: string}[]
    Application specific response metadata. Must be set in the first response for streaming APIs.
    content_type str
    The HTTP Content-Type header value specifying the content type of the body.
    data str
    The HTTP request/response body as raw binary.
    extensions Sequence[Mapping[str, str]]
    Application specific response metadata. Must be set in the first response for streaming APIs.
    contentType String
    The HTTP Content-Type header value specifying the content type of the body.
    data String
    The HTTP request/response body as raw binary.
    extensions List<Map<String>>
    Application specific response metadata. Must be set in the first response for streaming APIs.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi