Skip to content

Commit 56008d8

Browse files
Learn Editor: Update dicomweb-standard-apis-c-sharp.md
1 parent 868b4c2 commit 56008d8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 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.QueryStudyAsync(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.QueryStudyAsync(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.QueryStudyAsync(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.QueryStudyAsync(query);
298298
```
299299

300300
Validates that the response includes one instance, and that the response code is OK.
@@ -309,7 +309,7 @@ _Details:_
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.QueryStudyAsync(query);
313313
```
314314

315315
Validates that the response includes one instance, and that the response code is OK.

0 commit comments

Comments
 (0)