mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-03-03 09:59:10 +00:00
render properties as links when they are URLs
This commit is contained in:
parent
ed315a03c0
commit
1cbb377040
@ -3746,6 +3746,8 @@ public class NarrativeGenerator implements INarrativeGenerator {
|
||||
if (first) first = false; else td.addText(", ");
|
||||
if (pcv.hasValueCoding()) {
|
||||
td.addText(pcv.getValueCoding().getCode());
|
||||
} else if (pcv.hasValueStringType() && Utilities.isAbsoluteUrl(pcv.getValue().primitiveValue())) {
|
||||
td.ah(pcv.getValue().primitiveValue()).tx(pcv.getValue().primitiveValue());
|
||||
} else {
|
||||
td.addText(pcv.getValue().primitiveValue());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user