Skip to main content

fhir_services

Creates, updates, deletes, gets or lists a fhir_services resource.

Overview

Namefhir_services
TypeResource
Idazure_extras.healthcare.fhir_services

Fields

The following fields are returned by SELECT queries:

The request was successful; the request was well-formed and received properly.

NameDatatypeDescription
identityobjectSetting indicating whether the service has a managed identity associated with it.
kindstringThe kind of the service.
propertiesobjectFhir Service configuration.
systemDataobjectMetadata pertaining to creation and last modification of the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, subscriptionId, workspaceName, fhirServiceNameGets the properties of the specified FHIR Service.
list_by_workspaceselectresourceGroupName, subscriptionId, workspaceNameLists all FHIR Services for the given workspace
create_or_updateinsertresourceGroupName, subscriptionId, workspaceName, fhirServiceNameCreates or updates a FHIR Service resource with the specified parameters.
updateupdateresourceGroupName, subscriptionId, fhirServiceName, workspaceNamePatch FHIR Service details.
deletedeletesubscriptionId, resourceGroupName, fhirServiceName, workspaceNameDeletes a FHIR Service.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
fhirServiceNamestringThe name of FHIR Service resource.
resourceGroupNamestringThe name of the resource group that contains the service instance.
subscriptionIdstringThe ID of the target subscription.
workspaceNamestringThe name of workspace resource.

SELECT examples

Gets the properties of the specified FHIR Service.

SELECT
identity,
kind,
properties,
systemData
FROM azure_extras.healthcare.fhir_services
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND workspaceName = '{{ workspaceName }}' -- required
AND fhirServiceName = '{{ fhirServiceName }}' -- required
;

INSERT examples

Creates or updates a FHIR Service resource with the specified parameters.

INSERT INTO azure_extras.healthcare.fhir_services (
data__identity,
data__kind,
data__properties,
resourceGroupName,
subscriptionId,
workspaceName,
fhirServiceName
)
SELECT
'{{ identity }}',
'{{ kind }}',
'{{ properties }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ workspaceName }}',
'{{ fhirServiceName }}'
RETURNING
identity,
kind,
properties,
systemData
;

UPDATE examples

Patch FHIR Service details.

UPDATE azure_extras.healthcare.fhir_services
SET
data__tags = '{{ tags }}',
data__identity = '{{ identity }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}' --required
AND subscriptionId = '{{ subscriptionId }}' --required
AND fhirServiceName = '{{ fhirServiceName }}' --required
AND workspaceName = '{{ workspaceName }}' --required
RETURNING
identity,
kind,
properties,
systemData;

DELETE examples

Deletes a FHIR Service.

DELETE FROM azure_extras.healthcare.fhir_services
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND fhirServiceName = '{{ fhirServiceName }}' --required
AND workspaceName = '{{ workspaceName }}' --required
;