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

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!
 */
@SuppressWarnings("unchecked")
public final class HL724ConverterLoader implements TypeConverterLoader {

    public HL724ConverterLoader() {
    }

    @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.v24.message.ACK.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toACK((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ACK.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toACK((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADR_A19.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdrA19((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADR_A19.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdrA19((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A02.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA02((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A02.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA02((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A03.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA03((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A03.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA03((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A05.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA05((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A05.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA05((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A06.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA06((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A06.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA06((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A09.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA09((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A09.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA09((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A15.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA15((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A15.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA15((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A16.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA16((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A16.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA16((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A17.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA17((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A17.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA17((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A18.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA18((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A18.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA18((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A20.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA20((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A20.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA20((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A21.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA21((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A21.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA21((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A24.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA24((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A24.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA24((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A30.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA30((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A30.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA30((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A37.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA37((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A37.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA37((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A38.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA38((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A38.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA38((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A39.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA39((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A39.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA39((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A43.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA43((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A43.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA43((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A45.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA45((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A45.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA45((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A50.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA50((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A50.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA50((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A52.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA52((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A52.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA52((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A54.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA54((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A54.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA54((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A60.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA60((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A60.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA60((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A61.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA61((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_A61.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtA61((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_AXX.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtAXX((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ADT_AXX.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toAdtAXX((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.BAR_P01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toBarP01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.BAR_P01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toBarP01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.BAR_P02.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toBarP02((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.BAR_P02.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toBarP02((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.BAR_P05.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toBarP05((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.BAR_P05.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toBarP05((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.BAR_P06.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toBarP06((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.BAR_P06.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toBarP06((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.BAR_P10.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toBarP10((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.BAR_P10.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toBarP10((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.CRM_C01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toCrmC01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.CRM_C01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toCrmC01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.CSU_C09.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toCsuC09((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.CSU_C09.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toCsuC09((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.DFT_P03.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toDftP03((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.DFT_P03.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toDftP03((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.DFT_P11.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toDftP11((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.DFT_P11.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toDftP11((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.DOC_T12.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toDocT12((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.DOC_T12.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toDocT12((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.DSR_Q01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toDsrQ01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.DSR_Q01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toDsrQ01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.DSR_Q03.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toDsrQ03((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.DSR_Q03.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toDsrQ03((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.EAC_U07.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toEacU07((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.EAC_U07.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toEacU07((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.EAN_U09.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toEanU09((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.EAN_U09.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toEanU09((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.EAR_U08.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toEarU08((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.EAR_U08.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toEarU08((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.EDR_R07.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toEdrR07((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.EDR_R07.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toEdrR07((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.EQQ_Q04.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toEqqQ04((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.EQQ_Q04.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toEqqQ04((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ERP_R09.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toErpR09((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ERP_R09.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toErpR09((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ESR_U02.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toEsrU02((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ESR_U02.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toEsrU02((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ESU_U01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toEsuU01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ESU_U01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toEsuU01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.INR_U06.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toInrU06((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.INR_U06.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toInrU06((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.INU_U05.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toInuU05((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.INU_U05.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toInuU05((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.LSU_U12.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toLsuU12((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.LSU_U12.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toLsuU12((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.MDM_T01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toMdmT01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.MDM_T01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toMdmT01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.MDM_T02.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toMdmT02((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.MDM_T02.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toMdmT02((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.MFK_M01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toMfkM01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.MFK_M01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toMfkM01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.MFN_M01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toMfnM01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.MFN_M01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toMfnM01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.MFN_M02.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toMfnM02((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.MFN_M02.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toMfnM02((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.MFN_M03.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toMfnM03((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.MFN_M03.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toMfnM03((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.MFN_M04.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toMfnM04((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.MFN_M04.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toMfnM04((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.MFN_M05.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toMfnM05((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.MFN_M05.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toMfnM05((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.MFN_M06.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toMfnM06((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.MFN_M06.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toMfnM06((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.MFN_M07.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toMfnM07((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.MFN_M07.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toMfnM07((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.MFN_M08.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toMfnM08((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.MFN_M08.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toMfnM08((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.MFN_M09.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toMfnM09((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.MFN_M09.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toMfnM09((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.MFN_M10.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toMfnM10((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.MFN_M10.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toMfnM10((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.MFN_M11.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toMfnM11((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.MFN_M11.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toMfnM11((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.MFN_M12.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toMfnM12((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.MFN_M12.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toMfnM12((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.MFQ_M01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toMfqM01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.MFQ_M01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toMfqM01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.MFR_M01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toMfrM01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.MFR_M01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toMfrM01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.NMD_N02.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toNmdN02((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.NMD_N02.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toNmdN02((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.NMQ_N01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toNmqN01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.NMQ_N01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toNmqN01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.NMR_N01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toNmrN01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.NMR_N01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toNmrN01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.OMD_O03.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toOmdO03((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.OMD_O03.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toOmdO03((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.OMG_O19.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toOmgO19((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.OMG_O19.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toOmgO19((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.OML_O21.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toOmlO21((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.OML_O21.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toOmlO21((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.OMN_O07.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toOmnO07((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.OMN_O07.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toOmnO07((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.OMP_O09.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toOmpO09((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.OMP_O09.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toOmpO09((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.OMS_O05.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toOmsO05((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.OMS_O05.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toOmsO05((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ORD_O04.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toOrdO04((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ORD_O04.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toOrdO04((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ORF_R04.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toOrfR04((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ORF_R04.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toOrfR04((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ORG_O20.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toOrgO20((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ORG_O20.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toOrgO20((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ORL_O22.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toOrlO22((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ORL_O22.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toOrlO22((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ORM_O01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toOrmO01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ORM_O01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toOrmO01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ORN_O08.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toOrnO08((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ORN_O08.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toOrnO08((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ORP_O10.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toOrpO10((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ORP_O10.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toOrpO10((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ORR_O02.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toOrrO02((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ORR_O02.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toOrrO02((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ORS_O06.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toOrsO06((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ORS_O06.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toOrsO06((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ORU_R01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toOruR01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ORU_R01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toOruR01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.OSQ_Q06.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toOsqQ06((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.OSQ_Q06.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toOsqQ06((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.OSR_Q06.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toOsrQ06((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.OSR_Q06.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toOsrQ06((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.OUL_R21.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toOulR21((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.OUL_R21.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toOulR21((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.PEX_P07.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toPexP07((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.PEX_P07.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toPexP07((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.PGL_PC6.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toPglPc6((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.PGL_PC6.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toPglPc6((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.PMU_B01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toPmuB01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.PMU_B01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toPmuB01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.PMU_B03.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toPmuB03((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.PMU_B03.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toPmuB03((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.PMU_B04.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toPmuB04((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.PMU_B04.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toPmuB04((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.PPG_PCG.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toPpgPcg((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.PPG_PCG.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toPpgPcg((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.PPP_PCB.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toPppPcb((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.PPP_PCB.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toPppPcb((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.PPR_PC1.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toPprPc1((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.PPR_PC1.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toPprPc1((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.PPT_PCL.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toPptPcl((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.PPT_PCL.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toPptPcl((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.PPV_PCA.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toPpvPca((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.PPV_PCA.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toPpvPca((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.PRR_PC5.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toPrrPc5((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.PRR_PC5.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toPrrPc5((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.PTR_PCF.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toPtrPcf((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.PTR_PCF.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toPtrPcf((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.QBP_K13.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toQbpK13((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.QBP_K13.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toQbpK13((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.QBP_Q11.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toQbpQ11((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.QBP_Q11.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toQbpQ11((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.QBP_Q13.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toQbpQ13((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.QBP_Q13.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toQbpQ13((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.QBP_Q15.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toQbpQ15((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.QBP_Q15.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toQbpQ15((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.QBP_Q21.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toQbpQ21((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.QBP_Q21.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toQbpQ21((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.QBP_Qnn.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toQbpQnn((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.QBP_Qnn.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toQbpQnn((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.QBP_Z73.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toQbpZ73((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.QBP_Z73.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toQbpZ73((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.QCK_Q02.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toQckQ02((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.QCK_Q02.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toQckQ02((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.QCN_J01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toQcnJ01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.QCN_J01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toQcnJ01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.QRY_A19.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toQryA19((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.QRY_A19.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toQryA19((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.QRY_PC4.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toQryPC4((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.QRY_PC4.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toQryPC4((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.QRY_Q01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toQryQ01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.QRY_Q01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toQryQ01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.QRY_Q02.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toQryQ02((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.QRY_Q02.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toQryQ02((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.QRY_R02.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toQryR02((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.QRY_R02.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toQryR02((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.QRY_T12.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toQryT12((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.QRY_T12.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toQryT12((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.QSB_Q16.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toQsbQ16((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.QSB_Q16.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toQsbQ16((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.QVR_Q17.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toQvrQ17((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.QVR_Q17.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toQvrQ17((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RAR_RAR.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRarRar((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RAR_RAR.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRarRar((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RAS_O17.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRasO17((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RAS_O17.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRasO17((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RCI_I05.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRciI05((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RCI_I05.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRciI05((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RCL_I06.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRclI06((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RCL_I06.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRclI06((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RDE_O11.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRdeO11((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RDE_O11.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRdeO11((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RDR_RDR.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRdrRdr((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RDR_RDR.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRdrRdr((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RDS_O13.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRdsO13((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RDS_O13.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRdsO13((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RDY_K15.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRdyK15((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RDY_K15.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRdyK15((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.REF_I12.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRefI12((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.REF_I12.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRefI12((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RER_RER.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRerRer((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RER_RER.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRerRer((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RGR_RGR.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRgrRgr((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RGR_RGR.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRgrRgr((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RGV_O15.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRgvO15((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RGV_O15.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRgvO15((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ROR_ROR.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRorRor((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.ROR_ROR.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRorRor((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RPA_I08.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRpaI08((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RPA_I08.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRpaI08((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RPI_I01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRpiI01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RPI_I01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRpiI01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RPI_I04.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRpiI04((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RPI_I04.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRpiI04((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RPL_I02.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRplI02((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RPL_I02.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRplI02((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RPR_I03.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRprI03((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RPR_I03.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRprI03((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RQA_I08.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRqaI08((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RQA_I08.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRqaI08((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RQC_I05.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRqcI05((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RQC_I05.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRqcI05((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RQI_I01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRqiI01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RQI_I01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRqiI01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RQP_I04.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRqpI04((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RQP_I04.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRqpI04((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RQQ_Q09.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRqqQ09((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RQQ_Q09.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRqqQ09((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RRA_O18.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRraO18((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RRA_O18.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRraO18((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RRD_O14.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRrdO14((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RRD_O14.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRrdO14((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RRE_O12.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRreO12((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RRE_O12.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRreO12((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RRG_O16.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRrgO16((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RRG_O16.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRrgO16((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RRI_I12.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRriI12((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RRI_I12.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRriI12((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RSP_K11.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRspK11((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RSP_K11.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRspK11((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RSP_K13.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRspK13((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RSP_K13.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRspK13((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RSP_K15.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRspK15((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RSP_K15.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRspK15((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RSP_K21.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRspK21((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RSP_K21.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRspK21((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RSP_K22.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRspK22((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RSP_K22.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRspK22((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RSP_K23.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRspK23((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RSP_K23.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRspK23((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RSP_K24.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRspK24((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RSP_K24.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRspK24((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RSP_K25.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRspK25((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RSP_K25.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRspK25((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RSP_Z82.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRspZ82((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RSP_Z82.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRspZ82((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RSP_Z86.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRspZ86((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RSP_Z86.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRspZ86((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RSP_Z88.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRspZ88((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RSP_Z88.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRspZ88((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RSP_Z90.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRspZ90((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RSP_Z90.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRspZ90((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RTB_K13.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRtbK13((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RTB_K13.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRtbK13((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RTB_Knn.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRtbKnn((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RTB_Knn.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRtbKnn((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RTB_Q13.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRtbQ13((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RTB_Q13.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRtbQ13((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RTB_Z74.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRtbZ74((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.RTB_Z74.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toRtbZ74((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.SIU_S12.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toSiuS12((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.SIU_S12.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toSiuS12((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.SPQ_Q08.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toSpqQ08((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.SPQ_Q08.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toSpqQ08((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.SQM_S25.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toSqmS25((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.SQM_S25.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toSqmS25((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.SQR_S25.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toSqrS25((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.SQR_S25.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toSqrS25((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.SRM_S01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toSrmS01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.SRM_S01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toSrmS01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.SRR_S01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toSrrS01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.SRR_S01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toSrrS01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.SSR_U04.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toSsrU04((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.SSR_U04.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toSsrU04((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.SSU_U03.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toSsuU03((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.SSU_U03.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toSsuU03((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.SUR_P09.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toSurP09((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.SUR_P09.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toSurP09((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.TBR_R08.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toTbrR08((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.TBR_R08.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toTbrR08((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.TCU_U10.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toTcuU10((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.TCU_U10.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toTcuU10((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.UDM_Q05.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toUdmQ05((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.UDM_Q05.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toUdmQ05((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.VQQ_Q07.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toVqqQ07((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.VQQ_Q07.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toVqqQ07((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.VXQ_V01.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toVxqV01((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.VXQ_V01.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toVxqV01((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.VXR_V03.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toVxrV03((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.VXR_V03.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toVxrV03((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.VXU_V04.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toVxuV04((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.VXU_V04.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toVxuV04((java.lang.String) value));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.VXX_V02.class, byte[].class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.toVxxV02((byte[]) value, exchange));
        addTypeConverter(registry, ca.uhn.hl7v2.model.v24.message.VXX_V02.class, java.lang.String.class, false,
            (type, exchange, value) -> org.apache.camel.component.hl7.HL724Converter.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));
    }

}
