Table Detail Report
PERSON_PERSON_RELTN
| Column Section | Relationship Section | Top of Page |
Table-level Detail
| Description: | Person Person Relationship |
| Definition: | The person-person relationship table contains pointers to other related persons in the person table(i.e., family members, etc.). The kind of relationship and genetic indication defines how the two persons are related. |
| Table Type: | ACTIVITY |
Column Detail - PERSON_PERSON_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 | 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. |
| CONTACT_ROLE_CD | DOUBLE | N | Identifies what type of role the contact person is. |
| 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. |
| COPY_CORRESPONDENCE_CD | DOUBLE | N | Denotes whether the related person should be copied on any correspondence to the person. |
| 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. |
| DEFAULT_RELTN_IND | DOUBLE | N | Identifies whether the relationship is the default displayable Mother-Child relationship. |
| 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. |
| FAMILY_RELTN_SUB_TYPE_CD | DOUBLE | N | The specific family relationship |
| FREE_TEXT_CD | DOUBLE | N | Future Functionality |
| FT_REL_PERSON_NAME | VARCHAR(100) | Y | If free textperson relationship was built the name is displayed here |
| GENETIC_RELATIONSHIP_IND | DOUBLE | N | Indicates whether the two people specified in the relationship are geneticly tied |
| INTERNAL_SEQ | DOUBLE | N | Internal Person Management Sequence |
| LIVING_WITH_IND | DOUBLE | N | Indicates whether the two persons specified in the relationship live together |
| 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_PERSON_RELTN_ID | DOUBLE | N | The identifying key of Person Person Relationship |
| PERSON_RELTN_CD | DOUBLE | N | Person Relation Code Value |
| PERSON_RELTN_TYPE_CD | DOUBLE | N | Code value indicating what type of relationship this is |
| PRIORITY_SEQ | DOUBLE | N | Identifies an sequencing priority to be used when there is more than one related person with the same person relationship type (I.e., emergency contact) |
| RELATED_PERSON_ID | DOUBLE | N | Related Person ID |
| RELATED_PERSON_RELTN_CD | DOUBLE | N | Related Person Relationship Code Value |
| RELATION_SEQ | DOUBLE | N | Zero based sequence for all person_person_reltn rows across all relation types set by the master system. Added to support he UK's PDS transactions. |
| 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. |
| 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. |
| VISITATION_ALLOWED_CD | DOUBLE | N | Visitation Allowed Code Value |
Relationship Detail - PERSON_PERSON_RELTN
| Child Column in PERSON_PERSON_RELTN(FK) | Parent Table Name | Parent Column Name | |
|---|---|---|---|
| Parents: | PERSON_ID | PERSON | PERSON_ID |
| RELATED_PERSON_ID | PERSON | PERSON_ID |
| Parent Column in PERSON_PERSON_RELTN (PK) | Child Table Name | Child Column Name | |
|---|---|---|---|
| Children: | PERSON_PERSON_RELTN_ID | PERSON_PERSON_RELTN_HIST | PERSON_PERSON_RELTN_ID |
PERSON_PERSON_RELTN_HIST
| Column Section | Relationship Section | Top of Page |
Table-level Detail
| Description: | Person Person Relationship History |
| Definition: | Contains transactional history of the PERSON_PERSON_RELTN table. |
| Table Type: | ACTIVITY |
Column Detail - PERSON_PERSON_RELTN_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 | 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 changed. |
| CONTACT_ROLE_CD | DOUBLE | N | Identifies what type of role the contact person is. |
| 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. |
| COPY_CORRESPONDENCE_CD | DOUBLE | N | Denotes whether the related person should be copied on any correspondence to the person. |
| 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. |
| DEFAULT_RELTN_IND | DOUBLE | N | Identifies whether the relationship is the default displayable Mother-Child relationship. |
| 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. |
| FAMILY_RELTN_SUB_TYPE_CD | DOUBLE | N | The specific family relationship |
| FREE_TEXT_CD | DOUBLE | N | Future Functionality |
| FT_REL_PERSON_NAME | VARCHAR(100) | Y | The name of the person in the 'free text' relationship indicated by the free_text_ind in the row being set to 'TRUE'. |
| GENETIC_RELATIONSHIP_IND | DOUBLE | Y | Indicates whether the two people specified in the relationship are geneticly tied |
| INTERNAL_SEQ | DOUBLE | Y | Sequence used within Cerner applications to order encounter person relationship rows. |
| LIVING_WITH_IND | DOUBLE | Y | Indicates whether the two persons specified in the relationship live together |
| 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_PERSON_RELTN_HIST_ID | DOUBLE | N | The unique primary key of this table. It is internally generated by Cerner. |
| PERSON_PERSON_RELTN_ID | DOUBLE | N | The primary key of the PERSON_PERSON_RELTN table that this history is related to. |
| PERSON_RELTN_CD | DOUBLE | N | Person Relation Code Value |
| PERSON_RELTN_TYPE_CD | DOUBLE | N | Code value indicating what type of relationship this is |
| 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 an sequencing priority to be used when there is more than one related person with the same person relationship type (I.e., emergency contact) |
| RELATED_PERSON_ID | DOUBLE | N | Related Person ID |
| RELATED_PERSON_RELTN_CD | DOUBLE | N | Related Person Relationship Code Value |
| RELATION_SEQ | DOUBLE | N | Zero based sequence for all person_person_reltn rows across all relation types set by the master system. Added to support he UK's PDS transactions. |
| 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. |
| VISITATION_ALLOWED_CD | DOUBLE | N | Visitation Allowed Code Value |
Relationship Detail - PERSON_PERSON_RELTN_HIST
| Child Column in PERSON_PERSON_RELTN_HIST(FK) | Parent Table Name | Parent Column Name | |
|---|---|---|---|
| Parents: | PERSON_PERSON_RELTN_ID | PERSON_PERSON_RELTN | PERSON_PERSON_RELTN_ID |
| PM_HIST_TRACKING_ID | PM_HIST_TRACKING | PM_HIST_TRACKING_ID |
PERSON_PHR_INFO
| Column Section | Relationship Section | Top of Page |
Table-level Detail
| Description: | Person Personal Health Record Information |
| Definition: | The person personal health record information table contains information specific to a patient's personal health record enrollment. |
| Table Type: | ACTIVITY |
Column Detail - PERSON_PHR_INFO
| 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. |
| ORGANIZATION_ID | DOUBLE | N | This is the value of the unique primary identifier of the organization table. It is an internal system assigned number. |
| 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_PHR_INFO_ID | DOUBLE | N | This is the value of the unique primary identifier of the person personal health record information table. It is an internally assigned number and generally not revealed to the user. |
| PHR_STATUS_CD | DOUBLE | N | Code value indicating the status of the patient's personal health record election (i.e. YES, NO) |
| 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_PHR_INFO
| Child Column in PERSON_PHR_INFO(FK) | Parent Table Name | Parent Column Name | |
|---|---|---|---|
| Parents: | ORGANIZATION_ID | ORGANIZATION | ORGANIZATION_ID |
| PERSON_ID | PERSON | PERSON_ID |
| Parent Column in PERSON_PHR_INFO (PK) | Child Table Name | Child Column Name | |
|---|---|---|---|
| Children: | PERSON_PHR_INFO_ID | PERSON_PHR_INFO_HIST | PERSON_PHR_INFO_ID |
| PERSON_PHR_RELTN | PERSON_PHR_INFO_ID | ||
| PERSON_PHR_RELTN_HIST | PERSON_PHR_INFO_ID |
PERSON_PHR_INFO_HIST
| Column Section | Relationship Section | Top of Page |
Table-level Detail
| Description: | Person Personal Health Record Information History |
| Definition: | Used for tracking history of certain columns on the person_phr_info table. |
| Table Type: | ACTIVITY |
Column Detail - PERSON_PHR_INFO_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. |
| CHANGE_BIT | DOUBLE | N | Identifies which columns have had a change. |
| ORGANIZATION_ID | DOUBLE | N | This is the value of the unique primary identifier of the organization table. It is an internal system assigned number. |
| PERSON_ID | DOUBLE | N | This is the value of the unique primary identifier of the person table. It is an internal system assigned number.It is the ID of the patient. |
| PERSON_PHR_INFO_HIST_ID | DOUBLE | N | This is the value of the unique primary identifier of the person_phr_info_hist table. It is an internal system assigned number. |
| PERSON_PHR_INFO_ID | DOUBLE | N | This is the value of the unique primary identifier of the person personal health record information table. It is an internally assigned number and generally not revealed to the user. |
| PHR_STATUS_CD | DOUBLE | N | Code value indicating the status of the patient's personal health record election (i.e. YES, NO) |
| 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 | Y | Date and time the transaction, which triggered the history row, occurred. This field can be system assigned or manually manipulated by users. |
| 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_PHR_INFO_HIST
| Child Column in PERSON_PHR_INFO_HIST(FK) | Parent Table Name | Parent Column Name | |
|---|---|---|---|
| Parents: | ORGANIZATION_ID | ORGANIZATION | ORGANIZATION_ID |
| PERSON_ID | PERSON | PERSON_ID | |
| PERSON_PHR_INFO_ID | PERSON_PHR_INFO | PERSON_PHR_INFO_ID |
PERSON_PHR_RELTN
| Column Section | Relationship Section | Top of Page |
Table-level Detail
| Description: | Person Personal Health Record Relationship |
| Definition: | The person personal health record relationship table relates a patient's personal health record information to a contributor system. This relationship represents the contributor systems to which a patient has elected to send their personal health record. |
| Table Type: | ACTIVITY |
Column Detail - PERSON_PHR_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. |
| 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. |
| PERSON_PHR_INFO_ID | DOUBLE | N | The ID of the person's personal health record that is related to the contributor system. This relationship represents the contributor systems to which a patient has elected to send their personal health record. |
| PERSON_PHR_RELTN_ID | DOUBLE | N | The unique primary key of this table. |
| 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_PHR_RELTN
| Child Column in PERSON_PHR_RELTN(FK) | Parent Table Name | Parent Column Name | |
|---|---|---|---|
| Parents: | CONTRIBUTOR_SYSTEM_CD | CONTRIBUTOR_SYSTEM | CONTRIBUTOR_SYSTEM_CD |
| PERSON_PHR_INFO_ID | PERSON_PHR_INFO | PERSON_PHR_INFO_ID |
| Parent Column in PERSON_PHR_RELTN (PK) | Child Table Name | Child Column Name | |
|---|---|---|---|
| Children: | PERSON_PHR_RELTN_ID | PERSON_PHR_RELTN_HIST | PERSON_PHR_RELTN_ID |