Escape html entities in direct reference code Display

Aperta
#145 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
58/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
html
Ambito
documentation

Direzione di ricerca

Start by reading the Liquid templates that escape logic definitions and trace how direct reference code labels and display values are rendered in the Human Readable output. Apply equivalent escaping to those values, and consider ValueSet titles as the issue suggests. Done means HTML entities in these labels no longer break the generated Measure narrative.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Recently, the MADiE team received a HelpDesk ticket for a measure that uses a direct reference code whose label contains an HTML entity. For example:

code "ISUP Grade (Grade Group) 1 (Gleason score <=6)": 'LA30794-4' from "LOINC" display 'ISUP Grade (Grade Group) 1 (Gleason score <=6)'

When the Human Readable (HR) output is generated using the Liquid templates, the HTML entity in the code label/display causes the generated HR to fail to set the Measure narrative correctly.

The Liquid templates already apply escaping for logic definitions. Could similar escaping be extended to direct reference code labels/display values as well?

It may also be worth applying the same handling to ValueSet title, although we are not sure whether ValueSet names can contain HTML entities.

MADiE could potentially handle this sanitization as well, but implementing it at the Liquid template level may provide a more reusable solution for other consumers of these templates.

Lingua principale
HTML
Stelle
8
Fork
12
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di cqframework/sample-content-ig

Tutte le issue di cqframework/sample-content-ig

Issue simili

Altre issue su Documentation

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.