From 84508415efc75a8d17924704870c9272965f2b9e Mon Sep 17 00:00:00 2001 From: Alexey Tschudnowsky Date: Fri, 16 Dec 2022 16:46:49 +0100 Subject: [PATCH] fixes #1040 --- .../main/java/org/hl7/fhir/r5/conformance/ProfileUtilities.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/conformance/ProfileUtilities.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/conformance/ProfileUtilities.java index 89d0e134a..151a12ad5 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/conformance/ProfileUtilities.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/conformance/ProfileUtilities.java @@ -4147,7 +4147,7 @@ public class ProfileUtilities extends TranslatingUtilities { if (!useTableForFixedValues || !allowSubRows || definition.getFixed().isPrimitive()) { String s = buildJson(definition.getFixed()); String link = null; - if (Utilities.isAbsoluteUrl(s)) + if (Utilities.isAbsoluteUrl(s) && pkp != null) link = pkp.getLinkForUrl(corePath, s); c.getPieces().add(checkForNoChange(definition.getFixed(), gen.new Piece(link, s, null).addStyle("color: darkgreen"))); } else {