FHIR Chat · should xhtml need namespace · implementers

Stream: implementers

Topic: should xhtml need namespace


view this post on Zulip Yunwei Wang (Jul 25 2019 at 18:04):

In the FHIR Narrative page, all xhtml examples has namespace. But I don't find any rules saying that xhtml shall have a namespace. I created a Patient resource with a <text> section like this:

                      "text": {
                          "status": "generated",
                          "div": "<div>vdMWxFkc4xRhWv8XQHWUBg==</div>"
                      },

And I send this to Patient/$validate endpoint. I got different results:
the resource passed on FHIR reference server http://test.fhir.org/r4/Patient/$validate.
but it failed on HAPI server http://hapi.fhir.org/baseR4/Patient/$validate. Error message: processing: Wrong namespace on the XHTML ('null')

So should xhtml section have namespace?
@Grahame Grieve @James Agnew

view this post on Zulip Grahame Grieve (Jul 25 2019 at 20:34):

it should

view this post on Zulip Yunwei Wang (Jul 25 2019 at 21:15):

Do we need to tracker to clarify that?

view this post on Zulip Grahame Grieve (Jul 26 2019 at 10:35):

I thought it was pretty clear?

view this post on Zulip Grahame Grieve (Jul 26 2019 at 10:35):

you could create an issue against my server that it doesn't flag it as an error


Last updated: Apr 12 2022 at 19:14 UTC