CDAKHL7Helper
public class CDAKHL7Helper
Assistive functions to help conform to HL7 formats
-
Converts an HL7 timestamp into an Integer - parameter timestamp: [String] the HL7 timestamp. Expects YYYYMMDD format - returns: [Integer] Date in seconds since the epoch
Declaration
Swift
public class func timestamp_to_integer(timestamp: String?) -> Double?
Parameters
timestamp
[String] the HL7 timestamp. Expects YYYYMMDD format
Return Value
[Integer] Date in seconds since the epoch