User vitals fact table (s3)
Bi_FactUserVitals_s3
Fact table recording guest vital measurements captured during sessions, including field values and clinical context.
Field | Field type | Description | Primary Key | Mapped Dimension table | Mapped Dimension field |
|---|---|---|---|---|---|
FactSegmentId | DECIMAL(19,0) | Business/natural key for the fact segment | |||
UserVitalsPK | BIGINT | Source system primary key of the user vitals record | PK | ||
UserId | VARCHAR(36) | GUID of the user/guest | Bi_DimUser | ||
OrganizationId | VARCHAR(36) | GUID of the organization | Bi_DimCenter | ||
EntityFieldId | INT | Source system integer identifier of the entity field (vital type) | Bi_DimEMREntityField | ||
FieldValue | NVARCHAR(512) | Measured value for the vital sign | |||
FieldValueId | NVARCHAR(255) | Identifier of the selected option value for the field | |||
RelatedType | INT | Code indicating the type of entity this vital is related to; see EMR domain definition | |||
RelatedId | VARCHAR(36) | GUID of the related entity | |||
FormId | VARCHAR(36) | GUID of the form through which the vital was recorded | |||
RelatedTime | TIMESTAMP | Timestamp of the related entity event | |||
CriticalType | SMALLINT | Criticality classification code; see EMR domain definition | |||
SessionDateTime | TIMESTAMP | Date and time of the clinical session when the vital was recorded | |||
CreatedBy | VARCHAR(36) | GUID of the user who created the record | |||
CreatedDate | TIMESTAMP | Timestamp when the record was created | |||
UpdatedBy | VARCHAR(36) | GUID of the user who last updated the record | |||
UpdatedDate | TIMESTAMP | Timestamp when the record was last updated | |||
CenterId | VARCHAR(36) | GUID of the center | Bi_DimCenter | ||
EtlCreatedBy | DECIMAL(19,0) | ID of the ETL process/user that created this record | |||
EtlCreatedDate | TIMESTAMP | Timestamp when the ETL process created this record | |||
Void | BOOLEAN | Indicates whether the record is voided (soft-deleted) | |||
PodName | VARCHAR(20) | Name of the source pod from which the data originated | |||
groupid | BIGINT | Identifier for the data group used in ETL partitioning |