Skip to content

Commit 3baa8d5

Browse files
Merge pull request #278059 from shellyhaverkamp/docs-editor/dicomweb-standard-apis-c-sharp-1718231805
Update dicomweb-standard-apis-c-sharp.md
2 parents 725809b + 96ba3c3 commit 3baa8d5

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

articles/healthcare-apis/dicom/dicomweb-standard-apis-c-sharp.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ _Details:_
234234

235235
```c#
236236
string query = $"/studies?StudyInstanceUID={studyInstanceUid}";
237-
DicomWebResponse response = await client.QueryAsync(query);
237+
DicomWebResponse response = await client.QueryStudyAsync(query);
238238
```
239239

240240
Validates that the response includes one study, and that the response code is OK.
@@ -249,7 +249,7 @@ _Details:_
249249

250250
```c#
251251
string query = $"/series?SeriesInstanceUID={seriesInstanceUid}";
252-
DicomWebResponse response = await client.QueryAsync(query);
252+
DicomWebResponse response = await client.QuerySeriesAsync(query);
253253
```
254254

255255
Validates that the response includes one series, and that the response code is OK.
@@ -264,7 +264,7 @@ _Details:_
264264

265265
```c#
266266
string query = $"/studies/{studyInstanceUid}/series?SeriesInstanceUID={seriesInstanceUid}";
267-
DicomWebResponse response = await client.QueryAsync(query);
267+
DicomWebResponse response = await client.QueryStudySeriesAsync(studyInstanceUid, query);
268268
```
269269

270270
Validates that the response includes one series, and that the response code is OK.
@@ -279,7 +279,7 @@ _Details:_
279279

280280
```c#
281281
string query = $"/instances?SOPInstanceUID={sopInstanceUid}";
282-
DicomWebResponse response = await client.QueryAsync(query);
282+
DicomWebResponse response = await client.QueryInstancesAsync(query);
283283
```
284284

285285
Validates that the response includes one instance, and that the response code is OK.
@@ -294,7 +294,7 @@ _Details:_
294294

295295
```c#
296296
string query = $"/studies/{studyInstanceUid}/instances?SOPInstanceUID={sopInstanceUid}";
297-
DicomWebResponse response = await client.QueryAsync(query);
297+
DicomWebResponse response = await client.QueryStudyInstanceAsync(studyInstanceUid, query);
298298
```
299299

300300
Validates that the response includes one instance, and that the response code is OK.
@@ -305,11 +305,11 @@ This request searches for one or more instances within a single study and single
305305

306306
_Details:_
307307

308-
* GET /studies/{study}/series/{series}instances?SOPInstanceUID={instance}
308+
* GET /studies/{study}/series/{series}/instances?SOPInstanceUID={instance}
309309

310310
```c#
311311
string query = $"/studies/{studyInstanceUid}/series/{seriesInstanceUid}/instances?SOPInstanceUID={sopInstanceUid}";
312-
DicomWebResponse response = await client.QueryAsync(query);
312+
DicomWebResponse response = await client.QueryStudySeriesInstanceAsync(studyInstanceUid, seriesInstanceUid, query);
313313
```
314314

315315
Validates that the response includes one instance, and that the response code is OK.
@@ -362,4 +362,4 @@ DicomWebResponse response = await client.DeleteStudyAsync(studyInstanceUid);
362362

363363
This response deletes the blue-circle instance (it's the only element left in the series) from the server. If it's successful, the response status code contains no content.
364364

365-
[!INCLUDE [DICOM trademark statement](../includes/healthcare-apis-dicom-trademark.md)]
365+
[!INCLUDE [DICOM trademark statement](../includes/healthcare-apis-dicom-trademark.md)]

0 commit comments

Comments
 (0)