DeepSee.Model.PatientsCube
class DeepSee.Model.PatientsCube extends %DeepSee.CubeDefinition
This class contains a cube based on DeepSee.Study.Patients.This class also contains utility methods used by this cube.
Method Inventory
- GetAgeBucket()
- GetAgeGroup()
- GetAllergies()
- GetAllergyCount()
- GetAllergySeverities()
- GetAllergySeverities2()
- GetDiagnoses()
- GetDocName()
- GetEncounterCount()
- GetFavoriteColor()
- GetIndustry()
- GetLastDoctor()
- GetProfession()
- GetSeveritySort()
Parameters
parameter DOMAIN = PATIENTSAMPLE;
Methods
Given a number, returns one of the strings "0 to 9", "10 to 19", "20 to 29", etc.
Used by the cube as an alternative to rangeExpression
Given a number, returns one of the strings "0 to 29", "30 to 59",or "60+".
Not used by the cube, but included as an example of a utility method.
Returns a $LIST of the allergies of the patient;
used by the [AllerD].[H1].[Allergies] level."
Returns the number of allergies the patient has or null if there are no recorded allergies;
used by the Allergy Count measure.
Returns a $LIST of the allergy severities of the patient;
used by the [AllerSevD].[H1].[Allergy Severities] level.
Not currently used.
Returns a $LIST of the allergy severities of the patient;
used by the [AllerSevD].[H1].[Allergy Severities] level.
In this version, prepend each severity with the corresponding numeric code (or an invented code), in order to force the members to sort as wanted.
Returns a $LIST of the diagnoses of the patient;
used by the [DiagD].[H1].[Diagnoses] level.
Returns the name of the patient's primary care physician.
Not used by the cube but included as an example of a utility method.
Returns the number of encounters recorded for the patient;
used by the Encounter Count measure.
Returns the favorite color of the patient;
used by the [ColorD].[H1].[Favorite Color] level.
Returns the industry of the patient;
used by the [ProfD].[H1].[Industry] level.
Given a patient, returns the name of the doctor at the patient's last encounter, if any.
Not used by the cube but included as an example of a utility method.
Returns the profession of the patient;
used by the [ProfD].[H1].[Profession] level.
used to control sort order of Allergy Severity level
Inherited Members
Inherited Methods
- %AddToSaveSet()
- %CanDrillThrough()
- %CheckSourceId()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DeleteFact()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetCubeCaption()
- %GetCubeName()
- %GetDefaultListing()
- %GetFactClass()
- %GetFactCount()
- %GetFactIdRange()
- %GetFilterSpec()
- %GetParameter()
- %GetPrecomputeLevel()
- %GetRelationshipId()
- %InjectFact()
- %IsA()
- %IsAbstract()
- %IsCompound()
- %IsModified()
- %KillCache()
- %KillCellCache()
- %KillFacts()
- %KillResultsCache()
- %Lookup()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OnAfterBuildCube()
- %OnAfterProcessFact()
- %OnApplyOverrides()
- %OnBuildCube()
- %OnExecuteListing()
- %OnGetComputedMembers()
- %OnGetDefaultListing()
- %OnGetFilterSpec()
- %OnGetSourceIds()
- %OnKillFacts()
- %OnProcessFact()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %Rule()
- %SerializeObject()
- %SetModified()
- %UpdateFacts()
- %ValidateObject()