From 76038457217f6bcab1f0fd01c87124841608c507 Mon Sep 17 00:00:00 2001 From: MattCordell <5741701+MattCordell@users.noreply.github.com> Date: Fri, 17 May 2024 12:15:43 +1000 Subject: [PATCH] Fix SNOWMED spellings #1621 --- .../src/main/java/org/hl7/fhir/r5/renderers/DataRenderer.java | 2 +- .../java/org/hl7/fhir/utilities/i18n/RenderingI18nContext.java | 2 +- .../src/main/resources/rendering-phrases.properties | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/DataRenderer.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/DataRenderer.java index 31cfd4900..bdddf9b10 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/DataRenderer.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/DataRenderer.java @@ -294,7 +294,7 @@ public class DataRenderer extends Renderer implements CodeResolver { if (system.equals("http://loinc.org")) return (context.formatMessage(RenderingContext.DATA_REND_LOINC)); if (system.startsWith("http://snomed.info")) - return (context.formatMessage(RenderingContext.DATA_REND_SNOWMED)); + return (context.formatMessage(RenderingContext.DATA_REND_SNOMED)); if (system.equals("http://www.nlm.nih.gov/research/umls/rxnorm")) return (context.formatMessage(RenderingContext.DATA_REND_RXNORM)); if (system.equals("http://hl7.org/fhir/sid/icd-9")) diff --git a/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/i18n/RenderingI18nContext.java b/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/i18n/RenderingI18nContext.java index 23fd4a468..270111184 100644 --- a/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/i18n/RenderingI18nContext.java +++ b/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/i18n/RenderingI18nContext.java @@ -223,7 +223,7 @@ public class RenderingI18nContext extends I18nBase { public static final String DATA_REND_MKDWN_LNK = "DATA_REND_MKDWN_LNK"; public static final String DATA_REND_UNRD_EX = "DATA_REND_UNRD_EX"; public static final String DATA_REND_LOINC = "DATA_REND_LOINC"; - public static final String DATA_REND_SNOWMED = "DATA_REND_SNOWMED"; + public static final String DATA_REND_SNOMED = "DATA_REND_SNOMED"; public static final String DATA_REND_RXNORM = "DATA_REND_RXNORM"; public static final String DATA_REND_ICD = "DATA_REND_ICD"; public static final String DATA_REND_DICOM = "DATA_REND_DICOM"; diff --git a/org.hl7.fhir.utilities/src/main/resources/rendering-phrases.properties b/org.hl7.fhir.utilities/src/main/resources/rendering-phrases.properties index 83af7f3dc..6eeb52c2b 100644 --- a/org.hl7.fhir.utilities/src/main/resources/rendering-phrases.properties +++ b/org.hl7.fhir.utilities/src/main/resources/rendering-phrases.properties @@ -230,7 +230,7 @@ CONC_MAP_PROP = Properties DATA_REND_MKDWN_LNK = Unable to resolve markdown link DATA_REND_UNRD_EX = WARNING: Unrenderable Modifier Extension! DATA_REND_LOINC = LOINC -DATA_REND_SNOWMED = SNOWMED CT +DATA_REND_SNOMED = SNOMED CT DATA_REND_RXNORM = RxNorm DATA_REND_ICD = ICD-9 DATA_REND_DICOM = DICOM