1. Packages
  2. Azure Classic
  3. API Docs
  4. healthcare
  5. MedtechServiceFhirDestination

We recommend using Azure Native.

Azure Classic v5.72.0 published on Monday, Apr 15, 2024 by Pulumi

azure.healthcare.MedtechServiceFhirDestination

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.72.0 published on Monday, Apr 15, 2024 by Pulumi

    Manages a Healthcare Med Tech Service Fhir Destination.

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = new azure.core.ResourceGroup("example", {
        name: "example-rg",
        location: "West Europe",
    });
    const current = azure.core.getClientConfig({});
    const exampleWorkspace = new azure.healthcare.Workspace("example", {
        name: "exampleworkspace",
        location: example.location,
        resourceGroupName: example.name,
    });
    const exampleEventHubNamespace = new azure.eventhub.EventHubNamespace("example", {
        name: "example-ehn",
        location: example.location,
        resourceGroupName: example.name,
        sku: "Standard",
    });
    const exampleEventHub = new azure.eventhub.EventHub("example", {
        name: "example-eh",
        namespaceName: exampleEventHubNamespace.name,
        resourceGroupName: example.name,
        partitionCount: 1,
        messageRetention: 1,
    });
    const exampleConsumerGroup = new azure.eventhub.ConsumerGroup("example", {
        name: "$default",
        namespaceName: exampleEventHubNamespace.name,
        eventhubName: exampleEventHub.name,
        resourceGroupName: example.name,
    });
    const exampleFhirService = new azure.healthcare.FhirService("example", {
        name: "examplefhir",
        location: example.location,
        resourceGroupName: example.name,
        workspaceId: exampleWorkspace.id,
        kind: "fhir-R4",
        authentication: {
            authority: "https://login.microsoftonline.com/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
            audience: "https://examplefhir.fhir.azurehealthcareapis.com",
        },
    });
    const exampleMedtechService = new azure.healthcare.MedtechService("example", {
        name: "examplemt",
        workspaceId: exampleWorkspace.id,
        location: example.location,
        eventhubNamespaceName: exampleEventHubNamespace.name,
        eventhubName: exampleEventHub.name,
        eventhubConsumerGroupName: exampleConsumerGroup.name,
        deviceMappingJson: JSON.stringify({
            templateType: "CollectionContent",
            template: [],
        }),
    });
    const exampleMedtechServiceFhirDestination = new azure.healthcare.MedtechServiceFhirDestination("example", {
        name: "examplemtdes",
        location: "east us",
        medtechServiceId: exampleMedtechService.id,
        destinationFhirServiceId: exampleFhirService.id,
        destinationIdentityResolutionType: "Create",
        destinationFhirMappingJson: JSON.stringify({
            templateType: "CollectionFhirTemplate",
            template: [{
                templateType: "CodeValueFhir",
                template: {
                    codes: [{
                        code: "8867-4",
                        system: "http://loinc.org",
                        display: "Heart rate",
                    }],
                    periodInterval: 60,
                    typeName: "heartrate",
                    value: {
                        defaultPeriod: 5000,
                        unit: "count/min",
                        valueName: "hr",
                        valueType: "SampledData",
                    },
                },
            }],
        }),
    });
    
    import pulumi
    import json
    import pulumi_azure as azure
    
    example = azure.core.ResourceGroup("example",
        name="example-rg",
        location="West Europe")
    current = azure.core.get_client_config()
    example_workspace = azure.healthcare.Workspace("example",
        name="exampleworkspace",
        location=example.location,
        resource_group_name=example.name)
    example_event_hub_namespace = azure.eventhub.EventHubNamespace("example",
        name="example-ehn",
        location=example.location,
        resource_group_name=example.name,
        sku="Standard")
    example_event_hub = azure.eventhub.EventHub("example",
        name="example-eh",
        namespace_name=example_event_hub_namespace.name,
        resource_group_name=example.name,
        partition_count=1,
        message_retention=1)
    example_consumer_group = azure.eventhub.ConsumerGroup("example",
        name="$default",
        namespace_name=example_event_hub_namespace.name,
        eventhub_name=example_event_hub.name,
        resource_group_name=example.name)
    example_fhir_service = azure.healthcare.FhirService("example",
        name="examplefhir",
        location=example.location,
        resource_group_name=example.name,
        workspace_id=example_workspace.id,
        kind="fhir-R4",
        authentication=azure.healthcare.FhirServiceAuthenticationArgs(
            authority="https://login.microsoftonline.com/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
            audience="https://examplefhir.fhir.azurehealthcareapis.com",
        ))
    example_medtech_service = azure.healthcare.MedtechService("example",
        name="examplemt",
        workspace_id=example_workspace.id,
        location=example.location,
        eventhub_namespace_name=example_event_hub_namespace.name,
        eventhub_name=example_event_hub.name,
        eventhub_consumer_group_name=example_consumer_group.name,
        device_mapping_json=json.dumps({
            "templateType": "CollectionContent",
            "template": [],
        }))
    example_medtech_service_fhir_destination = azure.healthcare.MedtechServiceFhirDestination("example",
        name="examplemtdes",
        location="east us",
        medtech_service_id=example_medtech_service.id,
        destination_fhir_service_id=example_fhir_service.id,
        destination_identity_resolution_type="Create",
        destination_fhir_mapping_json=json.dumps({
            "templateType": "CollectionFhirTemplate",
            "template": [{
                "templateType": "CodeValueFhir",
                "template": {
                    "codes": [{
                        "code": "8867-4",
                        "system": "http://loinc.org",
                        "display": "Heart rate",
                    }],
                    "periodInterval": 60,
                    "typeName": "heartrate",
                    "value": {
                        "defaultPeriod": 5000,
                        "unit": "count/min",
                        "valueName": "hr",
                        "valueType": "SampledData",
                    },
                },
            }],
        }))
    
    package main
    
    import (
    	"encoding/json"
    
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/eventhub"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/healthcare"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
    			Name:     pulumi.String("example-rg"),
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = core.GetClientConfig(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		exampleWorkspace, err := healthcare.NewWorkspace(ctx, "example", &healthcare.WorkspaceArgs{
    			Name:              pulumi.String("exampleworkspace"),
    			Location:          example.Location,
    			ResourceGroupName: example.Name,
    		})
    		if err != nil {
    			return err
    		}
    		exampleEventHubNamespace, err := eventhub.NewEventHubNamespace(ctx, "example", &eventhub.EventHubNamespaceArgs{
    			Name:              pulumi.String("example-ehn"),
    			Location:          example.Location,
    			ResourceGroupName: example.Name,
    			Sku:               pulumi.String("Standard"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleEventHub, err := eventhub.NewEventHub(ctx, "example", &eventhub.EventHubArgs{
    			Name:              pulumi.String("example-eh"),
    			NamespaceName:     exampleEventHubNamespace.Name,
    			ResourceGroupName: example.Name,
    			PartitionCount:    pulumi.Int(1),
    			MessageRetention:  pulumi.Int(1),
    		})
    		if err != nil {
    			return err
    		}
    		exampleConsumerGroup, err := eventhub.NewConsumerGroup(ctx, "example", &eventhub.ConsumerGroupArgs{
    			Name:              pulumi.String("$default"),
    			NamespaceName:     exampleEventHubNamespace.Name,
    			EventhubName:      exampleEventHub.Name,
    			ResourceGroupName: example.Name,
    		})
    		if err != nil {
    			return err
    		}
    		exampleFhirService, err := healthcare.NewFhirService(ctx, "example", &healthcare.FhirServiceArgs{
    			Name:              pulumi.String("examplefhir"),
    			Location:          example.Location,
    			ResourceGroupName: example.Name,
    			WorkspaceId:       exampleWorkspace.ID(),
    			Kind:              pulumi.String("fhir-R4"),
    			Authentication: &healthcare.FhirServiceAuthenticationArgs{
    				Authority: pulumi.String("https://login.microsoftonline.com/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"),
    				Audience:  pulumi.String("https://examplefhir.fhir.azurehealthcareapis.com"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		tmpJSON0, err := json.Marshal(map[string]interface{}{
    			"templateType": "CollectionContent",
    			"template":     []interface{}{},
    		})
    		if err != nil {
    			return err
    		}
    		json0 := string(tmpJSON0)
    		exampleMedtechService, err := healthcare.NewMedtechService(ctx, "example", &healthcare.MedtechServiceArgs{
    			Name:                      pulumi.String("examplemt"),
    			WorkspaceId:               exampleWorkspace.ID(),
    			Location:                  example.Location,
    			EventhubNamespaceName:     exampleEventHubNamespace.Name,
    			EventhubName:              exampleEventHub.Name,
    			EventhubConsumerGroupName: exampleConsumerGroup.Name,
    			DeviceMappingJson:         pulumi.String(json0),
    		})
    		if err != nil {
    			return err
    		}
    		tmpJSON1, err := json.Marshal(map[string]interface{}{
    			"templateType": "CollectionFhirTemplate",
    			"template": []map[string]interface{}{
    				map[string]interface{}{
    					"templateType": "CodeValueFhir",
    					"template": map[string]interface{}{
    						"codes": []map[string]interface{}{
    							map[string]interface{}{
    								"code":    "8867-4",
    								"system":  "http://loinc.org",
    								"display": "Heart rate",
    							},
    						},
    						"periodInterval": 60,
    						"typeName":       "heartrate",
    						"value": map[string]interface{}{
    							"defaultPeriod": 5000,
    							"unit":          "count/min",
    							"valueName":     "hr",
    							"valueType":     "SampledData",
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		json1 := string(tmpJSON1)
    		_, err = healthcare.NewMedtechServiceFhirDestination(ctx, "example", &healthcare.MedtechServiceFhirDestinationArgs{
    			Name:                              pulumi.String("examplemtdes"),
    			Location:                          pulumi.String("east us"),
    			MedtechServiceId:                  exampleMedtechService.ID(),
    			DestinationFhirServiceId:          exampleFhirService.ID(),
    			DestinationIdentityResolutionType: pulumi.String("Create"),
    			DestinationFhirMappingJson:        pulumi.String(json1),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using System.Text.Json;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Azure.Core.ResourceGroup("example", new()
        {
            Name = "example-rg",
            Location = "West Europe",
        });
    
        var current = Azure.Core.GetClientConfig.Invoke();
    
        var exampleWorkspace = new Azure.Healthcare.Workspace("example", new()
        {
            Name = "exampleworkspace",
            Location = example.Location,
            ResourceGroupName = example.Name,
        });
    
        var exampleEventHubNamespace = new Azure.EventHub.EventHubNamespace("example", new()
        {
            Name = "example-ehn",
            Location = example.Location,
            ResourceGroupName = example.Name,
            Sku = "Standard",
        });
    
        var exampleEventHub = new Azure.EventHub.EventHub("example", new()
        {
            Name = "example-eh",
            NamespaceName = exampleEventHubNamespace.Name,
            ResourceGroupName = example.Name,
            PartitionCount = 1,
            MessageRetention = 1,
        });
    
        var exampleConsumerGroup = new Azure.EventHub.ConsumerGroup("example", new()
        {
            Name = "$default",
            NamespaceName = exampleEventHubNamespace.Name,
            EventhubName = exampleEventHub.Name,
            ResourceGroupName = example.Name,
        });
    
        var exampleFhirService = new Azure.Healthcare.FhirService("example", new()
        {
            Name = "examplefhir",
            Location = example.Location,
            ResourceGroupName = example.Name,
            WorkspaceId = exampleWorkspace.Id,
            Kind = "fhir-R4",
            Authentication = new Azure.Healthcare.Inputs.FhirServiceAuthenticationArgs
            {
                Authority = "https://login.microsoftonline.com/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
                Audience = "https://examplefhir.fhir.azurehealthcareapis.com",
            },
        });
    
        var exampleMedtechService = new Azure.Healthcare.MedtechService("example", new()
        {
            Name = "examplemt",
            WorkspaceId = exampleWorkspace.Id,
            Location = example.Location,
            EventhubNamespaceName = exampleEventHubNamespace.Name,
            EventhubName = exampleEventHub.Name,
            EventhubConsumerGroupName = exampleConsumerGroup.Name,
            DeviceMappingJson = JsonSerializer.Serialize(new Dictionary<string, object?>
            {
                ["templateType"] = "CollectionContent",
                ["template"] = new[]
                {
                },
            }),
        });
    
        var exampleMedtechServiceFhirDestination = new Azure.Healthcare.MedtechServiceFhirDestination("example", new()
        {
            Name = "examplemtdes",
            Location = "east us",
            MedtechServiceId = exampleMedtechService.Id,
            DestinationFhirServiceId = exampleFhirService.Id,
            DestinationIdentityResolutionType = "Create",
            DestinationFhirMappingJson = JsonSerializer.Serialize(new Dictionary<string, object?>
            {
                ["templateType"] = "CollectionFhirTemplate",
                ["template"] = new[]
                {
                    new Dictionary<string, object?>
                    {
                        ["templateType"] = "CodeValueFhir",
                        ["template"] = new Dictionary<string, object?>
                        {
                            ["codes"] = new[]
                            {
                                new Dictionary<string, object?>
                                {
                                    ["code"] = "8867-4",
                                    ["system"] = "http://loinc.org",
                                    ["display"] = "Heart rate",
                                },
                            },
                            ["periodInterval"] = 60,
                            ["typeName"] = "heartrate",
                            ["value"] = new Dictionary<string, object?>
                            {
                                ["defaultPeriod"] = 5000,
                                ["unit"] = "count/min",
                                ["valueName"] = "hr",
                                ["valueType"] = "SampledData",
                            },
                        },
                    },
                },
            }),
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azure.core.ResourceGroup;
    import com.pulumi.azure.core.ResourceGroupArgs;
    import com.pulumi.azure.core.CoreFunctions;
    import com.pulumi.azure.healthcare.Workspace;
    import com.pulumi.azure.healthcare.WorkspaceArgs;
    import com.pulumi.azure.eventhub.EventHubNamespace;
    import com.pulumi.azure.eventhub.EventHubNamespaceArgs;
    import com.pulumi.azure.eventhub.EventHub;
    import com.pulumi.azure.eventhub.EventHubArgs;
    import com.pulumi.azure.eventhub.ConsumerGroup;
    import com.pulumi.azure.eventhub.ConsumerGroupArgs;
    import com.pulumi.azure.healthcare.FhirService;
    import com.pulumi.azure.healthcare.FhirServiceArgs;
    import com.pulumi.azure.healthcare.inputs.FhirServiceAuthenticationArgs;
    import com.pulumi.azure.healthcare.MedtechService;
    import com.pulumi.azure.healthcare.MedtechServiceArgs;
    import com.pulumi.azure.healthcare.MedtechServiceFhirDestination;
    import com.pulumi.azure.healthcare.MedtechServiceFhirDestinationArgs;
    import static com.pulumi.codegen.internal.Serialization.*;
    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) {
            var example = new ResourceGroup("example", ResourceGroupArgs.builder()        
                .name("example-rg")
                .location("West Europe")
                .build());
    
            final var current = CoreFunctions.getClientConfig();
    
            var exampleWorkspace = new Workspace("exampleWorkspace", WorkspaceArgs.builder()        
                .name("exampleworkspace")
                .location(example.location())
                .resourceGroupName(example.name())
                .build());
    
            var exampleEventHubNamespace = new EventHubNamespace("exampleEventHubNamespace", EventHubNamespaceArgs.builder()        
                .name("example-ehn")
                .location(example.location())
                .resourceGroupName(example.name())
                .sku("Standard")
                .build());
    
            var exampleEventHub = new EventHub("exampleEventHub", EventHubArgs.builder()        
                .name("example-eh")
                .namespaceName(exampleEventHubNamespace.name())
                .resourceGroupName(example.name())
                .partitionCount(1)
                .messageRetention(1)
                .build());
    
            var exampleConsumerGroup = new ConsumerGroup("exampleConsumerGroup", ConsumerGroupArgs.builder()        
                .name("$default")
                .namespaceName(exampleEventHubNamespace.name())
                .eventhubName(exampleEventHub.name())
                .resourceGroupName(example.name())
                .build());
    
            var exampleFhirService = new FhirService("exampleFhirService", FhirServiceArgs.builder()        
                .name("examplefhir")
                .location(example.location())
                .resourceGroupName(example.name())
                .workspaceId(exampleWorkspace.id())
                .kind("fhir-R4")
                .authentication(FhirServiceAuthenticationArgs.builder()
                    .authority("https://login.microsoftonline.com/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")
                    .audience("https://examplefhir.fhir.azurehealthcareapis.com")
                    .build())
                .build());
    
            var exampleMedtechService = new MedtechService("exampleMedtechService", MedtechServiceArgs.builder()        
                .name("examplemt")
                .workspaceId(exampleWorkspace.id())
                .location(example.location())
                .eventhubNamespaceName(exampleEventHubNamespace.name())
                .eventhubName(exampleEventHub.name())
                .eventhubConsumerGroupName(exampleConsumerGroup.name())
                .deviceMappingJson(serializeJson(
                    jsonObject(
                        jsonProperty("templateType", "CollectionContent"),
                        jsonProperty("template", jsonArray(
                        ))
                    )))
                .build());
    
            var exampleMedtechServiceFhirDestination = new MedtechServiceFhirDestination("exampleMedtechServiceFhirDestination", MedtechServiceFhirDestinationArgs.builder()        
                .name("examplemtdes")
                .location("east us")
                .medtechServiceId(exampleMedtechService.id())
                .destinationFhirServiceId(exampleFhirService.id())
                .destinationIdentityResolutionType("Create")
                .destinationFhirMappingJson(serializeJson(
                    jsonObject(
                        jsonProperty("templateType", "CollectionFhirTemplate"),
                        jsonProperty("template", jsonArray(jsonObject(
                            jsonProperty("templateType", "CodeValueFhir"),
                            jsonProperty("template", jsonObject(
                                jsonProperty("codes", jsonArray(jsonObject(
                                    jsonProperty("code", "8867-4"),
                                    jsonProperty("system", "http://loinc.org"),
                                    jsonProperty("display", "Heart rate")
                                ))),
                                jsonProperty("periodInterval", 60),
                                jsonProperty("typeName", "heartrate"),
                                jsonProperty("value", jsonObject(
                                    jsonProperty("defaultPeriod", 5000),
                                    jsonProperty("unit", "count/min"),
                                    jsonProperty("valueName", "hr"),
                                    jsonProperty("valueType", "SampledData")
                                ))
                            ))
                        )))
                    )))
                .build());
    
        }
    }
    
    resources:
      example:
        type: azure:core:ResourceGroup
        properties:
          name: example-rg
          location: West Europe
      exampleWorkspace:
        type: azure:healthcare:Workspace
        name: example
        properties:
          name: exampleworkspace
          location: ${example.location}
          resourceGroupName: ${example.name}
      exampleEventHubNamespace:
        type: azure:eventhub:EventHubNamespace
        name: example
        properties:
          name: example-ehn
          location: ${example.location}
          resourceGroupName: ${example.name}
          sku: Standard
      exampleEventHub:
        type: azure:eventhub:EventHub
        name: example
        properties:
          name: example-eh
          namespaceName: ${exampleEventHubNamespace.name}
          resourceGroupName: ${example.name}
          partitionCount: 1
          messageRetention: 1
      exampleConsumerGroup:
        type: azure:eventhub:ConsumerGroup
        name: example
        properties:
          name: $default
          namespaceName: ${exampleEventHubNamespace.name}
          eventhubName: ${exampleEventHub.name}
          resourceGroupName: ${example.name}
      exampleFhirService:
        type: azure:healthcare:FhirService
        name: example
        properties:
          name: examplefhir
          location: ${example.location}
          resourceGroupName: ${example.name}
          workspaceId: ${exampleWorkspace.id}
          kind: fhir-R4
          authentication:
            authority: https://login.microsoftonline.com/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
            audience: https://examplefhir.fhir.azurehealthcareapis.com
      exampleMedtechService:
        type: azure:healthcare:MedtechService
        name: example
        properties:
          name: examplemt
          workspaceId: ${exampleWorkspace.id}
          location: ${example.location}
          eventhubNamespaceName: ${exampleEventHubNamespace.name}
          eventhubName: ${exampleEventHub.name}
          eventhubConsumerGroupName: ${exampleConsumerGroup.name}
          deviceMappingJson:
            fn::toJSON:
              templateType: CollectionContent
              template: []
      exampleMedtechServiceFhirDestination:
        type: azure:healthcare:MedtechServiceFhirDestination
        name: example
        properties:
          name: examplemtdes
          location: east us
          medtechServiceId: ${exampleMedtechService.id}
          destinationFhirServiceId: ${exampleFhirService.id}
          destinationIdentityResolutionType: Create
          destinationFhirMappingJson:
            fn::toJSON:
              templateType: CollectionFhirTemplate
              template:
                - templateType: CodeValueFhir
                  template:
                    codes:
                      - code: 8867-4
                        system: http://loinc.org
                        display: Heart rate
                    periodInterval: 60
                    typeName: heartrate
                    value:
                      defaultPeriod: 5000
                      unit: count/min
                      valueName: hr
                      valueType: SampledData
    variables:
      current:
        fn::invoke:
          Function: azure:core:getClientConfig
          Arguments: {}
    

    Create MedtechServiceFhirDestination Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new MedtechServiceFhirDestination(name: string, args: MedtechServiceFhirDestinationArgs, opts?: CustomResourceOptions);
    @overload
    def MedtechServiceFhirDestination(resource_name: str,
                                      args: MedtechServiceFhirDestinationArgs,
                                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def MedtechServiceFhirDestination(resource_name: str,
                                      opts: Optional[ResourceOptions] = None,
                                      destination_fhir_mapping_json: Optional[str] = None,
                                      destination_fhir_service_id: Optional[str] = None,
                                      destination_identity_resolution_type: Optional[str] = None,
                                      medtech_service_id: Optional[str] = None,
                                      location: Optional[str] = None,
                                      name: Optional[str] = None)
    func NewMedtechServiceFhirDestination(ctx *Context, name string, args MedtechServiceFhirDestinationArgs, opts ...ResourceOption) (*MedtechServiceFhirDestination, error)
    public MedtechServiceFhirDestination(string name, MedtechServiceFhirDestinationArgs args, CustomResourceOptions? opts = null)
    public MedtechServiceFhirDestination(String name, MedtechServiceFhirDestinationArgs args)
    public MedtechServiceFhirDestination(String name, MedtechServiceFhirDestinationArgs args, CustomResourceOptions options)
    
    type: azure:healthcare:MedtechServiceFhirDestination
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args MedtechServiceFhirDestinationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args MedtechServiceFhirDestinationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args MedtechServiceFhirDestinationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MedtechServiceFhirDestinationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MedtechServiceFhirDestinationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var medtechServiceFhirDestinationResource = new Azure.Healthcare.MedtechServiceFhirDestination("medtechServiceFhirDestinationResource", new()
    {
        DestinationFhirMappingJson = "string",
        DestinationFhirServiceId = "string",
        DestinationIdentityResolutionType = "string",
        MedtechServiceId = "string",
        Location = "string",
        Name = "string",
    });
    
    example, err := healthcare.NewMedtechServiceFhirDestination(ctx, "medtechServiceFhirDestinationResource", &healthcare.MedtechServiceFhirDestinationArgs{
    	DestinationFhirMappingJson:        pulumi.String("string"),
    	DestinationFhirServiceId:          pulumi.String("string"),
    	DestinationIdentityResolutionType: pulumi.String("string"),
    	MedtechServiceId:                  pulumi.String("string"),
    	Location:                          pulumi.String("string"),
    	Name:                              pulumi.String("string"),
    })
    
    var medtechServiceFhirDestinationResource = new MedtechServiceFhirDestination("medtechServiceFhirDestinationResource", MedtechServiceFhirDestinationArgs.builder()        
        .destinationFhirMappingJson("string")
        .destinationFhirServiceId("string")
        .destinationIdentityResolutionType("string")
        .medtechServiceId("string")
        .location("string")
        .name("string")
        .build());
    
    medtech_service_fhir_destination_resource = azure.healthcare.MedtechServiceFhirDestination("medtechServiceFhirDestinationResource",
        destination_fhir_mapping_json="string",
        destination_fhir_service_id="string",
        destination_identity_resolution_type="string",
        medtech_service_id="string",
        location="string",
        name="string")
    
    const medtechServiceFhirDestinationResource = new azure.healthcare.MedtechServiceFhirDestination("medtechServiceFhirDestinationResource", {
        destinationFhirMappingJson: "string",
        destinationFhirServiceId: "string",
        destinationIdentityResolutionType: "string",
        medtechServiceId: "string",
        location: "string",
        name: "string",
    });
    
    type: azure:healthcare:MedtechServiceFhirDestination
    properties:
        destinationFhirMappingJson: string
        destinationFhirServiceId: string
        destinationIdentityResolutionType: string
        location: string
        medtechServiceId: string
        name: string
    

    MedtechServiceFhirDestination Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The MedtechServiceFhirDestination resource accepts the following input properties:

    DestinationFhirMappingJson string
    Specifies the destination Fhir mappings of the Med Tech Service Fhir Destination.
    DestinationFhirServiceId string
    Specifies the destination fhir service id of the Med Tech Service Fhir Destination.
    DestinationIdentityResolutionType string
    Specifies the destination identity resolution type where the Healthcare Med Tech Service Fhir Destination should be created. Possible values are Create, Lookup.
    MedtechServiceId string
    Specifies the name of the Healthcare Med Tech Service where the Healthcare Med Tech Service Fhir Destination should exist. Changing this forces a new Healthcare Med Tech Service Fhir Destination to be created.
    Location string
    Specifies the Azure Region where the Healthcare Med Tech Service Fhir Destination should be created. Changing this forces a new Healthcare Med Tech Service Fhir Destination to be created.
    Name string
    Specifies the name of the Healthcare Med Tech Service Fhir Destination. Changing this forces a new Healthcare Med Tech Service Fhir Destination to be created.
    DestinationFhirMappingJson string
    Specifies the destination Fhir mappings of the Med Tech Service Fhir Destination.
    DestinationFhirServiceId string
    Specifies the destination fhir service id of the Med Tech Service Fhir Destination.
    DestinationIdentityResolutionType string
    Specifies the destination identity resolution type where the Healthcare Med Tech Service Fhir Destination should be created. Possible values are Create, Lookup.
    MedtechServiceId string
    Specifies the name of the Healthcare Med Tech Service where the Healthcare Med Tech Service Fhir Destination should exist. Changing this forces a new Healthcare Med Tech Service Fhir Destination to be created.
    Location string
    Specifies the Azure Region where the Healthcare Med Tech Service Fhir Destination should be created. Changing this forces a new Healthcare Med Tech Service Fhir Destination to be created.
    Name string
    Specifies the name of the Healthcare Med Tech Service Fhir Destination. Changing this forces a new Healthcare Med Tech Service Fhir Destination to be created.
    destinationFhirMappingJson String
    Specifies the destination Fhir mappings of the Med Tech Service Fhir Destination.
    destinationFhirServiceId String
    Specifies the destination fhir service id of the Med Tech Service Fhir Destination.
    destinationIdentityResolutionType String
    Specifies the destination identity resolution type where the Healthcare Med Tech Service Fhir Destination should be created. Possible values are Create, Lookup.
    medtechServiceId String
    Specifies the name of the Healthcare Med Tech Service where the Healthcare Med Tech Service Fhir Destination should exist. Changing this forces a new Healthcare Med Tech Service Fhir Destination to be created.
    location String
    Specifies the Azure Region where the Healthcare Med Tech Service Fhir Destination should be created. Changing this forces a new Healthcare Med Tech Service Fhir Destination to be created.
    name String
    Specifies the name of the Healthcare Med Tech Service Fhir Destination. Changing this forces a new Healthcare Med Tech Service Fhir Destination to be created.
    destinationFhirMappingJson string
    Specifies the destination Fhir mappings of the Med Tech Service Fhir Destination.
    destinationFhirServiceId string
    Specifies the destination fhir service id of the Med Tech Service Fhir Destination.
    destinationIdentityResolutionType string
    Specifies the destination identity resolution type where the Healthcare Med Tech Service Fhir Destination should be created. Possible values are Create, Lookup.
    medtechServiceId string
    Specifies the name of the Healthcare Med Tech Service where the Healthcare Med Tech Service Fhir Destination should exist. Changing this forces a new Healthcare Med Tech Service Fhir Destination to be created.
    location string
    Specifies the Azure Region where the Healthcare Med Tech Service Fhir Destination should be created. Changing this forces a new Healthcare Med Tech Service Fhir Destination to be created.
    name string
    Specifies the name of the Healthcare Med Tech Service Fhir Destination. Changing this forces a new Healthcare Med Tech Service Fhir Destination to be created.
    destination_fhir_mapping_json str
    Specifies the destination Fhir mappings of the Med Tech Service Fhir Destination.
    destination_fhir_service_id str
    Specifies the destination fhir service id of the Med Tech Service Fhir Destination.
    destination_identity_resolution_type str
    Specifies the destination identity resolution type where the Healthcare Med Tech Service Fhir Destination should be created. Possible values are Create, Lookup.
    medtech_service_id str
    Specifies the name of the Healthcare Med Tech Service where the Healthcare Med Tech Service Fhir Destination should exist. Changing this forces a new Healthcare Med Tech Service Fhir Destination to be created.
    location str
    Specifies the Azure Region where the Healthcare Med Tech Service Fhir Destination should be created. Changing this forces a new Healthcare Med Tech Service Fhir Destination to be created.
    name str
    Specifies the name of the Healthcare Med Tech Service Fhir Destination. Changing this forces a new Healthcare Med Tech Service Fhir Destination to be created.
    destinationFhirMappingJson String
    Specifies the destination Fhir mappings of the Med Tech Service Fhir Destination.
    destinationFhirServiceId String
    Specifies the destination fhir service id of the Med Tech Service Fhir Destination.
    destinationIdentityResolutionType String
    Specifies the destination identity resolution type where the Healthcare Med Tech Service Fhir Destination should be created. Possible values are Create, Lookup.
    medtechServiceId String
    Specifies the name of the Healthcare Med Tech Service where the Healthcare Med Tech Service Fhir Destination should exist. Changing this forces a new Healthcare Med Tech Service Fhir Destination to be created.
    location String
    Specifies the Azure Region where the Healthcare Med Tech Service Fhir Destination should be created. Changing this forces a new Healthcare Med Tech Service Fhir Destination to be created.
    name String
    Specifies the name of the Healthcare Med Tech Service Fhir Destination. Changing this forces a new Healthcare Med Tech Service Fhir Destination to be created.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the MedtechServiceFhirDestination resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing MedtechServiceFhirDestination Resource

    Get an existing MedtechServiceFhirDestination resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: MedtechServiceFhirDestinationState, opts?: CustomResourceOptions): MedtechServiceFhirDestination
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            destination_fhir_mapping_json: Optional[str] = None,
            destination_fhir_service_id: Optional[str] = None,
            destination_identity_resolution_type: Optional[str] = None,
            location: Optional[str] = None,
            medtech_service_id: Optional[str] = None,
            name: Optional[str] = None) -> MedtechServiceFhirDestination
    func GetMedtechServiceFhirDestination(ctx *Context, name string, id IDInput, state *MedtechServiceFhirDestinationState, opts ...ResourceOption) (*MedtechServiceFhirDestination, error)
    public static MedtechServiceFhirDestination Get(string name, Input<string> id, MedtechServiceFhirDestinationState? state, CustomResourceOptions? opts = null)
    public static MedtechServiceFhirDestination get(String name, Output<String> id, MedtechServiceFhirDestinationState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    DestinationFhirMappingJson string
    Specifies the destination Fhir mappings of the Med Tech Service Fhir Destination.
    DestinationFhirServiceId string
    Specifies the destination fhir service id of the Med Tech Service Fhir Destination.
    DestinationIdentityResolutionType string
    Specifies the destination identity resolution type where the Healthcare Med Tech Service Fhir Destination should be created. Possible values are Create, Lookup.
    Location string
    Specifies the Azure Region where the Healthcare Med Tech Service Fhir Destination should be created. Changing this forces a new Healthcare Med Tech Service Fhir Destination to be created.
    MedtechServiceId string
    Specifies the name of the Healthcare Med Tech Service where the Healthcare Med Tech Service Fhir Destination should exist. Changing this forces a new Healthcare Med Tech Service Fhir Destination to be created.
    Name string
    Specifies the name of the Healthcare Med Tech Service Fhir Destination. Changing this forces a new Healthcare Med Tech Service Fhir Destination to be created.
    DestinationFhirMappingJson string
    Specifies the destination Fhir mappings of the Med Tech Service Fhir Destination.
    DestinationFhirServiceId string
    Specifies the destination fhir service id of the Med Tech Service Fhir Destination.
    DestinationIdentityResolutionType string
    Specifies the destination identity resolution type where the Healthcare Med Tech Service Fhir Destination should be created. Possible values are Create, Lookup.
    Location string
    Specifies the Azure Region where the Healthcare Med Tech Service Fhir Destination should be created. Changing this forces a new Healthcare Med Tech Service Fhir Destination to be created.
    MedtechServiceId string
    Specifies the name of the Healthcare Med Tech Service where the Healthcare Med Tech Service Fhir Destination should exist. Changing this forces a new Healthcare Med Tech Service Fhir Destination to be created.
    Name string
    Specifies the name of the Healthcare Med Tech Service Fhir Destination. Changing this forces a new Healthcare Med Tech Service Fhir Destination to be created.
    destinationFhirMappingJson String
    Specifies the destination Fhir mappings of the Med Tech Service Fhir Destination.
    destinationFhirServiceId String
    Specifies the destination fhir service id of the Med Tech Service Fhir Destination.
    destinationIdentityResolutionType String
    Specifies the destination identity resolution type where the Healthcare Med Tech Service Fhir Destination should be created. Possible values are Create, Lookup.
    location String
    Specifies the Azure Region where the Healthcare Med Tech Service Fhir Destination should be created. Changing this forces a new Healthcare Med Tech Service Fhir Destination to be created.
    medtechServiceId String
    Specifies the name of the Healthcare Med Tech Service where the Healthcare Med Tech Service Fhir Destination should exist. Changing this forces a new Healthcare Med Tech Service Fhir Destination to be created.
    name String
    Specifies the name of the Healthcare Med Tech Service Fhir Destination. Changing this forces a new Healthcare Med Tech Service Fhir Destination to be created.
    destinationFhirMappingJson string
    Specifies the destination Fhir mappings of the Med Tech Service Fhir Destination.
    destinationFhirServiceId string
    Specifies the destination fhir service id of the Med Tech Service Fhir Destination.
    destinationIdentityResolutionType string
    Specifies the destination identity resolution type where the Healthcare Med Tech Service Fhir Destination should be created. Possible values are Create, Lookup.
    location string
    Specifies the Azure Region where the Healthcare Med Tech Service Fhir Destination should be created. Changing this forces a new Healthcare Med Tech Service Fhir Destination to be created.
    medtechServiceId string
    Specifies the name of the Healthcare Med Tech Service where the Healthcare Med Tech Service Fhir Destination should exist. Changing this forces a new Healthcare Med Tech Service Fhir Destination to be created.
    name string
    Specifies the name of the Healthcare Med Tech Service Fhir Destination. Changing this forces a new Healthcare Med Tech Service Fhir Destination to be created.
    destination_fhir_mapping_json str
    Specifies the destination Fhir mappings of the Med Tech Service Fhir Destination.
    destination_fhir_service_id str
    Specifies the destination fhir service id of the Med Tech Service Fhir Destination.
    destination_identity_resolution_type str
    Specifies the destination identity resolution type where the Healthcare Med Tech Service Fhir Destination should be created. Possible values are Create, Lookup.
    location str
    Specifies the Azure Region where the Healthcare Med Tech Service Fhir Destination should be created. Changing this forces a new Healthcare Med Tech Service Fhir Destination to be created.
    medtech_service_id str
    Specifies the name of the Healthcare Med Tech Service where the Healthcare Med Tech Service Fhir Destination should exist. Changing this forces a new Healthcare Med Tech Service Fhir Destination to be created.
    name str
    Specifies the name of the Healthcare Med Tech Service Fhir Destination. Changing this forces a new Healthcare Med Tech Service Fhir Destination to be created.
    destinationFhirMappingJson String
    Specifies the destination Fhir mappings of the Med Tech Service Fhir Destination.
    destinationFhirServiceId String
    Specifies the destination fhir service id of the Med Tech Service Fhir Destination.
    destinationIdentityResolutionType String
    Specifies the destination identity resolution type where the Healthcare Med Tech Service Fhir Destination should be created. Possible values are Create, Lookup.
    location String
    Specifies the Azure Region where the Healthcare Med Tech Service Fhir Destination should be created. Changing this forces a new Healthcare Med Tech Service Fhir Destination to be created.
    medtechServiceId String
    Specifies the name of the Healthcare Med Tech Service where the Healthcare Med Tech Service Fhir Destination should exist. Changing this forces a new Healthcare Med Tech Service Fhir Destination to be created.
    name String
    Specifies the name of the Healthcare Med Tech Service Fhir Destination. Changing this forces a new Healthcare Med Tech Service Fhir Destination to be created.

    Import

    Healthcare Med Tech Service Fhir Destination can be imported using the resourceid, e.g.

    $ pulumi import azure:healthcare/medtechServiceFhirDestination:MedtechServiceFhirDestination example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Microsoft.HealthcareApis/workspaces/workspace1/iotConnectors/iotconnector1/fhirDestinations/destination1
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure Classic v5.72.0 published on Monday, Apr 15, 2024 by Pulumi