Uploaded image for project: 'Template Designer - Problem Reports'
  1. TDPR-9

Term definitions code gets wrong value in opt when a URI is entered

    Details

    • Type: Bug
    • Status: To Do
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: OPT generator
    • Labels:
      None
    • Environment:
      Win7, TD 2.8 beta

      Description

      When a URI is entered for code of an external terminology constraint resulting opt is incorrect; see
      oet:
            <Rule path="/context/other_context[at0001]/items[at0002]">
              <constraint xsi:type="textConstraint">
                <includedValues>cardiac electrophysiology ontology::http://koray.com#EPStudy::Electrophysiology Study</includedValues>
              </constraint>
            </Rule>

      opt:
          <term_definitions code="http">
            <items id="text">//koray.com#EPStudy</items>
          </term_definitions>

      Two problems:
      1) code seems to pick "http" which is str before ":" in URI
      2) text seems to get rest of chopped code "//koray.com#EPStudy" (seemingly part of URI after ":"). It should have a completely different value of "Electrophysiology Study"

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              atalagk Koray Atalag
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: