diff --git a/src/main/java/gov/cms/madie/madiefhirservice/services/TestCaseBundleService.java b/src/main/java/gov/cms/madie/madiefhirservice/services/TestCaseBundleService.java index 69d0f613..0bac4a82 100644 --- a/src/main/java/gov/cms/madie/madiefhirservice/services/TestCaseBundleService.java +++ b/src/main/java/gov/cms/madie/madiefhirservice/services/TestCaseBundleService.java @@ -64,8 +64,8 @@ public class TestCaseBundleService { private final FhirContext fhirContext; - @Value("${madie.url}") - private String madieUrl; + @Value("${madie.resource.url}") + private String madieResourceUrl; public Map getTestCaseExportBundle(Measure measure, List testCases) { if (measure == null || testCases == null || testCases.isEmpty()) { @@ -288,7 +288,8 @@ private List buildEvaluatedResource(Bundle testCaseBundle) { .forEach( entry -> references.add( - new Reference(StringUtils.remove(entry.getResource().getId(), madieUrl)))); + new Reference( + StringUtils.remove(entry.getResource().getId(), madieResourceUrl)))); return references; } diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index b86388d9..3e2bb622 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -14,6 +14,8 @@ madie: versioned: uri: /cql-libraries/versioned url: ${MADIE_URL:https://madie.cms.gov} + resource: + url: https://madie.cms.gov #springdoc: # swagger-ui: