CDA Narrative conversion from FHIR NP fix
This commit is contained in:
parent
60b0382b00
commit
31a4d31755
|
@ -595,7 +595,7 @@ public class XmlParser extends ParserBase {
|
|||
if (element.getType().equals("xhtml")) {
|
||||
String rawXhtml = element.getValue();
|
||||
if (isCdaText(element.getProperty())) {
|
||||
new CDANarrativeFormat().convert(xml, element.getXhtml());
|
||||
new CDANarrativeFormat().convert(xml, new XhtmlParser().parseFragment(rawXhtml));
|
||||
} else {
|
||||
xml.escapedText(rawXhtml);
|
||||
xml.anchor("end-xhtml");
|
||||
|
|
Loading…
Reference in New Issue