Skip to content

Commit

Permalink
fix some oopsies
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaplan committed Sep 26, 2023
1 parent 2eb491d commit 8cf7c38
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -308,10 +308,10 @@ public TestCase updateTestCase(
QiCoreJsonUtil.enforcePatientId(validatedTestCase, madieJsonResourcesBaseUri));
validatedTestCase.setJson(
QiCoreJsonUtil.updateResourceFullUrls(validatedTestCase, madieJsonResourcesBaseUri));
validatedTestCase.setJson(
QiCoreJsonUtil.replacePatientRefs(
validatedTestCase.getJson(), validatedTestCase.getPatientId().toString()));
}
validatedTestCase.setJson(
QiCoreJsonUtil.replacePatientRefs(
validatedTestCase.getJson(), validatedTestCase.getPatientId().toString()));
measure.getTestCases().add(validatedTestCase);

measureRepository.save(measure);
Expand Down
2 changes: 0 additions & 2 deletions src/main/java/cms/gov/madie/measure/utils/QiCoreJsonUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,6 @@ public static String updateResourceFullUrls(TestCase testCase, String madieJsonR
return testCase.getJson();
}

// update full urls for non-patient resources

protected static String jsonNodeToString(ObjectMapper objectMapper, JsonNode rootNode) {
ByteArrayOutputStream bout = new ByteArrayOutputStream();
try {
Expand Down

0 comments on commit 8cf7c38

Please sign in to comment.