From ae037cb5d6edb62ad574648ac0280d83b0c36343 Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Tue, 17 Oct 2023 08:37:43 +1100 Subject: [PATCH] set up release --- RELEASE_NOTES.md | 7 +++++-- .../org/hl7/fhir/utilities/json/model/JsonObject.java | 11 +++++++++++ pom.xml | 2 +- 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 7b06c6ab5..52fb3f686 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,7 +1,10 @@ ## Validator Changes -* no changes +* Fix bug processing value sets containing URLs ## Other code changes -* no changes \ No newline at end of file +* Add initial support for http://hl7.org/fhir/tools/StructureDefinition/type-profile-style +* More work on sql-on-fhir implementation +* Allow for type parameter to custom functions in FHIRPath +* Fix bugs in processing current packages for XIG \ No newline at end of file diff --git a/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/json/model/JsonObject.java b/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/json/model/JsonObject.java index ca2dbd3ef..ecf9593f5 100644 --- a/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/json/model/JsonObject.java +++ b/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/json/model/JsonObject.java @@ -145,6 +145,17 @@ public class JsonObject extends JsonElement { } } + public JsonObject set(String name, long value) throws JsonException { + check(name != null, "Name is null"); + JsonProperty p = propMap.get(name); + if (p != null) { + p.setValue(new JsonNumber(value)); + return this; + } else { + return add(name, new JsonNumber(value)); + } + } + public JsonElement get(String name) { if (propMap.containsKey(name)) { return propMap.get(name).getValue(); diff --git a/pom.xml b/pom.xml index 270349aca..cc58e0bb6 100644 --- a/pom.xml +++ b/pom.xml @@ -20,7 +20,7 @@ 32.0.1-jre 6.4.1 - 1.4.11-SNAPSHOT + 1.4.11 2.15.2 5.9.2 1.8.2