FHIR Chat · Annotation.text · implementers

Stream: implementers

Topic: Annotation.text


view this post on Zulip Tushar Nair (Oct 22 2020 at 17:17):

Hello,

Is there any guidance or specification to format/escape the text received in the Annotation.text. I see that the datatype for the text field is 'Markdown' . Does that mean formatting shall be automatically handled (provided there is a markdown engine support) for the string that is received in this field?

view this post on Zulip Vassil Peytchev (Oct 22 2020 at 17:26):

From the definition of the data type:

  • Systems are not required to have markdown support, so the content of a string should be readable without markdown processing, per markdown philosophy
  • Markdown content SHALL NOT contain Unicode character points below 32, except for u0009 (horizontal tab), u0010 (carriage return) and u0013 (line feed)
  • Markdown is a string, and subject to the same rules (e.g. length limit)

view this post on Zulip Vassil Peytchev (Oct 22 2020 at 17:31):

I think this means that the underlying format (XML or JSON) will apply all necessary escaping.

view this post on Zulip Tushar Nair (Oct 22 2020 at 18:01):

Vassil Peytchev Thank you for the prompt response.


Last updated: Apr 12 2022 at 19:14 UTC