@Connector(name="hl7-edi", schemaVersion="1.0", friendlyName="HL7 EDI") @MetaDataScope(value=HL7MetaData.class) @RequiresEnterpriseLicense(allowEval=true) @RequiresEntitlement(name="hl7") public class HL7EdiModule extends org.mule.modules.edi.base.BaseEdiModule
Constructor and Description |
---|
HL7EdiModule() |
Modifier and Type | Method and Description |
---|---|
com.mulesoft.flatfile.schema.model.Structure |
getAckStructure() |
Config |
getConfig() |
List<com.mulesoft.flatfile.schema.model.Structure> |
getMessageStructures() |
com.mulesoft.flatfile.schema.model.Segment |
getMshSegment() |
protected org.mule.api.registry.MuleRegistry |
getRegistry() |
List<String> |
getSchemas() |
void |
onStart() |
Map<String,Object> |
read(InputStream ediContent,
org.mule.api.MuleEvent event)
Transforms a ER7 encoded HL7 message into a Map
|
void |
setConfig(Config config) |
void |
setRegistry(org.mule.api.registry.MuleRegistry registry) |
String |
write(String messageStructure,
Map<String,Object> message)
Transform a Map into ER7 encoded HL7 message.
|
buildCombinedSchema, cacheIdentifier, doStart, getCombinedSchema, getNextInteger, getNextLong, getNextString, getOrDefault, getSchema, getTransmissionSupport, incrementString, isEmpty, loadB2BProvider, loadSchema, loadSchema, loadSchemas, loadSchemas, nonnull, setCounterObjectStore, setNullDefault, validateIdProperty, validateSeparator
@Start public void onStart() throws HL7TransformerException
HL7TransformerException
@Processor public Map<String,Object> read(@Default(value="#[payload]") InputStream ediContent, org.mule.api.MuleEvent event) throws Exception
ediContent
- Native EDI contentevent
- The Mule Event (with input information)Exception
- on error@Processor public String write(@MetaDataKeyParam(affects=INPUT) String messageStructure, @RefOnly @Default(value="#[payload]") Map<String,Object> message) throws HL7TransformerException
messageStructure
- HL7 Message and Event Typemessage
- Map containing the HL7 messageHL7TransformerException
- if there are errors in transforming ER7
HL7 message into a mappublic void setRegistry(org.mule.api.registry.MuleRegistry registry)
protected org.mule.api.registry.MuleRegistry getRegistry()
getRegistry
in class org.mule.modules.edi.base.BaseEdiModule
public List<String> getSchemas()
getSchemas
in class org.mule.modules.edi.base.BaseEdiModule
public List<com.mulesoft.flatfile.schema.model.Structure> getMessageStructures()
public com.mulesoft.flatfile.schema.model.Segment getMshSegment()
public com.mulesoft.flatfile.schema.model.Structure getAckStructure()
public Config getConfig()
public void setConfig(Config config)
Copyright © 2010–2020. All rights reserved.