there are situations where the Label_Alt provides some additional information that helps to refine the "Label". For example, if we project an anatomical term as the Label for a landmark, there may be a more meaningful explanation (more precise) passed in the Label_Alt.
Revise logic for display label presentation. For this pseudocode, let's say that Display_Label is what we are going to show to the user.
IF Label AND Label_Alt THEN
Display_Label = "Label (Label_Alt)"
ELSE IF Label:
Display_Label = "Label"
ELSE IF Label_Alt:
Display_Label = "Label_Alt"
ELSE
Display_Label = basename(URL)
When combined with a Label_RID, the whole Display_Label should form the text for the link. That is, we don't need to make only the Label part be the link text.
there are situations where the
Label_Alt
provides some additional information that helps to refine the "Label". For example, if we project an anatomical term as theLabel
for a landmark, there may be a more meaningful explanation (more precise) passed in theLabel_Alt
.Revise logic for display label presentation. For this pseudocode, let's say that
Display_Label
is what we are going to show to the user.When combined with a
Label_RID
, the wholeDisplay_Label
should form the text for the link. That is, we don't need to make only theLabel
part be the link text.