Table Detail Report

MARS_SUITE



Column Section Relationship Section Top of Page


Table-level Detail

Description: MARS Suite
Definition: Identifies a suite of reports
Table Type: REFERENCE





Column Detail - MARS_SUITE


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.
MARS_SUITE_ID DOUBLE N PRIMARY KEY
SUITE_NAME VARCHAR(100) N A unique suite name that identifies a suite.
SUITE_NAME_KEY VARCHAR(100) N Unique suite name that identifies a suite - upper case and alphanumeric. - no spaces
UPDT_APPLCTX DOUBLE Y 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 Y 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 Y 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 Y 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 Y 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 - MARS_SUITE




Parent Column in MARS_SUITE (PK) Child Table Name Child Column Name
Children: MARS_SUITE_ID MARS_SUITE_ACTIVITY MARS_SUITE_ID
MARS_SUITE_REPORT_RELTN MARS_SUITE_ID


MARS_SUITE_ACTIVITY



Column Section Relationship Section Top of Page


Table-level Detail

Description: MARS Suite Activity
Definition: Identifies an execution of a suite. Suites contain multiple reports and can take a long time to run. As such it is necessary that a user not be forced to wait for a reply. The idea is that the user will be able given a reference to their run. They can use this reference to check on the status and fetch the reply (assuming the reports have completed successfully). The ID on this table is that reference.
Table Type: ACTIVITY





Column Detail - MARS_SUITE_ACTIVITY


Column Name Type Null? Definition
MARS_SUITE_ACTIVITY_ID DOUBLE N PRIMARY KEY
MARS_SUITE_ID DOUBLE N Unique Suite ID referencing the metadata regarding this suite
UPDT_APPLCTX DOUBLE Y 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 Y 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 Y 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 Y 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 Y 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 - MARS_SUITE_ACTIVITY


Child Column in MARS_SUITE_ACTIVITY(FK) Parent Table Name Parent Column Name
Parents: MARS_SUITE_ID MARS_SUITE MARS_SUITE_ID




Parent Column in MARS_SUITE_ACTIVITY (PK) Child Table Name Child Column Name
Children: MARS_SUITE_ACTIVITY_ID MARS_SUITE_RESPONSE MARS_SUITE_ACTIVITY_ID


MARS_SUITE_REPORT_RELTN



Column Section Relationship Section Top of Page


Table-level Detail

Description: MARS Suite Reports
Definition: Identifies the reports within a suite. The main purpose of the table is to idenify the reports within a suite (a suite being a container for multiplereports). It is a many to many relationship. The entire purpose is that a single suite contains multiple reports. We also think that a single report may be in multiple suites.
Table Type: REFERENCE





Column Detail - MARS_SUITE_REPORT_RELTN


Column Name Type Null? Definition
MARS_REPORT_ID DOUBLE N A unique Report Id identifying a report which is contained within the suite
MARS_SUITE_ID DOUBLE N Unique Suite ID referencing the metadata regarding this suite
MARS_SUITE_REPORT_RELTN_ID DOUBLE N PRIMARY KEY
UPDT_APPLCTX DOUBLE Y 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 Y 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 Y 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 Y 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 Y 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 - MARS_SUITE_REPORT_RELTN


Child Column in MARS_SUITE_REPORT_RELTN(FK) Parent Table Name Parent Column Name
Parents: MARS_REPORT_ID MARS_REPORT MARS_REPORT_ID
MARS_SUITE_ID MARS_SUITE MARS_SUITE_ID


MARS_SUITE_RESPONSE



Column Section Relationship Section Top of Page


Table-level Detail

Description: MARS Suite Response
Definition: Identifies an execution Response of a suite.
Table Type: ACTIVITY





Column Detail - MARS_SUITE_RESPONSE


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 Y 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 Y The person who caused the active_status_cd to be set or change.
MARS_REPORT_ID DOUBLE N Identifies the Report this response applies to
MARS_SUITE_ACTIVITY_ID DOUBLE N Identifies the specific execution of a suite of reports
MARS_SUITE_RESPONSE_ID DOUBLE N PRIMARY KEY
MARS_TYPE_CD DOUBLE Y TBD - currently the code value isn't tied to anything. We plan to leave it as we expect there will be a use for it
PERSON_ID DOUBLE N Unique person/patient ID from the PERSON table
RESPONSE_BLOB LONGBLOB Y Report output - XML if the report completes successfully. A message as to the nature of the failure if unsuccessful.
STATUS_CD DOUBLE N Status of the report execution. On Success the Blob will contain the XML output.
UPDT_APPLCTX DOUBLE Y 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 Y 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 Y 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 Y 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 Y 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 - MARS_SUITE_RESPONSE


Child Column in MARS_SUITE_RESPONSE(FK) Parent Table Name Parent Column Name
Parents: MARS_REPORT_ID MARS_REPORT MARS_REPORT_ID
MARS_SUITE_ACTIVITY_ID MARS_SUITE_ACTIVITY MARS_SUITE_ACTIVITY_ID
PERSON_ID PERSON PERSON_ID