Skip to content
This repository was archived by the owner on Oct 30, 2025. It is now read-only.

Commit 78a0fbc

Browse files
Upgrade hapi fhir version (#457)
* CQL issue with connection pool exhaustion * Upgrades of HAPI FHIR version and removal of deprecated DSTU2 supports
1 parent 8575f7d commit 78a0fbc

28 files changed

Lines changed: 262 additions & 562 deletions

File tree

a2d2-api/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@
310310
<dependency>
311311
<groupId>io.elimu.a2d2</groupId>
312312
<artifactId>generic-helpers</artifactId>
313-
<version>0.0.22</version>
313+
<version>0.1.0</version>
314314
<scope>test</scope>
315315
</dependency>
316316
<!-- web development, including Tomcat and spring-webmvc -->

cdshooks-wih/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
<groupId>io.elimu.a2d2</groupId>
6262
<artifactId>fhir-parse-util</artifactId>
6363
</dependency>
64-
<dependency>
64+
<!--dependency>
6565
<groupId>ca.uhn.hapi.fhir</groupId>
6666
<artifactId>hapi-fhir-structures-dstu2</artifactId>
6767
<scope>test</scope>
@@ -71,7 +71,7 @@
7171
<artifactId>commons-text</artifactId>
7272
</exclusion>
7373
</exclusions>
74-
</dependency>
74+
</dependency-->
7575
<dependency>
7676
<groupId>org.apache.commons</groupId>
7777
<artifactId>commons-text</artifactId>

cdshooks-wih/src/main/java/io/elimu/a2d2/cdshookswih/DeserializeCDSHooksRequestDelegate.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,9 @@ private FormatType findFormatType(String fhirVersion) {
151151
return FormatType.FHIR3;
152152
if ("R4".equalsIgnoreCase(fhirVersion))
153153
return FormatType.FHIR4;
154-
FormatType type = FormatType.FHIR2;
155-
if (!"DSTU2".equalsIgnoreCase(fhirVersion))
156-
log.warn("Missing supported fhirVersion, parse as FHIR2");
154+
FormatType type = FormatType.FHIR4;
155+
if (!"R4".equalsIgnoreCase(fhirVersion))
156+
log.warn("Missing supported fhirVersion, parse as FHIR4");
157157
return type;
158158
}
159159

cdshooks-wih/src/test/java/io/elimu/a2d2/cdshooks_wih/DeserializeCDSHooksRequestDelegateTest.java

Lines changed: 12 additions & 23 deletions
Large diffs are not rendered by default.

core-dependencies/datafetch-service/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<artifactId>junit</artifactId>
4040
<scope>test</scope>
4141
</dependency>
42-
<dependency>
42+
<!--dependency>
4343
<groupId>ca.uhn.hapi.fhir</groupId>
4444
<artifactId>hapi-fhir-structures-dstu2</artifactId>
4545
<exclusions>
@@ -52,7 +52,7 @@
5252
<artifactId>commons-text</artifactId>
5353
</exclusion>
5454
</exclusions>
55-
</dependency>
55+
</dependency-->
5656
<dependency>
5757
<groupId>org.apache.commons</groupId>
5858
<artifactId>commons-text</artifactId>

0 commit comments

Comments
 (0)