Skip to main content

DICOMweb PACS Source

Category: Healthcare Standards
Node id: dicomweb-connector

Query (QIDO-RS) and retrieve (WADO-RS) DICOM studies from a PACS. Read-only.

Input ports​

NameTypeRequiredDescription
recordsjsonNoRecords to send when operation=write; ignored by read-only drivers
service_paramsjsonNoParameters for operation=service; merged over the service_params config, so a pipeline can page a sweep by feeding back a cursor

Output ports​

NameTypeRequiredDescription
recordsjsonNoRecords returned by the read operation; the record shape depends on the connector driver
countnumberNoNumber of records read (operation=read)
cursorstringNoContinuation cursor (operation=read)
donebooleanNoWhether reading has finished (operation=read); with paginate, true only when the source's last page was read
pagesnumberNoPages read (operation=read with paginate)
bytesnumberNoJSON-encoded size of the records returned (operation=read with paginate)
truncatedbooleanNoA cap or a source defect stopped the walk before the last page (operation=read with paginate); the records are NOT the complete set
truncated_reasonstringNoWhy the walk stopped early: max_pages, max_items, max_page_bytes, timeout, cursor_repeated or no_cursor
cursor_skipnumberNoRecords at the start of the page cursor fetches that were already returned; skip them when resuming
writtennumberNoNumber of records written (operation=write)
errorsjsonNoPer-record failures (operation=write); inspect before acknowledging completion
service_idstringNoInvoked service identifier (operation=service)
resultjsonNoResult of operation=service; the shape depends on the service (e.g. schema_explorer returns schemas, or a page with next_cursor when limit is set)

Settings​

Basic​

SettingNameTypeRequiredDefaultAllowed valuesDescription
Connectorconnector_idconnector-selectNoUse a saved connector for the connection + credentials. Leave empty to configure inline below.
OperationoperationenumYesread, write, serviceread/write move records; service calls one of the driver's named services (e.g. schema_explorer, table_preview, sql_query).
Serviceservice_idstringNoService to call when operation=service. This driver exposes no services.
Service Parametersservice_paramsjsonNoParameters for the service, as JSON. May also be supplied on the service_params input port.

Connection​

SettingNameTypeRequiredDefaultAllowed valuesDescription
api_key_nameapi_key_namestringNoHeader name for the API key (auth_type = api_key) Ignored when connector_id is set.
api_key_valueapi_key_valuesecretNoAPI key value (auth_type = api_key) Ignored when connector_id is set.
auth_typeauth_typeenumNonone, bearer, basic, api_keyAuthentication method Ignored when connector_id is set.
base_urlbase_urlstringYesDICOMweb base URL (e.g. https://orthanc.uclouvain.be/demo/dicom-web) Ignored when connector_id is set.
bearer_tokenbearer_tokensecretNoBearer token (auth_type = bearer) Ignored when connector_id is set.
ca_certca_certstringNoCustom CA bundle (PEM content or file path) the server certificate must chain to, for private/self-signed TLS. Adds trust; verification stays on Ignored when connector_id is set.
last_sync_trackinglast_sync_trackingbooleanNoTrack a last-sync watermark (poller; Phase D) Ignored when connector_id is set.
passwordpasswordsecretNoPassword (auth_type = basic) Ignored when connector_id is set.
poll_interval_secondspoll_interval_secondsnumberNoPoll interval seconds (poller; Phase D) Ignored when connector_id is set.
query_filtersquery_filtersstringNoQIDO-RS query filters (e.g. {"limit":"10"}) Ignored when connector_id is set.
retrieve_moderetrieve_modeenumNofullfull (bulkdata + pixels). Metadata-only retrieve is a future phase. Ignored when connector_id is set.
timeout_secondstimeout_secondsnumberNoRequest timeout in seconds (default 120) Ignored when connector_id is set.
usernameusernamestringNoUsername (auth_type = basic) Ignored when connector_id is set.
verify_tlsverify_tlsbooleanNotrueVerify the server's TLS certificate (default true) Ignored when connector_id is set.

Advanced​

SettingNameTypeRequiredDefaultAllowed valuesDescription
Read Operationread_operationstringNo
Write Operationwrite_operationstringNo
Allow Non-Read-Only Serviceallow_write_servicebooleanNofalseRequired to run a service the driver does not declare read-only. Off by default so a catalogue or discovery step cannot mutate a source system by misconfiguration.
Page SizelimitnumberNoRecords per page for operation=read, where the driver supports it (e.g. S3 list MaxKeys).
CursorcursorstringNoContinuation cursor to start the read from (a previous run's cursor output).
Read All PagespaginatebooleanNofalseoperation=read: follow the source's continuation cursor page after page until the last page, bounded by the caps below. Output truncated is true (with truncated_reason) when a cap stopped the walk first.
Max Pagesmax_pagesnumberNo100min 1; max 10000Hard cap on pages per run when paginate is on.
Max Itemsmax_itemsnumberNo100000min 1; max 1000000Hard cap on records per run when paginate is on.
Max Page Bytesmax_page_bytesnumberNo67108864min 1; max 268435456Hard cap on the JSON-encoded size of the records kept when paginate is on. Not the object-store max_bytes, which caps the size of a downloaded file.
Paging Timeout (s)paging_timeout_secondsnumberNo120min 1; max 3600Overall time budget for the walk; when it runs out the pages read so far are returned as truncated. Keep it below the node timeout.

See Build any workflow for how to put nodes together and Ports, types and data flow for how port types connect.

Something unclear? Send documentation feedback by email.