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