Repository navigation
Replies: 11 comments 4 replies
|
Quick update: Weasis 5.0 is now available as a preview on the AIW module. The DICOM explorer. The explorer is still being developed (modes, facets, the compact layout for studies with many series). Next step: integrating an AI agent. In Weasis 5, every feature is also a command that
I'd be interested in your view on this, especially from the performer side: what should stay a standard workitem, and what makes sense for an agent to drive? Links
|
|
Dear Nicolas, Thanks for the 5.0 preview and for merging weasis-dicom-aiw. I will run it One thing the ups: verbs will surface: On the agent question, from the performer side: whatever must stay Best regards, |
|
Quick update: UPS-RS against Clarus: greenThe Task Requestor cycle holds against the live origin: Create (POST The docked Retrieve panel does not see nodes added in the preferencesAdding a DICOMweb node in Preferences > DICOM > Dicom node list does not refresh Startup cost, and a question about the AOT cacheSecond launch onward (boot.log): JVM start 8391 ms, system trust store 6275 ms, Usability note (subjective, not a request)With the Retrieve panel docked and visible by default it covers the study Best regards, |
|
Retrieve panel not seeing new nodes. You were right, it's fixed on the 5.0 branch. Saving a DICOM node list now notifies the open panels. The docked Retrieve panel reloads its archive and calling-node lists immediately, wherever the node was edited (Preferences or the node-list dialog). The import/export UI is still a work in progress, and your remark is fair. I've reworked these panels (Import, Export, Retrieve, Send, Burn ISO):
There is still work to do here, especially on the explorer itself (modes, facets, the compact layout for studies with many series). Feedback from your side on what gets in the way would help. |
|
Thanks - on the separation of roles and "the viewer reads the schema, no I'd argue the schema should come from the Task Performer, not the PACS:
Concretely it costs Weasis nothing: the AI-processors URL just points at Your admin-defined fallback works identically either way; I'd just be filling So: server as the single source - agreed. But the performer is the natural If it sounds good for you - I'll proceed with an AISPro-like |
|
Dear Nicolas, A short follow-up on the schema source. Since the last message I studied the To test that assumption end to end, I went ahead on the performer side: Sample (trimmed; the extension URLs point at a local, not a public, domain): {
"resourceType": "Bundle",
"type": "searchset",
"link": [{ "relation": "self", "url": "http://127.0.0.1:8124/processors/Questionnaire" }],
"entry": [{
"fullUrl": "http://127.0.0.1:8124/processors/Questionnaire/clahe",
"resource": {
"resourceType": "Questionnaire",
"id": "clahe",
"status": "active",
"title": "CLAHE contrast enhancement",
"code": [{
"coding": [{
"system": "urn:clarus:scheme:99clarus",
"code": "IMG-CLAHE",
"display": "Adaptive Histogram Equalization (CLAHE)"
}],
"text": "Adaptive Histogram Equalization (CLAHE)"
}],
"extension": [
{
"url": "http://clarus.local/fhir/StructureDefinition/clinfer-provider.json",
"extension": [
{ "url": "name", "valueString": "clinfer-clahe" },
{ "url": "vendor", "valueString": "Clarus" },
{ "url": "version", "valueString": "1.0" }
]
},
{
"url": "http://clarus.local/fhir/StructureDefinition/clinfer-input-anatomy.json",
"valueCodeableConcept": {
"coding": [{ "system": "http://snomed.info/sct", "code": "51185008", "display": "Thoracic structure" }],
"text": "Thoracic structure"
}
},
{
"url": "http://clarus.local/fhir/StructureDefinition/clinfer-output-sop-classes.json",
"valueUri": "1.2.840.10008.5.1.4.1.1.7"
}
],
"item": [
{
"linkId": "CLIP_LIMIT",
"type": "decimal",
"text": "Clip limit",
"initial": [{ "valueDecimal": 2 }]
},
{
"linkId": "TILE_GRID",
"type": "integer",
"text": "Tile grid",
"initial": [{ "valueInteger": 8 }]
}
]
}
}]
}The performer stays the single source for what it can execute, and the PACS Best, Daniil |
|
Thanks for going ahead, I merged the PRs. The performer as the source. I agree. On Tuesday I wrote that the description should come from the server, and I had the origin in mind. Your argument holds: the performer is the only component that knows which models are connected and what each one needs. We were thinking along the same lines: a Task Performer that manages the AI models and serves their catalog to Weasis. Two things I would expect from it:
Configuration. Yes, Weasis only needs the URL of this Task Performer, set per node on the DICOM › AI Tasks page. The catalog defined by an administrator stays as the fallback for sites whose performer does not publish one. Vendor-neutral identifiers. Weasis has to read the same catalog from any performer, so nothing in it should be tied to one product. AISPro. Going in that direction sounds good to me. Since the profile is still pre-draft, I would keep the interim format close to plain FHIR Questionnaire, as you did, and align when it is published. A note on our side: we plan to work on Weasis acting as a FHIR viewer during the 5.x cycle, so reading a Questionnaire and submitting a QuestionnaireResponse fits where Weasis is going. |
|
Dear Nicolas, Four points, two of which the public AISPro documents settle. 1. Availability / load - keep it out of the catalogI would separate capability from state. The AISPro record is a static The dynamic half is already the workitem lifecycle you read today: SCHEDULED 2. Vendor-neutral scheme - it already comes from the catalogAgreed, and it already comes from the catalog rather than a constant: the 3. Multi-vendor - that is the AISPro Manager, grouped with the consumerA per-node performer URL is the single-provider case. When a site runs 4. What stays open, and what I would not over-build now
Sources (public, no account needed):
Best, Daniil |
|
A small addition to point 4 ("filter on input_requirements"): the catalog
Anatomy is the unreliable leg, so the practical chain is: coded sequences Best, Daniil |


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Phase 2 (PR #950) covers everything except two functional gaps:
I propose to implement these in phase 3, using only standard DICOM UPS-RS transactions.
DICOM PS3.3 defines this sequence (VR: SQ) for passing parameters from the Requester to the Performer.
On the Weasis side, when the user clicks "Run" (or in a separate dialog), the plugin packs the parameters into (0074,1210). Each parameter is a Content Item with:
· Concept Name Code Sequence (0040,A043) — the parameter name (e.g., 99WEASIS:SENSITIVITY). Note: 99 is the DICOM-standard prefix for private codes (PS3.3 8.2). It signals that the code is defined locally (by Weasis in this case), not that it is tied to a specific vendor or origin. Any conformant origin can store and forward it without knowing its meaning.
· Value Type (0040,A040) — NUMERIC or TEXT;
· The value itself: Numeric Value (0040,A30A) (DS) or Text Value (0040,A160) (UT).
The conformant origin does not parse the contents of (0074,1210). It stores the sequence in the manifest and returns it unchanged on Get Workitem (11.5). The Task Performer reads it, maps it to a flat JSON, and passes it to the model via a local contract (e.g., manifest.json).
Note on optionality: Scheduled Processing Parameters Sequence (0074,1210) is Type 3 (optional) in PS3.3. A task may have no parameters at all. The origin stores the sequence only if present; the performer reads it only if present. Each model script defines its own parameter set (or none), and the ABI contract (manifest.json) is simply an empty parameters object when there is nothing to pass.
• For rejecting a completed result (SEG/SR/PR): DICOMweb does not define DELETE for instances. However, if the PACS supports IOCM (Imaging Object Change Management), rejection is done via a Rejection Note (KO) sent with STOW-RS. The origin processes it according to the KO Document Title:
• 113001 (Quality) — the rejected instances are sequestered (hidden from the main /dicomweb, available via a separate QA endpoint).
• 113037 (Safety) — the rejected instances are hidden permanently (recoverable only via an admin endpoint).
• 113039 (Policy) — same as Safety.I propose to add a "Reject result" action to the task menu (or to the "Show tasks" dialog) that creates a KO object and sends it via STOW-RS to the PACS. The UI decision is yours: should Weasis offer a choice of rejection reason (Quality vs Safety), or a single "Reject" action that defaults to one of them?
Questions for discussion
I am ready to implement the origin side and the performer side in my pipeline. For Weasis, I can prepare a PR for packing parameters into (0074,1210) and creating the KO object for rejection, if you agree with the direction.
Best regards,
Daniil
All reactions