Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Narrative.div shall have xhtml namespace #310

Open
yunwwang opened this issue Jul 26, 2019 · 0 comments
Open

Narrative.div shall have xhtml namespace #310

yunwwang opened this issue Jul 26, 2019 · 0 comments

Comments

@yunwwang
Copy link

FHIR standard specifies that Narrative.div is type of xhtml (http://build.fhir.org/narrative.html#xhtml). It shall have namespace like:
<div xmlns="http://www.w3.org/1999/xhtml">
Current cruicible does not generate this namespace which causes validation failure when testing .validate from some FHIR server such as HAPI
Here is the narrative generated from cruicible:

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

The error message while posting to Patient/$validate endpoint on HAPI server is:

processing: Wrong namespace on the XHTML ('null')
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant