Skip to content

Commit 1f65704

Browse files
jnlycklamafhibf
andauthored
Review request for Microsoft.HealthcareApis to add version stable/2022-12-01 (#21620)
* Adds base for updating Microsoft.HealthcareApis from version stable/2022-06-01 to version 2022-12-01 * Updates readme * Updates API version in new specs and examples * Add EventState enum to DICOM object * add azure async operation to delete examples * make suggested refactors * add back resource group name parameter * remove location resource ref * fix prettier error * add back servicesresource as-is, since its is legacy * remove azure resource tag to get rid of missing resource id error * remove maximum value to stay consistent with recently changes to 2022-06-01 api spec * Adding new FHIR Implementation Guides configuratio * Remove spaces * Updating FhirServices_GET with more info * Fix storage account names used in examples * fix prettier errors --------- Co-authored-by: FHIBF <[email protected]>
1 parent 470c544 commit 1f65704

File tree

49 files changed

+7099
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+7099
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-12-01",
4+
"subscriptionId": "subid",
5+
"checkNameAvailabilityInputs": {
6+
"type": "Microsoft.HealthcareApis/services",
7+
"name": "serviceName"
8+
}
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"nameAvailable": false,
14+
"reason": "AlreadyExists",
15+
"message": "Service name is not available."
16+
}
17+
}
18+
}
19+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-12-01",
4+
"subscriptionId": "subid",
5+
"locationName": "westus",
6+
"operationResultId": "exampleid"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"id": "/subscriptions/subid/providers/Microsoft.HealthcareApis/locations/westus/operationresults/exampleid",
12+
"name": "servicename",
13+
"status": "Requested",
14+
"startTime": "2019-01-21T06:03:30.2716301Z",
15+
"endTime": "2019-01-21T06:04:12.3413202Z",
16+
"properties": {}
17+
}
18+
}
19+
}
20+
}
Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-12-01"
4+
},
5+
"responses": {
6+
"200": {
7+
"body": {
8+
"value": [
9+
{
10+
"name": "Microsoft.HealthcareApis/services/read",
11+
"display": {},
12+
"origin": "user,system"
13+
},
14+
{
15+
"name": "Microsoft.HealthcareApis/services/write",
16+
"display": {},
17+
"origin": "user,system"
18+
},
19+
{
20+
"name": "Microsoft.HealthcareApis/services/delete",
21+
"display": {},
22+
"origin": "user,system"
23+
},
24+
{
25+
"name": "Microsoft.HealthcareApis/locations/operationresults/read",
26+
"display": {
27+
"provider": "Microsoft.HealthcareApis",
28+
"resource": "operationresults",
29+
"operation": "read",
30+
"description": "Get the status of an asynchronous operation"
31+
},
32+
"origin": "user,system"
33+
},
34+
{
35+
"name": "Microsoft.HealthcareApis/workspaces/read",
36+
"display": {},
37+
"origin": "user,system"
38+
},
39+
{
40+
"name": "Microsoft.HealthcareApis/workspaces/write",
41+
"display": {},
42+
"origin": "user,system"
43+
},
44+
{
45+
"name": "Microsoft.HealthcareApis/workspaces/delete",
46+
"display": {},
47+
"origin": "user,system"
48+
},
49+
{
50+
"name": "Microsoft.HealthcareApis/workspaces/dicomservices/read",
51+
"display": {},
52+
"origin": "user,system"
53+
},
54+
{
55+
"name": "Microsoft.HealthcareApis/workspaces/dicomservices/write",
56+
"display": {},
57+
"origin": "user,system"
58+
},
59+
{
60+
"name": "Microsoft.HealthcareApis/workspaces/dicomservices/delete",
61+
"display": {},
62+
"origin": "user,system"
63+
},
64+
{
65+
"name": "Microsoft.HealthcareApis/workspaces/iotconnectors/read",
66+
"display": {},
67+
"origin": "user,system"
68+
},
69+
{
70+
"name": "Microsoft.HealthcareApis/workspaces/iotconnectors/write",
71+
"display": {},
72+
"origin": "user,system"
73+
},
74+
{
75+
"name": "Microsoft.HealthcareApis/workspaces/iotconnectors/delete",
76+
"display": {},
77+
"origin": "user,system"
78+
},
79+
{
80+
"name": "Microsoft.HealthcareApis/workspaces/fhirservices/read",
81+
"display": {},
82+
"origin": "user,system"
83+
},
84+
{
85+
"name": "Microsoft.HealthcareApis/workspaces/fhirservices/write",
86+
"display": {},
87+
"origin": "user,system"
88+
},
89+
{
90+
"name": "Microsoft.HealthcareApis/workspaces/fhirservices/delete",
91+
"display": {},
92+
"origin": "user,system"
93+
},
94+
{
95+
"name": "Microsoft.HealthcareApis/checkNameAvailability/post",
96+
"display": {},
97+
"origin": "user"
98+
},
99+
{
100+
"name": "Microsoft.HealthcareApis/Operations/read",
101+
"display": {
102+
"provider": "Microsoft.HealthcareApis",
103+
"resource": "operations",
104+
"operation": "read",
105+
"description": "Get the list of operations supported by this Resource Provider."
106+
},
107+
"origin": "user,system"
108+
}
109+
]
110+
}
111+
}
112+
}
113+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subid",
4+
"resourceGroupName": "testRG",
5+
"workspaceName": "workspace1",
6+
"dicomServiceName": "blue",
7+
"api-version": "2022-12-01",
8+
"dicomservice": {
9+
"location": "westus",
10+
"properties": {}
11+
}
12+
},
13+
"responses": {
14+
"200": {
15+
"body": {
16+
"name": "blue",
17+
"id": "/subscriptions/subid/resourceGroups/testRG/providers/Microsoft.HealthcareApis/workspaces/workspace1/dicomservices/blue",
18+
"location": "westus",
19+
"type": "Microsoft.HealthcareApis/workspaces/dicomservices",
20+
"properties": {
21+
"authenticationConfiguration": {
22+
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
23+
"audiences": [
24+
"https://azurehealthcareapis.com/",
25+
"https://azurehealthcareapis.com"
26+
]
27+
},
28+
"corsConfiguration": {
29+
"origins": [
30+
"*"
31+
],
32+
"headers": [
33+
"*"
34+
],
35+
"methods": [
36+
"DELETE",
37+
"GET",
38+
"OPTIONS",
39+
"PATCH",
40+
"POST",
41+
"PUT"
42+
],
43+
"maxAge": 1440,
44+
"allowCredentials": false
45+
},
46+
"provisioningState": "Succeeded",
47+
"serviceUrl": null,
48+
"eventState": "Disabled"
49+
}
50+
}
51+
},
52+
"201": {
53+
"body": {
54+
"name": "blue",
55+
"id": "/subscriptions/subid/resourceGroups/testRG/providers/Microsoft.HealthcareApis/workspaces/workspace1/dicomservices/blue",
56+
"location": "westus",
57+
"type": "Microsoft.HealthcareApis/workspaces/dicomservices",
58+
"properties": {
59+
"authenticationConfiguration": {
60+
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
61+
"audiences": [
62+
"https://azurehealthcareapis.com/",
63+
"https://azurehealthcareapis.com"
64+
]
65+
},
66+
"provisioningState": "Creating",
67+
"serviceUrl": null,
68+
"eventState": "Disabled"
69+
}
70+
}
71+
},
72+
"202": {
73+
"body": {
74+
"name": "blue",
75+
"id": "/subscriptions/subid/resourceGroups/testRG/providers/Microsoft.HealthcareApis/workspaces/workspace1/dicomservices/blue",
76+
"location": "westus",
77+
"type": "Microsoft.HealthcareApis/workspaces/dicomservices",
78+
"properties": {
79+
"authenticationConfiguration": {
80+
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
81+
"audiences": [
82+
"https://azurehealthcareapis.com/",
83+
"https://azurehealthcareapis.com"
84+
]
85+
},
86+
"provisioningState": "Accepted",
87+
"serviceUrl": null,
88+
"eventState": "Disabled"
89+
}
90+
}
91+
}
92+
}
93+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subid",
4+
"resourceGroupName": "testRG",
5+
"workspaceName": "workspace1",
6+
"dicomServiceName": "blue",
7+
"api-version": "2022-12-01"
8+
},
9+
"responses": {
10+
"200": {},
11+
"202": {
12+
"headers": {
13+
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/locations/westus/operationresults/f7eb8g4f1ncj3jgk6bg8jlqf8?api-version=2022-12-01"
14+
}
15+
},
16+
"204": {}
17+
}
18+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subid",
4+
"resourceGroupName": "testRG",
5+
"workspaceName": "workspace1",
6+
"dicomServiceName": "blue",
7+
"api-version": "2022-12-01"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"name": "blue",
13+
"id": "/subscriptions/subid/resourceGroups/testRG/providers/Microsoft.HealthcareApis/workspaces/workspace1/dicomservices/blue",
14+
"type": "Microsoft.HealthcareApis/workspaces/dicomservices",
15+
"properties": {
16+
"authenticationConfiguration": {
17+
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
18+
"audiences": [
19+
"https://azurehealthcareapis.com/",
20+
"https://azurehealthcareapis.com"
21+
]
22+
},
23+
"corsConfiguration": {
24+
"origins": [
25+
"*"
26+
],
27+
"headers": [
28+
"*"
29+
],
30+
"methods": [
31+
"DELETE",
32+
"GET",
33+
"OPTIONS",
34+
"PATCH",
35+
"POST",
36+
"PUT"
37+
],
38+
"maxAge": 1440,
39+
"allowCredentials": false
40+
},
41+
"provisioningState": "Succeeded",
42+
"serviceUrl": "https://workspace1-blue.dicom.azurehealthcareapis.com",
43+
"eventState": "Disabled"
44+
}
45+
}
46+
}
47+
}
48+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subid",
4+
"resourceGroupName": "testRG",
5+
"workspaceName": "workspace1",
6+
"api-version": "2022-12-01"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"nextLink": "string",
12+
"value": [
13+
{
14+
"name": "blue",
15+
"id": "/subscriptions/subid/resourceGroups/testRG/providers/Microsoft.HealthcareApis/workspaces/workspace1/dicomservices/blue",
16+
"type": "Microsoft.HealthcareApis/workspaces/dicomservices",
17+
"properties": {
18+
"authenticationConfiguration": {
19+
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
20+
"audiences": [
21+
"https://azurehealthcareapis.com/",
22+
"https://azurehealthcareapis.com"
23+
]
24+
},
25+
"corsConfiguration": {
26+
"origins": [
27+
"*"
28+
],
29+
"headers": [
30+
"*"
31+
],
32+
"methods": [
33+
"DELETE",
34+
"GET",
35+
"OPTIONS",
36+
"PATCH",
37+
"POST",
38+
"PUT"
39+
],
40+
"maxAge": 1440,
41+
"allowCredentials": false
42+
},
43+
"provisioningState": "Succeeded",
44+
"serviceUrl": "https://workspace1-blue.dicom.azurehealthcareapis.com",
45+
"eventState": "Disabled"
46+
}
47+
},
48+
{
49+
"name": "red",
50+
"id": "/subscriptions/subid/resourceGroups/testRG/providers/Microsoft.HealthcareApis/workspaces/workspace1/dicomservices/red",
51+
"type": "Microsoft.HealthcareApis/workspaces/dicomservices",
52+
"properties": {
53+
"authenticationConfiguration": {
54+
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
55+
"audiences": [
56+
"https://azurehealthcareapis.com/",
57+
"https://azurehealthcareapis.com"
58+
]
59+
},
60+
"provisioningState": "Succeeded",
61+
"serviceUrl": "https://workspace1-red.dicom.azurehealthcareapis.com",
62+
"eventState": "Disabled"
63+
}
64+
}
65+
]
66+
}
67+
}
68+
}
69+
}

0 commit comments

Comments
 (0)