Interface ICdaCamelProcessorTxLogHelper

All Superinterfaces:
ICamelProcessorTxLogHelper

Transaction log helper to be used by for CDA Camel procedures
  • Method Details

    • logRawCcd

      void logRawCcd(String theProcedureName, org.apache.camel.Exchange theExchange, String theMessage)
      Adds a transaction log step If a transaction log is present or a new transaction log otherwise
      Parameters:
      theProcedureName - the calling procedure name
      theExchange - the camel exchange
      theMessage - the CDA message
    • addCdaLogStepOrNewLog

      void addCdaLogStepOrNewLog(org.apache.camel.Exchange theExchange, CdaToFhirConversionResultJson theConversionResult, TransactionLogEventTypeEnum theLogType, ICdaTxLogStepsProvider theStepsProvider) throws Exception
      If transaction logging is active, logs a step if transaction log is present or a new transaction log otherwise
      Parameters:
      theExchange - the camel exchange
      theConversionResult - the input CdaToFhirConversionResultJson
      theLogType - the TransactionLogEventTypeEnum
      theStepsProvider - the ICdaTxLogStepsProvider
      Throws:
      Exception
    • getCdaLogStepsForBundles

      List<TransactionLogStepJson> getCdaLogStepsForBundles(org.apache.camel.Exchange theExchange, CdaToFhirConversionResultJson theConversionResult, String theProcedureName)
      Parameters:
      theExchange - the camel exchange
      theConversionResult - the input CdaToFhirConversionResultJson
      theProcedureName - the calling procedure name