DeepSee.Study.Diagnosis
persistent class DeepSee.Study.Diagnosis extends %Library.Persistent
SQL Table Name: DeepSee_Study.Diagnosis
This class is part of the DeepSee Patients sample, whose purpose is to provide sample data for use with DeepSee. This class contains the diagnosis code lookup table, with a small set of possible diagnoses. It also defines the incidence rates for these diagnoses, by age and gender.You can extend or modify the data contained here by editing the XData block in this class.
Use the GetPercentChance() method to retrieve the chance of having a specific diagnosis, given an age and gender.
Property Inventory
Method Inventory
Properties
property Code as %String;
Unique code for the diagnosis;
Property methods: CodeDisplayToLogical(), CodeGet(), CodeGetStored(), CodeIsValid(), CodeLogicalToDisplay(), CodeLogicalToOdbc(), CodeNormalize(), CodeSet()
property Description as %String;
Unique description (user-visible name) for the diagnosis
Property methods: DescriptionDisplayToLogical(), DescriptionGet(), DescriptionGetStored(), DescriptionIsValid(), DescriptionLogicalToDisplay(), DescriptionLogicalToOdbc(), DescriptionNormalize(), DescriptionSet()
Methods
For use when generating data; called by Setup method.
Can also use this at the command line for testing purposes.
classmethod Setup() as %Status
This method reads the XData block in this class and uses it to populate the table.
This method is called by DeepSee.Populate:GenerateData().
It also writes related data to a global for use when creating patients.
The diagnosis incidence rates are deliberately NOT put into a table where
DeepSee can access them. The idea of the sample is to simulate real-life
patterns.
Indexes
index (IDKEY on ) [IdKey, Type = key];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()
Inherited Members
Inherited Methods
- %AddToSaveSet()
- %AddToSyncSet()
- %BMEBuilt()
- %CheckConstraints()
- %CheckConstraintsForExtent()
- %ClassIsLatestVersion()
- %ClassName()
- %ComposeOid()
- %ConstructClone()
- %Delete()
- %DeleteExtent()
- %DeleteId()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Exists()
- %ExistsId()
- %Extends()
- %GUID()
- %GUIDSet()
- %GetLock()
- %GetParameter()
- %GetSwizzleObject()
- %Id()
- %InsertBatch()
- %IsA()
- %IsModified()
- %IsNull()
- %KillExtent()
- %KillExtentData()
- %LoadFromMemory()
- %LockExtent()
- %LockId()
- %New()
- %NormalizeObject()
- %ObjectIsNull()
- %ObjectModified()
- %Oid()
- %OnBeforeAddToSync()
- %OnDetermineClass()
- %Open()
- %OpenId()
- %OriginalNamespace()
- %PackageName()
- %PhysicalAddress()
- %PurgeIndices()
- %Reload()
- %RemoveFromSaveSet()
- %ResolveConcurrencyConflict()
- %RollBack()
- %Save()
- %SaveDirect()
- %SaveIndices()
- %SerializeObject()
- %SetModified()
- %SortBegin()
- %SortEnd()
- %SyncObjectIn()
- %SyncTransport()
- %UnlockExtent()
- %UnlockId()
- %ValidateIndices()
- %ValidateObject()
Storage
Storage Model: CacheStorage (DeepSee.Study.Diagnosis)
^DeepSee.Study.DiagnosisD(ID) | = | %%CLASSNAME
Code
Description
|