Skip to content

azurermHealthcareMedtechServiceFhirDestination

Manages a Healthcare Med Tech Service Fhir Destination.

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as azurerm from "./.gen/providers/azurerm";
/*The following providers are missing schema information and might need manual adjustments to synthesize correctly: azurerm.
For a more precise conversion please use the --provider flag in convert.*/
new azurerm.healthcareMedtechServiceFhirDestination.HealthcareMedtechServiceFhirDestination(
  this,
  "test",
  {
    destination_fhir_mapping_json:
      '  {\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',
    destination_fhir_service_id: "fhir_service_id",
    destination_identity_resolution_type: "Create",
    location: "east us",
    medtech_service_id: "mt_service_id",
    name: "tfexmtdes",
  }
);

Argument Reference

The following arguments are supported:

  • name - (Required) 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.

  • medtechServiceId - (Required) 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 - (Required) 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.

  • destinationFhirServiceId - (Required) Specifies the destination fhir service id of the Med Tech Service Fhir Destination.

  • destinationIdentityResolutionType - (Required) Specifies the destination identity resolution type where the Healthcare Med Tech Service Fhir Destination should be created. Possible values are create, lookup.

  • destinationFhirMappingJson - (Required) Specifies the destination Fhir mappings of the Med Tech Service Fhir Destination.

Attributes Reference

The following arguments are supported:

  • id - The ID of the Healthcare Med Tech Service Fhir Destination.

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

  • create - (Defaults to 90 minutes) Used when creating the Healthcare Med Tech Service Fhir Destination.
  • update - (Defaults to 30 minut es) Used when updating the Healthcare Med Tech Service Fhir Destination.
  • read - (Defaults to 5 minutes) Used when retrieving the Healthcare Med Tech Service Fhir Destination.
  • delete - (Defaults to 90 minutes) Used when deleting the Healthcare Med Tech Service Fhir Destination.
  • update - (Defaults to 90 minutes) Used when updating the Healthcare Medtech Service Fhir Destination.

Import

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

terraform import azurerm_healthcare_medtech_service_fhir_destination.example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Microsoft.HealthcareApis/workspaces/workspace1/iotConnectors/iotconnector1/fhirDestinations/destination1