| Indexes | Field Name | Data Type | Description |
|---|---|---|---|
| * | id | int AUTOINCREMENT | |
| * | Description | nvarchar( 50 ) | |
| Indexes | |||
| PK_BoundTypes | ON id | ||
| Indexes | Field Name | Data Type | Description |
|---|---|---|---|
| * | id | int AUTOINCREMENT | |
| * | BoundId | int | |
| * | MetricId | int | |
| LowBound | float | ||
| LowDeviation | float | ||
| LowDeviationPeriod | int | ||
| UpperBound | float | ||
| UpperDeviation | float | ||
| UpperDeviationPeriod | int | ||
| * | SubmitDt | datetime DEFAULT getdate() | |
| Indexes | |||
| PK_BoundVals | ON id | ||
| Foreign Keys | |||
| FK_BoundVals_Boundaries | ( BoundId ) ref Boundaries (id) | ||
| Indexes | Field Name | Data Type | Description |
|---|---|---|---|
| * | id | int AUTOINCREMENT | |
| * | ProfId | int | |
| * | PersonId | int | |
| * | TypeId | int | |
| ValidFrom | date | ||
| ValidTo | date | ||
| * | SubmitDt | datetime DEFAULT getdate() | |
| Indexes | |||
| PK_Boundaries | ON id | ||
| Foreign Keys | |||
| FK_Boundaries_BoundTypes | ( TypeId ) ref BoundTypes (id) | ||
| FK_Boundaries_Persons | ( PersonId ) ref Persons (id) | ||
| Indexes | Field Name | Data Type | Description |
|---|---|---|---|
| * | id | int AUTOINCREMENT | |
| * | DeviceId | int | |
| * | MetricId | int | |
| * | Value | float | |
| * | SubmitDt | datetime DEFAULT getdate() | |
| Indexes | |||
| PK_DeviceData | ON id | ||
| Foreign Keys | |||
| FK_DeviceData_Devices | ( DeviceId ) ref Devices (id) | ||
| FK_DeviceData_Metrics | ( MetricId ) ref Metrics (id) | ||
| Indexes | Field Name | Data Type | Description |
|---|---|---|---|
| * | id | int AUTOINCREMENT | |
| * | Description | nvarchar( 50 ) | |
| Photo | nvarchar(max) | ||
| Indexes | |||
| PK_Devices | ON id | ||
| Indexes | Field Name | Data Type | Description |
|---|---|---|---|
| * | id | int AUTOINCREMENT | |
| * | GoalId | int | |
| * | MetricId | int | |
| LowBound | float | ||
| LowDeviation | float | ||
| LowDeviationPeriod | int | ||
| UpperBound | float | ||
| UpperDeviation | float | ||
| UpperDeviationPeriod | int | ||
| * | SubmitDt | datetime DEFAULT getdate() | |
| Indexes | |||
| PK_GoalVals | ON id | ||
| Foreign Keys | |||
| FK_GoalVals_Goals | ( GoalId ) ref Goals (id) | ||
| FK_GoalVals_Metrics | ( MetricId ) ref Metrics (id) | ||
| Indexes | Field Name | Data Type | Description |
|---|---|---|---|
| * | id | int AUTOINCREMENT | |
| * | ProfId | int | |
| * | PersonId | int | |
| ValidFrom | date | ||
| ValidTo | date | ||
| * | SubmitDt | datetime DEFAULT getdate() | |
| Indexes | |||
| PK_Goals | ON id | ||
| Foreign Keys | |||
| FK_Goals_HealthProf | ( ProfId ) ref HealthProf (id) | ||
| FK_Goals_Persons | ( PersonId ) ref Persons (id) | ||
| Indexes | Field Name | Data Type | Description |
|---|---|---|---|
| * | id | int AUTOINCREMENT | |
| * | ProfName | nvarchar( 100 ) | |
| * | SpecialtyId | int | |
| Indexes | |||
| PK_HealthProf | ON id | ||
| Foreign Keys | |||
| FK_HealthProf_Specialties | ( SpecialtyId ) ref Specialties (id) | ||
| Indexes | Field Name | Data Type | Description |
|---|---|---|---|
| * | id | int AUTOINCREMENT | |
| * | Description | nvarchar( 50 ) | |
| * | UoMId | int | |
| Indexes | |||
| PK_Metrics | ON id | ||
| Foreign Keys | |||
| FK_Metrics_UoM | ( UoMId ) ref UoM (id) | ||
| Indexes | Field Name | Data Type | Description |
|---|---|---|---|
| * | id | int AUTOINCREMENT | |
| * | PersonId | int | |
| * | ProfId | int | |
| Indexes | |||
| PK_PersonProfs | ON id | ||
| Foreign Keys | |||
| FK_PersonProfs_HealthProf | ( ProfId ) ref HealthProf (id) | ||
| FK_PersonProfs_Persons | ( PersonId ) ref Persons (id) | ||
| Indexes | Field Name | Data Type | Description |
|---|---|---|---|
| * | id | int AUTOINCREMENT | |
| * | PersonName | nvarchar( 100 ) | |
| GenderId | int | ||
| Age | nchar( 10 ) | ||
| Weight | nchar( 10 ) | ||
| nvarchar( 100 ) | |||
| phone | nvarchar( 50 ) | ||
| Indexes | |||
| PK_Persons | ON id | ||
| Indexes | Field Name | Data Type | Description |
|---|---|---|---|
| * | id | int AUTOINCREMENT | |
| * | Description | nvarchar( 50 ) | |
| Indexes | |||
| PK_Specialties | ON id | ||
| Indexes | Field Name | Data Type | Description |
|---|---|---|---|
| * | id | int AUTOINCREMENT | |
| * | Description | nvarchar( 50 ) | |
| Indexes | |||
| PK_UoM | ON id | ||