|
Column Name |
Column Datatype |
Column Null Option |
Column Comment |
|
| TBMainLocationOid | INT | NOT NULL | This is the primary key. |
| TBVisitOid | INT | NOT NULL | This is a foreign key to HTBVisit. |
| TBVisitStatus | SMALLINT | NOT NULL | This is a foreign key to HTBVisit, it indicates the status of this visit. Allowable values: 0 - active, 1 - ended. |
| LocationOid | INT | NOT NULL | This indicates which location is assigned to the patient visit. |
| BedOid | INT | NULL | This indicates which bed is assigned to the patient. |
| BedName | VARCHAR(75) | NOT NULL | This indicates which bed name is assigned to the patient. |
| TBMainLocationIsDeleted | SMALLINT | NOT NULL | This indicates if the entry was deleted. Allowable Values: 0 - No, 1 - Yes. |
| TBMainLocationStartDTimeMins | SMALLDATETIME | NOT NULL | This indicates when the assignment started. |
| TBMainLocationEndDTimeMins | SMALLDATETIME | NULL | This indicates when the assignment ended. |
| TBMainLocationStartedByOid | INT | NOT NULL | This is the user who started the assignment. |
| TBMainLocationEndedByOid | INT | NULL | This is the user who ended the assignment. |
| TBMainLocationStartedBy | VARCHAR(100) | NOT NULL | This is the Login ID of the user who started the assignment. |
| TBMainLocationEndedBy | VARCHAR(100) | NULL | This is the login ID of the user who ended the assignment. |
| TBMainLocationIsEnded | SMALLINT | NOT NULL | This indicates if the assignment ended. Allowable Values: 0 - No, 1 - Yes. |
| TBMainLocationIsReserved | SMALLINT | NOT NULL | This indicates if this location is reserved. Allowable Values: 0 - No, 1 - Yes. |
| TBMainLocationIsUpdated | SMALLINT | NOT NULL | This indicates if the entry has been changed historically. Allowable Values: 0 - No, 1 - Yes. |
| LastCngDtime | DATETIME | NOT NULL | This indicates the current Universal Time Coordinate or Greenwich Mean Time. |