Mapping new values in hl7-order2dcm template

282 views
Skip to first unread message

MatiasTech

unread,
Dec 31, 2021, 7:21:03 AM12/31/21
to dcm4che
Hi,

I have been trying to add new mapping for the values in the hl7-order2dcm template.
For example I am trying to add a confidentiality code tag mapping to the template so it is mapped correctly to the MWL entry from the ORM^O01 message. I added the confidentiality code to the ORC-17 segment in ORM^O01 message and it is mapped like this in the hl7-order2dcm.xsl template between Placer order number and Filler order number mappings.
<!-- Confidentiality Code -->
    <xsl:call-template name="ei2attr">
      <xsl:with-param name="tag" select="'00401008'"/>
      <xsl:with-param name="vr" select="'LO'"/>
      <xsl:with-param name="ei" select="field[17]/text()"/>
    </xsl:call-template>
For some reason the message goes through but nothing appers on the dicom tag 00401008 in DCM4CHEE MWL. For now I am only using single organization OID code in the field but I would need to map all the ORC17 1-6 segments.
Is there a reason why this confidentiality code is not showing up in the MWL entry? And how could I map all the segments of ORC17 to the dicom tag 00401008?

I would like to map following type of information to the tag 00401008:
1.2.246.529.11.135290217.10.0@TESTORG^TEST ORG EMERGENCY^1039201
(Values used in example Organization OID - Organization name - Organization Code)

Br,
Matias

Vrinda Nayak

unread,
Dec 31, 2021, 9:57:27 AM12/31/21
to dcm4che
Confidentiality Code is specified in ORC.28, whereas ORC.17 is reserved for Entering Organization. There is no mapping available for ORC.17 Entering Organization to DICOM MWL attributes. Also, if you choose to use ORC.28 for Confidentiality code to map to (0040,1008) VR=LO VM=1 Confidentiality Code in DICOM MWL attributes, you may use <xsl:call-template name="attr"> instead

MatiasTech

unread,
Jan 11, 2022, 4:58:56 AM1/11/22
to dcm4che
Hi,

Confidentiality code is still not showing up in the DCM4CHEE MWL. Other values that are added in the similar way for example study description shows up and it's value is shown in the tag. (However if the message contains OBR-4-1 an OBR-4-2 only OBR-4-2 in shown in DCM4CHEE MWL. It seems that the OBR-4-1 is being over written by the OBR-4-2)

DCM4CHEE.PNG
So the confidentiality code field doesn't show up in this list and there is no field for it. Does it need to be configured some where else in DCM4CHEE so it would show up in this?

MatiasTech

unread,
Jan 11, 2022, 8:55:04 AM1/11/22
to dcm4che
Is there a similar kind of DICOM attribute filter in the dcm4chee-arc lite version as in the earlier dcm4chee 2.x version?

Vrinda Nayak

unread,
Jan 11, 2022, 9:43:13 AM1/11/22
to dcm4che
Can you please share your HL7 message, hl7-orm2dcm stylesheet and MWL Attribute Filter config?
- Study Description is an incorrect attribute used above in Scheduled Procedure Step Sequence : See Modality Worklist attributes
- OBR.4 is used to map to Scheduled Protocol Code Sequence which should always contain a Basic Coded Entry comprising of Code Value (mapped from OBR.4.1) and Coding Scheme Designator (mapped from OBR.4.3); Code Meaning is optional (mapped from OBR.4.2)
Reply all
Reply to author
Forward
0 new messages