Skip to content

Commit

Permalink
ref MAT-6434: remove double escape, add escape for measure authors
Browse files Browse the repository at this point in the history
  • Loading branch information
nmorasb committed Nov 16, 2023
1 parent 04eae1e commit 8b2535e
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,15 @@ private void escapeTopLevelProperties(org.hl7.fhir.r5.model.Measure measure) {
measure.setSubtitle(escapeStr(measure.getSubtitle()));
measure.setRiskAdjustment(escapeStr(measure.getRiskAdjustment()));
measure.setRateAggregation(escapeStr(measure.getRateAggregation()));
measure.setClinicalRecommendationStatement(
escapeStr(measure.getClinicalRecommendationStatement()));
if (measure.hasAuthor()) {
measure.setAuthor(
measure.getAuthor().stream()
.map(
contactDetail -> {
return contactDetail.setName(escapeStr(contactDetail.getName()));
})
.collect(Collectors.toList()));
}
}

private void escapeIdentifiers(org.hl7.fhir.r5.model.Measure measure) {
Expand Down

0 comments on commit 8b2535e

Please sign in to comment.