Bump to HAPI 7.4.0 + fix smoke test for new HTTPClient

This commit is contained in:
dotasek
2024-08-23 16:40:36 -04:00
parent 12741f681d
commit 1ea47947c5
2 changed files with 3 additions and 2 deletions

View File

@@ -14,7 +14,7 @@
<parent>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir</artifactId>
<version>7.3.14-SNAPSHOT</version>
<version>7.4.0</version>
</parent>
<artifactId>hapi-fhir-jpaserver-starter</artifactId>

View File

@@ -87,7 +87,8 @@ Content-Type: application/json
});
const batch_patient_location = response.body.entry[0].response.location;
const indexOfHistory = batch_patient_location.lastIndexOf("/_history");
trimmed_location = batch_patient_location.substring(0, indexOfHistory);
client.log("Batch Patient Location: " + batch_patient_location);
var trimmed_location = batch_patient_location.substring(0, indexOfHistory);
trimmed_location = trimmed_location.replace("Patient/", "")
client.global.set("batch_patient_id", trimmed_location);
%}