Column Name |
Column Datatype |
Column Null Option |
Column Comment |
|
|
ObjectID | int | NOT NULL | The object ID for the granularity record |
InstanceHFCID | smallint | NOT NULL | The HFC(Healthcare Foundation Class) ID of the object(3101). Note: The value specified in the ObjectID field and in this field enables unique indentification of an object across the application |
RecordId | int | NULL | The record ID. Modules in the application can use this field to group all objects having something in common and then assign the same RecordId to all the objects. For example, all related information for a patient, such as patient address, patient visits, patient name, etc., can be assigned the same RecordId. The modules can then query on this RecordId to retrieve the related information for that patient. |
Description | varchar(64) | NULL | User-defined information provided by the modules in the application. Note: The length of this field varies with tables. Not used. |
IsVersioned | bit | NOT NULL | Indicates whether the record was modified through persistent layer after it's initial creation. Once this field is set to True, you cannot reset it to False. If this field is set to True in a table, another table with the name HGranularity_Ver is created. Allowable Values: 0 - False, 1 - True |
CreatedUserId | int | NULL | The Object ID of the user who created the object. This field is linked to HSUser table to get details about the user. For more information on HSUser table |
CreationTime | smalldatetime | NULL | The date and time when the object is created |
GranularityUnit | tinyint | NULL | The granularity unit. DDI based on OaR.EnumDuration |
| | | Allowable Values: |
| | | 0 - None |
| | | 1 - Years |
| | | 2 - Months |
| | | 3 - Weeks |
| | | 4 - Days |
| | | 5 - Hours |
| | | 6 - Minutes |
| | | 7 - Seconds |
| | | 8 - MilliSeconds |
GranularityQuantity | int | NULL | The granularity quantity |
HeaderPresentation | varchar(20) | NULL | Format for the header. Example "mm-dd", "yyyy" |
GroupHeaderUnit | tinyint | NULL | The group header unit. DDI based on OaR.EnumDuration |
| | | Allowable Values: |
| | | 0 - None |
| | | 1 - Years |
| | | 2 - Months |
| | | 3 - Weeks |
| | | 4 - Days |
| | | 5 - Hours |
| | | 6 - Minutes |
| | | 7 - Seconds |
| | | 8 - MilliSeconds |
GroupHeaderPresentation | varchar(20) | NULL | Format for the group header. Example "mm-dd", "yyyy" |
Active | bit | NULL | Active flag. Allowable Values: 0 - Inactive, 1 - Active |
StartDateTime | smalldatetime | NULL | The start date time of defined granularity |
|