From ea141b1ba942e1c96640ea69c1e3f15069823a93 Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Fri, 5 Jul 2024 17:42:05 +0800 Subject: [PATCH] fix bug producing broken links --- .../org/hl7/fhir/r5/renderers/StructureDefinitionRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/StructureDefinitionRenderer.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/StructureDefinitionRenderer.java index 5fb15b500..ef6dcf2ca 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/StructureDefinitionRenderer.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/StructureDefinitionRenderer.java @@ -779,7 +779,7 @@ public class StructureDefinitionRenderer extends ResourceRenderer { row.setOpacity("0.5"); } UnusedTracker used = new UnusedTracker(); - String ref = defPath == null ? null : defPath + anchorPrefix + element.getId(); + String ref = defPath == null ? null : defPath + element.getId(); String sName = tail(element.getPath()); if (element.hasSliceName()) { sName = sName +":"+element.getSliceName();