Table Detail Report
PERSON_PREFERRED_PHARMACY
| Column Section | Relationship Section | Top of Page |
Table-level Detail
| Description: | Person Preferred Pharmacy |
| Definition: | Table is used to store the Pharmacy information for all the patients. |
| Table Type: | ACTIVITY |
Column Detail - PERSON_PREFERRED_PHARMACY
| 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. |
| 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. |
| DEFAULT_IND | NUMBER | N | An indicator used to differentiate whether the pharmacy is the default. 1 - default pharmacy, 0 - not the default pharmacy. |
| 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. |
| PERSON_ID | NUMBER | N | Uniquely identifies the person related to this pharmacy information. |
| PERSON_PREFERRED_PHARMACY_ID | NUMBER | N | Uniquely identifies pharmacy information for a specific person. |
| PREFERRED_PHARMACY_UID | VC2(255) | Y | An identifier used to uniquely identified the related pharmacy. |
| REASON_CD | NUMBER | N | Contains the reason this pharmacy was chosen as a default. |
| REASON_TEXT | VC2(255) | Y | Contains free text of why this pharmacy was chosen as a default. |
| 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 - PERSON_PREFERRED_PHARMACY
| Child Column in PERSON_PREFERRED_PHARMACY(FK) | Parent Table Name | Parent Column Name | |
|---|---|---|---|
| Parents: | PERSON_ID | PERSON | PERSON_ID |
PERSON_PREF_COMM
| Column Section | Relationship Section | Top of Page |
Table-level Detail
| Description: | Person Communication Preferences |
| Definition: | Stores information relating to a person's communication preferences |
| Table Type: | ACTIVITY |
Column Detail - PERSON_PREF_COMM
| 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. |
| ADDR_TYPE_CD | NUMBER | Y | identifies the type of address for postal deliveries. |
| COMMUNICATION_TYPE_CD | NUMBER | N | identifies the type of communication (i.e., appointment reminders, clinical communication, statements, etc). |
| CONTACT_METHOD_CD | NUMBER | N | denotes the person's preferred method of communication should he or she need to be contacted for the associated communication type. |
| 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_PREF_COMM_ID | NUMBER | N | Unique generated number that identifies a row on the PERSON_PREF_COMM table. |
| PHONE_TYPE_CD | NUMBER | Y | identifies the type of email, phone, or fax (i.e., home, business, etc). |
| 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 communication type was last verified. |
Relationship Detail - PERSON_PREF_COMM
| Child Column in PERSON_PREF_COMM(FK) | Parent Table Name | Parent Column Name | |
|---|---|---|---|
| Parents: | PERSON_ID | PERSON | PERSON_ID |
| Parent Column in PERSON_PREF_COMM (PK) | Child Table Name | Child Column Name | |
|---|---|---|---|
| Children: | PERSON_PREF_COMM_ID | PERSON_PREF_COMM_HIST | PERSON_PREF_COMM_ID |
PERSON_PREF_COMM_HIST
| Column Section | Relationship Section | Top of Page |
Table-level Detail
| Description: | Person Communication Preference History |
| Definition: | Stores information relating to a person's communication preferences |
| Table Type: | ACTIVITY |
Column Detail - PERSON_PREF_COMM_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. |
| ADDR_TYPE_CD | NUMBER | Y | identifies the type of address for postal deliveries. |
| CHANGE_BIT | NUMBER | N | Identifies which columns have had a change. |
| COMMUNICATION_TYPE_CD | NUMBER | N | identifies the type of communication (i.e., appointment reminders, clinical communication, statements, etc). |
| CONTACT_METHOD_CD | NUMBER | N | denotes the person's preferred method of communication should he or she need to be contacted for the associated communication type. |
| PERSON_PREF_COMM_HIST_ID | NUMBER | N | Unique generated number that identifies a row on the PERSON_PREF_COMM_HIST table. |
| PERSON_PREF_COMM_ID | NUMBER | N | Unique generated number that identifies a row on the PERSON_PREF_COMM table. |
| PHONE_TYPE_CD | NUMBER | Y | identifies the type of email, phone, or fax (i.e., home, business, etc). |
| 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. |
| 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. |
| VERIFY_DT_TM | DATE | Y | the date and time the communication type was last verified. |
Relationship Detail - PERSON_PREF_COMM_HIST
| Child Column in PERSON_PREF_COMM_HIST(FK) | Parent Table Name | Parent Column Name | |
|---|---|---|---|
| Parents: | PERSON_PREF_COMM_ID | PERSON_PREF_COMM | PERSON_PREF_COMM_ID |
| PM_HIST_TRACKING_ID | PM_HIST_TRACKING | PM_HIST_TRACKING_ID |
PERSON_PREF_HIST
| Column Section | Relationship Section | Top of Page |
Table-level Detail
| Description: | Person Preference History |
| Definition: | Used for tracking history changes to PERSON_PREFERNCE rows |
| Table Type: | ACTIVITY |
Column Detail - PERSON_PREF_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. |
| APPT_PROXIMITY_ADDR_TYPE_CD | NUMBER | Y | identifies the appointment proximity address type (i.e., home, business, etc.). |
| CHANGE_BIT | NUMBER | N | Identifies which columns have had a change. |
| FACILITY_ORGANIZATION_ID | NUMBER | N | The identifier of the preferred facility organization. |
| FRIDAY_APPT_TIME_CD | NUMBER | Y | The preferred appointment time for Friday. |
| MONDAY_APPT_TIME_CD | NUMBER | Y | The preferred appointment time for Monday. |
| PERSON_ID | NUMBER | N | Uniquely identifies the person related to the person preference. |
| PERSON_PREF_HIST_ID | NUMBER | N | Unique generated number that identifies a single row on the PERSON_PREF_HIST |
| 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. |
| PROVIDER_LANGUAGE_CD | NUMBER | Y | The preferred provider's language. |
| PROVIDER_SEX_CD | NUMBER | Y | The preferred provider's gender (sex). |
| SATURDAY_APPT_TIME_CD | NUMBER | Y | The preferred appointment time for Saturday |
| SUNDAY_APPT_TIME_CD | NUMBER | Y | The preferred appointment time for Sunday |
| THURSDAY_APPT_TIME_CD | NUMBER | Y | The preferred appointment time for Thursday |
| TRACKING_BIT | NUMBER | N | Identifies which columns are being tracked for history. |
| TUESDAY_APPT_TIME_CD | NUMBER | Y | The preferred appointment time for Tuesday |
| 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. |
| WEDNESDAY_APPT_TIME_CD | NUMBER | Y | The preferred appointment time for Wednesday. |
Relationship Detail - PERSON_PREF_HIST
| Child Column in PERSON_PREF_HIST(FK) | Parent Table Name | Parent Column Name | |
|---|---|---|---|
| Parents: | FACILITY_ORGANIZATION_ID | ORGANIZATION | ORGANIZATION_ID |
| PERSON_ID | PERSON_PREF | PERSON_ID | |
| PM_HIST_TRACKING_ID | PM_HIST_TRACKING | PM_HIST_TRACKING_ID |
PERSON_PREF_PHARMACY_REV
| Column Section | Relationship Section | Top of Page |
Table-level Detail
| Description: | Person Preferred Pharmacy Review |
| Definition: | This table is used to store the preferred pharmacy review information. |
| Table Type: | ACTIVITY |
Column Detail - PERSON_PREF_PHARMACY_REV
| Column Name | Type | Null? | Definition |
|---|---|---|---|
| PERSON_ID | NUMBER | N | Uniquely identifies the person to which this pharmacy information is related. |
| PERSON_PREF_PHARMACY_REV_ID | NUMBER | N | Uniquely identifies preferred pharmacy review information. |
| REVIEW_TZ | NUMBER | N | Indicates the time zone in which the review is performed. |
| REV_DT_TM | DATE | N | The date and time at which the pharmacy information is reviewed. |
| REV_IND | NUMBER | N | An indicator used to identify whether patient's pharmacy information has been reviewed. |
| 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_PREF_PHARMACY_REV
| Child Column in PERSON_PREF_PHARMACY_REV(FK) | Parent Table Name | Parent Column Name | |
|---|---|---|---|
| Parents: | PERSON_ID | PERSON | PERSON_ID |