mapping tag (0008,0100) in ORU^R01 msg

77 views
Skip to first unread message

Pela Silveira

unread,
Aug 8, 2019, 10:26:43 AM8/8/19
to dcm...@googlegroups.com
Hello, is there any field defined in order to map ISO639_2 languages codes in SR imported by HL7 Oru r01 msgs?

thank you in advance

>>Code Value(0008, 0100)   eng

vrinda nayak

unread,
Aug 8, 2019, 11:18:36 AM8/8/19
to dcm4che
You may configure language codes (to be passed to the HL7 ORU to Dicom SR stylesheet) as part of HL7 Import Report Template Parameters. See related issue.

Pela Silveira

unread,
Aug 8, 2019, 8:02:56 PM8/8/19
to dcm4che
Thanks Vrinda!! 

Pela Silveira

unread,
Aug 8, 2019, 8:38:54 PM8/8/19
to dcm4che
Hi again Vrinda

I modified this file
/opt/wildfly/standalone/tmp/dcm4chee-arc/hl7-oru2dsr.xsl

but it overwrites, i didn't find the original

thank you


On Thursday, August 8, 2019 at 12:18:36 PM UTC-3, vrinda nayak wrote:

vrinda nayak

unread,
Aug 9, 2019, 4:08:20 AM8/9/19
to dcm4che
You don't need to overwrite the stylesheet. You just need to configure ldap attribute (Devices -> dcm4chee-arc -> Device Extension -> Archive Device Extension -> HL7 Import Report Template Parameters).

Pela Silveira

unread,
Aug 9, 2019, 8:26:04 PM8/9/19
to dcm4che
Excelent, now I undetstand it.

Another question, if I want to bind a hl7 field obr:2 to access number 

I saw in an older post that the xsl must look like this
 <!--Accession Number-->
        <attr tag="00080050" vr="SH">
            <xsl:value-of select="string(OBR/field[2]/text())"/>
        </attr>

in this case how the the parameter has to be ? UI says that format is {name}={value}.


thank you very much

vrinda nayak

unread,
Aug 12, 2019, 6:14:52 AM8/12/19
to dcm4che
To pick Accession Number from field 2 of OBR segment instead of field 18 (as provided in the default hl7-oru2dsr stylesheet), you will have to only adjust the stylesheet. This can't be passed as HL7 Import Report Template Params.

Use
<!--Accession Number-->
<DicomAttribute tag="00080050" vr="SH">
    <Value number="1"><xsl:value-of select="field[2]"/></Value>
</DicomAttribute>

Note :
- If you already have Vendor Device Data imported in your archive configuration you will have to replace it (Devices -> dcm4chee-arc -> Attributes). (This option will just reload configuration; archive restart is not required)
- Else you may replace the existing stylesheet with your adjusted stylesheet in $WILDFLY_HOME/standalone/tmp/dcm4chee-arc location. (This option requires archive restart)
Reply all
Reply to author
Forward
0 new messages