From 94641897f538613bdd356bf5ed4175d76b20a78a Mon Sep 17 00:00:00 2001 From: Jens Kristian Villadsen Date: Sun, 13 Nov 2022 10:22:55 +0100 Subject: [PATCH] Added support for R4B --- pom.xml | 2 +- src/main/java/dk/jkiddo/EmberApplication.java | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index b56a0d6..985d290 100644 --- a/pom.xml +++ b/pom.xml @@ -26,7 +26,7 @@ 11 11 - 6.2.0-PRE15-SNAPSHOT + 6.2.0 diff --git a/src/main/java/dk/jkiddo/EmberApplication.java b/src/main/java/dk/jkiddo/EmberApplication.java index f7696d4..cc1c118 100644 --- a/src/main/java/dk/jkiddo/EmberApplication.java +++ b/src/main/java/dk/jkiddo/EmberApplication.java @@ -246,6 +246,9 @@ private List loadExampleResources(NpmPackage npmPackage) { if (org.hl7.fhir.r4.model.Bundle.class.isInstance(resource)) { return ((org.hl7.fhir.r4.model.Bundle) resource).getTypeElement().getValue() == org.hl7.fhir.r4.model.Bundle.BundleType.SEARCHSET; } + if (org.hl7.fhir.r4b.model.Bundle.class.isInstance(resource)) { + return ((org.hl7.fhir.r4b.model.Bundle) resource).getTypeElement().getValue() == org.hl7.fhir.r4b.model.Bundle.BundleType.SEARCHSET; + } if (org.hl7.fhir.r5.model.Bundle.class.isInstance(resource)) { return ((org.hl7.fhir.r5.model.Bundle) resource).getTypeElement().getValue() == org.hl7.fhir.r5.model.Bundle.BundleType.SEARCHSET; }