EnsLib.InteropTools.HL7.Common

class EnsLib.InteropTools.HL7.Common extends %Library.RegisteredObject

Property Inventory

Method Inventory

Parameters

parameter CLASSNAMEPREFIX;
parameter CMDCONCATENATION = ;;
; on unix, & on windows
parameter CMDQUOTE = ";
parameter CODEBUILDER = EnsLib.InteropTools.CodeBuilder.Code;
parameter DEFAULTVERSION = 2.3.1;
parameter INCLUDECOMMENTS = 1;
parameter JAVACLASSPATH;
export CLASSPATH= Define path to antlr4 jar - not required if defined for all users
parameter JAVACMD = java;
either java or full path to java executable
parameter PERMANENTBAIL = 2;
parameter SCRIPTTOXML = MonkToXML;
parameter SCRIPTTOXMLCD;
parameter VARIABLETRANSLATEFROM = -_?;
parameter VARIALBETRANSLATETO = duq;

Properties

property Annotate as %Boolean [ InitialExpression = 0 ];
Property methods: AnnotateDisplayToLogical(), AnnotateGet(), AnnotateIsValid(), AnnotateLogicalToDisplay(), AnnotateNormalize(), AnnotateSet()
property Bail as %Boolean [ InitialExpression = 0 ];
Property methods: BailDisplayToLogical(), BailGet(), BailIsValid(), BailLogicalToDisplay(), BailNormalize(), BailSet()
property Code as %String [ MultiDimensional ];
Property methods: CodeDisplayToLogical(), CodeGet(), CodeIsValid(), CodeLogicalToDisplay(), CodeLogicalToOdbc(), CodeNormalize(), CodeOutput(), CodeSet(), CodeWalk(), CodeWalkChildren(), CodeWalkNode()
property Debug as %Boolean [ InitialExpression = 0 ];
Property methods: DebugDisplayToLogical(), DebugGet(), DebugIsValid(), DebugLogicalToDisplay(), DebugNormalize(), DebugSet()
property Filename as %String);
Property methods: FilenameDisplayToLogical(), FilenameGet(), FilenameIsValid(), FilenameLogicalToDisplay(), FilenameLogicalToOdbc(), FilenameNormalize(), FilenameSet()
property FixNote;
Property methods: FixNote(), FixNoteDisplayToLogical(), FixNoteGet(), FixNoteIsValid(), FixNoteLogicalToDisplay(), FixNoteLogicalToOdbc(), FixNoteNormalize(), FixNoteSet()
property InputParameters as %String) [ MultiDimensional ];
Property methods: InputParametersDisplayToLogical(), InputParametersGet(), InputParametersIsValid(), InputParametersLogicalToDisplay(), InputParametersLogicalToOdbc(), InputParametersNormalize(), InputParametersSet()
property NoteVariable as %String) [ MultiDimensional ];
Problems related to variable substitution
Property methods: NoteVariable(), NoteVariableDisplayToLogical(), NoteVariableGet(), NoteVariableIsValid(), NoteVariableLogicalToDisplay(), NoteVariableLogicalToOdbc(), NoteVariableNormalize(), NoteVariableSet()
property Report as %String) [ MultiDimensional ];
Property methods: ReportDisplayToLogical(), ReportGet(), ReportIsValid(), ReportItem(), ReportLogicalToDisplay(), ReportLogicalToOdbc(), ReportNormalize(), ReportSet()
property SelectedTranslation as %String) [ MultiDimensional ];
Property methods: SelectedTranslationDisplayToLogical(), SelectedTranslationGet(), SelectedTranslationIsValid(), SelectedTranslationLogicalToDisplay(), SelectedTranslationLogicalToOdbc(), SelectedTranslationNormalize(), SelectedTranslationSet()
property VariableReplacement as %String) [ MultiDimensional ];
Property methods: VariableReplacementDisplayToLogical(), VariableReplacementGet(), VariableReplacementIsValid(), VariableReplacementLogicalToDisplay(), VariableReplacementLogicalToOdbc(), VariableReplacementNormalize(), VariableReplacementSet()

Methods

method AddAnnotation(pItem, pText) [ Language = objectscript ]
method BuildClass(pFileName, pCompile=1) [ Language = objectscript ]
method CodeOutput() [ Language = objectscript ]
classmethod CodeWalk(pFileName="", pInputParameters="", Output pOutput) as %Status [ Language = objectscript ]
pFileName complete path and filename pClassName - generated className pSourceDocType - version:type ie 2.7.1:MDM_T02 pTargetDocType - version:type ie 2.7.1:MDM_T02 pDebug - break for issues
method CodeWalkChildren(pNode As %XML.Node, pDebug=0, pFileName) [ Language = objectscript ]
method CodeWalkNode(pNode As %XML.Node, pLevel=0, pSet=1, pCommandLine="", pDebug=1, pFileName) [ Language = objectscript ]
classmethod CompileJava() as %Status [ Language = objectscript ]
Assuming the Customer class is defined correctly use parameters to compile scripts
classmethod Count(pFileName="", ByRef pClassName="", pSourceDocType="", pTargetDocType="", pReprocess=1, pDebug=0, pAllowSkip=1, pBuildDTL=1, pRebuildXML=0) as %Status [ Language = objectscript ]
classmethod DTLClassname(pFileName) [ Language = objectscript ]
method DereferenceVariables() as %Status [ Language = objectscript ]
classmethod Files(pPath, pSuffix=".tsc,.ssc", pMethod="", Output pFiles, pArgs...) [ Language = objectscript ]
method FixNote(pText, pItems="", pTop=1) [ Language = objectscript ]
for problems found during conversion notes can be inserted at the top of the code pText = $C(9)_" *** some note "
when pItems is included the note will also be inserted at the current code position
classmethod GetClassName(pFileName, pClassName) [ Language = objectscript ]
if the ClassName is not defined in CodeWalk generate one from the file name
classmethod NodeAsText(pNode, ByRef pText="", pTop=1) as %String [ Language = objectscript ]
method NoteVariable(pRef, pText, pTop=1, pNoAck=0) [ Language = objectscript ]
pRef - variable reference pText - text about issue pTop - note at the top of the new class pNoAck - note every time when pNoAck=1 (don't accept an acknowledgment), pNoAck = 0 indicates once it's been reported it won't be reported again
method ParseInputParameters(pInputParameters) as %Status [ Language = objectscript ]
method ProcessReplaceCollection(pCollection) [ Language = objectscript ]
method Replace(pValue, pItem) as %String [ Language = objectscript ]
method ReplaceVarsCodeCOS(pItem) [ Language = objectscript ]
method ReplaceVarsCodeCase(pItem) [ Language = objectscript ]
method ReplaceVarsCodeCaseDefault(pItem) [ Language = objectscript ]
method ReplaceVarsCodeForEach(pItem) [ Language = objectscript ]
method ReplaceVarsCodeIf(pItem) [ Language = objectscript ]
method ReplaceVarsCodeSet(pItem) [ Language = objectscript ]
method ReplaceVarsCodeSwitch(pItem) [ Language = objectscript ]
method ReportItem(pString, pBail=0) as %Status [ Language = objectscript ]
classmethod ScriptToXML(pFrom, pTo, pDelete=1, ByRef pExists, pScriptToXML=..#SCRIPTTOXML) as %Status [ Language = objectscript ]
method UpdateCode() as %Status [ Language = objectscript ]
Override ability to update the code (CodeBuilder.Code) before saving, inserting comments at the beginning etc.
method imCodeWalk(pFileName="", pInputParameters, Output pOutput) as %Status [ Language = objectscript ]

Inherited Members

Inherited Methods

Subclasses

Feedback