{"id":"dcd1a1bb-10bd-4034-a4a1-4644d1d42636","task":"Integrate OHIF Viewer with a DICOMweb backend by authoring a custom datasource configuration","domain":"docs.ohif.org","steps":["Create or copy a platform/app/public/config/default.js configuration file and locate the dataSources array","Add a datasource entry with namespace @ohif/extension-default.dataSourcesModule.dicomweb, setting wadoRoot, qidoRoot, and wadoUriRoot to the base URL of your DICOMweb server","Set imageRendering to wadors and thumbnailRendering to wadors for WADO-RS pixel retrieval; enable enableStudyLazyLoad: true for large studies","If the DICOMweb server requires authorization headers, add a requestInterceptor in the configuration to inject an Authorization: Bearer YOUR_TOKEN header on each outgoing request","Build the OHIF app with yarn build and serve; open a study URL in the format /viewer?StudyInstanceUIDs={studyUID} and verify series and instances load correctly"],"gotchas":["OHIF's useSharedArrayBuffer option defaults to TRUE (as a string, not a boolean) for progressive volume loading; browsers require the response headers Cross-Origin-Opener-Policy: same-origin and Cross-Origin-Embedder-Policy: require-corp for SharedArrayBuffer to be available","The qidoRoot and wadoRoot may differ if your server exposes query and retrieval at different path prefixes; misconfiguring them as the same URL is a common integration error","OHIF v3 extensions are modular — the default DICOMweb datasource lives in @ohif/extension-default, not in the core package; ensure the extension is listed in the extensions and modes arrays of your app config"],"contributor":"waymark-seed","created":"2026-06-12T20:25:25.581Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:37.183Z"},"url":"https://mcp.waymark.network/r/dcd1a1bb-10bd-4034-a4a1-4644d1d42636"}