1. Packages
  2. Hsdp Provider
  3. API Docs
  4. getCdrPractitioner
hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software

hsdp.getCdrPractitioner

Explore with Pulumi AI

hsdp logo
hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software

    Retrieve details of CDR Practitioner resource

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as hsdp from "@pulumi/hsdp";
    
    const doc = hsdp.getCdrPractitioner({
        fhirStore: data.hsdp_cdr_fhir_store.sandbox.endpoint,
        guid: "abc-def",
    });
    
    import pulumi
    import pulumi_hsdp as hsdp
    
    doc = hsdp.get_cdr_practitioner(fhir_store=data["hsdp_cdr_fhir_store"]["sandbox"]["endpoint"],
        guid="abc-def")
    
    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.LookupCdrPractitioner(ctx, &hsdp.LookupCdrPractitionerArgs{
    			FhirStore: data.Hsdp_cdr_fhir_store.Sandbox.Endpoint,
    			Guid:      "abc-def",
    		}, 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 doc = Hsdp.GetCdrPractitioner.Invoke(new()
        {
            FhirStore = data.Hsdp_cdr_fhir_store.Sandbox.Endpoint,
            Guid = "abc-def",
        });
    
    });
    
    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.GetCdrPractitionerArgs;
    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 doc = HsdpFunctions.getCdrPractitioner(GetCdrPractitionerArgs.builder()
                .fhirStore(data.hsdp_cdr_fhir_store().sandbox().endpoint())
                .guid("abc-def")
                .build());
    
        }
    }
    
    variables:
      doc:
        fn::invoke:
          function: hsdp:getCdrPractitioner
          arguments:
            fhirStore: ${data.hsdp_cdr_fhir_store.sandbox.endpoint}
            guid: abc-def
    

    Using getCdrPractitioner

    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 getCdrPractitioner(args: GetCdrPractitionerArgs, opts?: InvokeOptions): Promise<GetCdrPractitionerResult>
    function getCdrPractitionerOutput(args: GetCdrPractitionerOutputArgs, opts?: InvokeOptions): Output<GetCdrPractitionerResult>
    def get_cdr_practitioner(fhir_store: Optional[str] = None,
                             guid: Optional[str] = None,
                             id: Optional[str] = None,
                             version: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetCdrPractitionerResult
    def get_cdr_practitioner_output(fhir_store: Optional[pulumi.Input[str]] = None,
                             guid: Optional[pulumi.Input[str]] = None,
                             id: Optional[pulumi.Input[str]] = None,
                             version: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetCdrPractitionerResult]
    func LookupCdrPractitioner(ctx *Context, args *LookupCdrPractitionerArgs, opts ...InvokeOption) (*LookupCdrPractitionerResult, error)
    func LookupCdrPractitionerOutput(ctx *Context, args *LookupCdrPractitionerOutputArgs, opts ...InvokeOption) LookupCdrPractitionerResultOutput

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

    public static class GetCdrPractitioner 
    {
        public static Task<GetCdrPractitionerResult> InvokeAsync(GetCdrPractitionerArgs args, InvokeOptions? opts = null)
        public static Output<GetCdrPractitionerResult> Invoke(GetCdrPractitionerInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCdrPractitionerResult> getCdrPractitioner(GetCdrPractitionerArgs args, InvokeOptions options)
    public static Output<GetCdrPractitionerResult> getCdrPractitioner(GetCdrPractitionerArgs args, InvokeOptions options)
    
    fn::invoke:
      function: hsdp:index/getCdrPractitioner:getCdrPractitioner
      arguments:
        # arguments dictionary

    The following arguments are supported:

    FhirStore string
    the base URL of the CDR instance to search in
    Guid string
    the unique FHIR store ID of the Practitioner to look up
    Version string
    Id string
    FhirStore string
    the base URL of the CDR instance to search in
    Guid string
    the unique FHIR store ID of the Practitioner to look up
    Version string
    Id string
    fhirStore String
    the base URL of the CDR instance to search in
    guid String
    the unique FHIR store ID of the Practitioner to look up
    version String
    id String
    fhirStore string
    the base URL of the CDR instance to search in
    guid string
    the unique FHIR store ID of the Practitioner to look up
    version string
    id string
    fhir_store str
    the base URL of the CDR instance to search in
    guid str
    the unique FHIR store ID of the Practitioner to look up
    version str
    id str
    fhirStore String
    the base URL of the CDR instance to search in
    guid String
    the unique FHIR store ID of the Practitioner to look up
    version String
    id String

    getCdrPractitioner Result

    The following output properties are available:

    FhirJson string
    The full FHIR JSON record as returned by CDR
    FhirStore string
    Guid string
    Id string
    IdentitySystems List<string>
    IdentityUses List<string>
    IdentityValues List<string>
    Version string
    FhirJson string
    The full FHIR JSON record as returned by CDR
    FhirStore string
    Guid string
    Id string
    IdentitySystems []string
    IdentityUses []string
    IdentityValues []string
    Version string
    fhirJson String
    The full FHIR JSON record as returned by CDR
    fhirStore String
    guid String
    id String
    identitySystems List<String>
    identityUses List<String>
    identityValues List<String>
    version String
    fhirJson string
    The full FHIR JSON record as returned by CDR
    fhirStore string
    guid string
    id string
    identitySystems string[]
    identityUses string[]
    identityValues string[]
    version string
    fhir_json str
    The full FHIR JSON record as returned by CDR
    fhir_store str
    guid str
    id str
    identity_systems Sequence[str]
    identity_uses Sequence[str]
    identity_values Sequence[str]
    version str
    fhirJson String
    The full FHIR JSON record as returned by CDR
    fhirStore String
    guid String
    id String
    identitySystems List<String>
    identityUses List<String>
    identityValues List<String>
    version String

    Package Details

    Repository
    hsdp philips-software/terraform-provider-hsdp
    License
    Notes
    This Pulumi package is based on the hsdp Terraform Provider.
    hsdp logo
    hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software