Print Page as PDF
Use of STD_INSTITUTION table in PATS application ICR (4887)

Use of STD_INSTITUTION table in PATS application    ICR (4887)

Name Value
NUMBER 4887
IA # 4887
DATE CREATED 2006/08/21
CUSTODIAL PACKAGE 807
USAGE Private
TYPE SQL Table
DBIC APPROVAL STATUS APPROVED
NAME Use of STD_INSTITUTION table in PATS application
GENERAL DESCRIPTION
This integration agreement describes the use of the
std_institution table and fields within the PATS application's Oracle
database.

When the first test site goes to production with PATS, the EMC will be using
version 11 of the SDS database.
STATUS Active
KEYWORDS
  • PATS
  • SDS
  • INSTITUTION
  • STD_INSTITUTION
DURATION Till Otherwise Agreed
DATE ACTIVATED 2006/09/23
SQL TABLE STD_INSTITUTION
SQL COLUMN
SQL COLUMN COLUMN DETAILS
STATIONNUMBER
PATS does a join between the PATS report_of_contact table
and the std_institution table, to select this field into the rollup table and
the report tables.
VISN_ID
PATS uses this field when building data for the rollup and
for one PATS report provided for the National Program Office. PATS first does
a JOIN between the PATS report_of_contact table and the std_institution table
to select the institution at which a patient complaint was made. It then uses
the results of the first join to do a second join on the std_institution table
to select an entry with an ID matching the visn_id field of the first entry,
in order to get the name of the VISN.
VISTANAME
PATS does a join between the PATS report_of_contact table
and the std_institution table, to select this field into the rollup table and
the report tables.
ID
PATS has several foreign key references to the ID field on
the std_institution table. This field is used both to do joins between the
PATS tables and the std_institution table to build tables used for reporting,
and to screen data so that users see only the data for their own division.