Conditional extraction of Scheduled Protocol Code - dcm4che/dcm4chee-arc-light GitHub Wiki
This feature can be enabled when one wants to extract the Scheduled Protocol code in OBR segment field 4 either from
component 1 or component 4 in the incoming HL7 Order message.
Note :
- One may configure this feature on Archive Device extension level or on Archive HL7 Application Extension level. The values configured on Archive HL7 Application Extension level will overwrite values configured on Archive Device level.
- Ensure that one has Vendor data on Archive Device level.
- Select the level on which the feature needs to be configured :
- To configure on Archive device level, go to
Menu->Configuration
, then onDevices
page,Edit
ofdcm4chee-arc
device. Go toExtensions
andEdit extension
ofDevice Extension
. Again go to itsExtensions
andEdit extension
ofArchive device
. - To configure on Archive HL7 application extension level, go to
Menu->Configuration
, then onDevices
page andEdit
thedcm4chee-arc
device. Go toExtensions
andEdit extension
ofDevice Extension
. Go toChild Objects
and select the HL7 application for which this feature needs to be configured. Go toExtensions
andEdit extension
ofArchive HL7 Application
.
- To configure on Archive device level, go to
- Select a value from dropdown for the field
HL7 Schedule Protocol Code in Order
andSave
.
One may either create LDIF file and import it to the LDAP Server by using the ldapmodify command line utility.
-
To configure on Archive device level,
version: 1 dn: dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org changetype: modify add: hl7ScheduledProtocolCodeInOrder hl7ScheduledProtocolCodeInOrder: OBR_4_1
-
To configure on Archive HL7 application extension level,
version: 1 dn: hl7ApplicationName=*,dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org changetype: modify add: hl7ScheduledProtocolCodeInOrder hl7ScheduledProtocolCodeInOrder: OBR_4_1
-
or use the Add Attribute... and Add Value... function of Apache Directory Studio to add attributes on Archive Device level (e.g.:
dicomDeviceName=dcm4chee-arc
) or Archive HL7 Application level (eg.:hl7ApplicationName=*
) in the Archive Configuration.
One may refer to Archive Device or Archive HL7 Application to understand the description of attribute.
Go to the Control tab on Configuration page in archive UI and reload the configuration.
Test this feature using dcm4che tools and archive UI.
-
Send a HL7 Order message to archive
hl7snd -c localhost:2575 /path_to_msg.hl7
-
Query for modality worklist entries from Archive UI, and verify the value of Scheduled Protocol Code Order (depending on the value of
hl7ScheduledProtocolCodeInOrder
in one's LDAP configuration) in the attributes of the MWL whether it is taken from component 1 or component 4 of field 4 of OBR segment in the HL7 Order message.