Table Detail Report
SI_DOCUMENT_INFO
| Column Section | Relationship Section | Top of Page |
Table-level Detail
| Description: | System Integration Document Information |
| Definition: | Document information for documents sent out from Millennium, this may include CAMM address for generated documents. |
| Table Type: | ACTIVITY |
Column Detail - SI_DOCUMENT_INFO
| Column Name | Type | Null? | Definition |
|---|---|---|---|
| BEGIN_QUAL_DT_TM | DATE | Y | The beginning point for qualifying data for inclusion when asssembling an on demand CDA. |
| DOCUMENT_UUID | VC2(255) | Y | A system generated Unique Identifier for the document. Only assigned when the custodial organization does not have an OID |
| DOC_SET_ROOT_EXTENSION | VC2(255) | N | The set id for this CDA document. |
| DOC_VERSION_NBR | NUMBER | Y | The version number of current CDA document associated with the event_id. |
| ENCNTR_ID | NUMBER | N | Foreign key to Encounter Table, used for encounter level documents. |
| END_QUAL_DT_TM | DATE | Y | The ending point for qualifying data for inclusion when asssembling an on demand CDA. |
| EVENT_ID | NUMBER | N | A unique identifier to an event, used for events level documents. From the CLINICAL_EVENT table EVENT_ID column. |
| MEDIA_OBJECT_IDENTIFIER | VC2(64) | Y | Identifier of the document object if stored in the multimedia storage. |
| MEDIA_OBJECT_VERSION_NBR | NUMBER | N | Version of the identified document object in the multimedia storage. |
| ON_DEMAND_IND | NUMBER | N | True when the document is to be generated on-demand |
| ORGANIZATION_ID | NUMBER | N | The organization responsible for stewardship of the document. |
| OUTPUT_CONTENT_TYPE_CD | NUMBER | N | This defines the type of document being registered. |
| PARENT_SI_DOCUMENT_INFO_ID | NUMBER | N | The related document in this table |
| PERSON_ID | NUMBER | N | Person related to the document being sent. |
| REPORT_TEMPLATE_ID | NUMBER | N | The Template Identifier used by CDG to build the dataset for transformation. |
| SCH_EVENT_ID | NUMBER | N | Foreign key to the SCH_EVENT table. This will be populated when documents are generated for visits. |
| SI_DOCUMENT_INFO_ID | NUMBER | N | Primary Key to the SI_Document_Info table. |
| SI_TEMPLATE_GROUP_ID | NUMBER | N | The Template Group used to create the document. This will be used for debugging and reporting purposes. |
| START_DT_TM | DATE | Y | the 388 service call time where we can log the service invoke timestamp. |
| SUMMARY_CARE_TYPE_CD | NUMBER | N | This field will be populated if the generated document is marked as a summary of care document by the selected report template. |
| 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. |
| VALIDATION_VAL | NUMBER | Y | Indicates whether the generated document is a valid document. It will use bit-operators to determine which sections were mandatory and failed validation. |
| VALID_FROM_DT_TM | DATE | Y | Contains the Beginning Point of when the event is valid, used for event level documents. |
Relationship Detail - SI_DOCUMENT_INFO
| Child Column in SI_DOCUMENT_INFO(FK) | Parent Table Name | Parent Column Name | |
|---|---|---|---|
| Parents: | REPORT_TEMPLATE_ID | CR_REPORT_TEMPLATE | REPORT_TEMPLATE_ID |
| ENCNTR_ID | ENCOUNTER | ENCNTR_ID | |
| ORGANIZATION_ID | ORGANIZATION | ORGANIZATION_ID | |
| PERSON_ID | PERSON | PERSON_ID | |
| SCH_EVENT_ID | SCH_EVENT | SCH_EVENT_ID | |
| PARENT_SI_DOCUMENT_INFO_ID | SI_DOCUMENT_INFO | SI_DOCUMENT_INFO_ID | |
| SI_TEMPLATE_GROUP_ID | SI_TEMPLATE_GROUP | SI_TEMPLATE_GROUP_ID |
| Parent Column in SI_DOCUMENT_INFO (PK) | Child Table Name | Child Column Name | |
|---|---|---|---|
| Children: | SI_DOCUMENT_INFO_ID | SI_DOCUMENT_IDENTIFIER_R | SI_DOCUMENT_INFO_ID |
| SI_DOCUMENT_INFO | PARENT_SI_DOCUMENT_INFO_ID | ||
| SI_DOCUMENT_RECIPIENT_RELTN | SI_DOCUMENT_INFO_ID | ||
| SI_DOCUMENT_TRANSACTION_LOG | SI_DOCUMENT_INFO_ID | ||
| SI_REPO_REG_RELTN | SI_DOCUMENT_INFO_ID |
SI_DOCUMENT_TRANSACTION_LOG
| Column Section | Relationship Section | Top of Page |
Table-level Detail
| Description: | System Integration Document Transaction Logging |
| Definition: | Log information or Error Information for transactions that request or generate clinical documents. |
| Table Type: | ACTIVITY |
Column Detail - SI_DOCUMENT_TRANSACTION_LOG
| Column Name | Type | Null? | Definition |
|---|---|---|---|
| CONTRIBUTOR_SYSTEM_CD | NUMBER | 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. |
| DOCUMENT_IDENT | VC2(200) | Y | The alpha-numeric identifier of the document the transaction processed. |
| DOCUMENT_TRANSACTION_IDENT | VC2(40) | N | The alpha-numeric unique identifier for the document transaction. |
| ENCNTR_ID | NUMBER | N | Unique identifier of the Encounter the document transaction is for. This column will only be populated if the document transaction corresponds to an encounter. |
| ERROR_NAME | VC2(15) | Y | Mnemonic describing the most specific classification of the error available. Will be NULL if no error occurred. |
| ERROR_TEXT | VC2(500) | Y | Free text describing the error(s) encountered during the processing of the document transaction. Will be NULL if no error occurred. |
| ESO_TRIGGER_ID | NUMBER | N | Unique identifier to the CQM_FSIESO_TR_1 table. This field will only be populated if the document transaction corresponds to an External Systems Outbound transaction with a row on the CQM_FSIESO_TR_1 table. |
| OEN_QUEUE_ID | NUMBER | N | Unique identifier to the CQM_OENINTERFACE_QUE table. This field will only be populated if the document transaction corresponds to an Open Engine transaction with a row on the CQM_OENINTERFACE_QUE table. |
| PERSON_ID | NUMBER | N | Unique identifier of the person the document transaction is for. |
| SI_DOCUMENT_INFO_ID | NUMBER | N | Unique identifier to the SI_DOCUMENT_INFO table. This field will only be populated if the document transaction corresponds to a row on the SI_DOCUMENT_INFO table. |
| SI_DOCUMENT_TRANSACTION_LOG_ID | NUMBER | N | Primary Key to the DOCUMENT_TRANSACTION_LOG table. |
| STATUS_CD | NUMBER | N | Code describing the overall status of the document transaction. |
| TRANSACTION_DT_TM | DATE | N | The date and time the document transaction was processed at. |
| 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 - SI_DOCUMENT_TRANSACTION_LOG
| Child Column in SI_DOCUMENT_TRANSACTION_LOG(FK) | Parent Table Name | Parent Column Name | |
|---|---|---|---|
| Parents: | ESO_TRIGGER_ID | CQM_FSIESO_TR_1 | TRIGGER_ID |
| OEN_QUEUE_ID | CQM_OENINTERFACE_QUE | QUEUE_ID | |
| ENCNTR_ID | ENCOUNTER | ENCNTR_ID | |
| PERSON_ID | PERSON | PERSON_ID | |
| SI_DOCUMENT_INFO_ID | SI_DOCUMENT_INFO | SI_DOCUMENT_INFO_ID |
SI_ENTITY_PROFILE_R
| Column Section | Top of Page |
Table-level Detail
| Description: | SI Entiry Profile Relation |
| Definition: | This table contains relations between entities and V3 profiles. |
| Table Type: | REFERENCE |
Column Detail - SI_ENTITY_PROFILE_R
| Column Name | Type | Null? | Definition |
|---|---|---|---|
| PARENT_ENTITY_ID | NUMBER | N | The identifier associated with the entity, e.g. organization_id. |
| PARENT_ENTITY_NAME | VC2(32) | N | The type of entity identified by entity_id, e.g. ORGANIZATION. |
| PROFILE_EXTENSION | VC2(50) | Y | The extension attribute of the profile Id |
| PROFILE_ROOT | VC2(250) | Y | The root attribute of the profile Id |
| PROFILE_SEQ | NUMBER | Y | Used to define the ordering of related profiles |
| SI_ENTITY_PROFILE_R_ID | NUMBER | N | Unique ID associated with the row. Primary key. |
| 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. |
SI_ENTITY_UUID
| Column Section | Relationship Section | Top of Page |
Table-level Detail
| Description: | System Integration Entity Universally Unique Identifier |
| Definition: | Stores related UUID as they relate to different entities in the system, like Allergies, Problems, and other related items. |
| Table Type: | ACTIVITY |
Column Detail - SI_ENTITY_UUID
| Column Name | Type | Null? | Definition |
|---|---|---|---|
| ENTITY_UUID | VC2(100) | N | Universally unique identifier for a given entity across all client domains. |
| PARENT_ENTITY_ID | NUMBER | N | The Primary Identifier of the Entity. |
| PARENT_ENTITY_NAME | VC2(30) | N | The Name of the Entity ( PROBLEM, ALLERGY, ORDER, DIAGNOSIS, PROCEDURE and others... ) |
| PERSON_ID | NUMBER | N | The person related to the given entity |
| SI_ENTITY_UUID_ID | NUMBER | N | PRIMARY KEY |
| 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 - SI_ENTITY_UUID
| Child Column in SI_ENTITY_UUID(FK) | Parent Table Name | Parent Column Name | |
|---|---|---|---|
| Parents: | PERSON_ID | PERSON | PERSON_ID |
SI_EXTERNAL_SERVICE
| Column Section | Relationship Section | Top of Page |
Table-level Detail
| Description: | SI External Service |
| Definition: | Table containing defined external services |
| Table Type: | REFERENCE |
Column Detail - SI_EXTERNAL_SERVICE
| Column Name | Type | Null? | Definition |
|---|---|---|---|
| AUTHORIZATION_TYPE_CD | NUMBER | N | Defines the type of authorization this service uses. |
| CERTIFICATE_TXT | VC2(255) | Y | The certificate text or password used to sign in the user provided in the username column. |
| CONTRIBUTOR_SYSTEM_CD | NUMBER | 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. |
| EXTERNAL_SERVICE_TYPE_CD | NUMBER | N | The type of service utilized for this system. |
| LOGICAL_DOMAIN_ID | NUMBER | N | The unique identifier for a logical domain. This identifier allows the data to be grouped by logical domain. For example, If you assign clients a logical_domain_id this would allow you to store data for multiple clients on this table. |
| SERVICE_NAME | VC2(255) | N | Name of the service defiend by the row. Should be unique within a given external service type. |
| SERVICE_URI | VC2(512) | Y | The Universal Service Identifier where the service is located |
| SI_EXTERNAL_SERVICE_ID | NUMBER | N | Unique generated number - identifies a single row in the table |
| 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. |
| USERNAME_TXT | VC2(100) | Y | The user name to use for authorizating with the service if the service uses a username and password authorization model |
Relationship Detail - SI_EXTERNAL_SERVICE
| Child Column in SI_EXTERNAL_SERVICE(FK) | Parent Table Name | Parent Column Name | |
|---|---|---|---|
| Parents: | LOGICAL_DOMAIN_ID | LOGICAL_DOMAIN | LOGICAL_DOMAIN_ID |
| Parent Column in SI_EXTERNAL_SERVICE (PK) | Child Table Name | Child Column Name | |
|---|---|---|---|
| Children: | SI_EXTERNAL_SERVICE_ID | SI_EXTERNAL_SERVICE_VOCAB | SI_EXTERNAL_SERVICE_ID |
| SI_SERVICE_RELTN | SI_EXTERNAL_SERVICE_ID |