Table Detail Report

SCH_JOB



Column Section Top of Page


Table-level Detail

Description: Scheduling Job
Definition: The activity table for pending scheduling ops jobs.
Table Type: ACTIVITY





Column Detail - SCH_JOB


Column Name Type Null? Definition
ACTIVE_IND NUMBER N The table row is active or inactive. A row is generally active unless it is in an inactive state such as logically deleted, combined away, pending purge, etc.
ACTIVE_STATUS_CD NUMBER N Indicates the status of the row itself (not the data in the row) such as active, inactive, combined away, pending purge, etc.
ACTIVE_STATUS_DT_TM DATE N The date and time that the active_status_cd was set.
ACTIVE_STATUS_PRSNL_ID NUMBER N The person who caused the active_status_cd to be set or change.
ATTEMPT_CNT NUMBER N The number of times the system has attempted to complete a job.
BEG_EFFECTIVE_DT_TM DATE N The date and time for which this table row becomes effective. Normally, this will be the date and time the row is added, but could be a past or future date and time.
COMPLETE_DT_TM DATE Y The date and time the job was completed.
DISPLAY VC2(255) Y The string that gets displayed in the report title.
END_EFFECTIVE_DT_TM DATE N The date/time after which the row is no longer valid as active current data. This may be valued with the date that the row became inactive.
JOB_CLASS VC2(255) Y The class of the requested job. A job class is just a string (EBS, PCT, etc.) that groups jobs of a similar nature. When you run the ops jobs, you'd run all jobs of a certain class.
JOB_KEY VC2(255) Y A unique identifier for each job. It's a string that is constructed from various bits of the job fields (parent_entity_id + date + key_entity_name)
JOB_STATE_CD NUMBER N The current state of the job request. For example, Completed, Requested, etc.
JOB_STATUS_CD NUMBER N The current status of the job request. For example, Archive Perform, etc.
JOB_TYPE_CD NUMBER N The type of job being requested. For example, Print job, Slot Stat job, etc.
KEY_ENTITY_ID NUMBER N Unique identifier of the row in the table defined by Key Entity Name.
KEY_ENTITY_NAME VC2(32) N The name of the table that contributes to the job_key field.
LAST_DT_TM DATE Y The date and time of the last attempted execution.
LOCK_DT_TM DATE Y The date and time a lock was established on the job request. A lock prevents two processes from trying to execute the job at the same time.
PARENT_ENTITY_ID NUMBER N Unique identifier of the row in the table defined by Parent Entity Name.
PARENT_ENTITY_NAME VC2(32) N Identifies a table where additional information about this row could be found
REQUEST_DT_TM DATE N The date and time the job was requested.
SCH_CONVERSATION_ID NUMBER N The unique identifier of the conversation that produced the job request.
SCH_JOB_ID NUMBER N The primary unique identifier of this table.
UPDT_APPLCTX NUMBER N The application context number from the record info block. The UPDT family of columns are typically used for housekeeping and external system process and should never be depended on for solution specific logic.
UPDT_CNT NUMBER N Set to 0 on insert. Incremented by 1 on update. Used to recognize update conflict where data in a row updated by one application is at risk of being lost by a second application attempting to update the row. The UPDT family of columns are typically used for housekeeping and external system process and should never be depended on for solution specific logic.
UPDT_DT_TM DATE N The date and time the row was last inserted or updated. The UPDT family of columns are typically used for housekeeping and external system process and should never be depended on for solution specific logic.
UPDT_ID NUMBER N The person_id of the person from the personnel table (prsnl) that caused the last insert or update of the row in the table. The UPDT family of columns are typically used for housekeeping and external system process and should never be depended on for solution specific logic.
UPDT_TASK NUMBER N The registered (assigned) task number for the process that inserted or updated the row. The UPDT family of columns are typically used for housekeeping and external system process and should never be depended on for solution specific logic.


SCH_LOCATION



Column Section Relationship Section Top of Page


Table-level Detail

Description: Schedule Location
Definition: Defined the location associated with a scheduled appointment
Table Type: ACTIVITY





Column Detail - SCH_LOCATION


Column Name Type Null? Definition
ACTIVE_IND NUMBER Y The table row is active or inactive. A row is generally active unless it is in an inactive state such as logically deleted, combined away, pending purge, etc.
ACTIVE_STATUS_CD NUMBER N Indicates the status of the row itself (not the data in the row) such as active, inactive, combined away, pending purge, etc.
ACTIVE_STATUS_DT_TM DATE Y The date and time that the active_status_cd was set.
ACTIVE_STATUS_PRSNL_ID NUMBER N The person who caused the active_status_cd to be set or change.
BEG_EFFECTIVE_DT_TM DATE Y The date and time for which this table row becomes effective. Normally, this will be the date and time the row is added, but could be a past or future date and time.
CANDIDATE_ID NUMBER N A sequence-generated number to uniquely identify the specific row in the database.
END_EFFECTIVE_DT_TM DATE Y The date/time after which the row is no longer valid as active current data. This may be valued with the date that the row became inactive.
LOCATION_CD NUMBER N The field identifies the current permanent location of the patient.
LOCATION_FREETEXT VC2(255) N The free text description corresponding to the location.
LOCATION_TYPE_CD NUMBER N Defines the locations meaning to scheduling.
LOCATION_TYPE_MEANING VC2(12) Y A 12-char description of the location association type.
NULL_DT_TM DATE N contains 31-DEC-2100 00:00:00.00. This field is used to maintain foreign keys to tables that contain a VERSION_DT_TM in the primary key.
SCHEDULE_ID NUMBER N The unique identifier for the event schedule. The schedules are used to track rescheduling of an event.
SCH_CLINIC_ID NUMBER N Clinic Id assoiciated to the location and schedule.
UPDT_APPLCTX NUMBER N The application context number from the record info block.
UPDT_CNT NUMBER N Set to 0 on insert. Incremented by 1 on update. Used to recognize update conflict where data in a row updated by one application is at risk of being lost by a second application attempting to update the row.
UPDT_DT_TM DATE N The date and time the row was last inserted or updated.
UPDT_ID NUMBER N The person_id of the person from the personnel table (prsnl) that caused the last insert or update of the row in the table.
UPDT_TASK NUMBER N The registered (assigned) task number for the process that inserted or updated the row.
VERSION_DT_TM DATE N The version date and time marks the date the record became historical.



Relationship Detail - SCH_LOCATION


Child Column in SCH_LOCATION(FK) Parent Table Name Parent Column Name
Parents: LOCATION_TYPE_CD CODE_VALUE CODE_VALUE
LOCATION_CD LOCATION LOCATION_CD
SCH_CLINIC_ID SCH_CLINIC SCH_CLINIC_ID
SCHEDULE_ID SCH_SCHEDULE SCHEDULE_ID


SCH_LOCK



Column Section Relationship Section Top of Page


Table-level Detail

Description: Scheduling Lock
Definition: Contains information about Scheduling locks.
Table Type: ACTIVITY





Column Detail - SCH_LOCK


Column Name Type Null? Definition
ACTION_MEANING VC2(12) Y A 12-char description corresponding to the Scheduling Action Code.
ACTIVE_IND NUMBER Y The table row is active or inactive. A row is generally active unless it is in an inactive state such as logically deleted, combined away, pending purge, etc.
ACTIVE_STATUS_CD NUMBER N Indicates the status of the row itself (not the data in the row) such as active, inactive, combined away, pending purge, etc.
ACTIVE_STATUS_DT_TM DATE Y The date and time that the active_status_cd was set.
ACTIVE_STATUS_PRSNL_ID NUMBER N The person who caused the active_status_cd to be set or change.
BEG_EFFECTIVE_DT_TM DATE Y The date and time for which this table row becomes effective. Normally, this will be the date and time the row is added, but could be a past or future date and time.
CANDIDATE_ID NUMBER N A sequence-generated number to uniquely identify the specific row in the database.
END_EFFECTIVE_DT_TM DATE Y The date/time after which the row is no longer valid as active current data. This may be valued with the date that the row became inactive.
FORCE_IND NUMBER Y Determines if the user force the locking of the resource's availability.
GRANTED_DT_TM DATE Y Date and Time the availability lock as granted.
GRANTED_PRSNL_ID NUMBER N The PERSON_ID of the person from the personnel table (PRSNL) to whom the availability lock was granted.
NULL_DT_TM DATE N contains 31-DEC-2100 00:00:00.00. This field is used to maintain foreign keys to tables that contain a VERSION_DT_TM in the primary key.
PARENT_ID NUMBER N The unique identifier of the parent object.
PARENT_TABLE VC2(32) Y The parent table corresponding to the PARENT_ID
RELEASE_DT_TM DATE Y The date and time the row should automatically release.
RELEASE_PRSNL_ID NUMBER N The PERSON_ID of the person from the personnel table (PRSNL) that released the availability lock.
SCH_ACTION_CD NUMBER N A coded identifier for the scheduling action.
SCH_LOCK_ID NUMBER N The unique identifier for the scheduling lock.
STATUS_FLAG NUMBER Y A coded field used to denote the current status.
STATUS_MEANING VC2(12) Y A 12-character description corresponding to the STATUS_FLAG.
UPDT_APPLCTX NUMBER N The application context number from the record info block. The UPDT family of columns are typically used for housekeeping and external system process and should never be depended on for solution specific logic.
UPDT_CNT NUMBER N Set to 0 on insert. Incremented by 1 on update. Used to recognize update conflict where data in a row updated by one application is at risk of being lost by a second application attempting to update the row. The UPDT family of columns are typically used for housekeeping and external system process and should never be depended on for solution specific logic.
UPDT_DT_TM DATE N The date and time the row was last inserted or updated. The UPDT family of columns are typically used for housekeeping and external system process and should never be depended on for solution specific logic.
UPDT_ID NUMBER N The person_id of the person from the personnel table (prsnl) that caused the last insert or update of the row in the table. The UPDT family of columns are typically used for housekeeping and external system process and should never be depended on for solution specific logic.
UPDT_TASK NUMBER N The registered (assigned) task number for the process that inserted or updated the row. The UPDT family of columns are typically used for housekeeping and external system process and should never be depended on for solution specific logic.
VERIFY_DT_TM DATE Y The date and time the record was verified.
VERSION_DT_TM DATE N The version date and time marks the date the record became historical.
WRITTEN_DT_TM DATE Y The date and time the corresponding record was written.



Relationship Detail - SCH_LOCK


Child Column in SCH_LOCK(FK) Parent Table Name Parent Column Name
Parents: SCH_ACTION_CD CODE_VALUE CODE_VALUE
GRANTED_PRSNL_ID PRSNL PERSON_ID
RELEASE_PRSNL_ID PRSNL PERSON_ID


SCH_LOC_BOOKING



Column Section Relationship Section Top of Page


Table-level Detail

Description: Schedule Location Booking
Definition: Table that contains location bookings for a person and encounter.
Table Type: ACTIVITY





Column Detail - SCH_LOC_BOOKING


Column Name Type Null? Definition
BED_CD NUMBER N The bed that is being booked into.
BEG_DT_TM DATE N Begin Date/Time of Location Booking
BUILDING_CD NUMBER N The building that is being booked into.
ENCNTR_ID NUMBER N The patient encounter that is being booked to the location.
END_DT_TM DATE N End Date/Time of Location Booking
FACILITY_CD NUMBER N The facility that is being booked into.
FORCE_IND NUMBER Y Force the Location Booking even if the existing number of bookings exceeds the quota.
FORCE_NBR_BOOKING NUMBER N The number of bookings at the location at the time this location booking was forced.
FORCE_QUOTA NUMBER N The quota at the location at the time this location booking was forced.
GRANTED_DT_TM DATE N The date and time that the location booking was created.
GRANTED_PRSNL_ID NUMBER N The person id of the user who created the location booking.
NURSE_UNIT_CD NUMBER N The nurse unit that is being booked into.
PERSON_ID NUMBER N The patient who is being booked to the location.
ROOM_CD NUMBER N The room that is being booked into.
SCH_LOC_BOOKING_ID NUMBER N Unique identifier for a row on the sch_loc_booking table.
STATUS_FLAG NUMBER Y The current status of the location booking.1=IN-PROGRESS, 2=VERIFIED,3=WRITTEN,4=RELEASED
UPDT_APPLCTX NUMBER N The application context number from the record info block.
UPDT_CNT NUMBER N Set to 0 on insert. Incremented by 1 on update. Used to recognize update conflict where data in a row updated by one application is at risk of being lost by a second application attempting to update the row.
UPDT_DT_TM DATE N The date and time the row was last inserted or updated.
UPDT_ID NUMBER N The person_id of the person from the personnel table (prsnl) that caused the last insert or update of the row in the table.
UPDT_TASK NUMBER N The registered (assigned) task number for the process that inserted or updated the row.
WRITTEN_DT_TM DATE Y The date and time the corresponding record was written.



Relationship Detail - SCH_LOC_BOOKING


Child Column in SCH_LOC_BOOKING(FK) Parent Table Name Parent Column Name
Parents: ENCNTR_ID ENCOUNTER ENCNTR_ID
BED_CD LOCATION LOCATION_CD
BUILDING_CD LOCATION LOCATION_CD
FACILITY_CD LOCATION LOCATION_CD
NURSE_UNIT_CD LOCATION LOCATION_CD
ROOM_CD LOCATION LOCATION_CD
PERSON_ID PERSON PERSON_ID


SCH_LOC_QUOTA



Column Section Relationship Section Top of Page


Table-level Detail

Description: Scheduling Location Quota
Definition: This table is used for defining quota for a location.
Table Type: ACTIVITY





Column Detail - SCH_LOC_QUOTA


Column Name Type Null? Definition
BEG_EFFECTIVE_DT_TM DATE N The date and time for which this table row becomes effective. Normally, this will be the date and time the row is added, but could be a past or future date and time.
END_EFFECTIVE_DT_TM DATE N The date/time after which the row is no longer valid as active current data. This may be valued with the date that the row became inactive.
LOCATION_CD NUMBER N The location the quota is for.
SCH_LOC_QUOTA NUMBER N The quota for the location.
SCH_LOC_QUOTA_ID NUMBER N The unique primary key of this table.
SCH_LOC_QUOTA_OVERBOOK_QTY NUMBER N The number above sch_loc_quota that can be overbooked.
UPDT_APPLCTX NUMBER N The application context number from the record info block.
UPDT_CNT NUMBER N Set to 0 on insert. Incremented by 1 on update. Used to recognize update conflict where data in a row updated by one application is at risk of being lost by a second application attempting to update the row.
UPDT_DT_TM DATE N The date and time the row was last inserted or updated.
UPDT_ID NUMBER N The person_id of the person from the personnel table (prsnl) that caused the last insert or update of the row in the table.
UPDT_TASK NUMBER N The registered (assigned) task number for the process that inserted or updated the row.



Relationship Detail - SCH_LOC_QUOTA


Child Column in SCH_LOC_QUOTA(FK) Parent Table Name Parent Column Name
Parents: LOCATION_CD LOCATION LOCATION_CD