Package org.hl7.fhir.utilities.xhtml
Class CDANarrativeFormat
- java.lang.Object
-
- org.hl7.fhir.utilities.xhtml.CDANarrativeFormat
-
public class CDANarrativeFormat extends Object
-
-
Constructor Summary
Constructors Constructor Description CDANarrativeFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconvert(IXMLWriter xml, XhtmlNode div)For XHTML return the matching CDA narrative.XhtmlNodeconvert(Element ed)for a CDA narrative, return the matching XHTML.
-
-
-
Constructor Detail
-
CDANarrativeFormat
public CDANarrativeFormat()
-
-
Method Detail
-
convert
public XhtmlNode convert(Element ed) throws FHIRException
for a CDA narrative, return the matching XHTML. For further information, see http://wiki.hl7.org/index.php?title=CDA_Narrative_to_html_mapping- Parameters:
ed-- Returns:
- Throws:
FHIRException
-
convert
public void convert(IXMLWriter xml, XhtmlNode div) throws IOException, FHIRException
For XHTML return the matching CDA narrative. This is only guaranteed to work for XML produced from CDA, but will try whatever- Parameters:
node-- Throws:
IOExceptionFHIRException
-
-