hsdp.getCdrFhirStore
Explore with Pulumi AI
Retrieve details of an existing Clinical Data Repository (CDR)
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as hsdp from "@pulumi/hsdp";
const mycdr = hsdp.getCdrFhirStore({
    baseUrl: "https://sandbox-stu3-cdr.hsdp.io/store/fhir",
    fhirOrgId: _var.iam_org_id,
});
import pulumi
import pulumi_hsdp as hsdp
mycdr = hsdp.get_cdr_fhir_store(base_url="https://sandbox-stu3-cdr.hsdp.io/store/fhir",
    fhir_org_id=var["iam_org_id"])
package main
import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/hsdp/hsdp"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := hsdp.GetCdrFhirStore(ctx, &hsdp.GetCdrFhirStoreArgs{
			BaseUrl:   "https://sandbox-stu3-cdr.hsdp.io/store/fhir",
			FhirOrgId: _var.Iam_org_id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Hsdp = Pulumi.Hsdp;
return await Deployment.RunAsync(() => 
{
    var mycdr = Hsdp.GetCdrFhirStore.Invoke(new()
    {
        BaseUrl = "https://sandbox-stu3-cdr.hsdp.io/store/fhir",
        FhirOrgId = @var.Iam_org_id,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.hsdp.HsdpFunctions;
import com.pulumi.hsdp.inputs.GetCdrFhirStoreArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var mycdr = HsdpFunctions.getCdrFhirStore(GetCdrFhirStoreArgs.builder()
            .baseUrl("https://sandbox-stu3-cdr.hsdp.io/store/fhir")
            .fhirOrgId(var_.iam_org_id())
            .build());
    }
}
variables:
  mycdr:
    fn::invoke:
      function: hsdp:getCdrFhirStore
      arguments:
        baseUrl: https://sandbox-stu3-cdr.hsdp.io/store/fhir
        fhirOrgId: ${var.iam_org_id}
Using getCdrFhirStore
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 getCdrFhirStore(args: GetCdrFhirStoreArgs, opts?: InvokeOptions): Promise<GetCdrFhirStoreResult>
function getCdrFhirStoreOutput(args: GetCdrFhirStoreOutputArgs, opts?: InvokeOptions): Output<GetCdrFhirStoreResult>def get_cdr_fhir_store(base_url: Optional[str] = None,
                       fhir_org_id: Optional[str] = None,
                       id: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetCdrFhirStoreResult
def get_cdr_fhir_store_output(base_url: Optional[pulumi.Input[str]] = None,
                       fhir_org_id: Optional[pulumi.Input[str]] = None,
                       id: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetCdrFhirStoreResult]func GetCdrFhirStore(ctx *Context, args *GetCdrFhirStoreArgs, opts ...InvokeOption) (*GetCdrFhirStoreResult, error)
func GetCdrFhirStoreOutput(ctx *Context, args *GetCdrFhirStoreOutputArgs, opts ...InvokeOption) GetCdrFhirStoreResultOutput> Note: This function is named GetCdrFhirStore in the Go SDK.
public static class GetCdrFhirStore 
{
    public static Task<GetCdrFhirStoreResult> InvokeAsync(GetCdrFhirStoreArgs args, InvokeOptions? opts = null)
    public static Output<GetCdrFhirStoreResult> Invoke(GetCdrFhirStoreInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCdrFhirStoreResult> getCdrFhirStore(GetCdrFhirStoreArgs args, InvokeOptions options)
public static Output<GetCdrFhirStoreResult> getCdrFhirStore(GetCdrFhirStoreArgs args, InvokeOptions options)
fn::invoke:
  function: hsdp:index/getCdrFhirStore:getCdrFhirStore
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Base
Url string - the base URL of the CDR instances. This is provided by HSDP.
 - Fhir
Org stringId  the FHIR Org ID (GUID)
Earlier versions of this data source required the
base_urlto be specified without the/store/fhirpath component. This is now mandatory, but the data source will append this internally and emit a warning for now if it is missing. When upgrading to this or newer versions of the provider please add the path component.- Id string
 
- Base
Url string - the base URL of the CDR instances. This is provided by HSDP.
 - Fhir
Org stringId  the FHIR Org ID (GUID)
Earlier versions of this data source required the
base_urlto be specified without the/store/fhirpath component. This is now mandatory, but the data source will append this internally and emit a warning for now if it is missing. When upgrading to this or newer versions of the provider please add the path component.- Id string
 
- base
Url String - the base URL of the CDR instances. This is provided by HSDP.
 - fhir
Org StringId  the FHIR Org ID (GUID)
Earlier versions of this data source required the
base_urlto be specified without the/store/fhirpath component. This is now mandatory, but the data source will append this internally and emit a warning for now if it is missing. When upgrading to this or newer versions of the provider please add the path component.- id String
 
- base
Url string - the base URL of the CDR instances. This is provided by HSDP.
 - fhir
Org stringId  the FHIR Org ID (GUID)
Earlier versions of this data source required the
base_urlto be specified without the/store/fhirpath component. This is now mandatory, but the data source will append this internally and emit a warning for now if it is missing. When upgrading to this or newer versions of the provider please add the path component.- id string
 
- base_
url str - the base URL of the CDR instances. This is provided by HSDP.
 - fhir_
org_ strid  the FHIR Org ID (GUID)
Earlier versions of this data source required the
base_urlto be specified without the/store/fhirpath component. This is now mandatory, but the data source will append this internally and emit a warning for now if it is missing. When upgrading to this or newer versions of the provider please add the path component.- id str
 
- base
Url String - the base URL of the CDR instances. This is provided by HSDP.
 - fhir
Org StringId  the FHIR Org ID (GUID)
Earlier versions of this data source required the
base_urlto be specified without the/store/fhirpath component. This is now mandatory, but the data source will append this internally and emit a warning for now if it is missing. When upgrading to this or newer versions of the provider please add the path component.- id String
 
getCdrFhirStore Result
The following output properties are available:
- base_
url str - endpoint str
 - The FHIR store endpoint URL
 - fhir_
org_ strid  - id str
 - type str
 - The type of CDR deployment. Currently, always 
EHR 
Package Details
- Repository
 - hsdp philips-software/terraform-provider-hsdp
 - License
 - Notes
 - This Pulumi package is based on the 
hsdpTerraform Provider.