Skip to content

FHIR measure validation errors - Swap paragraph elements with div in measure-group-population-single.html #144

Description

@nmorasb

This may be a little more specific to how MADiE uses the liquid templates, but hopefully it wouldn't impact any other usage.
Since MADiE team completed the implementation of the requested rich text feature for a number of text fields in the app, the narrative content that is added to measures has started to fail validation in some cases.
Any text in the rich text block is wrapped in a paragraph element. When this content is then passed into the liquid engine, in the case of the measure group population description, it gets wrapped by another paragraph element. This is invalid HTML and is being flagged by the FHIR validator.

Image

We're requesting the templates be updated to swap p with div to eliminate this validation error.

<p class="tab-one" style="white-space: pre-line">{{include.population.description}}</p>

<p class="tab-one" style="white-space: pre-line">{{include.population.criteria.description}}</p>

Please let us know if any more information is needed, thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions