HS.Hub.Standalone.HL7.HL7ToSDA3
class HS.Hub.Standalone.HL7.HL7ToSDA3 extends %Library.RegisteredObject
Convert an HL7 message into SDA3 XMLMethod Inventory
- DetermineAction()
- FormatPhone()
- GetSDAContainer()
- GetTransformClass()
- HL7ToHorolog()
- OnGetTransformClass()
- XMLToLogical()
- formatname()
- idtype()
- timestamp()
Parameters
parameter HSDEPLOY = 1;
Methods
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
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 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
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
Patient Number Identifier Codes
Can be called from within transforms for processing incoming HL7 messages
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
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()