diff --git a/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/instance/utils/FHIRPathExpressionFixer.java b/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/instance/utils/FHIRPathExpressionFixer.java index 1e8b8c86b..3e4398661 100644 --- a/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/instance/utils/FHIRPathExpressionFixer.java +++ b/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/instance/utils/FHIRPathExpressionFixer.java @@ -22,6 +22,9 @@ public class FHIRPathExpressionFixer { if ("txt-2".equals(key)) { return "htmlChecks2()"; } + if ("dom-6".equals(key)) { + return "(%rootResource != $this) or text.`div`.exists()"; + } if ("generated='generated' implies source.empty()".equals(expr)) { return "generation='generated' implies source.empty()"; }