diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/ValueSetRenderer.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/ValueSetRenderer.java index ad76e514a..c5e8c5198 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/ValueSetRenderer.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/ValueSetRenderer.java @@ -769,7 +769,7 @@ public class ValueSetRenderer extends TerminologyRenderer { td = tr.td(); if (cs != null) { String defn = CodeSystemUtilities.getCodeDefinition(cs, c.getCode()); - addMarkdown(td, defn); + addMarkdown(td, defn, cs.getUserString("path")); } } for (String n : Utilities.sorted(properties.keySet())) { diff --git a/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/SimpleHTTPClient.java b/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/SimpleHTTPClient.java index 3b4a5b6e5..aba7870da 100644 --- a/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/SimpleHTTPClient.java +++ b/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/SimpleHTTPClient.java @@ -139,7 +139,9 @@ public class SimpleHTTPClient { u = new URL(url); c = (HttpURLConnection) u.openConnection(); c.setRequestMethod("GET"); - c.setRequestProperty("Accept", accept); + if (accept != null) { + c.setRequestProperty("Accept", accept); + } setHeaders(c); c.setInstanceFollowRedirects(false); if (trustAll && url.startsWith("https://")) {