UPS Template Workitem - dcm4che/dcm4chee-arc-light GitHub Wiki

Overview

A Unified Procedure Step (UPS) template workitem can be used as a template in further creation of new UPS workitems or processing of existing UPS workitems.

New UPS records can be created using a UPS template workitem's attributes for :

  • Study Instance UIDs (and optionally HL7 CX format Patient IDs) contained in a CSV file.
  • Matching studies.

for studies available in local as well as in external remote archives.

Setup of UPS Template Workitem

Create new UPS Template Workitem

As Create new UPS Template Workitem service using query filter template=true is yet to be implemented in UI, use curl to create new UPS Template Workitem.

Create a JSON file with following DICOM conforming UPS attributes

{"00100020": {"vr":"LO","Value":[""]}, "00100021": {"vr":"LO","Value":[""]}, "00100010": {"vr":"PN","Value":[{"Alphabetic":""}]}, "00100030": {"vr":"DA","Value":[""]}, "00100040": {"vr":"CS","Value":[""]}, "00741202": {"vr":"LO","Value":["upsTemplateCreateTest"]}, "00741204": {"vr":"LO","Value":["upsTemplateCreateTest"]}, "00081195": {"vr":"UI","Value":[""]}, "00741200": {"vr":"CS","Value":["MEDIUM"]}, "00404041": {"vr":"CS","Value":["READY"]}, "00741210": {"vr":"SQ","Value":[]}, "00404025": {"vr":"SQ","Value":[]}, "00404026": {"vr":"SQ","Value":[]}, "00404027": {"vr":"SQ","Value":[]}, "00404018": {"vr":"SQ","Value":[]}, "00400400": {"vr":"LT","Value":[""]}, "00404021": {"vr":"SQ","Value":[]}, "00101002": {"vr":"SQ","Value":[]}, "00380010": {"vr":"LO","Value":[""]}, "00380014": {"vr":"SQ","Value":[]}, "00081080": {"vr":"LO","Value":[""]}, "00081084": {"vr":"SQ","Value":[]}, "0040A370": {"vr":"SQ","Value":[]}, "00741000": {"vr":"CS","Value":["SCHEDULED"]}, "00741002": {"vr":"SQ","Value":[]}, "00741216": {"vr":"SQ","Value":[]}}

and send it as a request payload in the following service

curl -v -H "Content-type:application/dicom+json" -X POST 'http[s]://<archive-host>:<port>/dcm4chee-arc/aets/<AET>/rs/workitems?template=true' --data @testUPSTemplateCreate.json

Search UPS Template Workitems

The above created UPS Template Workitem may be used in creation / processing of further new UPS workitems. In order to select such a UPS Template Workitem in those services / features search for UPS Template Workitems using query filter template=true. Use curl to select required UPS Template Workitem

curl http[s]://<archive-host>:<port>/dcm4chee-arc/aets/<AET>/rs/workitems?template=true

as this is yet to be implemented in UI

⚠️ **GitHub.com Fallback** ⚠️