We're updating the issue view to help you get more done. 

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

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"

Environment

Win7, TD 2.8 beta

Status

Assignee

Unassigned

Reporter

Koray Atalag

Components

Priority

Major