Skip to content

Commit

Permalink
FI-2354: bump core library to 6.2.8 (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
dehall committed Jan 12, 2024
1 parent 9637fb7 commit cf9dbcc
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ repositories {
}

dependencies {
implementation("ca.uhn.hapi.fhir", "org.hl7.fhir.validation", "6.0.21")
implementation("ca.uhn.hapi.fhir", "org.hl7.fhir.validation", "6.2.8")

// validator dependency needed for terminology (why can't it get this automatically?)
implementation("com.squareup.okhttp3", "okhttp", "4.9.0")
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/mitre/inferno/FHIRPathEvaluator.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import org.hl7.fhir.exceptions.FHIRException;
import org.hl7.fhir.r4.context.SimpleWorkerContext;
import org.hl7.fhir.r4.model.Base;
import org.hl7.fhir.r4.utils.FHIRPathEngine;
import org.hl7.fhir.r4.fhirpath.FHIRPathEngine;

public class FHIRPathEvaluator extends FHIRPathEngine {

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/mitre/inferno/Validator.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public Validator(String igDir, boolean displayIssuesAreWarnings) throws Exceptio
// The two lines below turn off URL resolution checking in the validator.
// This eliminates the need to silence these errors elsewhere in Inferno
// And also keeps contained resources from failing validation based solely on URL errors
ValidationControl vc = new BaseValidator(null, null, false)
ValidationControl vc = new BaseValidator(hl7Validator.getContext(), null, false)
.new ValidationControl(false, IssueSeverity.INFORMATION);
hl7Validator.getValidationControl().put("Type_Specific_Checks_DT_URL_Resolve", vc);

Expand Down Expand Up @@ -106,7 +106,7 @@ public Validator(String igDir, boolean displayIssuesAreWarnings) throws Exceptio
hl7Validator.setDisplayWarnings(displayIssuesAreWarnings);
hl7Validator.prepare();

packageManager = new FilesystemPackageCacheManager(true);
packageManager = new FilesystemPackageCacheManager.Builder().build();
loadedPackages = new HashMap<>();
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/mitre/inferno/rest/Endpoints.java
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ private void createRoutes() {
private static Map<String,String> buildVersionResponse() {
// full package names used here only to make it more obvious what's going on
// since the class names aren't distinct enough
String hl7ValidatorVersion = org.hl7.fhir.validation.cli.utils.VersionUtil.getVersion();
String hl7ValidatorVersion = org.hl7.fhir.utilities.VersionUtil.getVersion();
String wrapperVersion = org.mitre.inferno.Version.getVersion();

Map<String, String> versions = new HashMap<>();
Expand Down

0 comments on commit cf9dbcc

Please sign in to comment.