DeepSee.Study.Doctor
persistent class DeepSee.Study.Doctor extends %Library.Persistent
SQL Table Name: DeepSee_Study.Doctor
This class is part of the DeepSee Patients sample, whose purpose is to provide sample data for use with DeepSee.This class contains the doctors.
Property Inventory
Method Inventory
- ChangeSomeDoctors()
- GenerateData()
- GetDoctorId()
- GetRandomOBGYN()
- GetRandomOtherDoctor()
- GetRandomPediatrician()
Properties
property DoctorGroup as %String;
Group into which this "study" places this doctor
Property methods: DoctorGroupDisplayToLogical(), DoctorGroupGet(), DoctorGroupGetStored(), DoctorGroupIsValid(), DoctorGroupLogicalToDisplay(), DoctorGroupLogicalToOdbc(), DoctorGroupNormalize(), DoctorGroupSet()
property DoctorType as %String;
Primary focus of this doctor's work;
Property methods: DoctorTypeDisplayToLogical(), DoctorTypeGet(), DoctorTypeGetStored(), DoctorTypeIsValid(), DoctorTypeLogicalToDisplay(), DoctorTypeLogicalToOdbc(), DoctorTypeNormalize(), DoctorTypeSet()
property FirstName as %String (MAXLEN = 100);
Property methods: FirstNameDisplayToLogical(), FirstNameGet(), FirstNameGetStored(), FirstNameIsValid(), FirstNameLogicalToDisplay(), FirstNameLogicalToOdbc(), FirstNameNormalize(), FirstNameSet()
property LastName as %String (MAXLEN = 100);
Property methods: LastNameDisplayToLogical(), LastNameGet(), LastNameGetStored(), LastNameIsValid(), LastNameLogicalToDisplay(), LastNameLogicalToOdbc(), LastNameNormalize(), LastNameSet()
property MainCity as DeepSee.Study.City;
City where this doctor primarily works;
Property methods: MainCityGet(), MainCityGetObject(), MainCityGetObjectId(), MainCityGetStored(), MainCityGetSwizzled(), MainCityIsValid(), MainCityNewObject(), MainCitySet(), MainCitySetObject(), MainCitySetObjectId(), MainCityUnSwizzle()
property PatientsPerWeek as %Numeric;
Average number of patients that this doctor sees per week
(included to provide a numeric value in this table)
Property methods: PatientsPerWeekDisplayToLogical(), PatientsPerWeekGet(), PatientsPerWeekGetStored(), PatientsPerWeekIsValid(), PatientsPerWeekLogicalToDisplay(), PatientsPerWeekNormalize(), PatientsPerWeekSet()
Methods
Randomly change doctor group and patients per week for some doctors.
If rebuild is 1, this method updates the DeepSee indices 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).
This method reads the XData block in this class and uses it to populate the table.
This method is called by DeepSee.Populate:GenerateData().
Based on patient age (in years) and gender ("F" or "M"), return the ID of a suitable doctor
classmethod GetRandomOBGYN()
classmethod GetRandomOtherDoctor()
classmethod GetRandomPediatrician() as %Integer
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.Doctor)
^DeepSee.Study.DoctorD(ID) | = | %%CLASSNAME
FirstName
LastName
MainCity
DoctorGroup
DoctorType
PatientsPerWeek
|