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

Codes got removed when exporting OPT for TEXT/CODED TEXT node when TEXT is removed

    Details

      Description

      On the EVALUATION.problem_diagnosis archetype, there is a node with alternative datavalues TEXT/CODED TEXT

      ELEMENT[at0005] occurrences matches {0..1} matches { -- Severity
      value matches {
      DV_CODED_TEXT matches {
      defining_code matches {
      [local::
      at0047, -- Mild
      at0048, -- Moderate
      at0049] -- Severe
      }
      }
      DV_TEXT matches {*}
      }
      }

      1. create a template that uses that archetype,
      2. remove the DV_TEXT alternative,
      3. export the OPT
      4. the OPT doesnt include the code constraints for the remaining CODED TEXT node
      5. if the DV_TEXT node is not removed and the OPT is exported, the codes are on the OPT like

      <code_list>at0047</code_list>
      <code_list>at0048</code_list>
      <code_list>at0049</code_list>

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              pablopazos Pablo Pazos
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: