EnsLib.ITK.AdapterKit.ConvertUtil
class EnsLib.ITK.AdapterKit.ConvertUtil extends Ens.Rule.FunctionSet
This class contains the basic conversion methods that are used in the adapter transformations and processed, but can also be be used in custom code. They are exposed as Ens.Rule.FunctionSet so that they appear as functions when creating transformations and rules.Method Inventory
- Base64StreamToHL7()
- Base64ToHL7()
- HL7ToBase64()
- HL7ToXML()
- WrapDistributionEnvelope()
- WrapStreamDistributionEnvelope()
- WrapStringDistributionEnvelope()
- XMLStreamToHL7()
- XMLToHL7()
Methods
classmethod Base64StreamToHL7(base64 As %Stream) as EnsLib.HL7.Message
Converts a stream holding the Base64 represetation of a
Pipe and Hat message into a HL7 message
classmethod Base64ToHL7(base64 As %String) as EnsLib.HL7.Message
Converts a string holding the Base64 represetation of a
Pipe and Hat message into a HL7 message
classmethod HL7ToBase64(message As EnsLib.HL7.Message) as %Stream
Converts from a HL7 Message into a PipeHat Base64 Encoded version
classmethod HL7ToXML(message As EnsLib.HL7.Message) as %Stream
Converts from an HL7 Message into an XML String
classmethod WrapDistributionEnvelope(payload As %XML.Adaptor, service As %String, auditIdentity As %String) as %Stream
Takes a payload object and service and produces a lightweight DistributionEnvelope around it
classmethod WrapStreamDistributionEnvelope(stream As %Stream, service As %String, auditIdentity As %String) as %Stream
Takes a payload stream and service and produces a lightweight DistributionEnvelope around it
classmethod WrapStringDistributionEnvelope(content As %String, service As %String, auditIdentity As %String) as %Stream
Takes a payload string and service and produces a lightweight DistributionEnvelope around it
classmethod XMLStreamToHL7(str As %Stream) as EnsLib.HL7.Message
Converts from an XML stream representing HL7 message into
a HL7 Message
classmethod XMLToHL7(xml As %String) as EnsLib.HL7.Message
Converts from a XML string representing HL7 message into
a HL7 Message
Inherited Members
Inherited Methods
- Contains()
- ConvertDateTime()
- CurrentDateTime()
- DoesNotContain()
- DoesNotIntersectList()
- DoesNotMatch()
- DoesNotStartWith()
- Exists()
- If()
- In()
- InFile()
- InFileColumn()
- IntersectsList()
- Length()
- Like()
- Lookup()
- Matches()
- Max()
- Min()
- Not()
- NotIn()
- NotInFile()
- NotLike()
- Pad()
- Piece()
- ReplaceStr()
- Round()
- Rule()
- Schedule()
- StartsWith()
- Strip()
- SubString()
- ToLower()
- ToUpper()
- Translate()
- replace()