Skip to main content

HS.InteropTools.HL7.Compare.Util

class HS.InteropTools.HL7.Compare.Util

Several utility methods used by the production validator

Method Inventory

Methods

classmethod AddCompareMappings(pMapGlobalsNamespace As %String = $namespace, pDB As %String, pMapValuesToTemp As %Boolean = 1, pMapMessages As %Boolean = 0)
@API
Map HS.IT.Comp.* globals to temp database and copy any items already in HS.IT.Comp.Log* to the new location
@argument pMapGlobalsNamespace %String - namespace where work is being done, where globals are being mapped from
@argument pDB %String - database directory ie /Volumes/ISC/DEV/mgr/mycompare/
@argument pMapValuesToTemp %Boolean - When using DTL Generator for example we may not want to map HS.IT.Comp.SVal to temp
@argument pMapMessaages Boolean - on the target system map the messages to comparedb so we don't need to merge them
classmethod RemoveCurrentMappings(pNamespace As %String, pList As %String = "HS.IT.Comp.*,Ens.MessageHeaderD,EnsHL7.Segment,EnsLib.H.MessageD")
@API
Remove HS.IT.Comp.* mapping from the compare database
@argument pNamespace String representing the namespace to remove the mappings from
@argument pList String comma separated string representing the items to remove. Ens.IT.* all items below Ens.IT. HS.IT.Comp.LogD would be one specific entry
classmethod getTemplate(pTemplate="") as %DynamicObject
@API
@argument pTemplate String, return a dynamic object from a String, if pTemplate is already a dynamic object, return it
@returns Dynamic object

Subclasses

FeedbackOpens in a new tab