Skip to content

Commit 74745d7

Browse files
committed
Use GitHub Flavored Markdown for the CDS card detail attribute as-is
This includes the subset of HTML that GFM allows in its content. Fixes #319 and #355.
1 parent aafc383 commit 74745d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/specification/1.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ Each **Card** is described by the following attributes.
351351
Field | Optionality | Type | Description
352352
----- | ----- | ----- | --------
353353
`summary` | REQUIRED | *string* | One-sentence, <140-character summary message for display to the user inside of this card.
354-
`detail` | OPTIONAL | *string* | Optional detailed information to display; if provided MUST BE represented in [(GitHub Flavored) Markdown](https://github.github.com/gfm/) without HTML. (For non-urgent cards, the EHR MAY hide these details until the user clicks a link like "view more details...".)
354+
`detail` | OPTIONAL | *string* | Optional detailed information to display; if provided MUST BE represented in [(GitHub Flavored) Markdown](https://github.github.com/gfm/). (For non-urgent cards, the EHR MAY hide these details until the user clicks a link like "view more details...".)
355355
`indicator` | REQUIRED | *string* | Urgency/importance of what this card conveys. Allowed values, in order of increasing urgency, are: `info`, `warning`, `hard-stop`. The EHR MAY use this field to help make UI display decisions such as sort order or coloring. The value `hard-stop` indicates that the workflow should not be allowed to proceed.
356356
`source` | REQUIRED | *object* | Grouping structure for the **Source** of the information displayed on this card. The source should be the primary source of guidance for the decision support the card represents.
357357
<nobr>`suggestions`</nobr> | OPTIONAL | *array* of **Suggestions** | Allows a service to suggest a set of changes in the context of the current activity (e.g. changing the dose of the medication currently being prescribed, for the `medication-prescribe` activity). If used, the user MUST BE allowed to choose no more than one suggestion.

0 commit comments

Comments
 (0)