azure.healthcare.MedtechServiceFhirDestination
Manages a Healthcare Med Tech Service Fhir Destination.
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const test = new azure.healthcare.MedtechServiceFhirDestination("test", {
destinationFhirMappingJson: ` {
"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"
}
}
}
]
}
`,
destinationFhirServiceId: "fhir_service_id",
destinationIdentityResolutionType: "Create",
location: "east us",
medtechServiceId: "mt_service_id",
});
import pulumi
import pulumi_azure as azure
test = azure.healthcare.MedtechServiceFhirDestination("test",
destination_fhir_mapping_json=""" {
"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"
}
}
}
]
}
""",
destination_fhir_service_id="fhir_service_id",
destination_identity_resolution_type="Create",
location="east us",
medtech_service_id="mt_service_id")
using System.Collections.Generic;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var test = new Azure.Healthcare.MedtechServiceFhirDestination("test", new()
{
DestinationFhirMappingJson = @" {
""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""
}
}
}
]
}
",
DestinationFhirServiceId = "fhir_service_id",
DestinationIdentityResolutionType = "Create",
Location = "east us",
MedtechServiceId = "mt_service_id",
});
});
package main
import (
"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 {
_, err := healthcare.NewMedtechServiceFhirDestination(ctx, "test", &healthcare.MedtechServiceFhirDestinationArgs{
DestinationFhirMappingJson: pulumi.String(" {\n \"templateType\": \"CollectionFhirTemplate\",\n \"template\": [\n {\n \"templateType\": \"CodeValueFhir\",\n \"template\": {\n \"codes\": [\n {\n \"code\": \"8867-4\",\n \"system\": \"http://loinc.org\",\n \"display\": \"Heart rate\"\n }\n ],\n \"periodInterval\": 60,\n \"typeName\": \"heartrate\",\n \"value\": {\n \"defaultPeriod\": 5000,\n \"unit\": \"count/min\",\n \"valueName\": \"hr\",\n \"valueType\": \"SampledData\"\n }\n }\n }\n ]\n }\n \n"),
DestinationFhirServiceId: pulumi.String("fhir_service_id"),
DestinationIdentityResolutionType: pulumi.String("Create"),
Location: pulumi.String("east us"),
MedtechServiceId: pulumi.String("mt_service_id"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.healthcare.MedtechServiceFhirDestination;
import com.pulumi.azure.healthcare.MedtechServiceFhirDestinationArgs;
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 test = new MedtechServiceFhirDestination("test", MedtechServiceFhirDestinationArgs.builder()
.destinationFhirMappingJson("""
{
"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"
}
}
}
]
}
""")
.destinationFhirServiceId("fhir_service_id")
.destinationIdentityResolutionType("Create")
.location("east us")
.medtechServiceId("mt_service_id")
.build());
}
}
resources:
test:
type: azure:healthcare:MedtechServiceFhirDestination
properties:
destinationFhirMappingJson: " {\n \"templateType\": \"CollectionFhirTemplate\",\n \"template\": [\n {\n \"templateType\": \"CodeValueFhir\",\n \"template\": {\n \"codes\": [\n {\n \"code\": \"8867-4\",\n \"system\": \"http://loinc.org\",\n \"display\": \"Heart rate\"\n }\n ],\n \"periodInterval\": 60,\n \"typeName\": \"heartrate\",\n \"value\": {\n \"defaultPeriod\": 5000,\n \"unit\": \"count/min\",\n \"valueName\": \"hr\",\n \"valueType\": \"SampledData\"\n }\n }\n }\n ]\n }\n \n"
destinationFhirServiceId: fhir_service_id
destinationIdentityResolutionType: Create
location: east us
medtechServiceId: mt_service_id
Create MedtechServiceFhirDestination Resource
new MedtechServiceFhirDestination(name: string, args: MedtechServiceFhirDestinationArgs, opts?: CustomResourceOptions);
@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,
location: Optional[str] = None,
medtech_service_id: Optional[str] = None,
name: Optional[str] = None)
@overload
def MedtechServiceFhirDestination(resource_name: str,
args: MedtechServiceFhirDestinationArgs,
opts: Optional[ResourceOptions] = 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.
- 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.
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:
- Destination
Fhir stringMapping Json Specifies the destination Fhir mappings of the Med Tech Service Fhir Destination.
- Destination
Fhir stringService Id Specifies the destination fhir service id of the Med Tech Service Fhir Destination.
- Destination
Identity stringResolution Type Specifies the destination identity resolution type where the Healthcare Med Tech Service Fhir Destination should be created. Possible values are
Create
,Lookup
.- Medtech
Service stringId 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 stringMapping Json Specifies the destination Fhir mappings of the Med Tech Service Fhir Destination.
- Destination
Fhir stringService Id Specifies the destination fhir service id of the Med Tech Service Fhir Destination.
- Destination
Identity stringResolution Type Specifies the destination identity resolution type where the Healthcare Med Tech Service Fhir Destination should be created. Possible values are
Create
,Lookup
.- Medtech
Service stringId 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 StringMapping Json Specifies the destination Fhir mappings of the Med Tech Service Fhir Destination.
- destination
Fhir StringService Id Specifies the destination fhir service id of the Med Tech Service Fhir Destination.
- destination
Identity StringResolution Type Specifies the destination identity resolution type where the Healthcare Med Tech Service Fhir Destination should be created. Possible values are
Create
,Lookup
.- medtech
Service StringId 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 stringMapping Json Specifies the destination Fhir mappings of the Med Tech Service Fhir Destination.
- destination
Fhir stringService Id Specifies the destination fhir service id of the Med Tech Service Fhir Destination.
- destination
Identity stringResolution Type Specifies the destination identity resolution type where the Healthcare Med Tech Service Fhir Destination should be created. Possible values are
Create
,Lookup
.- medtech
Service stringId 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_ strmapping_ json Specifies the destination Fhir mappings of the Med Tech Service Fhir Destination.
- destination_
fhir_ strservice_ id Specifies the destination fhir service id of the Med Tech Service Fhir Destination.
- destination_
identity_ strresolution_ type Specifies the destination identity resolution type where the Healthcare Med Tech Service Fhir Destination should be created. Possible values are
Create
,Lookup
.- medtech_
service_ strid 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.
- destination
Fhir StringMapping Json Specifies the destination Fhir mappings of the Med Tech Service Fhir Destination.
- destination
Fhir StringService Id Specifies the destination fhir service id of the Med Tech Service Fhir Destination.
- destination
Identity StringResolution Type Specifies the destination identity resolution type where the Healthcare Med Tech Service Fhir Destination should be created. Possible values are
Create
,Lookup
.- medtech
Service StringId 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.
- Destination
Fhir stringMapping Json Specifies the destination Fhir mappings of the Med Tech Service Fhir Destination.
- Destination
Fhir stringService Id Specifies the destination fhir service id of the Med Tech Service Fhir Destination.
- Destination
Identity stringResolution Type 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.
- Medtech
Service stringId 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 stringMapping Json Specifies the destination Fhir mappings of the Med Tech Service Fhir Destination.
- Destination
Fhir stringService Id Specifies the destination fhir service id of the Med Tech Service Fhir Destination.
- Destination
Identity stringResolution Type 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.
- Medtech
Service stringId 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 StringMapping Json Specifies the destination Fhir mappings of the Med Tech Service Fhir Destination.
- destination
Fhir StringService Id Specifies the destination fhir service id of the Med Tech Service Fhir Destination.
- destination
Identity StringResolution Type 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.
- medtech
Service StringId 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 stringMapping Json Specifies the destination Fhir mappings of the Med Tech Service Fhir Destination.
- destination
Fhir stringService Id Specifies the destination fhir service id of the Med Tech Service Fhir Destination.
- destination
Identity stringResolution Type 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.
- medtech
Service stringId 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_ strmapping_ json Specifies the destination Fhir mappings of the Med Tech Service Fhir Destination.
- destination_
fhir_ strservice_ id Specifies the destination fhir service id of the Med Tech Service Fhir Destination.
- destination_
identity_ strresolution_ type 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_ strid 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.
- destination
Fhir StringMapping Json Specifies the destination Fhir mappings of the Med Tech Service Fhir Destination.
- destination
Fhir StringService Id Specifies the destination fhir service id of the Med Tech Service Fhir Destination.
- destination
Identity StringResolution Type 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.
- medtech
Service StringId 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
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
azurerm
Terraform Provider.