Skip to main content

HS.Hub.Standalone.HL7.HL7ToSDA3

class HS.Hub.Standalone.HL7.HL7ToSDA3 extends %Library.RegisteredObject

Convert an HL7 message into SDA3 XML

Method Inventory

Parameters

parameter HSDEPLOY = 1;

Methods

classmethod DetermineAction(msgType, ByRef pAction As %String) as %Status
classmethod FormatPhone(country As %String, area As %String, number As %String, extension As %String) as %String
Utility Method for formatting a Phone Number from the 4 fields supplied Can be called from within transforms for processing incoming HL7 messages
classmethod GetSDAContainer(pRequest As EnsLib.HL7.Message, Output pSDA As HS.SDA3.Container, pLogAlerts As %Boolean = 1) as %Status
Input: One HL7 message in EnsLib.HL7.Message Output: SDA3 Container object
classmethod GetTransformClass(msgType As %String, ByRef pTransformClass As %String) as %Status
classmethod HL7ToHorolog(dt As %String) as %String
Convert an HL7 timestamp to horolog ($H) format Can be called from within transforms for processing incoming HL7 messages
classmethod OnGetTransformClass() as %String
Callback method to provide transform class name
classmethod XMLToLogical(pXmlTime As %String) as %String
classmethod formatname(last As %String, first As %String, middle As %String, prefix As %String) as %String
If both last and first are given, returns the name as last_", "_first
Else if last is given, returns last
Else if first is given, returns first
Else returns "" Can be called from within transforms for processing incoming HL7 messages
classmethod idtype(value As %String) as %String
Patient Number Identifier Codes Can be called from within transforms for processing incoming HL7 messages
classmethod timestamp(dt As %String) as %String
Utility Method for converting HL7 date to timestamp for assigning to an SDA object. Can be called from within transforms for processing incoming HL7 messages

Inherited Members

Inherited Methods

FeedbackOpens in a new tab