pathology/dicom_proxy/dicom_proxy_blueprint.py [1060:1089]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
) -> flask.Response:
  """Flask entry point for DICOMweb study metadata search request.

  Args:
    store_api_version: Healthcare API DICOM store version.
    projectid: GCP projectid.
    location: Location of healthcare api dataset.
    datasetid: Healthcare API dataset ID.
    dicomstore: DICOM store to connect to.
    study_instance_uid: DICOM Study Instance UID to return metadata.

  Returns:
    Flask response containing dicom metadata.
  """
  cloud_logging_client.info(
      'External DICOM study search entrypoint',
      {
          proxy_const.LogKeywords.HEALTHCARE_API_DICOM_VERSION: (
              store_api_version
          ),
          proxy_const.LogKeywords.PROJECT_ID: projectid,
          proxy_const.LogKeywords.LOCATION: location,
          proxy_const.LogKeywords.DATASET_ID: datasetid,
          proxy_const.LogKeywords.DICOM_STORE: dicomstore,
      },
      _get_masked_flask_headers(),
  )
  dicom_web_base_url = dicom_url_util.DicomWebBaseURL(
      store_api_version, projectid, location, datasetid, dicomstore
  )
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



pathology/dicom_proxy/dicom_proxy_blueprint.py [1123:1151]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
) -> flask.Response:
  """Flask entry point for DICOMweb study metadata search request.

  Args:
    store_api_version: Healthcare API DICOM store version.
    projectid: GCP projectid.
    location: Location of healthcare api dataset.
    datasetid: Healthcare API dataset ID.
    dicomstore: DICOM store to connect to.

  Returns:
    Flask response containing dicom metadata.
  """
  cloud_logging_client.info(
      'External DICOM study search entrypoint',
      {
          proxy_const.LogKeywords.HEALTHCARE_API_DICOM_VERSION: (
              store_api_version
          ),
          proxy_const.LogKeywords.PROJECT_ID: projectid,
          proxy_const.LogKeywords.LOCATION: location,
          proxy_const.LogKeywords.DATASET_ID: datasetid,
          proxy_const.LogKeywords.DICOM_STORE: dicomstore,
      },
      _get_masked_flask_headers(),
  )
  dicom_web_base_url = dicom_url_util.DicomWebBaseURL(
      store_api_version, projectid, location, datasetid, dicomstore
  )
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



