diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index e69de29bb..546922b62 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -0,0 +1,4 @@ +Validator +* fix NPE bug logging terminology server calls +* fix NPE bug validating logical models +* fix problem with Type Name when validating against Logical Models diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/elementmodel/ParserBase.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/elementmodel/ParserBase.java index a0b12d919..46497484d 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/elementmodel/ParserBase.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/elementmodel/ParserBase.java @@ -114,7 +114,7 @@ public abstract class ParserBase { if(name.equals(sd.getType()) && (ns == null || ns.equals(FormatUtilities.FHIR_NS)) && !ToolingExtensions.hasExtension(sd, "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace")) return sd; String sns = ToolingExtensions.readStringExtension(sd, "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace"); - if ((name.equals(sd.getType()) || name.equals(sd.getName())) ) && ns != null && ns.equals(sns)) + if ((name.equals(sd.getType()) || name.equals(sd.getName())) && ns != null && ns.equals(sns)) return sd; } }