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.Study.PatientDetails

persistent class DeepSee.Study.PatientDetails extends %Library.Persistent

SQL Table Name: DeepSee_Study.PatientDetails

This class is part of the DeepSee Patients sample, whose purpose is to provide sample data for use with DeepSee. It represents an additional table of data, perhaps entered by a separate research team, and its only connection to DeepSee.Study.Patient is that both tables have the same PatientID field. Thus to use fields of this table as DeepSee dimensions/levels, it is necessary to use an SQL query in the dimension definition.

This table is populated only if you use the T option when running the GenerateData() method in DeepSee.Populate.

Property Inventory

Method Inventory

Properties

property FavoriteColor as %String;
Property methods: FavoriteColorDisplayToLogical(), FavoriteColorGet(), FavoriteColorGetStored(), FavoriteColorIsValid(), FavoriteColorLogicalToDisplay(), FavoriteColorLogicalToOdbc(), FavoriteColorNormalize(), FavoriteColorSet()
property PatientID as %String;
Property methods: PatientIDDisplayToLogical(), PatientIDGet(), PatientIDGetStored(), PatientIDIsValid(), PatientIDLogicalToDisplay(), PatientIDLogicalToOdbc(), PatientIDNormalize(), PatientIDSet()
property Profession as DeepSee.Study.Profession;
Property methods: ProfessionGet(), ProfessionGetObject(), ProfessionGetObjectId(), ProfessionGetStored(), ProfessionGetSwizzled(), ProfessionIsValid(), ProfessionNewObject(), ProfessionSet(), ProfessionSetObject(), ProfessionSetObjectId(), ProfessionUnSwizzle()

Methods

classmethod ChangePatientDetails(percent As %Numeric = 10, rebuild As %Boolean = 1)
Iterate through patient extent and change color for some percentage of patients. If rebuild is 1, this method updates the DeepSee indices (I and II) for each patient affected by these changes. For DeepSee I, use this option only if you have enabled incremental updates (otherwise, you needlessly slow down the method).
classmethod CreatePatientDetails(PatientID As %String, age As %Numeric = 35, genNulls As %Boolean) as %Status
Called by DeepSee.Study.Patient:AddPatients().
classmethod DeletePatientDetails(PatientID As %String) as %Status
Clear out patient details

Indexes

index (IDKEY on ) [IdKey, Type = key];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()
index (PatientIDIndex on PatientID) [Unique];
This index is meant to improve performance when the DeepSee indices are built. The DeepSee data model for DeepSee.Study.Patient uses an SQL query that refers to PatientID.
Index methods: PatientIDIndexCheck(), PatientIDIndexCheckUnique(), PatientIDIndexDelete(), PatientIDIndexExists(), PatientIDIndexOpen(), PatientIDIndexSQLCheckUnique(), PatientIDIndexSQLExists(), PatientIDIndexSQLFindPKeyByConstraint(), PatientIDIndexSQLFindRowIDByConstraint()

Inherited Members

Inherited Methods

Storage

Storage Model: CacheStorage (DeepSee.Study.PatientDetails)

^DeepSee.Study.PatientDetailsD(ID)
=
%%CLASSNAME
PatientID
Profession
FavoriteColor
FeedbackOpens in a new tab