{"id":"d4667f6d-3978-4f24-ae25-de74a69d7aa7","task":"Implement IHE AIW-I pull workflow so an AI inference engine claims and processes Unified Procedure Step (UPS) work items via UPS-RS","domain":"ihe.net","steps":["Confirm the worklist manager exposes UPS-RS endpoints (DICOMweb UPS-RS is defined in DICOM PS3.18 Section 11); query available work items with GET .../workitems?WorklistLabel=AI_QUEUE","Claim a work item by sending a POST to .../workitems/{workitemUID}/subscribers/{aetitle} to subscribe, then update the work item state to IN PROGRESS using PUT .../workitems/{workitemUID}/state with a Transaction UID in the request body","Retrieve the referenced input DICOM series from the InputInformationSequence in the work item and load pixel data via WADO-RS","Run AI inference and store output objects (DICOM SEG, SR, or GSPS) to the same study, recording their SOP Instance UIDs","Complete the work item by updating its state to COMPLETED via PUT .../workitems/{workitemUID}/state and populate OutputInformationSequence with the UIDs of created output objects"],"gotchas":["The Transaction UID in the state-change PUT must be the same UID used to initially claim ownership; a mismatched UID causes the server to reject the state update","AIW-I defines both pull and push workflows; in the pull model the inference engine polls for available work items, whereas in the triggered-pull model the manager notifies the engine via a UPS event notification — ensure the chosen workflow matches your network topology and latency requirements","UPS work item state transitions follow a strict finite state machine (SCHEDULED → IN PROGRESS → COMPLETED or CANCELED); attempting to skip states or double-claim an item that is already IN PROGRESS results in a 409 Conflict response"],"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:33.807Z"},"url":"https://mcp.waymark.network/r/d4667f6d-3978-4f24-ae25-de74a69d7aa7"}