Skip to content

Commit

Permalink
Merge pull request #179 from MeasureAuthoringTool/feature/MAT-6434-ex…
Browse files Browse the repository at this point in the history
…tra-escapes-HR

ref MAT-6434: remove double escape, add escape for measure authors
  • Loading branch information
nmorasb authored Nov 16, 2023
2 parents 04eae1e + 8b2535e commit 73985cd
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 73985cd

Please sign in to comment.