Table Detail Report

PM_LOCATOR



Column Section Relationship Section Top of Page


Table-level Detail

Description: Person Managemetn Locator table
Definition: This table stores information used to locate patients.
Table Type: ACTIVITY





Column Detail - PM_LOCATOR


Column Name Type Null? Definition
ENCNTR_ID DOUBLE N This is the value of the unique primary identifier of the encounter table. It is an internal system assigned number.
LOCATOR_ID DOUBLE N This is the primary key for this table. It is a numeric value.
NAME_FIRST_KEY VARCHAR(100) Y This is the person's first given name all capitals with punctuation removed. This field is used for indexing and searching for a person by name.
NAME_FIRST_KEY_A_NLS VARCHAR(400) Y NAME_FIRST_KEY_A_NLS column
NAME_FIRST_KEY_NLS VARCHAR(202) Y First Name Key field converted to NLS format for internationalization requirements.
NAME_LAST_KEY VARCHAR(100) Y This is the person's last name all capitals with punctuation removed. This field is used for indexing and searching for a person by name.
NAME_LAST_KEY_A_NLS VARCHAR(400) Y NAME_LAST_KEY_A_NLS column
NAME_LAST_KEY_NLS VARCHAR(202) Y Last Name Key field converted to NLS format for internationalization requirements.
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 - PM_LOCATOR


Child Column in PM_LOCATOR(FK) Parent Table Name Parent Column Name
Parents: ENCNTR_ID ENCOUNTER ENCNTR_ID


PM_MENTAL_HEALTH



Column Section Relationship Section Top of Page


Table-level Detail

Description: Pm Mental Health
Definition: Pm Mental Health
Table Type: ACTIVITY





Column Detail - PM_MENTAL_HEALTH


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 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.
ENCNTR_ID DOUBLE N This is the value of the unique primary identifier of the encounter table. It is an internal system assigned number.
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.
FIRST_DT_TM DATETIME Y First form 4 date and time
FIRST_FAC_CD DOUBLE N First form 4 facility
FIRST_PRSNL_ID DOUBLE N First form 4 prsnl
NEXT_PANEL_DT_TM DATETIME Y next panel date and time
PM_MENTAL_HEALTH_ID DOUBLE N pm mental health id
RENEWAL_DETERMINATION_DT_TM DATETIME Y renewal determination date and time
SECOND_DT_TM DATETIME Y second form 4 date and time
SECOND_FAC_CD DOUBLE N second form 4 facility
SECOND_PRSNL_ID DOUBLE N second form 4 prsnl id
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 - PM_MENTAL_HEALTH


Child Column in PM_MENTAL_HEALTH(FK) Parent Table Name Parent Column Name
Parents: ENCNTR_ID ENCOUNTER ENCNTR_ID


PM_MOH_INPAT_CENSUS



Column Section Relationship Section Top of Page


Table-level Detail

Description: PM MOH INPAT CENSUS
Definition: Ministry of Health (Canada) inpatient census.
Table Type: ACTIVITY





Column Detail - PM_MOH_INPAT_CENSUS


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.
ADMITTED_DAY DOUBLE Y Admitted day.
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.
DATE_START DATETIME N Date start.
DECEASED_DAY DOUBLE Y Deceased count for the day.
DISCHARGED_DAY DOUBLE Y Discharge count for the day.
ENCNTR_REPORT_TYPE CHAR(30) N Encounter report type.
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.
INPATIENT_START DOUBLE Y Inpatient start.
INTENSIVE_DAY DOUBLE Y Intensive care count for the day.
LOCATION_CD DOUBLE N Location code value
MEDICAL_DAY DOUBLE Y Medical count for the day.
NB_ADMITTED_DAY DOUBLE Y Newborn count for the day.
NB_DECEASED_DAY DOUBLE Y Newborn death count for the day.
NB_DISCHARGED_DAY DOUBLE Y Newborn discharge count for the day.
NB_SAME_DAY DOUBLE Y Newborn same day count for the day.
NB_START DOUBLE Y Newborn start count.
OBGYN_DAY DOUBLE Y OBGYN count for the day.
OTHER_DAY DOUBLE Y Other count for the day.
PEDIATRIC_DAY DOUBLE Y Pediatric count for the day.
PM_MOH_INPAT_CENSUS_ID DOUBLE N Primary key.
PSYCHIATRIC_DAY DOUBLE Y Pshychiatric count for the day.
SAME_DAY DOUBLE Y Same day visit count for the day.
SURGICAL_DAY DOUBLE Y Surgical count for the day.
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 - PM_MOH_INPAT_CENSUS


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


PM_OFFER



Column Section Relationship Section Top of Page


Table-level Detail

Description: Patient Management
Definition: Contains a list of offers for an encounter. A refused offer is written when the patient refuses an offered available date for an appointment and an accepted offer is written when the patient accepts an offered available date for an appointment.
Table Type: ACTIVITY





Column Detail - PM_OFFER


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.
ADMIT_OFFER_OUTCOME_CD DOUBLE N The outcome of the admission offer.
APPT_DT_TM DATETIME Y The date time of the appointment associated with the offer.
ARRIVED_ON_TIME_IND DOUBLE N An indicator representing whether the patient arrived on time for their appointment or not.
ATTENDANCE_CD DOUBLE N The type of attendance.
CANCEL_DT_TM DATETIME Y The date time if the offer is cancelled.
DNA_DT_TM DATETIME Y The date time if the patient did not arrive.
ENCNTR_ID DOUBLE N The encounter that the offer is written for.
MEDICAL_STAFF_TYPE_CD DOUBLE N Identifies the type of medical staff
OFFER_DT_TM DATETIME Y Offer_dt_tm is the date/time that the offer was made for. So if yesterday morning I offered a patient an appointment on May 5th at 8:00, my offer_made_dt_tm would be 4/15/2009 11:15am and my offer_dt_tm would be 5/5/2009 8:00am.
OFFER_MADE_DT_TM DATETIME Y The date and time the offer was made or refused. So if yesterday morning I offered a patient an appointment on May 5th at 8:00, my offer_made_dt_tm would be 4/15/2009 11:15am and my offer_dt_tm would be 5/5/2009 8:00am.
OFFER_TYPE_CD DOUBLE N The Type of Offer that was recorded (accepted, refused, etc.).
OUTCOME_OF_ATTENDANCE_CD DOUBLE N The outcome of the Attendance.
PAT_INITIATED_IND DOUBLE N Indicator to note whether or not the patient initiated the offer date.
PIFU_EXPIRY_DT_TM DATETIME Y Specifies the date by which a patient initiated follow up pathway will expire
PIFU_OUTCOME_CD DOUBLE Y Specifies the outcome of a patient initiated follow up pathway
PIFU_PATHWAY_IND DOUBLE Y Specifies whether there is a patient initiated follow up pathway present for the offer
PIFU_REVIEW_DT_TM DATETIME Y Specifies the date by which a patient initiated follow up pathway needs to be reviewed
PM_OFFER_ID DOUBLE N This is the value of the unique primary identifier of the offer table. It is an internal system assigned number.
REASONABLE_OFFER_IND DOUBLE N An indicator representing whether or not the offer was considered reasonable.
REMOVE_FROM_WL_IND DOUBLE N An indicator representing whether this offer should trigger the patient to be removed from the waitlist.
SCHEDULE_ID DOUBLE N The Schedule that this offer represents.
SCH_REASON_CD DOUBLE N The Reason for the latest change to the appointment associated to the offer. Could be the Cancel reason, the Reschedule reason, or the DNA reason.
TCI_DT_TM DATETIME Y The date and time the patient should arrive.
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.
WL_REASON_FOR_REMOVAL_CD DOUBLE N The reason the patient should be removed from the waitlist.
WL_REMOVAL_DT_TM DATETIME Y The date and time for the removal from the waitlist.



Relationship Detail - PM_OFFER


Child Column in PM_OFFER(FK) Parent Table Name Parent Column Name
Parents: ENCNTR_ID ENCOUNTER ENCNTR_ID
SCHEDULE_ID SCH_SCHEDULE SCHEDULE_ID




Parent Column in PM_OFFER (PK) Child Table Name Child Column Name
Children: PM_OFFER_ID PM_OFFER_HIST PM_OFFER_ID
PM_OFFER_PROC_RELTN PM_OFFER_ID


PM_OFFER_HIST



Column Section Relationship Section Top of Page


Table-level Detail

Description: Patient Management Offer History
Definition: Contains the transactional history of a list of offers for an encounter. All columns, except offer_hist_id, create_dt_tm, and the updt_* columns, are representing a snapshot of the pm_offer table, including the active_* columns.
Table Type: ACTIVITY





Column Detail - PM_OFFER_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.
ADMIT_OFFER_OUTCOME_CD DOUBLE N The outcome of the admission offer.
APPT_DT_TM DATETIME Y The date time of the appointment associated with the offer.
ARRIVED_ON_TIME_IND DOUBLE N An indicator representing whether the patient arrived on time for their appointment or not.
ATTENDANCE_CD DOUBLE N The type of attendance.
CANCEL_DT_TM DATETIME Y The date time if the offer is cancelled.
CREATE_DT_TM DATETIME N The date and time that the history row was created.
DNA_DT_TM DATETIME Y The date time if the patient did not arrive.
ENCNTR_ID DOUBLE N The encounter that the offer is written for.
MEDICAL_STAFF_TYPE_CD DOUBLE N Identifies the type of medical staff
OFFER_DT_TM DATETIME Y Offer_dt_tm is the date/time that the offer was made for. So if yesterday morning I offered a patient an appointment on May 5th at 8:00, my offer_made_dt_tm would be 4/15/2009 11:15am and my offer_dt_tm would be 5/5/2009 8:00am.
OFFER_MADE_DT_TM DATETIME Y The date and time the offer was made or refused.
OFFER_TYPE_CD DOUBLE N The Type of Offer that was recorded (accepted, refused, etc.).
OUTCOME_OF_ATTENDANCE_CD DOUBLE N The outcome of the Attendance.
PAT_INITIATED_IND DOUBLE N Indicator to note whether or not the patient initiated the offer date.
PIFU_EXPIRY_DT_TM DATETIME Y Specifies the date by which a patient initiated follow up pathway will expire.
PIFU_OUTCOME_CD DOUBLE Y Specifies the outcome of a patient initiated follow up pathway
PIFU_PATHWAY_IND DOUBLE Y Specifies whether there is a patient initiated follow up pathway present for the offer
PIFU_REVIEW_DT_TM DATETIME Y Specifies the date by which a patient initiated follow up pathway needs to be reviewed
PM_OFFER_HIST_ID DOUBLE N This is the value of the unique primary identifier of the offer hist table. It is an internal system assigned number.
PM_OFFER_ID DOUBLE N The ID of the offer the history is related to.
REASONABLE_OFFER_IND DOUBLE N An indicator representing whether or not the offer was considered reasonable.
REMOVE_FROM_WL_IND DOUBLE N An indicator representing whether this offer should trigger the patient to be removed from the waitlist.
SCHEDULE_ID DOUBLE N The Schedule that this offer represents.
SCH_REASON_CD DOUBLE N The Reason for the latest change to the appointment associated to the offer. Could be the Cancel reason, the Reschedule reason, or the DNA reason.
TCI_DT_TM DATETIME Y The date and time the patient should arrive.
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.
WL_REASON_FOR_REMOVAL_CD DOUBLE N The reason the patient should be removed from the waitlist.
WL_REMOVAL_DT_TM DATETIME Y The date and time for the removal from the waitlist.



Relationship Detail - PM_OFFER_HIST


Child Column in PM_OFFER_HIST(FK) Parent Table Name Parent Column Name
Parents: ENCNTR_ID ENCOUNTER ENCNTR_ID
PM_OFFER_ID PM_OFFER PM_OFFER_ID