From 51cd908f20ae256885888f3c9607839e5e4b3c36 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Wed, 6 Apr 2022 16:09:09 +0200 Subject: [PATCH] Allow other designations With returning the url it is possible to allow other designation.use than only the two specified SNOMED codes. --- .../main/java/org/hl7/fhir/r5/renderers/ValueSetRenderer.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 597ad8fc1..da4257208 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 @@ -960,7 +960,8 @@ public class ValueSetRenderer extends TerminologyRenderer { case "http://snomed.info/sct#900000000000013009": return "Synonym"; default: - return null; + // As specified in http://www.hl7.org/fhir/valueset-definitions.html#ValueSet.compose.include.concept.designation.use and in http://www.hl7.org/fhir/codesystem-definitions.html#CodeSystem.concept.designation.use the terminology binding is extensible. + return url; } }