Uploaded image for project: 'i2b2 Core Software'
  1. i2b2 Core Software
  2. CORE-142

Add ability to add metadataxml to a modifier from within Edit Terms view

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.02
    • Fix Version/s: 1.7.04
    • Component/s: Ontology Cell, Workbench
    • Labels:
      None
    • Rank:
      0|i000b3:
    • Affects View/s:
      Edit Terms
    • i2b2 Feature/s:
      Modifiers
    • i2b2 Sponsored Project/s:
      i2b2 Core
    • Developer Notes:
      Hide
      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)
      Show
      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:
      Hide
      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:

      <EnumValues>
            <Val>AC</Val>
            <Val>BID</Val>
            <Val>QD</Val>
            <Val>QHS</Val>
            <Val>TID</Val>
      </EnumValues>

      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:

      <EnumValues>
            <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>
      </EnumValues>

      ______________________________

      Tested with build 1.7.04.0002 and it appears to be working correctly.
      Show
      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: <EnumValues>       <Val>AC</Val>       <Val>BID</Val>       <Val>QD</Val>       <Val>QHS</Val>       <Val>TID</Val> </EnumValues> 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: <EnumValues>       <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> </EnumValues> ______________________________ Tested with build 1.7.04.0002 and it appears to be working correctly.

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              jmd86 Janice Donahoe
              Reporter:
              jmd86 Janice Donahoe
              Participant/s:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code