HS.Gateway.SDA3.SDA3ToHL7.TransformUtil
class HS.Gateway.SDA3.SDA3ToHL7.TransformUtil extends Ens.Util.FunctionSet
Common MU2 Tranform UtilitiesMethod Inventory
- DateTime()
- PhonePart()
- StructuredNumeric()
- StructuredResultValue()
- XMLTimeStampToDate()
- XMLTimeStampToDateTime()
Methods
Return Date time in YYYYMMDDhhmmss format
Get Part of a phone number
Given a string value that originated as an HL7 structured numeric (SN)
type, return the original SN value. The format of the SN structure is:
As per the HL7 spec, the comparator, if populated, must be one of >, <, >=,
<=, =, or <>. The separator/suffix, if populated, must be one of -, +, /,
or :. The HL7 spec lists "." as a possible separator, however this method
cannot parse that correctly since Num1 and Num2 are both numeric fields and
therefore can contain decimals. Note that a positive or negative sign (+ or
-) at the beginning of either Num1 or Num2 will be handled correctly.
type, return the original SN value. The format of the SN structure is:
SEQ LEN DT OPT TBL# COMPONENT NAME COMMENTS SEC.REF. 1 2 ST O Comparator 2.A.74 2 15 NM O Num1 2.A.47 3 1 ST O Separator/Suffix 2.A.74 4 15 NM O Num2 2.A.47
As per the HL7 spec, the comparator, if populated, must be one of >, <, >=,
<=, =, or <>. The separator/suffix, if populated, must be one of -, +, /,
or :. The HL7 spec lists "." as a possible separator, however this method
cannot parse that correctly since Num1 and Num2 are both numeric fields and
therefore can contain decimals. Note that a positive or negative sign (+ or
-) at the beginning of either Num1 or Num2 will be handled correctly.
DEPRECATED - Use StructuredNumeric() instead.
Get date in format YYYYMMDD from XML Date Stamp (yyyy-mm-ddThh:mm:ssZ)
Get date in format YYYYMMDDHHMMSS from XML Date Stamp (yyyy-mm-ddThh:mm:ssZ)
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()
- RegexMatch()
- ReplaceStr()
- Round()
- Rule()
- Schedule()
- StartsWith()
- Strip()
- SubString()
- ToLower()
- ToUpper()
- Translate()
- replace()