* $healthcareService = new Google\Service\CloudHealthcare(...); * $instances = $healthcareService->instances; * */ class ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstances extends \Google\Service\Resource { /** * DeleteInstance deletes an instance associated with the given study, series, * and SOP Instance UID. Delete requests are equivalent to the GET requests * specified in the Retrieve transaction. Study and series search results can * take a few seconds to be updated after an instance is deleted using * DeleteInstance. For samples that show how to call DeleteInstance, see * [Deleting a study, series, or * instance](https://cloud.google.com/healthcare/docs/how- * tos/dicomweb#deleting_a_study_series_or_instance). (instances.delete) * * @param string $parent The name of the DICOM store that is being accessed. For * example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id} * /dicomStores/{dicom_store_id}`. * @param string $dicomWebPath The path of the DeleteInstance request. For * example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}`. * @param array $optParams Optional parameters. * @return HealthcareEmpty */ public function delete($parent, $dicomWebPath, $optParams = []) { $params = ['parent' => $parent, 'dicomWebPath' => $dicomWebPath]; $params = array_merge($params, $optParams); return $this->call('delete', [$params], HealthcareEmpty::class); } /** * RetrieveInstance returns instance associated with the given study, series, * and SOP Instance UID. See [RetrieveTransaction] (http://dicom.nema.org/medica * l/dicom/current/output/html/part18.html#sect_10.4). For details on the * implementation of RetrieveInstance, see [DICOM study/series/instances](https: * //cloud.google.com/healthcare/docs/dicom#dicom_studyseriesinstances) and * [DICOM * instances](https://cloud.google.com/healthcare/docs/dicom#dicom_instances) in * the Cloud Healthcare API conformance statement. For samples that show how to * call RetrieveInstance, see [Retrieving an * instance](https://cloud.google.com/healthcare/docs/how- * tos/dicomweb#retrieving_an_instance). (instances.retrieveInstance) * * @param string $parent The name of the DICOM store that is being accessed. For * example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id} * /dicomStores/{dicom_store_id}`. * @param string $dicomWebPath The path of the RetrieveInstance DICOMweb * request. For example, * `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}`. * @param array $optParams Optional parameters. * @return HttpBody */ public function retrieveInstance($parent, $dicomWebPath, $optParams = []) { $params = ['parent' => $parent, 'dicomWebPath' => $dicomWebPath]; $params = array_merge($params, $optParams); return $this->call('retrieveInstance', [$params], HttpBody::class); } /** * RetrieveInstanceMetadata returns instance associated with the given study, * series, and SOP Instance UID presented as metadata with the bulk data * removed. See [RetrieveTransaction] (http://dicom.nema.org/medical/dicom/curre * nt/output/html/part18.html#sect_10.4). For details on the implementation of * RetrieveInstanceMetadata, see [Metadata * resources](https://cloud.google.com/healthcare/docs/dicom#metadata_resources) * in the Cloud Healthcare API conformance statement. For samples that show how * to call RetrieveInstanceMetadata, see [Retrieving * metadata](https://cloud.google.com/healthcare/docs/how- * tos/dicomweb#retrieving_metadata). (instances.retrieveMetadata) * * @param string $parent The name of the DICOM store that is being accessed. For * example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id} * /dicomStores/{dicom_store_id}`. * @param string $dicomWebPath The path of the RetrieveInstanceMetadata DICOMweb * request. For example, * `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/metadata`. * @param array $optParams Optional parameters. * @return HttpBody */ public function retrieveMetadata($parent, $dicomWebPath, $optParams = []) { $params = ['parent' => $parent, 'dicomWebPath' => $dicomWebPath]; $params = array_merge($params, $optParams); return $this->call('retrieveMetadata', [$params], HttpBody::class); } /** * RetrieveRenderedInstance returns instance associated with the given study, * series, and SOP Instance UID in an acceptable Rendered Media Type. See * [RetrieveTransaction] (http://dicom.nema.org/medical/dicom/current/output/htm * l/part18.html#sect_10.4). For details on the implementation of * RetrieveRenderedInstance, see [Rendered * resources](https://cloud.google.com/healthcare/docs/dicom#rendered_resources) * in the Cloud Healthcare API conformance statement. For samples that show how * to call RetrieveRenderedInstance, see [Retrieving consumer image * formats](https://cloud.google.com/healthcare/docs/how- * tos/dicomweb#retrieving_consumer_image_formats). (instances.retrieveRendered) * * @param string $parent The name of the DICOM store that is being accessed. For * example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id} * /dicomStores/{dicom_store_id}`. * @param string $dicomWebPath The path of the RetrieveRenderedInstance DICOMweb * request. For example, * `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/rendered`. * @param array $optParams Optional parameters. * @return HttpBody */ public function retrieveRendered($parent, $dicomWebPath, $optParams = []) { $params = ['parent' => $parent, 'dicomWebPath' => $dicomWebPath]; $params = array_merge($params, $optParams); return $this->call('retrieveRendered', [$params], HttpBody::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstances::class, 'Google_Service_CloudHealthcare_Resource_ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstances');