CDR Tickets

Issue Number 3715
Summary [Genetic Professional] Filter to sort Family Syndromes
Created 2014-02-07 13:17:12
Issue Type New Feature
Submitted By Osei-Poku, William (NIH/NCI) [C]
Assigned To Englisch, Volker (NIH/NCI) [C]
Status Closed
Resolved 2014-02-17 16:36:10
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.118246
Description

I am creating this ticket for discussion and possibly add to the next CDR release.

We need a macro to alphabetically sort the syndromes in the GP documents. When a document is newly created or the familial syndromes are newly added, they are correctly sorted alphabetically, when the CTRL + Enter macro is used to add them. With time as the document is continually updated, the order is not retained unless users are careful to manually maintain the order. Meanwhile, Cancer.gov publishes the document in the same order we present to them. It will be helpful to have a macro that can order the syndromes alphabetically after they have been added or updated. Alternatively, this may be handled in the vendor filters.
Example:
http://www.cancer.gov/cancertopics/genetics/directory/view?personid=664841

Comment entered 2014-02-11 16:30:24 by Kline, Bob (NIH/NCI) [C]

We decided to do this in the vendor filter.

  1. easier to implement

  2. follows the fundamental principle of changing data as far downstream as possible

  3. avoids the problem of forgetting to use a macro

The filter will also check for and eliminate duplicates from the output.

Comment entered 2014-02-14 17:56:14 by Englisch, Volker (NIH/NCI) [C]

William, could you please give me one of two samples that I could look at?

Comment entered 2014-02-14 18:07:17 by Osei-Poku, William (NIH/NCI) [C]

Try these two:
664841
664996

I will add another one shortly.

Comment entered 2014-02-14 18:10:09 by Osei-Poku, William (NIH/NCI) [C]

664784

Comment entered 2014-02-17 16:36:10 by Englisch, Volker (NIH/NCI) [C]

The following filter has been modified in order to sort the entries of the Family Cancer Syndrome:

  • CDR660145: Copy XML for GeneticsProfessional

Please review on DEV and then I will run a diff report on QA.

Comment entered 2014-02-25 11:42:56 by Englisch, Volker (NIH/NCI) [C]

William, did you say at last weeks meeting you already checked the filter changes? I'm not sure if I can go ahead and run the diff reports on QA.

Comment entered 2014-02-25 12:29:00 by Osei-Poku, William (NIH/NCI) [C]

No. Not yet. I am still testing it. I will post a comment when I am done.

Comment entered 2014-02-25 16:57:49 by Osei-Poku, William (NIH/NCI) [C]

The sorting is working correctly. You may proceed to run the diff on QA.

Comment entered 2014-03-05 10:19:37 by Osei-Poku, William (NIH/NCI) [C]

It looks like the filter is not checking for duplicates. Could you please take a look?

Comment entered 2014-03-05 10:43:01 by Englisch, Volker (NIH/NCI) [C]

That's correct. I missed the request for removing duplicates.

Comment entered 2014-03-05 11:00:52 by Englisch, Volker (NIH/NCI) [C]

Do your samples include duplicates? If not could you please adjust the documents accordingly?

Comment entered 2014-03-05 11:12:47 by Osei-Poku, William (NIH/NCI) [C]

All three samples adjusted accordingly.

Comment entered 2014-03-05 12:54:25 by Englisch, Volker (NIH/NCI) [C]

Thanks, William.

The filter has been modified to remove duplicate cancer syndrome blocks now.
This is ready for review on DEV.

Comment entered 2014-03-05 13:11:13 by Osei-Poku, William (NIH/NCI) [C]

Duplicate syndromes are now removed in pub preview.
Verified on DEV.

Comment entered 2014-03-10 16:40:05 by Englisch, Volker (NIH/NCI) [C]

I've ran a diff report on QA and identified 21 documents for which duplicates were removed.

The following filter has been updated:

  • R12419 : Copy XML for GeneticsProfessional (CDR660145)

Please review on QA before I'll update the filter on PROD.

Comment entered 2014-03-13 12:49:37 by Osei-Poku, William (NIH/NCI) [C]

Verified on QA. Thanks!

Comment entered 2014-03-13 17:45:41 by Englisch, Volker (NIH/NCI) [C]

The modified filter to sort and de-dup Family Syndromes has been installed on PROD.

Please verify and close this bug.

Comment entered 2014-04-08 12:04:33 by Englisch, Volker (NIH/NCI) [C]

William, can this issue be closed?

Comment entered 2014-04-10 11:59:30 by Osei-Poku, William (NIH/NCI) [C]

Yes, we can. I will go ahead and close it. Thanks!

Elapsed: 0:00:00.000744