Issue Number | 3638 |
---|---|
Summary | Change vendor filter to add "exclude from mobile" attribute to sections of CAM patient summaries |
Created | 2013-08-08 12:11:49 |
Issue Type | Bug |
Submitted By | Beckwith, Margaret (NIH/NCI) [E] |
Assigned To | Englisch, Volker (NIH/NCI) [C] |
Status | Closed |
Resolved | 2013-08-15 19:11:17 |
Resolution | Fixed |
Path | /home/bkline/backups/jira/ocecdr/issue.111575 |
We would like to publish the CAM patient summaries to mobile cancer.gov. The exclude from mobile attribute needs to be added to all of the sections except the first 2 on this list:
• Overview
• Questions and Answers About Antineoplastons
• Current Clinical Trials
• Changes to This Summary (02/19/2013)
• General CAM Information
• Evaluation of CAM Approaches
• Questions to Ask Your Health Care Provider About CAM
• To Learn More About CAM
• About PDQ
We would like to get this in the 3.01 patch if at all possible. IF not, we will add the attributes manually and then remove them once the filter changes have been made.
So far I've been able to add the ExcludedDevices attribute to most
sections except for the Clinical Trials and the To Learn More About
sections.
I maybe able to finish this up on DEV tomorrow.
As discussed with Margaret, the Supportive Care summaries are adding the Clinical Trials section as a regular top level section and adding the section meta data element SectionType='Current clinical trials'. If in the future the supportive care summaries will be added to mobile we would want to use the same mechanism to exclude this section as for the CAM summaries. CIAT will therefore add the SectionType element to the clinical trials sections for CAM and the filter will use this data to add the ExcludedDevices='mobile' attribute.
The filter has been updated on DEV and is ready for review.
CDR000157 (Vendor Filter: Summary)
As soon as the QA server is available I will start running diff reports with the old and new filter.
The changes are ready to review on DEV with the filter
R11958: CDR000157 (Vendor Filter: Summary)
The review will have to be done by confirming that the XML document lists the ExcludedDevices attribute on the SummarySection element.
I typically do this the following way:
Log on to the CDR Admin interface (or go there from within
XMetaL)
https://cdr.dev.cancer.gov/CDRAdmin.html
Go to the menu CIAT -> Reports -> General
Reports --> Filter Document
Enter the CDR-ID of the document to test in the field 'Document ID'
Enter the string 'set:Vendor Summary Set' in the field 'Filter ID'
Click 'Submit Filter Request'
This will open the vendor output as an XML document. Click on the '-'
sign in front of the top level sections in order to collapse
these:
SummarySectionMetaData and all top level SummarySection elements. In the
end you will see something like the text below listing all top level
sections with their attributes.
<Summary id="CDR0000446580">
<SummaryMetaData></SummaryMetaData>
<SummaryTitle>714-X (PDQ®)</SummaryTitle>
<AltTitle TitleType="Short">714-X</AltTitle>
<SummarySection id="_1"></SummarySection>
<SummarySection id="_2"></SummarySection>
<SummarySection id="_3"
ExcludedDevices="mobile"></SummarySection>
<SummarySection id="_AboutThis_1"
ExcludedDevices="mobile"></SummarySection>
<SummarySection id="_AboutCAM_2"
ExcludedDevices="mobile"></SummarySection>
<SummarySection id="_AboutCAM_6"
ExcludedDevices="mobile"></SummarySection>
<SummarySection id="_QandA_2"
ExcludedDevices="mobile"></SummarySection>
<SummarySection id="_ToLearnMore_2"
ExcludedDevices="mobile"></SummarySection>
<PatientVersionOf ref="CDR0000062972"/>
<DateFirstPublished>2005-09-23</DateFirstPublished>
<DateLastModified>2013-02-19</DateLastModified>
</Summary>
Issue needs to be QC'ed and then we're running diff reports on QA (after the CDR database has been refreshed)
I filtered 2 CAM patient summaries on DEV. and the XML looked good. I had to add the SectionType='Current clinical trials' to one of them in order to see the ExcludedDevices attribute in the filtered XML since the summaries have only been updated on PROD.
I'm marking this as QA Verified although we still want to run a diff report on QA if at all possible.
Command to update the filter on PROD (from the command prompt typed on one line):
D:>UpdateFilter.py <username> <passwd>
CDR0000000157.xml
--comment="R11958 (OCECDR-3638): Exclude sections for CAM mobile"
--docid=157 --publishable=Y
The CAM summaries are now displaying on mobile. I believe we can close this issue.
File Name | Posted | User |
---|---|---|
PDQ CAM Patient Summaries_mobile.docx | 2013-08-08 12:11:49 |
Elapsed: 0:00:00.001613