You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{% if 'internal_rec_label' in e and e.internal_rec.value != uri %}
38
-
{% if not iiheader %}
39
-
<h4>Internal Interactions</h4>
40
-
{% set iiheader = True %}
41
-
{% endif %}
42
-
<divclass="list-group-item">This recommendation interacts with the recommendation to <strong>{{ e.internal_rec_label.value }}</strong><spanclass="badge alert-warning" target="{{ e.internal_rec.value }}">{{ e.internal_rec_stripped.value }}</span></div>
31
+
32
+
{% if not iiheader %}
33
+
<h4>Internal Interactions</h4>
34
+
{% set iiheader = True %}
35
+
{% endif %}
36
+
{% if e.itype_stripped.value == 'ContradictionDueToSameAction' %}
37
+
<divclass="list-group-item">This recommendation <strong>contradicts</strong> with the recommendation to <strong>{{ e.internal_rec_label.value|lower }}</strong><spanclass="badge alert-warning" target="{{ e.internal_rec.value }}">{{ e.internal_rec_stripped.value }}</span> with respect to the care action to <strong>{{ e.ca_label.value|lower }}</strong>.</div>
38
+
{% endif %}
39
+
{% if e.itype_stripped.value == 'RepetitionDueToSameAction' %}
40
+
<divclass="list-group-item">This recommendation is a <strong>repetition</strong> of the recommendation to <strong>{{ e.internal_rec_label.value|lower }}</strong><spanclass="badge alert-warning" target="{{ e.internal_rec.value }}">{{ e.internal_rec_stripped.value }}</span> because they agree with respect to the care action to <strong>{{ e.ca_label.value|lower }}</strong>.</div>
41
+
{% endif %}
42
+
{% if e.itype_stripped.value == 'ContradictionDueToInverseTransition' %}
43
+
<divclass="list-group-item">This recommendation <strong>contradicts</strong> with the recommendation to <strong>{{ e.internal_rec_label.value|lower }}</strong><spanclass="badge alert-warning" target="{{ e.internal_rec.value }}">{{ e.internal_rec_stripped.value }}</span> because of <strong>inverse transitions</strong>.</div>
44
+
{% endif %}
45
+
{% if e.itype_stripped.value == 'AlternativeDueToInverseTransition' %}
46
+
<divclass="list-group-item">This recommendation is an <strong>alternative</strong> to the recommendation to <strong>{{ e.internal_rec_label.value|lower }}</strong><spanclass="badge alert-warning" target="{{ e.internal_rec.value }}">{{ e.internal_rec_stripped.value }}</span> because of <strong>inverse transitions</strong>.</div>
47
+
{% endif %}
48
+
{% if e.itype_stripped.value == 'ContradictionDueToSimilarTransition' %}
49
+
<divclass="list-group-item">This recommendation <strong>contradicts</strong> with the recommendation to <strong>{{ e.internal_rec_label.value|lower }}</strong><spanclass="badge alert-warning" target="{{ e.internal_rec.value }}">{{ e.internal_rec_stripped.value }}</span> because they disagree on a <strong>similar transition</strong>.</div>
50
+
{% endif %}
51
+
{% if e.itype_stripped.value == 'AlternativeDueToSimilarTransition' %}
52
+
<divclass="list-group-item">This recommendation is an <strong>alternative</strong> to the recommendation to <strong>{{ e.internal_rec_label.value|lower }}</strong><spanclass="badge alert-warning" target="{{ e.internal_rec.value }}">{{ e.internal_rec_stripped.value }}</span> because of <strong>similar transitions</strong>.</div>
53
+
{% endif %}
43
54
{% endif %}
44
55
{% if 'external_rec_label' in e and e.external_rec.value != e.rec.value %}
45
56
{% if not eiheader %}
46
57
<h4>External Interactions</h4>
47
58
{% set eiheader = True %}
48
59
{% endif %}
49
-
<divclass="list-group-item">This recommendation interacts with the recommendation to <strong>{{ e.external_rec_label.value }}</strong>
60
+
<divclass="list-group-item">This recommendation interacts with the recommendation to <strong>{{ e.external_rec_label.value|lower }}</strong>
0 commit comments