Table Detail Report

PERSON_VETERAN_HIST



Column Section Relationship Section Top of Page


Table-level Detail

Description: Person Veteran History
Definition: Used for tracking changes to the person veteran table.
Table Type: ACTIVITY





Column Detail - PERSON_VETERAN_HIST


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.
CHANGE_BIT NUMBER N Identifies which columns have had a change.
PERSON_ID NUMBER N This is the value of the unique primary identifier of the person table. It is an internal system assigned number.
PERSON_VETERAN_HIST_ID NUMBER N Unique generated number that identifies a single row on the PERSON_VETERAN_HIST table.
PM_HIST_TRACKING_ID NUMBER N This is the value of the unique primary identifier of the pm_hist_tracking table. It is an internal system assigned number.
SERVICE_RLTD_DISABILITY_CD NUMBER N Defines the status that indicates whether or not the patient has a service related disability.
SERVICE_RLTD_DISABILITY_PCT FLOAT Y Determines the percentage of benefits a veteran receives for their service related disability.
TRACKING_BIT NUMBER N Identifies which columns are being tracked for history.
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.



Relationship Detail - PERSON_VETERAN_HIST


Child Column in PERSON_VETERAN_HIST(FK) Parent Table Name Parent Column Name
Parents: PERSON_ID PERSON PERSON_ID
PM_HIST_TRACKING_ID PM_HIST_TRACKING PM_HIST_TRACKING_ID


PHONE



Column Section Relationship Section Top of Page


Table-level Detail

Description: Phone
Definition: The phone table contains all phone numbers in the system. A row in the phone table is associated with a row in another table (i.e., person, organization, location, etc.).
Table Type: ACTIVITY





Column Detail - PHONE


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 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.
BEG_EFFECTIVE_MM_DD NUMBER Y The numeric representation of the month and day of the month for which this row becomes effective within the current year.
CALL_INSTRUCTION VC2(300) Y This is a text field to be used to indicate any specific protocol or instructions to be followed when calling this phone number
CONTACT VC2(100) Y The primary person or contacted for this phone number.
CONTACT_METHOD_CD NUMBER N The intended method of contact to be used for phone entry.
CONTRIBUTOR_SYSTEM_CD NUMBER N Contributor system identifies the source feed of data from which a row was populated. This is mainly used to determine how to update a set of data that may have originated from more than one source feed.
DATA_STATUS_CD NUMBER N Data status indicates a level of authenticity of the row data. Typically this will either be AUTHENTICATED or UNAUTHENTICATED.
DATA_STATUS_DT_TM DATE Y The date and time that the data_status_cd was set.
DATA_STATUS_PRSNL_ID NUMBER N The person who caused the data_status_cd to be set or change.
DESCRIPTION VC2(100) Y This is a text description for identifying who or where this phone number is associated with.
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.
END_EFFECTIVE_MM_DD NUMBER Y The numeric representation of the month and day of the month for which this row is no longer effective within the current year.
EXTENSION VC2(100) Y This is the local phone extension of a person or place as in a business office environment.
LONG_TEXT_ID NUMBER Y Foreign Key to the LONG_TEXT table to provide phone level comments
MODEM_CAPABILITY_CD NUMBER N Code value for Modem Capability. (future use)
OPERATION_HOURS VC2(255) Y free text entry detailing the days and hours this phone number is valid
PAGING_CODE VC2(100) Y This is the specific pager number to be used after dialing a main or central pager number.
PARENT_ENTITY_ID NUMBER N The value of the primary identifier of the table to which the phone row is related (i.e., person_id, organization_id, etc.)
PARENT_ENTITY_NAME VC2(32) N The upper case name of the table to which this phone row is related (i.e., PERSON, PRSNL, ORGANIZATION, etc.)
PHONE_FORMAT_CD NUMBER N Phone Number Format Code Value (future use)
PHONE_ID NUMBER N Phone ID is the primary unique identification number of the phone table. It is an internal system assigned sequence number.
PHONE_NUM VC2(100) Y This is the actual phone number.
PHONE_NUM_KEY VC2(100) Y Phone_num attribute converted to a string with SPACES and special characters removed.
PHONE_NUM_KEY_A_NLS VC2(400) Y PHONE_NUM_KEY_A_NLS column
PHONE_NUM_KEY_NLS VC2(202) Y Stores the corresponding non-English character set values for attribute Phone_Num_Key
PHONE_TYPE_CD NUMBER N The phone type is the code set value which identifies the type of phone for the phone row (i.e., home, business, fax, etc.)
PHONE_TYPE_SEQ NUMBER N This is the numeric sequence that determines the priority or precedence that one phone row has over another when both phone rows contain the same parent_entity_name, parent_entity_id, and phone_type_cd with the same meaning.
SOURCE_IDENTIFIER VC2(255) Y Identifier assigned from a master system to this row. Added to support he UK's PDS Allocated Object Identifier. Used to help keep the UK master database in sync with Millennium.
TEXTING_PERMISSION_CD NUMBER N Denotes if the owner of the phone has granted permission to be contacted by text message.
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 - PHONE




Parent Column in PHONE (PK) Child Table Name Child Column Name
Children: PHONE_ID CSM_LST_CONTACT PHONE_ID
CSM_REQUESTS PHONE_ID
CSM_REQUESTS SELECTED_PHONE_ID
CSM_REQUESTS_ARCHIVE PHONE_ID
MRU_LOOKUP_FOLLOWUP PHONE_ID
PFT_AP_REFUND PHONE_ID
PHONE_HIST PHONE_ID
PM_TRANSACTION O_PER_BUS_PHONE_ID
PM_TRANSACTION O_PER_HOME_PHONE_ID
REFERRAL_CONTACT PHONE_ID
REQUESTER BILL_TO_FAX_ID
REQUESTER BILL_TO_PHONE_ID
REQUESTER MAIL_TO_FAX_ID
REQUESTER MAIL_TO_PHONE_ID
ROI_REQUEST BILL_TO_FAX_ID
ROI_REQUEST BILL_TO_PHONE_ID
ROI_REQUEST MAIL_TO_FAX_ID
ROI_REQUEST MAIL_TO_PHONE_ID


PHONE_HIST



Column Section Relationship Section Top of Page


Table-level Detail

Description: PHONE HIST
Definition: Tracks modifications to history elements for a given phone table.
Table Type: ACTIVITY





Column Detail - PHONE_HIST


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.
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.
CALL_INSTRUCTION VC2(300) Y This is a text field to be used to indicate any specific protocol or instructions to be followed when calling this phone number
CHANGE_BIT NUMBER N Identifies which columns have had a change.
CONTACT VC2(100) Y The primary person or contacted for this phone number.
CONTACT_METHOD_CD NUMBER N The intended method of contact to be used for phone entry.
CONTRIBUTOR_SYSTEM_CD NUMBER N Contributor system identifies the source feed of data from which a row was populated. This is mainly used to determine how to update a set of data that may have originated from more than one source feed.
DATA_STATUS_CD NUMBER N Data status indicates a level of authenticity of the row data. Typically this will either be AUTHENTICATED or UNAUTHENTICATED.
DATA_STATUS_DT_TM DATE Y The date and time that the data_status_cd was set.
DATA_STATUS_PRSNL_ID NUMBER N The person who caused the data_status_cd to be set or change.
DESCRIPTION VC2(100) Y This is a text description for identifying who or where this phone number is associated with.
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.
EXTENSION VC2(100) Y This is the local phone extension of a person or place as in a business office environment.
OPERATION_HOURS VC2(255) Y Free-text entry detailing the days and hours this phone number is valid
PAGING_CODE VC2(100) Y This is the specific pager number to be used after dialing a main or central pager number.
PARENT_BEG_EFFECTIVE_DT_TM DATE N This is the historical record of column BEG_EFFECTIVE_DT_TM in table PHONE.
PARENT_END_EFFECTIVE_DT_TM DATE N This is the historical record of column END_EFFECTIVE_DT_TM in table PHONE.
PARENT_ENTITY_ID NUMBER N The value of the primary identifier of the table to which the phone row is related (i.e., person_id, organization_id, etc.)
PARENT_ENTITY_NAME VC2(30) Y The upper case name of the table to which this phone row is related (i.e., PERSON, PRSNL, ORGANIZATION, etc.)
PHONE_FORMAT_CD NUMBER N Phone Number Format Code Value (future use)
PHONE_HIST_ID NUMBER N This is the value of the unique primary identifier of the phone_hist table. It is an internal system assigned number.
PHONE_ID NUMBER N Phone ID is the primary unique identification number of the phone table. It is an internal system assigned sequence number.
PHONE_NUM VC2(100) Y This is the actual phone number.
PHONE_NUM_KEY VC2(100) Y The phone_num attribute converted to a string with spaces and special characters removed.
PHONE_TYPE_CD NUMBER N The phone type is the code set value which identifies the type of phone for the phone row (i.e., home, business, fax, etc.)
PHONE_TYPE_SEQ NUMBER N This is the numeric sequence that determines the priority or precedence that one phone row has over another when both phone rows contain the same parent_entity_name, parent_entity_id, and phone_type_cd with the same meaning.
PM_HIST_TRACKING_ID NUMBER N This is the value of the unique primary identifier of the pm_hist_tracking table. It is an internal system assigned number.
SOURCE_IDENTIFIER VC2(255) Y Identifier assigned from a master system to this row. Added to support the uk's pds allocated object identifier. Used to help keep the uk master in sync with millennnium.
TEXTING_PERMISSION_CD NUMBER N Denotes if the owner of the phone has granted permission to be contacted by text message.
TRACKING_BIT NUMBER N Identifies which columns are being tracked for history.
TRANSACTION_DT_TM DATE Y More aptly named activity_dt_tm; holds the current date and time of the system when the row was inserted. This will match the create_dt_tm from the corresponding pm_hist_tracking row.
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.



Relationship Detail - PHONE_HIST


Child Column in PHONE_HIST(FK) Parent Table Name Parent Column Name
Parents: PHONE_ID PHONE PHONE_ID
PM_HIST_TRACKING_ID PM_HIST_TRACKING PM_HIST_TRACKING_ID


PM_BBL_ACTION



Column Section Top of Page


Table-level Detail

Description: Bed borrowing and lending action table.
Definition: This table contains information pertaining to when bed are borrowed from a service for anothers service's use.
Table Type: ACTIVITY





Column Detail - PM_BBL_ACTION


Column Name Type Null? Definition
ACTION_DT_TM DATE N Date and time of action.
ACTION_FLAG NUMBER N Flag used to determine type of action.
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.
BEDS NUMBER N Number of beds in the action.
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.
FROM_SERVICE_CD NUMBER N Service that lent the beds.
PM_BBL_ACTION_ID NUMBER N Unique identifier.
RETURNED_BEDS NUMBER Y Number of returned beds.
TO_SERVICE_CD NUMBER N Service receiving the beds.
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.
USER_ID NUMBER N User who performed the action.


PM_BBL_SERVICE



Column Section Top of Page


Table-level Detail

Description: Bed borrowing and lending service table.
Definition: This table contains information pertaining to bed status for services.
Table Type: ACTIVITY





Column Detail - PM_BBL_SERVICE


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.
BEDS_ALLOWED NUMBER Y Number of beds allowed in the service.
BEDS_BORROWED NUMBER Y Number of beds currently borrowed from another service.
BEDS_LENT NUMBER Y Number of beds currently lent to another service.
BEDS_REMOVED NUMBER Y Number of removed beds from the service.
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.
OPTIONS VC2(100) Y Miscellaneous options (for future use).
SERVICE_CD NUMBER N Medical service category.
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.