Table Detail Report

PERSON_PRSNL_RELTN_HISTORY



Column Section Relationship Section Top of Page


Table-level Detail

Description: Person Personnel Relation History
Definition: Used to store the transactional history for person personnel relationships.
Table Type: ACTIVITY





Column Detail - PERSON_PRSNL_RELTN_HISTORY


Column Name Type Null? Definition
ACTIVE_IND DOUBLE 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 DOUBLE 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 DATETIME Y The date and time that the active_status_cd was set.
ACTIVE_STATUS_PRSNL_ID DOUBLE N The person who caused the active_status_cd to be set or change.
BEG_EFFECTIVE_DT_TM DATETIME 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.
CHANGE_BIT DOUBLE N Identifies which columns have had a change.
CONTRIBUTOR_SYSTEM_CD DOUBLE 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 DOUBLE N Data status indicates a level of authenticity of the row data. Typically this will either be AUTHENTICATED or UNAUTHENTICATED.
DATA_STATUS_DT_TM DATETIME Y The date and time that the data_status_cd was set.
DATA_STATUS_PRSNL_ID DOUBLE N The person who caused the data_status_cd to be set or change.
END_EFFECTIVE_DT_TM DATETIME 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.
FREE_TEXT_CD DOUBLE N When set to a meaning of 'FTBRIEF', this indicates that the prsnl_person_id is NULL, meaning that there is no reference to the personnel table. This is a 'free text' relationship with the name of this
FT_PRSNL_NAME VARCHAR(100) Y The name of the personnel in the 'free text' relationship indicated by the free_text_ind in the row being set to 'TRUE'.
INTERNAL_SEQ DOUBLE Y Used within Cerner applications, if necessary, to order encounter personnel relation rows.
MANUAL_CREATE_BY_ID DOUBLE N Person Id of the person who manually created the relationship
MANUAL_CREATE_DT_TM DATETIME Y Date and Time relationship was manually created.
MANUAL_CREATE_IND DOUBLE Y Indicator that this relationship was manually created
MANUAL_INACT_BY_ID DOUBLE N Person Id of the person who manually inactivated the relationship
MANUAL_INACT_DT_TM DATETIME Y Date & time that this relationship was manually inactivated
MANUAL_INACT_IND DOUBLE Y Indicator that this relationship was manually inactivated
NOTIFICATION_CD DOUBLE N Personnel preferred method of notification for issues concerning related person.
PERSON_ID DOUBLE N This is the value of the unique primary identifier of the person table. It is an internal system assigned number.
PERSON_PRSNL_RELTN_HISTORY_ID DOUBLE N The primary key of the PERSON_PRSNL_RELTN_HISTORY table.
PERSON_PRSNL_RELTN_ID DOUBLE N This is the value of the unique primary identifier of the person-personnel relationship table. It is an internally assigned number and generally not revealed to the user.
PERSON_PRSNL_R_CD DOUBLE N Person Prsnl Relationship Id
PM_HIST_TRACKING_ID DOUBLE N This is the value of the unique primary identifier of the pm_hist_tracking table. It is an internal system assigned number.
PRIORITY_SEQ DOUBLE Y Identifies a sequencing priority to be used when a duplicate relationship of the same type is created
PRSNL_PERSON_ID DOUBLE N This is the value of the unique primary identifier of the personnel table. This is a 'role' name for the reference to person_id in the personnel table and used to differentiate between other references to person_id in this table.
SOURCE_IDENTIFIER VARCHAR(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.
TRACKING_BIT DOUBLE N Identifies which columns are being tracked for history.
TRANSACTION_DT_TM DATETIME Y ** OBSOLETE **. Use column updt_dt_tm for any filtering/ordering query. If transaction date time is needed, it should be retrieved from pm_hist_tracking table. Note that its date may be in the past, as in before the update date time.
UPDT_APPLCTX DOUBLE 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 DOUBLE 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 DATETIME 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 DOUBLE 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 DOUBLE 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_PRSNL_RELTN_HISTORY


Child Column in PERSON_PRSNL_RELTN_HISTORY(FK) Parent Table Name Parent Column Name
Parents: PERSON_PRSNL_RELTN_ID PERSON_PRSNL_RELTN PERSON_PRSNL_RELTN_ID
PRSNL_PERSON_ID PRSNL PERSON_ID


PERSON_RX_PLAN_COVERAGE



Column Section Relationship Section Top of Page


Table-level Detail

Description: Person Prescription Plan Coverage
Definition: This table contains information pertaining to a specific prescription plan coverage for a person.
Table Type: ACTIVITY





Column Detail - PERSON_RX_PLAN_COVERAGE


Column Name Type Null? Definition
ACTIVE_IND DOUBLE 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 DOUBLE 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 DATETIME N The date and time that the active_status_cd was set.
ACTIVE_STATUS_PRSNL_ID DOUBLE N The person who caused the active_status_cd to be set or change.
BEG_SERVICE_DT_TM DATETIME Y The date the service coverage begins.
COVERAGE_STATUS_CD DOUBLE N Describes the eligibility of the coverage. For example, eligible or not eligible.
END_SERVICE_DT_TM DATETIME Y The date when service coverage ends.
PERSON_RX_PLAN_COVERAGE_ID DOUBLE N The primary identifier of this table.
PERSON_RX_PLAN_RELTN_ID DOUBLE N The ID of the person prescription plan relation that this coverage is related to..
SERVICE_TYPE_CD DOUBLE N The codified service type for the coverage. Populated when the service type for the coverage is defined by the X12 specification and can therefore be codified. No coverage will have both a service_type_cd and a service_type_txt.
SERVICE_TYPE_TXT VARCHAR(255) Y The free text service type for the coverage. Populated when the service type is not defined by the X12 specification and therefore cannot be codified. No coverage will have both a service_type_cd and a service_type_txt.
UPDT_APPLCTX DOUBLE N The application context number from the record info block.
UPDT_CNT DOUBLE 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 DATETIME N The date and time the row was last inserted or updated.
UPDT_ID DOUBLE 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 DOUBLE N The registered (assigned) task number for the process that inserted or updated the row.



Relationship Detail - PERSON_RX_PLAN_COVERAGE


Child Column in PERSON_RX_PLAN_COVERAGE(FK) Parent Table Name Parent Column Name
Parents: PERSON_RX_PLAN_RELTN_ID PERSON_RX_PLAN_RELTN PERSON_RX_PLAN_RELTN_ID


PERSON_RX_PLAN_RELTN



Column Section Relationship Section Top of Page


Table-level Detail

Description: Person Prescription Plan Relation
Definition: This relation table associates a person to a free text prescription plan or to a prescription plan on the health plan table.
Table Type: ACTIVITY





Column Detail - PERSON_RX_PLAN_RELTN


Column Name Type Null? Definition
ACTIVE_IND DOUBLE 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 DOUBLE 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 DATETIME N The date and time that the active_status_cd was set.
ACTIVE_STATUS_PRSNL_ID DOUBLE N The person who caused the active_status_cd to be set or change.
BEG_EFFECTIVE_DT_TM DATETIME 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.
CARDHOLDER_FIRST_NAME VARCHAR(80) Y The first name of the card holder for the prescription plan.
CARDHOLDER_IDENT VARCHAR(50) Y The prescription plan ID that is on the prescription plan card.
CARDHOLDER_LAST_NAME VARCHAR(80) Y The last name of the card holder for the prescription plan.
CONTRIBUTOR_SYSTEM_CD DOUBLE 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_BUILD_FLAG DOUBLE N Indicates how the data for this plan was loaded into this table. 0 - No Plan, 1 - Upload, 2 - RX Hub, 3 - Manual, 4 - System
END_EFFECTIVE_DT_TM DATETIME 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.
HEALTH_PLAN_ID DOUBLE N The identifier of the health plan this person's prescription plan is related to.
INTERCHANGE_ID DOUBLE N This is the ID of the interchange message that this person's prescription plan is associated with.
INTERCHANGE_SEQ DOUBLE N This is used to uniquely identify the prescription plan inside the interchange message since multiple plans can come back in one message.
PATIENT_UNIT_NUMBER VARCHAR(30) Y A subset of the cardholder_identifier which is appended to the end of the cardholder_identifier for non-unique dependants of the card holder.
PERSON_ID DOUBLE N The identifier of the person related to the prescription plan.
PERSON_RX_PLAN_RELTN_ID DOUBLE N The unique identifier of the Person_RX_Plan_Reltn table.
PRIORITY_SEQ DOUBLE N Used to order the prescription plans by priority.
RX_PLAN_BEG_DT_TM DATETIME Y The date when the presecription plan becomes effective.
RX_PLAN_END_DT_TM DATETIME Y The date when the presecription plan becomes ineffective.
TRANS_DT_TM DATETIME Y The date/time the eligibility information was obtained.
UPDT_APPLCTX DOUBLE N The application context number from the record info block.
UPDT_CNT DOUBLE 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 DATETIME N The date and time the row was last inserted or updated.
UPDT_ID DOUBLE 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 DOUBLE N The registered (assigned) task number for the process that inserted or updated the row.
VERIFIED_BY_ID DOUBLE N The personnel ID of the last person who verified the prescription plan coverage (note: this can be different than the updt_user_id which would be the last person who updated this row)
VERIFIED_DT_TM DATETIME Y The date/time the prescription plan was verified.



Relationship Detail - PERSON_RX_PLAN_RELTN


Child Column in PERSON_RX_PLAN_RELTN(FK) Parent Table Name Parent Column Name
Parents: HEALTH_PLAN_ID HEALTH_PLAN HEALTH_PLAN_ID
PERSON_ID PERSON PERSON_ID
VERIFIED_BY_ID PRSNL PERSON_ID




Parent Column in PERSON_RX_PLAN_RELTN (PK) Child Table Name Child Column Name
Children: PERSON_RX_PLAN_RELTN_ID PERSON_RX_PLAN_COVERAGE PERSON_RX_PLAN_RELTN_ID
SELECTED_RX_FORMULARY PERSON_RX_PLAN_RELTN_ID


PERSON_SOCIAL_HEALTHCARE



Column Section Relationship Section Top of Page


Table-level Detail

Description: Person Social Healthcare
Definition: Records the eligibility status of a person for an entity offering social healthcare.
Table Type: ACTIVITY





Column Detail - PERSON_SOCIAL_HEALTHCARE


Column Name Type Null? Definition
ACTIVE_IND DOUBLE 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 DOUBLE 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 DATETIME N The date and time that the active_status_cd was set.
ACTIVE_STATUS_PRSNL_ID DOUBLE N The person who caused the active_status_cd to be set or change.
ADMIN_DISTRICT_CD DOUBLE N The administrative district defines the district within the subregion and region that administers care for this person (CS 27164).
ADMIN_REGION_CD DOUBLE N The administrative region defines the region that administers care for this person (CS 27161).
ADMIN_SUBREGION_CD DOUBLE N The administrative subregion defines the subregion within the region that administers care for this person (CS 27163).
BEG_EFFECTIVE_DT_TM DATETIME 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.
CHARGING_CATEGORY_CD DOUBLE N The charging category determines how much of a patient's treatment expenses are covered by the social healthcare system. For example, a patient may not be covered as a foreign visitor or may be fully covered due to residency or contract with the patient's country of origin.
DEREGISTRATION_DT_ISO VARCHAR(10) Y The deregistration date defines the date the patient was deregistered as a taxable member of the revenue service, revenue agency, or taxation authority.
DEREGISTRATION_REASON_CD DOUBLE N The deregistration reason defines why the patient's social healthcare coverage has ended. For example, the patient may be deceased or may have emigrated out of the country (CS 27165).
ELIGIBILITY_EXPIRE_DT_TM DATETIME Y The date and time the eligibility status will expire.
ELIGIBILITY_STATUS_CD DOUBLE N The eligibility status of the patient.
END_EFFECTIVE_DT_TM DATETIME 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.
PATIENT_CATEGORY_CD DOUBLE N The patient category represents the type of person. In most cases, it defines what charge code will be assigned for this type of person. For example, a patient may be an asylum seeker, anonymous (HIV sampling, Paperless), or a tourist (CS 27159).
PAYMENT_CATEGORY_CD DOUBLE N The payment category is used to control financial flows. This account code represents who is responsible for financing the visit (CS 27160).
PERSON_ID DOUBLE N Uniquely identifies the person for which the eligivility status applies.
PERSON_SOCIAL_HEALTHCARE_ID DOUBLE N Unique generated number that identifies a single row on the PERSON_SOCIAL_HEALTHCARE table.
UPDT_APPLCTX DOUBLE 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 DOUBLE 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 DATETIME 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 DOUBLE 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 DOUBLE 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 DATETIME Y The date and time the eligibility status was last verified.
VERIFY_PRSNL_ID DOUBLE N Uniquely identifies the personnel that last verified the eligibility status.
VERIFY_SOURCE_CD DOUBLE N Defines the source by which the eligibility status was last verified.
VERIFY_STATUS_CD DOUBLE N Defines the verification status of the person's eligibility qualifications within the social healthcare system.



Relationship Detail - PERSON_SOCIAL_HEALTHCARE


Child Column in PERSON_SOCIAL_HEALTHCARE(FK) Parent Table Name Parent Column Name
Parents: PERSON_ID PERSON PERSON_ID
VERIFY_PRSNL_ID PRSNL PERSON_ID




Parent Column in PERSON_SOCIAL_HEALTHCARE (PK) Child Table Name Child Column Name
Children: PERSON_SOCIAL_HEALTHCARE_ID PERSON_SOCIAL_HEALTH_HIST PERSON_SOCIAL_HEALTHCARE_ID


PERSON_SOCIAL_HEALTH_HIST



Column Section Relationship Section Top of Page


Table-level Detail

Description: Person Social Health History
Definition: Historical records of the eligibility status of a person for an entity offering social healthcare.
Table Type: ACTIVITY





Column Detail - PERSON_SOCIAL_HEALTH_HIST


Column Name Type Null? Definition
ACTIVE_IND DOUBLE 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 DOUBLE 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 DATETIME N The date and time that the active_status_cd was set.
ACTIVE_STATUS_PRSNL_ID DOUBLE N The person who caused the active_status_cd to be set or change.
ADMIN_DISTRICT_CD DOUBLE N The administrative district defines the district within the subregion and region that administers care for this person (CS 27164).
ADMIN_REGION_CD DOUBLE N The administrative region defines the region that administers care for this person (CS 27161).
ADMIN_SUBREGION_CD DOUBLE N The administrative subregion defines the subregion within the region that administers care for this person (CS 27163).
BEG_EFFECTIVE_DT_TM DATETIME 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.
CHANGE_BIT DOUBLE N Identifies which columns have had a change.
CHARGING_CATEGORY_CD DOUBLE N The charging category determines how much of a patient's treatment expenses are covered by the social healthcare system. For example, a patient may not be covered as a foreign visitor or may be fully covered due to residency or contract with the patient's country of origin.
DEREGISTRATION_DT_ISO VARCHAR(10) Y The deregistration date defines the date the patient was deregistered as a taxable member of the revenue service, revenue agency, or taxation authority.
DEREGISTRATION_REASON_CD DOUBLE N The deregistration reason defines why the patient's social healthcare coverage has ended. For example, the patient may be deceased or may have emigrated out of the country (CS 27165).
ELIGIBILITY_EXPIRE_DT_TM DATETIME Y The date and time the eligibility status will expire.
ELIGIBILITY_STATUS_CD DOUBLE N The eligibility status of the patient.
END_EFFECTIVE_DT_TM DATETIME 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.
PATIENT_CATEGORY_CD DOUBLE N The patient category represents the type of person. In most cases, it defines what charge code will be assigned for this type of person. For example, a patient may be an asylum seeker, anonymous (HIV sampling, Paperless), or a tourist (CS 27159).
PAYMENT_CATEGORY_CD DOUBLE N The payment category is used to control financial flows. This account code represents who is responsible for financing the visit (CS 27160).
PERSON_SOCIAL_HEALTHCARE_ID DOUBLE N Unique generated number that identifies a single row on the PERSON_SOCIAL_HEALTHCARE table.
PERSON_SOCIAL_HEALTH_HIST_ID DOUBLE N Unique generated number that identifies a single row on the PERSON_SOCIAL_HEALTH_HIST table.
PM_HIST_TRACKING_ID DOUBLE N This is the value of the unique primary identifier of the pm_hist_tracking table. It is an internal system assigned number.
TRACKING_BIT DOUBLE N Identifies which columns are being tracked for history.
TRANSACTION_DT_TM DATETIME N ** OBSOLETE **. Use column updt_dt_tm for any filtering/ordering query. If transaction date time is needed, it should be retrieved from pm_hist_tracking table. Note that its date may be in the past, as in before the update date time.
UPDT_APPLCTX DOUBLE 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 DOUBLE 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 DATETIME 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 DOUBLE 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 DOUBLE 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 DATETIME Y The date and time the eligibility status was last verified.
VERIFY_PRSNL_ID DOUBLE N Uniquely identifies the personnel that last verified the eligibility status.
VERIFY_SOURCE_CD DOUBLE N Defines the source by which the eligibility status was last verified.
VERIFY_STATUS_CD DOUBLE N Defines the verification status of the person's eligibility qualifications within the social healthcare system.



Relationship Detail - PERSON_SOCIAL_HEALTH_HIST


Child Column in PERSON_SOCIAL_HEALTH_HIST(FK) Parent Table Name Parent Column Name
Parents: PERSON_SOCIAL_HEALTHCARE_ID PERSON_SOCIAL_HEALTHCARE PERSON_SOCIAL_HEALTHCARE_ID
PM_HIST_TRACKING_ID PM_HIST_TRACKING PM_HIST_TRACKING_ID
VERIFY_PRSNL_ID PRSNL PERSON_ID