According to the Fhir specification there should be a check on the content of the div to make sure it does not contains white-space only (invariant txt-2).
Link to specification:
https://www.hl7.org/fhir/narrative-definitions.html#Narrative.div
Version used:
- FHIR Version: R4
- Version: 3.4.0