Reference: IHE Technical Frameworks Vol 1
…actions (operations) based on the value of the field ORC-1 Order Control Code:
CA – Procedure has been cancelled, usually due to the cancellation of the underlying order; the
Image Manager and the Report Manager shall inactivate corresponding procedure information using Study Instance UID as a unique key of the Requested Procedure in question. Information from PID and PV1 segments shall not be used to update patient or visit information. If the Department System Scheduler/Order Filler has been notified that a Performed Procedure Step is in progress for a Requested Procedure, the order control code DC shall be used.
XO – Procedure-related information (including scheduled date/time and/or resource) has been changed. The Image Manager and Report Manager shall modify corresponding procedure information using the Study Instance UID as a unique key of the procedure in question. Information from PID and PV1 segments shall not be used to update patient or visit information.
DC – Order to which the particular procedure is related has been discontinued after at least one
Performed Procedure Step for this procedure has started. The Image Manager and the Report Manager shall consider all remaining SPS known for that procedure (if any) cancelled. The Image Manager shall use the Study Instance UID as a unique key of the procedure in question. Information from PID and PV1 segments shall not be used to update patient information.
DCM4CHEE ORM Service OrderControlOperationMap
The OrderControlOperationMap maps operation requests and order status from the received HL7 ORC segment to an operation supported by the DCM4CHEE order processing service i.e. service=HL7Service,type=ORM. This controls what happens to worklist items.
The following DCM4CHEE operations can be requested:
- NW - create a new MWL item without an initial status
- XO - change an existing item or create a new item without an initial status if an existing one is not found.
- CA - remove the item from the MWL.
- SC - update the status of an item
In addition a MWL items status can be updated by supplying a status value for XO and SC operations. The format is DC4CHEE-OP(DICOM-STATUS) e.g.
Valid DICOM status values are:
On the HL7 side the operation and status are requested in the ORC segment of the order message (ORM^O001).
- ORC-1 (field 1) is the requested operation (HL7-OP)
- ORC-5 (field 5) is the requested status (HL7-STATUS)
Standard operation (HL7-OP) codes are:
- NW - new order
- XO - change an order
- CA - cancel an order
- SC - scheduling status change
…and standard status (HL7-STATUS) codes are:
- SC - SCHEDULED
- CM - COMPLETED
- CA - CANCELLED
- IP - IN PROGRESS
- AR - ARRIVED
- DC - DISCONTINUED
The OrderControlOperationMap format is:
Below is the default mapping table for DCM4CHEE.
Following sample HL7 ORM is provided with the DCM4CHE 5 toolkit:
OBR|1|A103Z^MESA_ORDC|B103Z^MESA_ORDFIL|P1^Procedure 1^ERL_MESA^X1_A1^SP Action Item X1_A1^DSS_MESA|||||||||xxx||Radiology^^^^R|7101^ESTRADA^JAIME^P^^DR||MOF5026|RP1026|SPS2032||||MR|||1^once^^^^S|||WALK|||||||||||A|||P1^Procedure 1^ERL_MESA
Examples of how this works:
1. Sending this to DCM4CHEE configured with the default orm2dcm.xsl and the default
mapping i.e NW:NW will create a new MWL item with an empty status value:
2. To create a new MWL item with a status of SCHEDULED either:
change the mapping from NW:NW to NW:XO(SCHEDULED) e.g
or use XO(SC) i.e.
3. When I cancel an already scheduled item, instead of removing the item from the MWL (default behavior) I want to set the status to DISCONTINUED:
change the mapping from CA:CA to CA:SC(DISCONTINUED) e.g.