File tree 1 file changed +27
-2
lines changed
dcm4chee-arc-conf-data/src/main/resources
1 file changed +27
-2
lines changed Original file line number Diff line number Diff line change 773
773
<xsl : with-param name =" val" select =" string(field[2]/text())" />
774
774
</xsl : call-template >
775
775
<!-- Referring Physician Name -->
776
- <xsl : call-template name =" cn2pnAttr" >
777
- <xsl : with-param name =" tag" select =" '00080090'" />
776
+ <xsl : call-template name =" referringPhysician" >
778
777
<xsl : with-param name =" cn" select =" field[8]" />
779
778
</xsl : call-template >
780
779
<xsl : call-template name =" attr" >
788
787
</xsl : call-template >
789
788
</xsl : template >
790
789
790
+ <xsl : template name =" referringPhysician" >
791
+ <xsl : param name =" cn" />
792
+ <!-- Referring Physician Name -->
793
+ <xsl : call-template name =" cn2pnAttr" >
794
+ <xsl : with-param name =" tag" select =" '00080090'" />
795
+ <xsl : with-param name =" cn" select =" $cn" />
796
+ </xsl : call-template >
797
+ <!-- Referring Physician identification Sequence -->
798
+ <xsl : variable name =" id" select =" $cn/text()" />
799
+ <xsl : if test =" $id" >
800
+ <DicomAttribute tag =" 00080096" vr =" SQ" >
801
+ <Item number =" 1" >
802
+ <DicomAttribute tag =" 00401101" vr =" SQ" >
803
+ <Item number =" 1" >
804
+ <xsl : call-template name =" attr" >
805
+ <xsl : with-param name =" tag" select =" '00080100'" />
806
+ <xsl : with-param name =" vr" select =" 'SH'" />
807
+ <xsl : with-param name =" val" select =" $id" />
808
+ </xsl : call-template >
809
+ </Item >
810
+ </DicomAttribute >
811
+ </Item >
812
+ </DicomAttribute >
813
+ </xsl : if >
814
+ </xsl : template >
815
+
791
816
<xsl : template name =" pregnancyStatus" >
792
817
<xsl : param name =" ambulantStatus" />
793
818
<xsl : if test =" $ambulantStatus" >
You can’t perform that action at this time.
0 commit comments