1 | <?php
|
---|
2 | /*
|
---|
3 | * Copyright 2014 Google Inc.
|
---|
4 | *
|
---|
5 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
---|
6 | * use this file except in compliance with the License. You may obtain a copy of
|
---|
7 | * the License at
|
---|
8 | *
|
---|
9 | * http://www.apache.org/licenses/LICENSE-2.0
|
---|
10 | *
|
---|
11 | * Unless required by applicable law or agreed to in writing, software
|
---|
12 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
---|
13 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
---|
14 | * License for the specific language governing permissions and limitations under
|
---|
15 | * the License.
|
---|
16 | */
|
---|
17 |
|
---|
18 | namespace Google\Service\CloudHealthcare\Resource;
|
---|
19 |
|
---|
20 | use Google\Service\CloudHealthcare\HttpBody;
|
---|
21 |
|
---|
22 | /**
|
---|
23 | * The "frames" collection of methods.
|
---|
24 | * Typical usage is:
|
---|
25 | * <code>
|
---|
26 | * $healthcareService = new Google\Service\CloudHealthcare(...);
|
---|
27 | * $frames = $healthcareService->projects_locations_datasets_dicomStores_studies_series_instances_frames;
|
---|
28 | * </code>
|
---|
29 | */
|
---|
30 | class ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFrames extends \Google\Service\Resource
|
---|
31 | {
|
---|
32 | /**
|
---|
33 | * RetrieveFrames returns instances associated with the given study, series, SOP
|
---|
34 | * Instance UID and frame numbers. See [RetrieveTransaction] (http://dicom.nema.
|
---|
35 | * org/medical/dicom/current/output/html/part18.html#sect_10.4}. For details on
|
---|
36 | * the implementation of RetrieveFrames, see [DICOM
|
---|
37 | * frames](https://cloud.google.com/healthcare/docs/dicom#dicom_frames) in the
|
---|
38 | * Cloud Healthcare API conformance statement. For samples that show how to call
|
---|
39 | * RetrieveFrames, see [Retrieve DICOM
|
---|
40 | * data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-
|
---|
41 | * dicom). (frames.retrieveFrames)
|
---|
42 | *
|
---|
43 | * @param string $parent Required. The name of the DICOM store that is being
|
---|
44 | * accessed. For example, `projects/{project_id}/locations/{location_id}/dataset
|
---|
45 | * s/{dataset_id}/dicomStores/{dicom_store_id}`.
|
---|
46 | * @param string $dicomWebPath Required. The path of the RetrieveFrames DICOMweb
|
---|
47 | * request. For example, `studies/{study_uid}/series/{series_uid}/instances/{ins
|
---|
48 | * tance_uid}/frames/{frame_list}`.
|
---|
49 | * @param array $optParams Optional parameters.
|
---|
50 | * @return HttpBody
|
---|
51 | * @throws \Google\Service\Exception
|
---|
52 | */
|
---|
53 | public function retrieveFrames($parent, $dicomWebPath, $optParams = [])
|
---|
54 | {
|
---|
55 | $params = ['parent' => $parent, 'dicomWebPath' => $dicomWebPath];
|
---|
56 | $params = array_merge($params, $optParams);
|
---|
57 | return $this->call('retrieveFrames', [$params], HttpBody::class);
|
---|
58 | }
|
---|
59 | /**
|
---|
60 | * RetrieveRenderedFrames returns instances associated with the given study,
|
---|
61 | * series, SOP Instance UID and frame numbers in an acceptable Rendered Media
|
---|
62 | * Type. See [RetrieveTransaction] (http://dicom.nema.org/medical/dicom/current/
|
---|
63 | * output/html/part18.html#sect_10.4). For details on the implementation of
|
---|
64 | * RetrieveRenderedFrames, see [Rendered
|
---|
65 | * resources](https://cloud.google.com/healthcare/docs/dicom#rendered_resources)
|
---|
66 | * in the Cloud Healthcare API conformance statement. For samples that show how
|
---|
67 | * to call RetrieveRenderedFrames, see [Retrieve consumer image
|
---|
68 | * formats](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-
|
---|
69 | * consumer). (frames.retrieveRendered)
|
---|
70 | *
|
---|
71 | * @param string $parent Required. The name of the DICOM store that is being
|
---|
72 | * accessed. For example, `projects/{project_id}/locations/{location_id}/dataset
|
---|
73 | * s/{dataset_id}/dicomStores/{dicom_store_id}`.
|
---|
74 | * @param string $dicomWebPath Required. The path of the RetrieveRenderedFrames
|
---|
75 | * DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/insta
|
---|
76 | * nces/{instance_uid}/frames/{frame_list}/rendered`.
|
---|
77 | * @param array $optParams Optional parameters.
|
---|
78 | * @return HttpBody
|
---|
79 | * @throws \Google\Service\Exception
|
---|
80 | */
|
---|
81 | public function retrieveRendered($parent, $dicomWebPath, $optParams = [])
|
---|
82 | {
|
---|
83 | $params = ['parent' => $parent, 'dicomWebPath' => $dicomWebPath];
|
---|
84 | $params = array_merge($params, $optParams);
|
---|
85 | return $this->call('retrieveRendered', [$params], HttpBody::class);
|
---|
86 | }
|
---|
87 | }
|
---|
88 |
|
---|
89 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
90 | class_alias(ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFrames::class, 'Google_Service_CloudHealthcare_Resource_ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFrames');
|
---|