{"record":{"id":"1f62dfb9fa94ed44","repo":"apache/beam","slug":"dicom-io-moved-to-apache-beam-io-gcp-healthcare-dicomcio","errorCode":null,"errorMessage":"Dicom IO moved to apache_beam.io.gcp.healthcare.dicomcio","messagePattern":"Dicom IO moved to apache_beam\\.io\\.gcp\\.healthcare\\.dicomcio","errorType":"console","errorClass":null,"httpStatus":null,"severity":"warning","filePath":"sdks/python/apache_beam/io/gcp/dicomio.py","lineNumber":28,"sourceCode":"#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\n\n# For backwards compatibility.\n\n# pytype: skip-file\n\nimport warnings\n\n# pylint: disable=unused-import\nfrom apache_beam.io.gcp.healthcare import dicomclient\nfrom apache_beam.io.gcp.healthcare import dicomio\n\nwarnings.warn(\n    \"Dicom IO moved to apache_beam.io.gcp.healthcare.dicomcio\",\n    DeprecationWarning)\n","sourceCodeStart":10,"sourceCodeEnd":31,"githubUrl":"https://github.com/apache/beam/blob/12126d8942aaf848030c478b4c6a28c6af861c66/sdks/python/apache_beam/io/gcp/dicomio.py#L10-L31","documentation":"Importing apache_beam.io.gcp.dicomio warns that the DICOM IO transforms moved to apache_beam.io.gcp.healthcare.dicomcio. The old module re-exports from the healthcare package and warns at import time.","triggerScenarios":"Any execution of `from apache_beam.io.gcp.dicomio import ...` or importing the module directly.","commonSituations":"Older DICOM pipeline code importing from io.gcp before the healthcare reorganization; dependency upgrades surfacing stale imports.","solutions":["Change imports to `from apache_beam.io.gcp.healthcare.dicomcio import ...`.","Search for 'io.gcp.dicomio' and update every import site.","Re-run tests under the upgraded Beam version."],"exampleFix":"// before\nfrom apache_beam.io.gcp.dicomio import ReadFromDicom\n// after\nfrom apache_beam.io.gcp.healthcare.dicomcio import ReadFromDicom","handlingStrategy":"validation","validationCode":"import warnings\nwith warnings.catch_warnings(record=True) as w:\n    warnings.simplefilter('always')\n    import apache_beam.io.gcp.dicomio  # noqa\n    if w:\n        raise ImportError('Import from apache_beam.io.gcp.healthcare.dicomcio')","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Import DICOM IO transforms from apache_beam.io.gcp.healthcare.dicomcio.","Run CI with deprecation warnings escalated to errors.","Grep for 'io.gcp.dicomio' in pre-commit hooks."],"tags":["python","deprecation","apache-beam","healthcare"],"backgroundTag":"deprecated-api-usage","analyzedSha":"12126d8942aaf848030c478b4c6a28c6af861c66","analyzedAt":"2026-09-13T01:50:10.254Z","contentChangedAt":"2026-09-13T01:50:10.254Z","schemaVersion":2},"datasetVersion":"2026-09-20T03:17:13.778Z"}