[CORE-142] Add ability to add metadataxml to a modifier from within Edit Terms view Created: 12/Aug/14  Updated: 02/Oct/14  Resolved: 02/Oct/14

Status: Closed
Project: i2b2 Core Software
Component/s: Ontology Cell, Workbench
Affects Version/s: 1.7.02
Fix Version/s: 1.7.04

Type: Improvement Priority: Major
Reporter: Janice Donahoe Assignee: Janice Donahoe
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Rank: 0|i000b3:
Affects View/s:
Edit Terms
i2b2 Feature/s:
i2b2 Sponsored Project/s:
i2b2 Core
Developer Notes: The client was updated to allow a user to enter in metadata xml info. The server was updated to insert this info into the db.

The client was recently updated to give the correct ValueMetadata <Val description =""> format for Enums and to clean up default parameter issues on the Query Dimensions page (modifier_dimension, etc)
Testing Notes: Tested with build An issue was found when adding enumerated values to the metadataxml for modifiers. The xml that was being created was as follows:


The problem is the description attribute is missing from <Val> and this information is required to display the enumerated values correctly in the Modifier Value window located in the Query Tool view.

Example of correct format for the XML for enum values:

      <Val description="Before meals">AC</Val>
      <Val description="Twice per day">BID</Val>
      <Val description="">QD</Val>
      <Val description="Once at night">QHS</Val>
      <Val description="">TID</Val>


Tested with build and it appears to be working correctly.

Currently, when you add a modifier from within the Edit Terms view you cannot add the metadataxml that would be associated to it. This improvement will allow users to add the metadataxml when creating a new or editing an existing modifier from within the Edit Terms view.
Generated at Fri Jun 05 15:37:00 UTC 2020 using JIRA 7.6.3#76005-sha1:8a4e38d34af948780dbf52044e7aafb13a7cae58.