From 48f53250e2e24ec2b7c94bc82be05c8ec07e1e45 Mon Sep 17 00:00:00 2001 From: vrinda Date: Thu, 20 Sep 2018 18:02:03 +0200 Subject: [PATCH] WADO: Include Study Description, Study Instance UID, Accession Number and the Referenced Request Sequence in SR rendered as HTML or TEXT #1597 --- .../src/main/resources/dsr2html.xsl | 174 ++++++++++++++++-- .../src/main/resources/dsr2text.xsl | 31 ++++ .../src/main/resources/impax-report2sr.xsl | 61 ++++-- .../arc/impax/rs/ImportImpaxReportRS.java | 1 + 4 files changed, 228 insertions(+), 39 deletions(-) diff --git a/dcm4chee-arc-conf-data/src/main/resources/dsr2html.xsl b/dcm4chee-arc-conf-data/src/main/resources/dsr2html.xsl index d6c92bc60e..be10e18ce5 100644 --- a/dcm4chee-arc-conf-data/src/main/resources/dsr2html.xsl +++ b/dcm4chee-arc-conf-data/src/main/resources/dsr2html.xsl @@ -49,10 +49,13 @@ + + +
@@ -367,24 +370,46 @@ - - - - - - - under - - - - - - + + + + + + + + + Participant: + + + + + + + + + + + + + + + + + + + + + + + + + @@ -393,19 +418,41 @@ - - under - - - - - - + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + @@ -423,6 +470,79 @@ + + + + Study Description: + + + + + + + + Referring Physician: + + + + + + + + + + + + + + Referenced Request + + + + + Reason For Study: + + + + + + + + Study Description: + + + + + + + + Accession Number: + + + + + + + + Study Instance UID: + + + + + + + + Referring Physician: + + + + + + + + + + @@ -508,6 +628,20 @@ + + + + + + + + + + + + + + diff --git a/dcm4chee-arc-conf-data/src/main/resources/dsr2text.xsl b/dcm4chee-arc-conf-data/src/main/resources/dsr2text.xsl index 4cdc77f630..8f00010422 100644 --- a/dcm4chee-arc-conf-data/src/main/resources/dsr2text.xsl +++ b/dcm4chee-arc-conf-data/src/main/resources/dsr2text.xsl @@ -34,6 +34,7 @@
+ @@ -288,6 +289,36 @@ + + + Participant: + + + + + + + + - + + + + + + + + + + + + + + + + + + + Author Observers: diff --git a/dcm4chee-arc-conf-data/src/main/resources/impax-report2sr.xsl b/dcm4chee-arc-conf-data/src/main/resources/impax-report2sr.xsl index e7c0d835bf..5660159eb1 100644 --- a/dcm4chee-arc-conf-data/src/main/resources/impax-report2sr.xsl +++ b/dcm4chee-arc-conf-data/src/main/resources/impax-report2sr.xsl @@ -19,6 +19,7 @@ + @@ -68,14 +69,23 @@ + + - + + + + + + + + @@ -83,7 +93,7 @@ - + @@ -116,7 +126,7 @@ - + @@ -154,25 +164,34 @@ - - - - - - - + + + + + + + + + + - - - + + + + + - - - + + + + + + + @@ -236,9 +255,13 @@ - - - + + + + + + + diff --git a/dcm4chee-arc-impax-report-rs/src/main/java/org/dcm4chee/arc/impax/rs/ImportImpaxReportRS.java b/dcm4chee-arc-impax-report-rs/src/main/java/org/dcm4chee/arc/impax/rs/ImportImpaxReportRS.java index 09af0f37ad..b76b06d9dc 100644 --- a/dcm4chee-arc-impax-report-rs/src/main/java/org/dcm4chee/arc/impax/rs/ImportImpaxReportRS.java +++ b/dcm4chee-arc-impax-report-rs/src/main/java/org/dcm4chee/arc/impax/rs/ImportImpaxReportRS.java @@ -263,6 +263,7 @@ private void xslt(String report, Attributes attrs) throws Exception { setParamIfNotNull(t, "StudyInstanceUID", attrs); setParamIfNotNull(t, "AccessionNumber", attrs); setParamIfNotNull(t, "StudyDescription", attrs); + setParamIfNotNull(t, "ReferringPhysicianName", attrs); t.transform(new StreamSource(new StringReader(report)), new SAXResult(new ContentHandlerAdapter(attrs))); }