Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.Opens in a new tab

For information on migrating to InterSystems IRISOpens in a new tab, see Why Migrate to InterSystems IRIS?

DeepSee.Model.CompoundCube.Patients.Fact

persistent class DeepSee.Model.CompoundCube.Patients.Fact extends %DeepSee.FactTable, %DeepSee.CubeFunctionSet

SQL Table Name: DeepSee_Model_CompoundCube_Patients.Fact

Fact table for cube 'CompoundCube/Patients'.
THIS IS A GENERATED CLASS, DO NOT EDIT.
Generated by %DeepSee.Generator:%CreateFactTable.

This class was generated by : DeepSee.Model.CompoundCube.Patients.CLS

Property Inventory

Method Inventory

Parameters

parameter BITMAPCHUNKINMEMORY = 0;
Inherited description: BITMAPCHUNKINMEMORY is used during code generation to decide whether or not bitmap chunks can be constructed in memory. It is faster to construct bitmap chunks in memory but if there are a lot of bitmaps, the indexed property or properties have very low selectivity or the index values are large then STORE errors can be encountered. If BITMAPCHUNKINMEMORY is 1 then bitmap chunks are constructed in memory by %ConstructIndices. Otherwise, bitmap chunks are constructed using process-private globals. The default is 0, meaning that bitmap chunks are built using process-private globals.
parameter CUBENAME = CompoundCube/Patients;
Inherited description: Name of the cube that created this fact table.
parameter SOURCECLASS = DeepSee.Study.Patient;
Inherited description: Name of the source table that provides data for this fact table.

Properties

property %dspartition as %Integer [ Calculated ];
This indicates which partition (set of 1M) this fact is in.
Property methods: %dspartitionCompute(), %dspartitionDisplayToLogical(), %dspartitionGet(), %dspartitionIsValid(), %dspartitionLogicalToDisplay(), %dspartitionNormalize(), %dspartitionSQLCompute()
property %sourceId as DeepSee.Study.Patient;
Reference to original data in source table.
Property methods: %sourceIdGet(), %sourceIdGetObject(), %sourceIdGetObjectId(), %sourceIdGetStored(), %sourceIdGetSwizzled(), %sourceIdIsValid(), %sourceIdNewObject(), %sourceIdSet(), %sourceIdSetObject(), %sourceIdSetObjectId(), %sourceIdUnSwizzle()
property DxBirthDate as %DeepSee.Datatype.dateTime;
Dimension: DxBirthDate
Source: BirthDate
Property methods: DxBirthDateDisplayToLogical(), DxBirthDateGet(), DxBirthDateGetStored(), DxBirthDateIsValid(), DxBirthDateLogicalToDisplay(), DxBirthDateLogicalToOdbc(), DxBirthDateNormalize(), DxBirthDateOdbcToLogical(), DxBirthDateSet()
property DxBirthDateFxDayMonthYear as %Library.String (COLLATION = "EXACT") [ Calculated ];
Dimension: DxBirthDateFxDayMonthYear
Source: BirthDate
Property methods: DxBirthDateFxDayMonthYearCompute(), DxBirthDateFxDayMonthYearDisplayToLogical(), DxBirthDateFxDayMonthYearGet(), DxBirthDateFxDayMonthYearIsValid(), DxBirthDateFxDayMonthYearLogicalToDisplay(), DxBirthDateFxDayMonthYearLogicalToOdbc(), DxBirthDateFxDayMonthYearNormalize(), DxBirthDateFxDayMonthYearSQLCompute()
property DxBirthDateFxDecade as %Library.String (COLLATION = "EXACT") [ Calculated ];
Dimension: DxBirthDateFxDecade
Source: BirthDate
Property methods: DxBirthDateFxDecadeCompute(), DxBirthDateFxDecadeDisplayToLogical(), DxBirthDateFxDecadeGet(), DxBirthDateFxDecadeIsValid(), DxBirthDateFxDecadeLogicalToDisplay(), DxBirthDateFxDecadeLogicalToOdbc(), DxBirthDateFxDecadeNormalize(), DxBirthDateFxDecadeSQLCompute()
property DxBirthDateFxMonthYear as %Library.String (COLLATION = "EXACT") [ Calculated ];
Dimension: DxBirthDateFxMonthYear
Source: BirthDate
Property methods: DxBirthDateFxMonthYearCompute(), DxBirthDateFxMonthYearDisplayToLogical(), DxBirthDateFxMonthYearGet(), DxBirthDateFxMonthYearIsValid(), DxBirthDateFxMonthYearLogicalToDisplay(), DxBirthDateFxMonthYearLogicalToOdbc(), DxBirthDateFxMonthYearNormalize(), DxBirthDateFxMonthYearSQLCompute()
property DxBirthDateFxQuarterYear as %Library.String (COLLATION = "EXACT") [ Calculated ];
Dimension: DxBirthDateFxQuarterYear
Source: BirthDate
Property methods: DxBirthDateFxQuarterYearCompute(), DxBirthDateFxQuarterYearDisplayToLogical(), DxBirthDateFxQuarterYearGet(), DxBirthDateFxQuarterYearIsValid(), DxBirthDateFxQuarterYearLogicalToDisplay(), DxBirthDateFxQuarterYearLogicalToOdbc(), DxBirthDateFxQuarterYearNormalize(), DxBirthDateFxQuarterYearSQLCompute()
property DxBirthDateFxYear as %Library.String (COLLATION = "EXACT") [ Calculated ];
Dimension: DxBirthDateFxYear
Source: BirthDate
Property methods: DxBirthDateFxYearCompute(), DxBirthDateFxYearDisplayToLogical(), DxBirthDateFxYearGet(), DxBirthDateFxYearIsValid(), DxBirthDateFxYearLogicalToDisplay(), DxBirthDateFxYearLogicalToOdbc(), DxBirthDateFxYearNormalize(), DxBirthDateFxYearSQLCompute()
Dimension: DxDoc Expression: %source.PrimaryCarePhysician
Property methods: DxDocGet(), DxDocGetObject(), DxDocGetObjectId(), DxDocGetStored(), DxDocGetSwizzled(), DxDocIsValid(), DxDocNewObject(), DxDocSet(), DxDocSetObject(), DxDocSetObjectId(), DxDocUnSwizzle()
Dimension: DxDocGroup
Source: PrimaryCarePhysician.DoctorGroup
Property methods: DxDocGroupGet(), DxDocGroupGetObject(), DxDocGroupGetObjectId(), DxDocGroupGetStored(), DxDocGroupGetSwizzled(), DxDocGroupIsValid(), DxDocGroupNewObject(), DxDocGroupSet(), DxDocGroupSetObject(), DxDocGroupSetObjectId(), DxDocGroupUnSwizzle()
Dimension: DxDocType
Source: PrimaryCarePhysician.DoctorType
Property methods: DxDocTypeGet(), DxDocTypeGetObject(), DxDocTypeGetObjectId(), DxDocTypeGetStored(), DxDocTypeGetSwizzled(), DxDocTypeIsValid(), DxDocTypeNewObject(), DxDocTypeSet(), DxDocTypeSetObject(), DxDocTypeSetObjectId(), DxDocTypeUnSwizzle()
Dimension: DxHomeCity
Source: HomeCity.Name
Property methods: DxHomeCityGet(), DxHomeCityGetObject(), DxHomeCityGetObjectId(), DxHomeCityGetStored(), DxHomeCityGetSwizzled(), DxHomeCityIsValid(), DxHomeCityNewObject(), DxHomeCitySet(), DxHomeCitySetObject(), DxHomeCitySetObjectId(), DxHomeCityUnSwizzle()
Dimension: DxHomeZIP
Source: HomeCity.PostalCode
Property methods: DxHomeZIPGet(), DxHomeZIPGetObject(), DxHomeZIPGetObjectId(), DxHomeZIPGetStored(), DxHomeZIPGetSwizzled(), DxHomeZIPIsValid(), DxHomeZIPNewObject(), DxHomeZIPSet(), DxHomeZIPSetObject(), DxHomeZIPSetObjectId(), DxHomeZIPUnSwizzle()
property Mx949945609I as %Integer;
Measure: Mx949945609I Expression: ##class(DeepSee.Model.PatientsCube).GetAllergyCount(%source.%ID)
Property methods: Mx949945609IDisplayToLogical(), Mx949945609IGet(), Mx949945609IGetStored(), Mx949945609IIsValid(), Mx949945609ILogicalToDisplay(), Mx949945609INormalize(), Mx949945609ISet()
property MxTestScore as %Integer;
Measure: MxTestScore
Source: TestScore
Property methods: MxTestScoreDisplayToLogical(), MxTestScoreGet(), MxTestScoreGetStored(), MxTestScoreIsValid(), MxTestScoreLogicalToDisplay(), MxTestScoreNormalize(), MxTestScoreSet()

Methods

classmethod %BuildAllFacts(pVerbose As %Boolean = 0) as %Status
Update all Facts with data from the source table.
Generated by %DeepSee.Generator:%CreateFactTable.
DO NOT CALL THIS METHOD DIRECTLY
classmethod %BuildTempFile(pTempKey As %String, Output pImplemented As %Boolean, pVerbose As %Boolean = 0) as %Status
Create a temp file of all source ids.
Generated by %DeepSee.Generator:%CreateFactTable.
DO NOT CALL THIS METHOD DIRECTLY
classmethod %CheckSourceId(pTestId As %String, pVerbose As %Boolean = 0, Output pSC As %Status) as %Boolean
Check for the existence of a single ID in the source table.
DO NOT CALL THIS METHOD DIRECTLY
classmethod %Count() as %Integer
Return the total number of items within the Fact table.
Generated by %DeepSee.Generator:%CreateFactTable.
classmethod %DeleteFact(pID As %String, Output pFactId As %Integer, Output pErrorMsg As %String) as %Status
Perform the work of deleting one fact in the cube.
Generated by %DeepSee.Generator:%CreateFactTable.
DO NOT CALL THIS METHOD DIRECTLY
classmethod %InjectFact(ByRef pFactId As %Integer, ByRef pValues As %String, Output pChunks As %Integer, pDimensionsOnly As %Boolean = 0) as %Status
Perform the work of injecting one fact into the cube without associated source data.
Generated by %DeepSee.Generator:%CreateFactTable.
DO NOT CALL THIS METHOD DIRECTLY
classmethod %OnEndBatch(pCubeName As %String, pVerbose As %Boolean = 0) as %Status
Notification that a batch of facts have just been processed.
Generated by %DeepSee.Generator:%CreateFactTable.
DO NOT CALL THIS METHOD DIRECTLY
classmethod %OnKillFacts() as %Status
Notification that this cube is being killed.
Generated by %DeepSee.Generator:%CreateFactTable.
DO NOT CALL THIS METHOD DIRECTLY
classmethod %OnStartBatch(pCubeName As %String, pVerbose As %Boolean = 0) as %Status
Notification that a batch of facts are about to be processed.
Generated by %DeepSee.Generator:%CreateFactTable.
DO NOT CALL THIS METHOD DIRECTLY
classmethod %PrecomputeAggregates(pStartChunk As %Integer, pEndChunk As %Integer, pAggGLVN As %String, pVerbose As %Boolean = 0, pTaskGroup As %String = "", ByRef pCount As %Integer = 0) as %Status
Pre-compute certain aggregates.
Generated by %DeepSee.Generator:%CreateFactTable.
DO NOT CALL THIS METHOD DIRECTLY
classmethod %ProcessFact(pID As %String, pBatchMode As %Boolean = 0, ByRef %var As %String, ByRef pFactId As %Integer, Output pErrorMsg As %String, ByRef pDimTables, pDimensionsOnly As %Boolean = 0) as %Status
Perform the work of updating one fact in the cube.
Generated by %DeepSee.Generator:%CreateFactTable.
DO NOT CALL THIS METHOD DIRECTLY
classmethod %UpdateFacts(pStartId As %String, pEndId As %String, pBatchMode As %Boolean = 0, ByRef pChunks As %Integer, pVerbose As %Boolean = 0, pTaskGroup As %String = "", Output pUpdates As %Integer, pRefProp As %String = "", pRefID As %String = "", ByRef pDimTables) as %Status
Update a range of Facts with data from the source table row with ids from pStartId to pEndId.
Generated by %DeepSee.Generator:%CreateFactTable.
DO NOT CALL THIS METHOD DIRECTLY

Indexes

index ($Fact on ) [Extent, Type = bitmap];
index (DxBirthDateFxDayMonthYear on DxBirthDateFxDayMonthYear) [Type = bitmap];
Index for fact 6.
Index methods: DxBirthDateFxDayMonthYearCompute(), DxBirthDateFxDayMonthYearDisplayToLogical(), DxBirthDateFxDayMonthYearGet(), DxBirthDateFxDayMonthYearIsValid(), DxBirthDateFxDayMonthYearLogicalToDisplay(), DxBirthDateFxDayMonthYearLogicalToOdbc(), DxBirthDateFxDayMonthYearNormalize(), DxBirthDateFxDayMonthYearSQLCompute()
index (DxBirthDateFxDecade on DxBirthDateFxDecade) [Type = bitmap];
Index for fact 2.
Index methods: DxBirthDateFxDecadeCompute(), DxBirthDateFxDecadeDisplayToLogical(), DxBirthDateFxDecadeGet(), DxBirthDateFxDecadeIsValid(), DxBirthDateFxDecadeLogicalToDisplay(), DxBirthDateFxDecadeLogicalToOdbc(), DxBirthDateFxDecadeNormalize(), DxBirthDateFxDecadeSQLCompute()
index (DxBirthDateFxMonthYear on DxBirthDateFxMonthYear) [Type = bitmap];
Index for fact 5.
Index methods: DxBirthDateFxMonthYearCompute(), DxBirthDateFxMonthYearDisplayToLogical(), DxBirthDateFxMonthYearGet(), DxBirthDateFxMonthYearIsValid(), DxBirthDateFxMonthYearLogicalToDisplay(), DxBirthDateFxMonthYearLogicalToOdbc(), DxBirthDateFxMonthYearNormalize(), DxBirthDateFxMonthYearSQLCompute()
index (DxBirthDateFxQuarterYear on DxBirthDateFxQuarterYear) [Type = bitmap];
Index for fact 4.
Index methods: DxBirthDateFxQuarterYearCompute(), DxBirthDateFxQuarterYearDisplayToLogical(), DxBirthDateFxQuarterYearGet(), DxBirthDateFxQuarterYearIsValid(), DxBirthDateFxQuarterYearLogicalToDisplay(), DxBirthDateFxQuarterYearLogicalToOdbc(), DxBirthDateFxQuarterYearNormalize(), DxBirthDateFxQuarterYearSQLCompute()
index (DxBirthDateFxYear on DxBirthDateFxYear) [Type = bitmap];
Index for fact 3.
Index methods: DxBirthDateFxYearCompute(), DxBirthDateFxYearDisplayToLogical(), DxBirthDateFxYearGet(), DxBirthDateFxYearIsValid(), DxBirthDateFxYearLogicalToDisplay(), DxBirthDateFxYearLogicalToOdbc(), DxBirthDateFxYearNormalize(), DxBirthDateFxYearSQLCompute()
index (DxDoc on DxDoc) [Type = bitmap];
Index for fact 8.
Index methods: DxDocGet(), DxDocGetObject(), DxDocGetObjectId(), DxDocGetStored(), DxDocGetSwizzled(), DxDocGroupGet(), DxDocGroupGetObject(), DxDocGroupGetObjectId(), DxDocGroupGetStored(), DxDocGroupGetSwizzled(), DxDocGroupIsValid(), DxDocGroupNewObject(), DxDocGroupSet(), DxDocGroupSetObject(), DxDocGroupSetObjectId(), DxDocGroupUnSwizzle(), DxDocIsValid(), DxDocNewObject(), DxDocSet(), DxDocSetObject(), DxDocSetObjectId(), DxDocTypeGet(), DxDocTypeGetObject(), DxDocTypeGetObjectId(), DxDocTypeGetStored(), DxDocTypeGetSwizzled(), DxDocTypeIsValid(), DxDocTypeNewObject(), DxDocTypeSet(), DxDocTypeSetObject(), DxDocTypeSetObjectId(), DxDocTypeUnSwizzle(), DxDocUnSwizzle()
index (DxDocGroup on DxDocGroup) [Type = bitmap];
Index for fact 7.
Index methods: DxDocGroupGet(), DxDocGroupGetObject(), DxDocGroupGetObjectId(), DxDocGroupGetStored(), DxDocGroupGetSwizzled(), DxDocGroupIsValid(), DxDocGroupNewObject(), DxDocGroupSet(), DxDocGroupSetObject(), DxDocGroupSetObjectId(), DxDocGroupUnSwizzle()
index (DxDocType on DxDocType) [Type = bitmap];
Index for fact 9.
Index methods: DxDocTypeGet(), DxDocTypeGetObject(), DxDocTypeGetObjectId(), DxDocTypeGetStored(), DxDocTypeGetSwizzled(), DxDocTypeIsValid(), DxDocTypeNewObject(), DxDocTypeSet(), DxDocTypeSetObject(), DxDocTypeSetObjectId(), DxDocTypeUnSwizzle()
index (DxHomeCity on DxHomeCity) [Type = bitmap];
Index for fact 11.
Index methods: DxHomeCityGet(), DxHomeCityGetObject(), DxHomeCityGetObjectId(), DxHomeCityGetStored(), DxHomeCityGetSwizzled(), DxHomeCityIsValid(), DxHomeCityNewObject(), DxHomeCitySet(), DxHomeCitySetObject(), DxHomeCitySetObjectId(), DxHomeCityUnSwizzle()
index (DxHomeZIP on DxHomeZIP) [Type = bitmap];
Index for fact 10.
Index methods: DxHomeZIPGet(), DxHomeZIPGetObject(), DxHomeZIPGetObjectId(), DxHomeZIPGetStored(), DxHomeZIPGetSwizzled(), DxHomeZIPIsValid(), DxHomeZIPNewObject(), DxHomeZIPSet(), DxHomeZIPSetObject(), DxHomeZIPSetObjectId(), DxHomeZIPUnSwizzle()
index (IDKEY on ) [IdKey, Type = key];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()
index (Mx949945609I on Mx949945609I) [Type = bitslice];
Index for measure M1.
Index methods: Mx949945609IDisplayToLogical(), Mx949945609IExists(), Mx949945609IGet(), Mx949945609IGetStored(), Mx949945609IIsValid(), Mx949945609ILogicalToDisplay(), Mx949945609INormalize(), Mx949945609ISet()
index (MxTestScore on MxTestScore) [Type = bitslice];
Index for measure M2.
Index methods: MxTestScoreDisplayToLogical(), MxTestScoreExists(), MxTestScoreGet(), MxTestScoreGetStored(), MxTestScoreIsValid(), MxTestScoreLogicalToDisplay(), MxTestScoreNormalize(), MxTestScoreSet()

Inherited Members

Inherited Methods

Storage

Gray indicates storage defined by superclasses.

Storage Model: CacheStorage (DeepSee.Model.CompoundCube.Patients.Fact)

^DeepSee.Fact("DEEPSEE.MODEL.COMPOUNDCUBE.PATIENTS.FACT")(ID)
=
%sourceId
DxBirthDate
DxDocGroup
DxDoc
DxDocType
DxHomeZIP
DxHomeCity
Mx949945609I
MxTestScore
FeedbackOpens in a new tab