Class ByteArrayToClinicalDocumentConverter

java.lang.Object
org.openehealth.ipf.platform.camel.ihe.continua.hrn.converters.ByteArrayToClinicalDocumentConverter
All Implemented Interfaces:
Converter<byte[],org.openhealthtools.mdht.uml.cda.ClinicalDocument>

public class ByteArrayToClinicalDocumentConverter extends Object implements Converter<byte[],org.openhealthtools.mdht.uml.cda.ClinicalDocument>
Special document content converter for Continua HRN request. Retrieves the CDA/CCD content from the Document and parses it with the MDHT CDAR2 parser.
Author:
Stefan Ivanov
  • Constructor Details

    • ByteArrayToClinicalDocumentConverter

      public ByteArrayToClinicalDocumentConverter()
  • Method Details

    • convert

      public org.openhealthtools.mdht.uml.cda.ClinicalDocument convert(byte[] source)
      Specified by:
      convert in interface Converter<byte[],org.openhealthtools.mdht.uml.cda.ClinicalDocument>