Client library for HealthcareApisClient
npm install --save @datafire/azure_healthcareapis_healthcare_apis
let azure_healthcareapis_healthcare_apis = require('@datafire/azure_healthcareapis_healthcare_apis').create({
access_token: "",
refresh_token: "",
client_id: "",
client_secret: "",
redirect_uri: ""
});
.then(data => {
console.log(data);
});
Use this API to manage Microsoft HealthcareApis services in your Azure subscription.
Lists all of the available Healthcare service REST API operations.
azure_healthcareapis_healthcare_apis.Operations_List({
"api-version": ""
}, context)
- input
object
- api-version required
string
: Client Api Version.
- api-version required
- output OperationListResult
Check if a service instance name is available.
azure_healthcareapis_healthcare_apis.Services_CheckNameAvailability({
"api-version": "",
"subscriptionId": "",
"checkNameAvailabilityInputs": {
"name": "",
"type": ""
}
}, context)
- input
object
- api-version required
string
: Client Api Version. - subscriptionId required
string
: The subscription identifier. - checkNameAvailabilityInputs required CheckNameAvailabilityParameters
- api-version required
- output ServicesNameAvailabilityInfo
Get the operation result for a long running operation.
azure_healthcareapis_healthcare_apis.OperationResults_Get({
"api-version": "",
"subscriptionId": "",
"locationName": "",
"operationResultId": ""
}, context)
- input
object
- api-version required
string
: Client Api Version. - subscriptionId required
string
: The subscription identifier. - locationName required
string
: The location of the operation. - operationResultId required
string
: The ID of the operation result to get.
- api-version required
- output OperationResultsDescription
Get all the service instances in a subscription.
azure_healthcareapis_healthcare_apis.Services_List({
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- api-version required
string
: Client Api Version. - subscriptionId required
string
: The subscription identifier.
- api-version required
Get all the service instances in a resource group.
azure_healthcareapis_healthcare_apis.Services_ListByResourceGroup({
"api-version": "",
"subscriptionId": "",
"resourceGroupName": ""
}, context)
- input
object
- api-version required
string
: Client Api Version. - subscriptionId required
string
: The subscription identifier. - resourceGroupName required
string
: The name of the resource group that contains the service instance.
- api-version required
Delete a service instance.
azure_healthcareapis_healthcare_apis.Services_Delete({
"api-version": "",
"subscriptionId": "",
"resourceGroupName": "",
"resourceName": ""
}, context)
- input
object
- api-version required
string
: Client Api Version. - subscriptionId required
string
: The subscription identifier. - resourceGroupName required
string
: The name of the resource group that contains the service instance. - resourceName required
string
: The name of the service instance.
- api-version required
Output schema unknown
Get the metadata of a service instance.
azure_healthcareapis_healthcare_apis.Services_Get({
"api-version": "",
"subscriptionId": "",
"resourceGroupName": "",
"resourceName": ""
}, context)
- input
object
- api-version required
string
: Client Api Version. - subscriptionId required
string
: The subscription identifier. - resourceGroupName required
string
: The name of the resource group that contains the service instance. - resourceName required
string
: The name of the service instance.
- api-version required
- output ServicesDescription
Update the metadata of a service instance.
azure_healthcareapis_healthcare_apis.Services_Update({
"api-version": "",
"subscriptionId": "",
"resourceGroupName": "",
"resourceName": "",
"servicePatchDescription": {}
}, context)
- input
object
- api-version required
string
: Client Api Version. - subscriptionId required
string
: The subscription identifier. - resourceGroupName required
string
: The name of the resource group that contains the service instance. - resourceName required
string
: The name of the service instance. - servicePatchDescription required ServicesPatchDescription
- api-version required
- output ServicesDescription
Create or update the metadata of a service instance.
azure_healthcareapis_healthcare_apis.Services_CreateOrUpdate({
"api-version": "",
"subscriptionId": "",
"resourceGroupName": "",
"resourceName": "",
"serviceDescription": {}
}, context)
- input
object
- api-version required
string
: Client Api Version. - subscriptionId required
string
: The subscription identifier. - resourceGroupName required
string
: The name of the resource group that contains the service instance. - resourceName required
string
: The name of the service instance. - serviceDescription required ServicesDescription
- api-version required
- output ServicesDescription
- CheckNameAvailabilityParameters
object
: Input values.- name required
string
: The name of the service instance to check. - type required
string
: The fully qualified resource type which includes provider namespace.
- name required
- ErrorDetails
object
: Error details.- error ErrorDetailsInternal
- ErrorDetailsInternal
object
: Error details.- code
string
: The error code. - message
string
: The error message. - target
string
: The target of the particular error.
- code
- Operation
object
: Service REST API operation.- display OperationDisplay
- name
string
: Operation name: {provider}/{resource}/{read | write | action | delete} - origin
string
: Default value is 'user,system'.
- OperationDisplay
object
: The object that represents the operation.- description
string
: Friendly description for the operation, - operation
string
: Name of the operation - provider
string
: Service provider: Microsoft.HealthcareApis - resource
string
: Resource Type: Services
- description
- OperationListResult
object
: A list of service operations. It contains a list of operations and a URL link to get the next set of results.- nextLink
string
: The link used to get the next page of service description objects. - value
array
: A list of service operations supported by the Microsoft.HealthcareApis resource provider.- items Operation
- nextLink
- OperationResultsDescription
object
: The properties indicating the operation result of an operation on a service.- id
string
: The ID of the operation returned. - name
string
: The name of the operation result. - startTime
string
: The time that the operation was started. - status
string
(values: Canceled, Succeeded, Failed, Requested, Running): The status of the operation being performed.
- id
- Resource
object
: The common properties of a service.- etag
string
: An etag associated with the resource, used for optimistic concurrency when editing it. - id
string
: The resource identifier. - kind required
string
(values: fhir, fhir-Stu3, fhir-R4): The kind of the service. - location required
string
: The resource location. - name
string
: The resource name. - tags
object
: The resource tags. - type
string
: The resource type.
- etag
- ServiceAccessPoliciesInfo
array
: The access policies of the service instance.- items ServiceAccessPolicyEntry
- ServiceAccessPolicyEntry
object
: An access policy entry.- objectId required
string
: An Azure AD object ID (User or Apps) that is allowed access to the FHIR service.
- objectId required
- ServiceAuthenticationConfigurationInfo
object
: Authentication configuration information- audience
string
: The audience url for the service - authority
string
: The authority url for the service - smartProxyEnabled
boolean
: If the SMART on FHIR proxy is enabled
- audience
- ServiceCorsConfigurationHeaderEntry
string
: A header for CORS.
- ServiceCorsConfigurationInfo
object
: The settings for the CORS configuration of the service instance.- allowCredentials
boolean
: If credentials are allowed via CORS. - headers
array
: The headers to be allowed via CORS. - maxAge
integer
: The max age to be allowed via CORS. - methods
array
: The methods to be allowed via CORS. - origins
array
: The origins to be allowed via CORS.
- allowCredentials
- ServiceCorsConfigurationMethodEntry
string
: A method for CORS.
- ServiceCorsConfigurationOriginEntry
string
: An origin for CORS.
- ServiceCosmosDbConfigurationInfo
object
: The settings for the Cosmos DB database backing the service.- offerThroughput
integer
: The provisioned throughput for the backing database.
- offerThroughput
- ServicesDescription
object
: The description of the service.- properties ServicesProperties
- etag
string
: An etag associated with the resource, used for optimistic concurrency when editing it. - id
string
: The resource identifier. - kind required
string
(values: fhir, fhir-Stu3, fhir-R4): The kind of the service. - location required
string
: The resource location. - name
string
: The resource name. - tags
object
: The resource tags. - type
string
: The resource type.
- ServicesDescriptionListResult
object
: A list of service description objects with a next link.- nextLink
string
: The link used to get the next page of service description objects. - value
array
: A list of service description objects.- items ServicesDescription
- nextLink
- ServicesNameAvailabilityInfo
object
: The properties indicating whether a given service name is available.- message
string
: The detailed reason message. - nameAvailable
boolean
: The value which indicates whether the provided name is available. - reason
string
(values: Invalid, AlreadyExists): The reason for unavailability.
- message
- ServicesPatchDescription
object
: The description of the service.- tags
object
: Instance tags
- tags
- ServicesProperties
object
: The properties of a service instance.- accessPolicies required ServiceAccessPoliciesInfo
- authenticationConfiguration ServiceAuthenticationConfigurationInfo
- corsConfiguration ServiceCorsConfigurationInfo
- cosmosDbConfiguration ServiceCosmosDbConfigurationInfo
- provisioningState
string
(values: Deleting, Succeeded, Creating, Accepted, Verifying, Updating, Failed, Canceled, Deprovisioned): The provisioning state.