FHIR measure validation errors - Swap paragraph elements with div in measure-group-population-single.html
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 92/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- html
- Domain
- content
Research direction
Open templates/liquid/measure-group-population-single.html and inspect the paragraph elements at lines 48 and 52. Replace the specified outer paragraph elements with div elements, then verify that rich-text measure group population descriptions no longer produce nested paragraph validation errors.
Written by the indexing model from the issue text.
Description
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.
We're requesting the templates be updated to swap p with div to eliminate this validation error.
https://github.com/cqframework/sample-content-ig/blob/a43af9456319e04485b345a06b37200e286f03bb/templates/liquid/measure-group-population-single.html#L48
https://github.com/cqframework/sample-content-ig/blob/a43af9456319e04485b345a06b37200e286f03bb/templates/liquid/measure-group-population-single.html#L52
Please let us know if any more information is needed, thanks!
- Dominant language
- HTML
- Stars
- 8
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from cqframework/sample-content-ig
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
cqframework/sample-content-ig#146 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
cqframework/sample-content-ig#145 ·
-
Empty fields in liquid template for measuresMay be free again @brynrhodes claimed this 104 days ago, and no pull request is open. Openenhancement
cqframework/sample-content-ig#138 · 3 comments · 1 assignee ·
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 45/100
cqframework/sample-content-ig#136 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
cqframework/sample-content-ig#7 · 1 comment ·
All issues in cqframework/sample-content-ig
Similar issues
-
Difficulty 1/5 1-3 hours Newbie friendliness 68/100
SSWConsulting/SSW.Rules.Content#13822 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
sync-en
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 2 days
-
New tool: Uncle DeskPossibly taken @github-actions claimed this today. Opensubmission triage
Difficulty 1/5 Under an hour Newbie friendliness 85/100
kausalflow/tools#384 · 1 comment ·
Maintainers usually reply within 1 day
-
Resources: New templates of Guangzhou Metro Line 13Possibly taken @rmt-svc claimed this today. Openresources
Difficulty 1/5 Under an hour Newbie friendliness 76/100
railmapgen/rmg-templates#2730 ·
Maintainers usually reply within 1 day