CDR Tickets

Issue Number 3655
Summary [Media] Adding Copyright and Reuse Permission Information to Media Docs
Created 2013-08-28 18:34:22
Issue Type Improvement
Submitted By Juthe, Robin (NIH/NCI) [E]
Assigned To Kline, Bob (NIH/NCI) [C]
Status Closed
Resolved 2013-10-25 12:17:28
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.112551
Description

We have a number of figures that we have been granted permission from journals to reuse in PDQ. The permission may be granted for use in a specific summary or other document and it often requires that we cite it or attribute the source in a certain way. We would like to record this information in the media doc, if possible. This will likely result in a schema change, but I will flesh out the requirements once we have a chance to discuss this in tomorrow's meeting.

Comment entered 2013-09-05 11:57:04 by Juthe, Robin (NIH/NCI) [E]

We discussed this a bit more and solidified the requirements.

I came up with the following proposed new optional elements for the Media document. It may be worth putting all of these in a new permission wrapper element, so they can be added as a block. We can discuss this today.

PermissionInformation (possible wrapper element)

PermissionRequested: (values = Yes, No)
DateRequested:
Response: (values = Permission Granted, Permission Denied, Awaiting Response)
ResponseDate:
PermissionExpirationDate:
SpanishTranslationPermissionRequested: (values = Yes, No)
SpanishTranslationResponse: (values = Permission Granted, Permission Denied, Awaiting Response)
Comment: (multiply occurring)
CitationLink:

We plan to use some existing elements to track other information related to permissions as follows:

Acknowledgment: We will use this element to enter any specific wording that the publisher provided and must be used with the image. Note: If we decide to enter a block of elements for the permission information, we may want to move the Acknowledgment element to this new block.
ProposedUse: We will use these elements (summary and glossary) to link to the summaries or glossary terms that we received permission to reuse the image in.
Supplementary Doc: We will attach a supplementary document with all of the detailed permission information to the Media doc for reference.

Comment entered 2013-09-10 16:29:27 by Kline, Bob (NIH/NCI) [C]

Robin:

Were you going to refine these requirements to match Thursday afternoon's discussions?

Comment entered 2013-09-10 16:51:26 by Juthe, Robin (NIH/NCI) [E]

Yes, thank you for reminding me.

We decided in Thursday's status meeting to add the following elements to the PermissionInformation block:

PublisherText. This is a free-text element that will be used to capture text from the publisher that is required to accompany the image when we reuse it.
ApprovedUse. This element is similar to the current ProposedUse elements in that we will be able to link to other CDR documents. The ApprovedUse element should be multiply-occurring. We will use this to track which document(s) we have received approval to reuse the image in.

We will NOT move the Acknowledgment element as suggested above. We will also NOT use the ProposedUse element as suggested above.

I propose that this new block be added after the MediaSource block and I propose that the individual elements follow the following sequence (open for discussion, of course):

PermissionInformation (wrapper element)

PermissionRequested: (values = Yes, No)
DateRequested:
Response: (values = Permission Granted, Permission Denied, Awaiting Response)
ResponseDate:
PermissionExpirationDate:
PublisherText:
ApprovedUse: (multiply occurring)
SpanishTranslationPermissionRequested: (values = Yes, No)
SpanishTranslationResponse: (values = Permission Granted, Permission Denied, Awaiting Response)
Comment: (multiply occurring)
CitationLink:

Comment entered 2013-09-12 10:42:01 by Kline, Bob (NIH/NCI) [C]

I have installed the schema changes on DEV. I made some element name changes, to avoid names that would be generic enough to risk structural definition conflicts with other attempts to use the same name in a different way (for example, I made Response be PermissionResponse). I made some guesses about which elements were optional (and I made CitationLink multiply-occurring). If any of those guesses need to be changed, let me know. Instead of having a multiply-occurring ApprovedUse element, I made it a wrapper just like the ProposedUse block (using the same structure definition). I also made the values for the response elements NMTOKENS (that is, no spaces) so that XMetaL can present the user with a picklist. If "Pending" seems like different semantics from "Awaiting Response" we can come up with some other word that's closer. Ready for user feedback and testing.

Comment entered 2013-09-12 16:54:17 by Kline, Bob (NIH/NCI) [C]

Restored the TranslationResponse options to their original values.

Comment entered 2013-09-19 16:09:23 by Kline, Bob (NIH/NCI) [C]

Schema change has been implemented.

Comment entered 2013-09-26 16:15:31 by Juthe, Robin (NIH/NCI) [E]

The media doc schema looks good to me. Please add CSS. Thank you!

Comment entered 2013-09-27 23:11:43 by Englisch, Volker (NIH/NCI) [C]

Do you have a thought about which elements should be included in the templates when this block is being added?

Comment entered 2013-09-30 11:09:11 by Juthe, Robin (NIH/NCI) [E]

Please include the following elements in the template:
<sequence>
<element name="PermissionRequested" type="YesNo"/>
<element name="PermissionRequestDate" type="date" minOccurs="0"/>
<element name="PermissionResponse" type="PermissionResponse" minOccurs="0"/>
<element name="PermissionResponseDate" type="date" minOccurs="0"/>
<element name="PermissionExpirationDate" type="date" minOccurs="0"/>
<element name="PublisherPermissionText" type="string" minOccurs="0"/>
<element name="ApprovedUse" type="ProposedUse" minOccurs="0"/>
</sequence>

Comment entered 2013-09-30 13:35:56 by Englisch, Volker (NIH/NCI) [C]

The CSS isn't completely finished since I'll have to wait for the text strings to be approved first before I can do the final alignment. However, the CSS for the PermissionInformation block has been created and is ready for review on DEV.

Comment entered 2013-09-30 13:36:37 by Englisch, Volker (NIH/NCI) [C]

The following files have been modified:

  • Media.ctm

  • Media.css

  • Media_structure.css

Comment entered 2013-09-30 16:55:41 by Juthe, Robin (NIH/NCI) [E]

The CSS looks good. The one suggestion I have is to add the summary link and glossary link elements as children of the Approved Use element in the template (like the proposed use elements in the template). It seems confusing to have the instruction to link to either a summary or glossary document when I think you have to add a separate summary or glossary link element to do so.

Lastly - Bob - would it be possible to move this block of elements to follow the MediaSource block rather than at the end of the document? I didn't realize their placement until I viewed them in a sample media doc.

Comment entered 2013-09-30 18:22:03 by Englisch, Volker (NIH/NCI) [C]

The CSS and template rules have been updated as requested and versioned.

  • R12053: Media.ctm

  • R12053: Media.css

  • R12053: Media_structure.css

Comment entered 2013-09-30 18:23:02 by Englisch, Volker (NIH/NCI) [C]

Re-assigning to Bob to adjust the schema.

Comment entered 2013-10-04 18:38:46 by Kline, Bob (NIH/NCI) [C]

New block has been repositioned in the schema on DEV. Ready for user review.

r12065

Comment entered 2013-10-21 17:47:55 by Juthe, Robin (NIH/NCI) [E]

The placement and CSS look good - thanks! However, I am getting validation errors related to these new elements on DEV. I have added a new permission block to document CDR59983 for testing.

One of the errors had to do with an extra space in the template for the Permission Request Date field - could that be removed?

The other one seems to have something to do with the Permission Requested element, but I'm not sure what it is.

Comment entered 2013-10-22 09:38:50 by Kline, Bob (NIH/NCI) [C]

Hmm... Trying to investigate, but CDR59983 isn't a Media doc. Wrong doc ID?

Comment entered 2013-10-22 19:47:17 by Juthe, Robin (NIH/NCI) [E]

Sorry about that. I probably truncated it by one digit. I don't have access to the CDR at the moment but the media doc title is "cryosurgery".

Comment entered 2013-10-23 17:06:45 by Kline, Bob (NIH/NCI) [C]

Looks like you left out the element recording whether permission has been requested for the Spanish version. Can't test because you've got the document locked.

Comment entered 2013-10-23 17:24:20 by Beckwith, Margaret (NIH/NCI) [E]

I know I am weighing in late on this issue, and I haven't gone back and reread the issue, so I apologize if I confuse things. I added the Permissions block to the media document for colonoscopy (415504). It is confusing to me why the element for Spanish permission requested is not inserted when all the other elements are inserted, and why does it get inserted after the Approved Use block? Also, I think the instructions in the element may be wrong because they say "Optionally enter approved use".

Comment entered 2013-10-23 17:44:57 by Beckwith, Margaret (NIH/NCI) [E]

I went ahead and validated/saved the document and it told me I had 4 validation errors but it successfully saved. I am afraid someone else will have to take a look at this--it's just been too long since I modified a document in the CDR!

Comment entered 2013-10-23 18:12:59 by Osei-Poku, William (NIH/NCI) [C]

Margaret,
I wanted to take a look at the document - CDR0000415504 but it remains checked out to you.
The cryosurgery document is also checked out to Robin.

Comment entered 2013-10-23 22:02:46 by Juthe, Robin (NIH/NCI) [E]

Thanks - I had forgotten about the Spanish elements. I just added the Spanish Permission Requested element to cryosurgery and confirmed that it passed validation. However, since that is a required element, then I agree it should be added to the template. The instructions should read "Select Yes/No value (required)". Also, it may be just me, but I think the short name should read "Spn Perm Req" (rather than ES Perm Req). I noticed that the other Spanish element (Spanish Translation Permission Response) does not have CSS.

Margaret, I had suggested grouping the two Spanish elements at the bottom of the block (after Approved Use) to set them apart a bit but I think they could also fit nicely just before Approved Use (since we will likely use that for both Eng & Spn approved uses).

Comment entered 2013-10-24 09:17:46 by Beckwith, Margaret (NIH/NCI) [E]

William: I checked colonoscopy back in! Sorry about that. Robin: It is fine with me to put the Spanish elements at the end. I didn't realize there were two of them, so it seemed odd to have that one element stuck in there. Also, it seems like they should be added to the document at the same time that all the other elements are when you select the Permission Information block from the elements list. don't you?

Comment entered 2013-10-24 09:18:37 by Beckwith, Margaret (NIH/NCI) [E]

Not sure why my comment is all struck out!

Comment entered 2013-10-24 09:27:30 by Kline, Bob (NIH/NCI) [C]

Unfortunately, JIRA silently hijacks some of your punctuation for its own purposes. In this, case you have a hyphen in front of a word, which it decided meant "use strikethrough for all the following text until the next hyphen at the end of a word." You should be able to edit the comment to remove or move the hyphens. Try putting spaces around the hyphens, and/or doubling them to make them dashes.

Volker: could you modify the template to include all the required elements?

Comment entered 2013-10-24 11:28:13 by Osei-Poku, William (NIH/NCI) [C]

Colonoscopy is valid now. There were extra white spaces in 4 of the fields. It validated after I removed the white spaces.

Comment entered 2013-10-24 15:28:14 by Englisch, Volker (NIH/NCI) [C]

The Spanish elements have been added to the Permissions template rule and the CSS for the one element that was missing has been added as well.
Please have a look on DEV.

Comment entered 2013-10-24 15:53:16 by Osei-Poku, William (NIH/NCI) [C]

I checked and the CSS looks good. However, the white spaces issue came up again when I used the shortcut (ALT + D) to enter the date values. When I used the date macro, it did not produce any errors. ALT + D produced errors for all the date fields. The white spaces were placed after the date values. I checked other date fields in protocols and this problem doesn't happen with the use of ALT + D to enter date values.

Comment entered 2013-10-24 16:25:43 by Englisch, Volker (NIH/NCI) [C]

There was an extra line break in the template that resulted in these extra spaces. I removed the line breaks.
Please take a look again on DEV.

Comment entered 2013-10-24 16:36:38 by Osei-Poku, William (NIH/NCI) [C]

It worked this time without any problems. Thanks!

Comment entered 2013-10-25 09:31:08 by Beckwith, Margaret (NIH/NCI) [E]

I added the entire block to the sigmoidoscopy media doc. All the elements properly got entered and I populated all of them. I used the date macro in the menu bar to add the date to 3 fields. When I validated and saved it gave me 2 validation errors. I don't know how to look for the white space. William could you take a look?

Comment entered 2013-10-25 09:59:36 by Kline, Bob (NIH/NCI) [C]

Looks like you entered free text for the response fields instead of picking from the valid values list. Volker: don't we usually have the placeholder use language telling the user to pick one of the valid values instead of telling them to enter a value for such elements?

Comment entered 2013-10-25 10:27:58 by Osei-Poku, William (NIH/NCI) [C]

It validated after I selected one of the responses from the pick list.

Comment entered 2013-10-25 10:56:19 by Beckwith, Margaret (NIH/NCI) [E]

Hmm. Sorry about that. I thought I followed all of the instructions for selecting the fields that needed to be selected. Which fields were entered inappropriately?

Comment entered 2013-10-25 11:10:37 by Osei-Poku, William (NIH/NCI) [C]

PermissionResponse and SpanishTranslationPermissionResponse

Comment entered 2013-10-25 11:25:56 by Beckwith, Margaret (NIH/NCI) [E]

Then the instructions for those 2 elements need to say "Optionally select..." instead of "Optionally enter..".

Comment entered 2013-10-25 11:46:22 by Englisch, Volker (NIH/NCI) [C]

Volker: don't we usually have the placeholder use language telling the user to pick one of the valid values instead of telling them to enter a value for such elements?

Of course and once we know that an element is using a LOV we do use that language. However, it wasn't clear from the name of the elements that these 'Response' fields would use an LOV.

The template has been updated on DEV.

Comment entered 2013-10-25 11:59:04 by Beckwith, Margaret (NIH/NCI) [E]

Yay! I added the block to bronchoscopy, entered all elements, and successfully saved and validated the record with no errors. William, not sure if you want to do any more testing, but in my opinion, this is ready to move to Closed.

Comment entered 2013-10-25 12:11:36 by Osei-Poku, William (NIH/NCI) [C]

I agree that it can be closed. I just tested another document and it validated without a problem and the instructions are correctly entered.

Comment entered 2013-10-25 12:16:32 by Juthe, Robin (NIH/NCI) [E]

Thank you for finishing this one up! I think we should keep it open with a QA verified status for now though until we confirm that everything is working properly in production.

Comment entered 2013-10-25 12:20:54 by Beckwith, Margaret (NIH/NCI) [E]

I think it is a terminology thing. I meant move it to the Closed column in the sprint along with all of the others that have been qa verified so it can go in the release.

Comment entered 2013-10-30 16:11:31 by Englisch, Volker (NIH/NCI) [C]

Saving the latest updates in subversion:

  • R12093: Media.ctm

  • R12093: Media.css

  • R12093: Media_structure.css

Comment entered 2013-11-07 13:17:35 by Osei-Poku, William (NIH/NCI) [C]

Verified on QA.

Comment entered 2013-12-03 13:21:42 by Juthe, Robin (NIH/NCI) [E]

Verified these schema changes in production.

Elapsed: 0:00:00.001752