/* Generated by camel build tools - do NOT edit this file! */
package org.apache.camel.component.hl7;

import javax.annotation.processing.Generated;

import org.apache.camel.CamelContext;
import org.apache.camel.CamelContextAware;
import org.apache.camel.DeferredContextBinding;
import org.apache.camel.Exchange;
import org.apache.camel.TypeConversionException;
import org.apache.camel.TypeConverterLoaderException;
import org.apache.camel.spi.TypeConverterLoader;
import org.apache.camel.spi.TypeConverterRegistry;
import org.apache.camel.support.SimpleTypeConverter;
import org.apache.camel.support.TypeConverterSupport;
import org.apache.camel.util.DoubleMap;

/**
 * Generated by camel build tools - do NOT edit this file!
 */
@Generated("org.apache.camel.maven.packaging.TypeConverterLoaderGeneratorMojo")
@SuppressWarnings("unchecked")
@DeferredContextBinding
public final class HL726ConverterLoader implements TypeConverterLoader, CamelContextAware {

    private CamelContext camelContext;

    public HL726ConverterLoader() {
    }

    @Override
    public void setCamelContext(CamelContext camelContext) {
        this.camelContext = camelContext;
    }

    @Override
    public CamelContext getCamelContext() {
        return camelContext;
    }

    @Override
    public void load(TypeConverterRegistry registry) throws TypeConverterLoaderException {
        try {
            registerConverters(registry);
        } catch (Throwable e) {
            // ignore on load error
        }
    }

    private void registerConverters(TypeConverterRegistry registry) {
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ACK.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toACK((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ACK.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toACK((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADR_A19.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdrA19((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADR_A19.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdrA19((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A02.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA02((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A02.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA02((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A03.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA03((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A03.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA03((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A05.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA05((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A05.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA05((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A06.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA06((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A06.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA06((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A09.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA09((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A09.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA09((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A12.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA12((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A12.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA12((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A15.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA15((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A15.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA15((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A16.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA16((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A16.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA16((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A17.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA17((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A17.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA17((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A18.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA18((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A18.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA18((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A20.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA20((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A20.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA20((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A21.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA21((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A21.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA21((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A24.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA24((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A24.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA24((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A30.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA30((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A30.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA30((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A37.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA37((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A37.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA37((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A38.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA38((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A38.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA38((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A39.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA39((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A39.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA39((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A43.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA43((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A43.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA43((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A45.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA45((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A45.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA45((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A50.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA50((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A50.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA50((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A52.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA52((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A52.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA52((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A54.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA54((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A54.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA54((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A60.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA60((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A60.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA60((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A61.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA61((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_A61.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtA61((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_AXX.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtAXX((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ADT_AXX.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toAdtAXX((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.BAR_P01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toBarP01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.BAR_P01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toBarP01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.BAR_P02.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toBarP02((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.BAR_P02.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toBarP02((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.BAR_P05.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toBarP05((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.BAR_P05.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toBarP05((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.BAR_P06.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toBarP06((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.BAR_P06.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toBarP06((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.BAR_P10.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toBarP10((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.BAR_P10.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toBarP10((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.BAR_P12.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toBarP12((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.BAR_P12.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toBarP12((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.BPS_O29.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toBpsO29((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.BPS_O29.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toBpsO29((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.BRT_O32.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toBrtO32((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.BRT_O32.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toBrtO32((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.BTS_O31.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toBtsO31((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.BTS_O31.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toBtsO31((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.CRM_C01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toCrmC01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.CRM_C01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toCrmC01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.CSU_C09.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toCsuC09((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.CSU_C09.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toCsuC09((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.DFT_P03.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toDftP03((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.DFT_P03.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toDftP03((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.DFT_P11.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toDftP11((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.DFT_P11.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toDftP11((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.DOC_T12.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toDocT12((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.DOC_T12.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toDocT12((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.DSR_Q01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toDsrQ01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.DSR_Q01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toDsrQ01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.DSR_Q03.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toDsrQ03((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.DSR_Q03.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toDsrQ03((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.EAC_U07.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toEacU07((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.EAC_U07.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toEacU07((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.EAN_U09.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toEanU09((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.EAN_U09.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toEanU09((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.EAR_U08.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toEarU08((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.EAR_U08.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toEarU08((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.EHC_E01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toEhcE01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.EHC_E01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toEhcE01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.EHC_E02.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toEhcE02((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.EHC_E02.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toEhcE02((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.EHC_E04.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toEhcE04((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.EHC_E04.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toEhcE04((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.EHC_E10.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toEhcE10((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.EHC_E10.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toEhcE10((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.EHC_E12.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toEhcE12((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.EHC_E12.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toEhcE12((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.EHC_E13.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toEhcE13((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.EHC_E13.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toEhcE13((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.EHC_E15.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toEhcE15((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.EHC_E15.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toEhcE15((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.EHC_E20.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toEhcE20((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.EHC_E20.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toEhcE20((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.EHC_E21.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toEhcE21((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.EHC_E21.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toEhcE21((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.EHC_E24.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toEhcE24((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.EHC_E24.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toEhcE24((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ESR_U02.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toEsrU02((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ESR_U02.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toEsrU02((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ESU_U01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toEsuU01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ESU_U01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toEsuU01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.INR_U06.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toInrU06((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.INR_U06.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toInrU06((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.INU_U05.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toInuU05((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.INU_U05.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toInuU05((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.LSU_U12.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toLsuU12((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.LSU_U12.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toLsuU12((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MDM_T01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMdmT01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MDM_T01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMdmT01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MDM_T02.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMdmT02((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MDM_T02.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMdmT02((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFK_M01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfkM01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFK_M01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfkM01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFN_M01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfnM01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFN_M01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfnM01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFN_M02.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfnM02((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFN_M02.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfnM02((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFN_M03.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfnM03((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFN_M03.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfnM03((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFN_M04.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfnM04((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFN_M04.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfnM04((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFN_M05.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfnM05((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFN_M05.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfnM05((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFN_M06.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfnM06((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFN_M06.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfnM06((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFN_M07.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfnM07((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFN_M07.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfnM07((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFN_M08.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfnM08((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFN_M08.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfnM08((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFN_M09.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfnM09((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFN_M09.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfnM09((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFN_M10.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfnM10((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFN_M10.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfnM10((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFN_M11.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfnM11((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFN_M11.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfnM11((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFN_M12.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfnM12((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFN_M12.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfnM12((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFN_M13.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfnM13((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFN_M13.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfnM13((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFN_M15.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfnM15((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFN_M15.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfnM15((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFN_M16.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfnM16((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFN_M16.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfnM16((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFN_M17.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfnM17((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFN_M17.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfnM17((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFN_Znn.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfnZnn((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFN_Znn.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfnZnn((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFQ_M01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfqM01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFQ_M01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfqM01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFR_M01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfrM01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFR_M01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfrM01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFR_M04.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfrM04((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFR_M04.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfrM04((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFR_M05.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfrM05((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFR_M05.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfrM05((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFR_M06.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfrM06((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFR_M06.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfrM06((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFR_M07.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfrM07((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.MFR_M07.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toMfrM07((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.NMD_N02.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toNmdN02((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.NMD_N02.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toNmdN02((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.NMQ_N01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toNmqN01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.NMQ_N01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toNmqN01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.NMR_N01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toNmrN01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.NMR_N01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toNmrN01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.OMB_O27.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOmbO27((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.OMB_O27.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOmbO27((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.OMD_O03.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOmdO03((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.OMD_O03.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOmdO03((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.OMG_O19.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOmgO19((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.OMG_O19.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOmgO19((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.OMI_O23.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOmiO23((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.OMI_O23.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOmiO23((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.OML_O21.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOmlO21((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.OML_O21.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOmlO21((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.OML_O33.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOmlO33((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.OML_O33.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOmlO33((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.OML_O35.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOmlO35((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.OML_O35.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOmlO35((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.OMN_O07.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOmnO07((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.OMN_O07.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOmnO07((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.OMP_O09.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOmpO09((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.OMP_O09.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOmpO09((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.OMS_O05.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOmsO05((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.OMS_O05.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOmsO05((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.OPL_O37.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOplO37((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.OPL_O37.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOplO37((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.OPR_O38.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOprO38((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.OPR_O38.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOprO38((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.OPU_R25.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOpuR25((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.OPU_R25.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOpuR25((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ORB_O28.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOrbO28((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ORB_O28.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOrbO28((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ORD_O04.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOrdO04((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ORD_O04.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOrdO04((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ORF_R04.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOrfR04((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ORF_R04.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOrfR04((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ORG_O20.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOrgO20((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ORG_O20.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOrgO20((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ORI_O24.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOriO24((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ORI_O24.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOriO24((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ORL_O22.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOrlO22((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ORL_O22.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOrlO22((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ORL_O34.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOrlO34((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ORL_O34.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOrlO34((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ORL_O36.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOrlO36((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ORL_O36.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOrlO36((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ORM_O01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOrmO01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ORM_O01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOrmO01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ORN_O08.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOrnO08((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ORN_O08.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOrnO08((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ORP_O10.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOrpO10((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ORP_O10.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOrpO10((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ORR_O02.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOrrO02((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ORR_O02.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOrrO02((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ORS_O06.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOrsO06((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ORS_O06.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOrsO06((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ORU_R01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOruR01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ORU_R01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOruR01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ORU_R30.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOruR30((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ORU_R30.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOruR30((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.OSQ_Q06.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOsqQ06((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.OSQ_Q06.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOsqQ06((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.OSR_Q06.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOsrQ06((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.OSR_Q06.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOsrQ06((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.OUL_R21.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOulR21((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.OUL_R21.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOulR21((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.OUL_R22.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOulR22((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.OUL_R22.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOulR22((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.OUL_R23.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOulR23((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.OUL_R23.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOulR23((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.OUL_R24.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOulR24((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.OUL_R24.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toOulR24((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.PEX_P07.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toPexP07((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.PEX_P07.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toPexP07((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.PGL_PC6.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toPglPc6((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.PGL_PC6.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toPglPc6((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.PMU_B01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toPmuB01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.PMU_B01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toPmuB01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.PMU_B03.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toPmuB03((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.PMU_B03.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toPmuB03((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.PMU_B04.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toPmuB04((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.PMU_B04.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toPmuB04((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.PMU_B07.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toPmuB07((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.PMU_B07.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toPmuB07((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.PMU_B08.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toPmuB08((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.PMU_B08.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toPmuB08((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.PPG_PCG.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toPpgPcg((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.PPG_PCG.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toPpgPcg((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.PPP_PCB.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toPppPcb((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.PPP_PCB.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toPppPcb((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.PPR_PC1.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toPprPc1((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.PPR_PC1.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toPprPc1((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.PPT_PCL.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toPptPcl((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.PPT_PCL.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toPptPcl((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.PPV_PCA.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toPpvPca((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.PPV_PCA.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toPpvPca((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.PRR_PC5.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toPrrPc5((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.PRR_PC5.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toPrrPc5((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.PTR_PCF.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toPtrPcf((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.PTR_PCF.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toPtrPcf((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.QBP_E03.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toQbpE03((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.QBP_E03.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toQbpE03((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.QBP_E22.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toQbpE22((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.QBP_E22.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toQbpE22((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.QBP_Q11.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toQbpQ11((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.QBP_Q11.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toQbpQ11((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.QBP_Q13.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toQbpQ13((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.QBP_Q13.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toQbpQ13((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.QBP_Q15.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toQbpQ15((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.QBP_Q15.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toQbpQ15((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.QBP_Q21.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toQbpQ21((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.QBP_Q21.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toQbpQ21((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.QBP_Qnn.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toQbpQnn((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.QBP_Qnn.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toQbpQnn((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.QBP_Z73.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toQbpZ73((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.QBP_Z73.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toQbpZ73((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.QCK_Q02.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toQckQ02((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.QCK_Q02.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toQckQ02((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.QCN_J01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toQcnJ01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.QCN_J01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toQcnJ01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.QRY_A19.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toQryA19((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.QRY_A19.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toQryA19((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.QRY_PC4.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toQryPC4((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.QRY_PC4.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toQryPC4((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.QRY_Q01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toQryQ01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.QRY_Q01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toQryQ01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.QRY_Q02.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toQryQ02((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.QRY_Q02.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toQryQ02((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.QRY_R02.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toQryR02((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.QRY_R02.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toQryR02((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.QRY_T12.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toQryT12((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.QRY_T12.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toQryT12((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.QSB_Q16.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toQsbQ16((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.QSB_Q16.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toQsbQ16((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.QVR_Q17.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toQvrQ17((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.QVR_Q17.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toQvrQ17((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RAR_RAR.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRarRar((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RAR_RAR.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRarRar((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RAS_O17.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRasO17((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RAS_O17.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRasO17((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RCI_I05.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRciI05((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RCI_I05.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRciI05((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RCL_I06.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRclI06((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RCL_I06.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRclI06((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RDE_O11.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRdeO11((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RDE_O11.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRdeO11((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RDR_RDR.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRdrRdr((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RDR_RDR.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRdrRdr((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RDS_O13.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRdsO13((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RDS_O13.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRdsO13((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RDY_K15.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRdyK15((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RDY_K15.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRdyK15((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.REF_I12.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRefI12((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.REF_I12.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRefI12((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RER_RER.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRerRer((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RER_RER.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRerRer((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RGR_RGR.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRgrRgr((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RGR_RGR.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRgrRgr((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RGV_O15.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRgvO15((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RGV_O15.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRgvO15((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ROR_ROR.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRorRor((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.ROR_ROR.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRorRor((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RPA_I08.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRpaI08((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RPA_I08.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRpaI08((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RPI_I01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRpiI01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RPI_I01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRpiI01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RPI_I04.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRpiI04((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RPI_I04.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRpiI04((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RPL_I02.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRplI02((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RPL_I02.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRplI02((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RPR_I03.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRprI03((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RPR_I03.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRprI03((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RQA_I08.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRqaI08((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RQA_I08.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRqaI08((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RQC_I05.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRqcI05((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RQC_I05.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRqcI05((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RQI_I01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRqiI01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RQI_I01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRqiI01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RQP_I04.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRqpI04((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RQP_I04.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRqpI04((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RRA_O18.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRraO18((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RRA_O18.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRraO18((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RRD_O14.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRrdO14((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RRD_O14.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRrdO14((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RRE_O12.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRreO12((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RRE_O12.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRreO12((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RRG_O16.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRrgO16((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RRG_O16.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRrgO16((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RRI_I12.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRriI12((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RRI_I12.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRriI12((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RSP_E03.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRspE03((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RSP_E03.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRspE03((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RSP_E22.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRspE22((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RSP_E22.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRspE22((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RSP_K11.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRspK11((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RSP_K11.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRspK11((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RSP_K21.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRspK21((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RSP_K21.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRspK21((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RSP_K23.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRspK23((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RSP_K23.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRspK23((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RSP_K25.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRspK25((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RSP_K25.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRspK25((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RSP_K31.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRspK31((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RSP_K31.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRspK31((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RSP_Q11.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRspQ11((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RSP_Q11.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRspQ11((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RSP_Z82.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRspZ82((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RSP_Z82.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRspZ82((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RSP_Z86.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRspZ86((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RSP_Z86.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRspZ86((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RSP_Z88.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRspZ88((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RSP_Z88.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRspZ88((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RSP_Z90.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRspZ90((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RSP_Z90.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRspZ90((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RTB_K13.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRtbK13((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RTB_K13.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRtbK13((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RTB_Z74.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRtbZ74((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.RTB_Z74.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toRtbZ74((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.SDR_S31.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toSdrS31((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.SDR_S31.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toSdrS31((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.SDR_S32.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toSdrS32((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.SDR_S32.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toSdrS32((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.SIU_S12.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toSiuS12((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.SIU_S12.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toSiuS12((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.SLR_S28.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toSlrS28((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.SLR_S28.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toSlrS28((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.SQM_S25.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toSqmS25((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.SQM_S25.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toSqmS25((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.SQR_S25.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toSqrS25((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.SQR_S25.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toSqrS25((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.SRM_S01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toSrmS01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.SRM_S01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toSrmS01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.SRR_S01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toSrrS01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.SRR_S01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toSrrS01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.SSR_U04.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toSsrU04((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.SSR_U04.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toSsrU04((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.SSU_U03.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toSsuU03((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.SSU_U03.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toSsuU03((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.STC_S33.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toStcS33((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.STC_S33.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toStcS33((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.SUR_P09.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toSurP09((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.SUR_P09.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toSurP09((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.TCU_U10.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toTcuU10((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.TCU_U10.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toTcuU10((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.UDM_Q05.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toUdmQ05((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.UDM_Q05.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toUdmQ05((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.VXQ_V01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toVxqV01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.VXQ_V01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toVxqV01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.VXR_V03.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toVxrV03((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.VXR_V03.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toVxrV03((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.VXU_V04.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toVxuV04((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.VXU_V04.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toVxuV04((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.VXX_V02.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toVxxV02((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v26.message.VXX_V02.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL726Converter.toVxxV02((java.lang.String) value));
    }

    private static void addTypeConverter(TypeConverterRegistry registry, Class<?> toType, Class<?> fromType, boolean allowNull, SimpleTypeConverter.ConversionMethod method) {
        registry.addTypeConverter(toType, fromType, new SimpleTypeConverter(allowNull, method));
    }
}
