diff --git a/src/main/java/gov/cms/mat/cql_elm_translation/service/EffectiveDataRequirementService.java b/src/main/java/gov/cms/mat/cql_elm_translation/service/EffectiveDataRequirementService.java index 02236cc8..74ab9f59 100644 --- a/src/main/java/gov/cms/mat/cql_elm_translation/service/EffectiveDataRequirementService.java +++ b/src/main/java/gov/cms/mat/cql_elm_translation/service/EffectiveDataRequirementService.java @@ -147,8 +147,7 @@ public Optional getMeasureLibraryEntry( entry -> StringUtils.equalsIgnoreCase( "Library", entry.getResource().getResourceType().toString()) - && StringUtils.equalsIgnoreCase( - "Library/" + libraryName, entry.getResource().getId())) + && StringUtils.equalsIgnoreCase(libraryName, entry.getResource().getIdPart())) .findFirst(); }