Skip to main content

HS.InteropTools.HL7.GenerateDTL.GenerationStatus

persistent class HS.InteropTools.HL7.GenerateDTL.GenerationStatus extends %Library.Persistent

SQL Table Name: HS_InteropTools_HL7_GenerateDTL.GenerationStatus

Track the status of a DTL generation with various properties and processing information in Stats as a dynamic object (as a string). Generation logging is tracked in LogItems

Property Inventory

Properties

property DTLName as %String (MAXLEN = 512) [ Required ];
Name of the DTL being processed
Property methods: DTLNameDisplayToLogical(), DTLNameGet(), DTLNameGetStored(), DTLNameIsValid(), DTLNameLogicalToDisplay(), DTLNameLogicalToOdbc(), DTLNameNormalize(), DTLNameSet()
property Halt as %Integer (DISPLAYLIST = ",,Halting,Halted,Halted due to error", VALUELIST = ",0,1,2,3") [ InitialExpression = 0 ];
Halt State, 0 if not halted/halting
Property methods: HaltDisplayToLogical(), HaltGet(), HaltGetStored(), HaltIsValid(), HaltLogicalToDisplay(), HaltNormalize(), HaltSet()
property HaltError as %String);
Text of halt error
Property methods: HaltErrorDisplayToLogical(), HaltErrorGet(), HaltErrorGetStored(), HaltErrorIsValid(), HaltErrorLogicalToDisplay(), HaltErrorLogicalToOdbc(), HaltErrorNormalize(), HaltErrorSet()
property KPI as %Integer;
key performance indicator
Property methods: KPIDisplayToLogical(), KPIGet(), KPIGetStored(), KPIIsValid(), KPILogicalToDisplay(), KPINormalize(), KPISet()
property LogItems as list of %String);
A colleciton of log messages associated with processing
Property methods: LogItemsBuildValueArray(), LogItemsCollectionToDisplay(), LogItemsCollectionToOdbc(), LogItemsDisplayToCollection(), LogItemsDisplayToLogical(), LogItemsGet(), LogItemsGetObject(), LogItemsGetObjectId(), LogItemsGetStored(), LogItemsGetSwizzled(), LogItemsIsValid(), LogItemsLogicalToDisplay(), LogItemsLogicalToOdbc(), LogItemsNormalize(), LogItemsOdbcToCollection(), LogItemsSet(), LogItemsSetObject(), LogItemsSetObjectId()
property RunState as %Integer (DISPLAYLIST = ",,Loading Source messages,Loaded Source messages,Loading Target messages,Loaded Target messages,Generating DTL,Generated DTL,Generating Target messages,Generated Target messages,Filtering Source,Filtered Source", VALUELIST = ",0,1,2,3,4,5,6,7,8,9,10") [ InitialExpression = 0 ];
Current State
Property methods: RunStateDisplayToLogical(), RunStateGet(), RunStateGetStored(), RunStateIsValid(), RunStateLogicalToDisplay(), RunStateNormalize(), RunStateSet()
property SourceCount as %String;
Count of source records
Property methods: SourceCountDisplayToLogical(), SourceCountGet(), SourceCountGetStored(), SourceCountIsValid(), SourceCountLogicalToDisplay(), SourceCountLogicalToOdbc(), SourceCountNormalize(), SourceCountSet()
property Stats as %String);
Statistics from last run {"count1":1,"count2":1,"missingFiles":0,"newFiles":0,"differences":1,"kpi":0}
Property methods: StatsDisplayToLogical(), StatsGet(), StatsGetStored(), StatsIsValid(), StatsLogicalToDisplay(), StatsLogicalToOdbc(), StatsNormalize(), StatsSet()
property TargetCount as %String;
Count of target records
Property methods: TargetCountDisplayToLogical(), TargetCountGet(), TargetCountGetStored(), TargetCountIsValid(), TargetCountLogicalToDisplay(), TargetCountLogicalToOdbc(), TargetCountNormalize(), TargetCountSet()

Queries

query TransformsList()
SQL Query:
SELECT DTLName as Name,RunState as Status, KPI, Halt,HaltError, SourceCount, TargetCount FROM GenerationStatus

Indexes

index (DTLNameIndex on DTLName) [Unique];
Index methods: DTLNameIndexCheck(), DTLNameIndexCheckUnique(), DTLNameIndexDelete(), DTLNameIndexExists(), DTLNameIndexOpen(), DTLNameIndexSQLCheckUnique(), DTLNameIndexSQLExists(), DTLNameIndexSQLFindPKeyByConstraint(), DTLNameIndexSQLFindRowIDByConstraint()
index (IDKEY on ) [IdKey, Type = key];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()

Inherited Members

Inherited Methods

Storage

Storage Model: Storage (HS.InteropTools.HL7.GenerateDTL.GenerationStatus)

^HS.IT.HL7.DTLStatusD(ID)
=
%%CLASSNAME
DTLName
RunState
Halt
KPI
HaltError
SourceCount
TargetCount
Stats

Storage Model: Storage (HS.InteropTools.HL7.GenerateDTL.GenerationStatus)

^HS.IT.HL7.DTLStatusD(ID,"LogItems",n)
=
LogItems(n)
FeedbackOpens in a new tab