[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
|Project:||i2b2 Core Software|
|Component/s:||Ontology Cell, Workbench|
|Reporter:||Janice Donahoe||Assignee:||Janice Donahoe|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
|i2b2 Sponsored Project/s:||
|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 1.7.04.0001. 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="Once at night">QHS</Val>
Tested with build 1.7.04.0002 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.