Issue Number | 3350 |
---|---|
Summary | [DIS] Global to replace Description Text in Metadata of Drug Info Summaries |
Created | 2011-05-05 11:31:15 |
Issue Type | Improvement |
Submitted By | Juthe, Robin (NIH/NCI) [E] |
Assigned To | alan |
Status | Closed |
Resolved | 2011-05-10 22:13:39 |
Resolution | Duplicate |
Path | /home/bkline/backups/jira/ocecdr/issue.107678 |
BZISSUE::5043
BZDATETIME::2011-05-05 11:31:15
BZCREATOR::Robin Juthe
BZASSIGNEE::Alan Meyer
BZQACONTACT::William Osei-Poku
We are changing the description text in DIS document templates for new DIS (see issue 5041). We would like to also make a global change to all existing DIS documents to have consistency in the wording. The current and new description text is provided below.
Current Wording:
This page contains brief information about [Enter the drug name} and a
collection of links to more information about the use of this drug,
related news and research results, and ongoing clinical trials.
New Wording:
This page contains brief information about [Enter the drug name} and a
collection of links to more information about the use of this drug,
research results, and ongoing clinical trials.
BZDATETIME::2011-05-09 17:58:07
BZCOMMENTOR::Alan Meyer
BZCOMMENT::1
I've implemented this on Mahler and run it in test mode.
I wrote it as follows:
1. Normalize spaces in the Description element
Some documents had newlines embedded in the element and some
didn't. Some may have had more than one space in a string,
or a space followed by a newline, possibly a tab, etc. So I
normalized them all to contain only single spaces, without
newlines, tabs or runs of two or more spaces in a row.
That turned out to be unnecessary. The results were the same
as without the normalization. But I left it in anyway in
case some data on Bach is different from Mahler, or in case
we want additional search and replace strings that do require
this normalization (see below).
Normalization seems like the safest thing to do unless it's
right to have two or more spaces in a row somewhere in this
element.
2. Make the following substitution:
Change:
"related news and research results"
To:
"research results"
I only saved real changes, not changes that were merely the
result of whitespace normalization.
The results were as follows:
130 total documents processed (i.e., 130 unique CDR IDs.)
42 changed documents.
88 unchanged.
The unchanged documents do not have the exact string for which
I
searched. There were at least several variations.
Please check the ones that did change to be sure I'm doing it
right, but the main thing to check is probably the documents at
the bottom of the global change report that show no differences
(the diff file size = 20.)
Our options would seem to be:
Leave this as is and just modify the 42 documents.
Add more search and replace strings.
I'll wait for more direction before doing any more.
Results are on Mahler in:
http://mahler.nci.nih.gov/cgi-bin/cdr/ShowGlobalChangeTestResults.py?dir=2011-05-09_17-24-39
BZDATETIME::2011-05-10 17:10:48
BZCOMMENTOR::Robin Juthe
BZCOMMENT::2
Please proceed with your proposed algorithm (in OCECDR-3351) to change the description wording for all drug information summary documents, rather than search for exact wording to be replaced. Thanks.
BZDATETIME::2011-05-10 20:13:18
BZCOMMENTOR::Alan Meyer
BZCOMMENT::3
See OCECDR-3351 Comment #6 for results for this task.
BZDATETIME::2011-05-10 22:13:39
BZCOMMENTOR::Alan Meyer
BZCOMMENT::4
I propose to discontinue this particular Bugzilla issue and do
all of the rest of the work under OCECDR-3351.
To facilitate that I'm marking this one as resolved-duplicate,
as a way to indicate that we're working on the other task to
do this one too.
Elapsed: 0:00:00.001414