Class CreateResources

  • All Implemented Interfaces:
    org.apache.synapse.aspects.AspectConfigurable, org.apache.synapse.Mediator, org.apache.synapse.SynapseArtifact, org.wso2.carbon.connector.core.Connector

    public class CreateResources
    extends org.wso2.healthcare.integration.fhir.FHIRConnectorBase
    This class is responsible for creating FHIR resources(given) from HL7V2 message.
    • Field Summary

      • Fields inherited from class org.apache.synapse.mediators.AbstractMediator

        log, trace, traceState
    • Constructor Summary

      Constructors 
      Constructor Description
      CreateResources()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void execute​(org.apache.synapse.MessageContext messageContext, org.wso2.healthcare.integration.fhir.config.FHIRConnectorContext fhirConnectorContext, HashMap<String,​String> configuredParams)  
      String getOperationName()  
      • Methods inherited from class org.wso2.healthcare.integration.fhir.FHIRConnectorBase

        connect, extractParametersFromPayload
      • Methods inherited from class org.wso2.carbon.connector.core.AbstractConnector

        getParameter, mediate
      • Methods inherited from class org.apache.synapse.mediators.AbstractMediator

        auditLog, auditWarn, configure, disableStatistics, disableTracing, divertMediationRoute, enableStatistics, enableTracing, getAspectConfiguration, getCommentsList, getDescription, getInputType, getLastSequenceFaultHandler, getLog, getMediatorName, getMediatorPosition, getOutputType, getRegisteredMediationFlowPoint, getShortDescription, getTraceState, getType, handleException, handleException, isBreakPoint, isContentAltering, isContentAware, isSkipEnabled, isStatisticsEnable, isTraceOn, isTraceOrDebugOn, isTracingEnabled, registerMediationFlowPoint, reportCloseStatistics, reportOpenStatistics, setBreakPoint, setCommentsList, setComponentStatisticsId, setDescription, setEffectiveTraceState, setMediatorPosition, setShortDescription, setSkipEnabled, setTraceState, shouldCaptureTracing, shouldTrace, shouldTrace, traceOrDebug, traceOrDebugWarn, unregisterMediationFlowPoint
      • Methods inherited from interface org.apache.synapse.Mediator

        getMediatorName, getMediatorPosition, getShortDescription, getTraceState, getType, isContentAltering, isContentAware, reportCloseStatistics, reportOpenStatistics, setComponentStatisticsId, setMediatorPosition, setShortDescription, setTraceState
      • Methods inherited from interface org.apache.synapse.SynapseArtifact

        getDescription, setDescription
    • Constructor Detail

      • CreateResources

        public CreateResources()
    • Method Detail

      • execute

        protected void execute​(org.apache.synapse.MessageContext messageContext,
                               org.wso2.healthcare.integration.fhir.config.FHIRConnectorContext fhirConnectorContext,
                               HashMap<String,​String> configuredParams)
        Specified by:
        execute in class org.wso2.healthcare.integration.fhir.FHIRConnectorBase
      • getOperationName

        public String getOperationName()
        Specified by:
        getOperationName in class org.wso2.healthcare.integration.fhir.FHIRConnectorBase