import * as pulumi from "@pulumi/pulumi"; /** * Manages a Healthcare Med Tech Service Fhir Destination. * * ## Example Usage * * ```typescript * 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", * namespaceId: exampleEventHubNamespace.id, * 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", * }, * }, * }], * }), * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.HealthcareApis` - 2022-12-01 * * ## Import * * Healthcare Med Tech Service Fhir Destination can be imported using the resource`id`, e.g. * * ```sh * $ pulumi import azure:healthcare/medtechServiceFhirDestination:MedtechServiceFhirDestination example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Microsoft.HealthcareApis/workspaces/workspace1/iotConnectors/iotconnector1/fhirDestinations/destination1 * ``` */ export declare class MedtechServiceFhirDestination extends pulumi.CustomResource { /** * Get an existing MedtechServiceFhirDestination resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: MedtechServiceFhirDestinationState, opts?: pulumi.CustomResourceOptions): MedtechServiceFhirDestination; /** * Returns true if the given object is an instance of MedtechServiceFhirDestination. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is MedtechServiceFhirDestination; /** * Specifies the destination Fhir mappings of the Med Tech Service Fhir Destination. */ readonly destinationFhirMappingJson: pulumi.Output; /** * Specifies the destination fhir service id of the Med Tech Service Fhir Destination. */ readonly destinationFhirServiceId: pulumi.Output; /** * Specifies the destination identity resolution type where the Healthcare Med Tech Service Fhir Destination should be created. Possible values are `Create`, `Lookup`. */ readonly destinationIdentityResolutionType: pulumi.Output; /** * 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. */ readonly location: pulumi.Output; /** * 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. */ readonly medtechServiceId: pulumi.Output; /** * 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. */ readonly name: pulumi.Output; /** * Create a MedtechServiceFhirDestination resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: MedtechServiceFhirDestinationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering MedtechServiceFhirDestination resources. */ export interface MedtechServiceFhirDestinationState { /** * Specifies the destination Fhir mappings of the Med Tech Service Fhir Destination. */ destinationFhirMappingJson?: pulumi.Input; /** * Specifies the destination fhir service id of the Med Tech Service Fhir Destination. */ destinationFhirServiceId?: pulumi.Input; /** * Specifies the destination identity resolution type where the Healthcare Med Tech Service Fhir Destination should be created. Possible values are `Create`, `Lookup`. */ destinationIdentityResolutionType?: pulumi.Input; /** * 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. */ location?: pulumi.Input; /** * 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. */ medtechServiceId?: pulumi.Input; /** * 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. */ name?: pulumi.Input; } /** * The set of arguments for constructing a MedtechServiceFhirDestination resource. */ export interface MedtechServiceFhirDestinationArgs { /** * Specifies the destination Fhir mappings of the Med Tech Service Fhir Destination. */ destinationFhirMappingJson: pulumi.Input; /** * Specifies the destination fhir service id of the Med Tech Service Fhir Destination. */ destinationFhirServiceId: pulumi.Input; /** * Specifies the destination identity resolution type where the Healthcare Med Tech Service Fhir Destination should be created. Possible values are `Create`, `Lookup`. */ destinationIdentityResolutionType: pulumi.Input; /** * 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. */ location?: pulumi.Input; /** * 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. */ medtechServiceId: pulumi.Input; /** * 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. */ name?: pulumi.Input; }