fix VSAC importer for changes to ManagedWebAccess

This commit is contained in:
Grahame Grieve 2024-11-08 08:46:23 +10:30
parent a93ab69231
commit 7aef291a0c
1 changed files with 2 additions and 2 deletions

View File

@ -32,6 +32,7 @@ import org.hl7.fhir.r4.terminologies.JurisdictionUtilities;
import org.hl7.fhir.utilities.CSVReader;
import org.hl7.fhir.utilities.Utilities;
import org.hl7.fhir.utilities.filesystem.ManagedFileAccess;
import org.hl7.fhir.utilities.http.ManagedWebAccess;
import org.hl7.fhir.utilities.json.model.JsonArray;
import org.hl7.fhir.utilities.json.model.JsonObject;
import org.hl7.fhir.utilities.json.model.JsonProperty;
@ -53,9 +54,8 @@ public class VSACImporter extends OIDBasedValueSetImporter {
csv.readHeaders();
Map<String, String> errs = new HashMap<>();
ManagedWebAccess.loadFromFHIRSettings();
FHIRToolingClient fhirToolingClient = new FHIRToolingClient("https://cts.nlm.nih.gov/fhir", "fhir/vsac");
fhirToolingClient.setUsername("apikey");
fhirToolingClient.setPassword(apiKey);
fhirToolingClient.setTimeoutNormal(30000);
fhirToolingClient.setTimeoutExpand(30000);