<?xml version="1.0" encoding="UTF-8"?>
<inport-metadata xmlns:xs="http://www.w3.org/2001/XMLSchema"
                 version="1.11"
                 source="https://www.fisheries.noaa.gov">
   <item-identification>
      <catalog-item-id>32694</catalog-item-id>
      <title>POPULATION_REFS_MATRIX</title>
      <short-name>POPULATION_REFS_MATRIX</short-name>
      <catalog-item-type>Entity</catalog-item-type>
      <metadata-workflow-state ccs-id="9">Published / External</metadata-workflow-state>
      <parent-catalog-item-id>17904</parent-catalog-item-id>
      <parent-title>SPS Abundance - Salmon spawner abundance data compilation and database management</parent-title>
      <parent-catalog-item-type>Data Set</parent-catalog-item-type>
      <status>Planned</status>
      <abstract>Intersection table between population data and references used to compile the data. This allows several populations to refer to a single reference document.</abstract>
   </item-identification>
   <entity-information>
      <entity-type>Data Table</entity-type>
      <active-version>Yes</active-version>
      <schema>SPS</schema>
      <description>Intersection table between population data and references used to compile the data. This allows several populations to refer to a single reference document.</description>
   </entity-information>
   <data-attributes>
      <data-attribute cc-id="324158">
         <name>POPULATION_DB_ID</name>
         <data-storage-type>NUMBER</data-storage-type>
         <max-length>22</max-length>
         <required>Yes</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>Foreign key to the SALMON_POPULATION_GROUPS table to link POPULATION_REFS_MATRIX records to a specific POPULATION_DB_ID using the SP_PKX primary key. This foreign key constraint is named PRM_SPG_FK.</description>
         <general-data-type>NUMBER</general-data-type>
      </data-attribute>
      <data-attribute cc-id="324179">
         <name>REF_TO_YEAR</name>
         <data-storage-type>NUMBER</data-storage-type>
         <max-length>22</max-length>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>The last year that the reference is used for a population and data type.</description>
         <general-data-type>NUMBER</general-data-type>
      </data-attribute>
      <data-attribute cc-id="324181">
         <name>POP_REF_MATRIX_DB_ID</name>
         <data-storage-type>NUMBER</data-storage-type>
         <max-length>22</max-length>
         <required>Yes</required>
         <primary-key>Yes</primary-key>
         <status>Active</status>
         <description>Database-generated primary key (unique identifier) for each POPULATION_REFS_MATRIX record, created by an internal sequence generator and used by the database to maintain referential integrity. This ID is not designed to be managed by users. This primary key constraint is named POPULATION_REFS_MATRIX_PK.</description>
         <general-data-type>NUMBER</general-data-type>
      </data-attribute>
      <data-attribute cc-id="324175">
         <name>PUB_POP_ID</name>
         <data-storage-type>NUMBER</data-storage-type>
         <max-length>22</max-length>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>Deprecated column.</description>
         <general-data-type>NUMBER</general-data-type>
      </data-attribute>
      <data-attribute cc-id="324160">
         <name>RECORD_APPROVED_BY_PERSON</name>
         <data-storage-type>VARCHAR2</data-storage-type>
         <max-length>40</max-length>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>If there is a certification process for these records, name of person who certified approval of the particular record.</description>
         <general-data-type>VARCHAR2</general-data-type>
      </data-attribute>
      <data-attribute cc-id="324161">
         <name>RECORD_APPROVED_ON_DATE</name>
         <data-storage-type>DATE</data-storage-type>
         <max-length>7</max-length>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>If there is a certification process for these records, date that the particular record was approved or officially certified.</description>
         <general-data-type>DATE</general-data-type>
      </data-attribute>
      <data-attribute cc-id="324174">
         <name>RECORD_CHANGE_COMMENT</name>
         <data-storage-type>VARCHAR2</data-storage-type>
         <max-length>4000</max-length>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>Unlimited narrative describing the last change/edit made to this particular record. In a post-edit summary, this text is intended to describe what was done by the latest edit job.</description>
         <general-data-type>VARCHAR2</general-data-type>
      </data-attribute>
      <data-attribute cc-id="324162">
         <name>RECORD_COMPUTER_LOAD_BY_USER</name>
         <data-storage-type>VARCHAR2</data-storage-type>
         <max-length>40</max-length>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>The username that loaded the record into the database. The username is dynamically captured by the database trigger when the record is inserted and saved to the database.  This person may have no knowledge of content or meaning but ran the computer process that put the record into the database.</description>
         <general-data-type>VARCHAR2</general-data-type>
      </data-attribute>
      <data-attribute cc-id="324163">
         <name>RECORD_COMPUTER_LOAD_ON_DATE</name>
         <data-storage-type>TIMESTAMP(4)</data-storage-type>
         <max-length>11</max-length>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>The date that the record was loaded into the database. This date is dynamically captured by the database trigger when the record is inserted and saved.</description>
         <general-data-type>TIMESTAMP(4)</general-data-type>
      </data-attribute>
      <data-attribute cc-id="324164">
         <name>RECORD_CREATED_BY_PERSON</name>
         <data-storage-type>VARCHAR2</data-storage-type>
         <max-length>40</max-length>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>The name of the person who originated this record PRIOR to its being entered into the database.  The name of the person to contact with administrative questions or an explanation of it content.</description>
         <general-data-type>VARCHAR2</general-data-type>
      </data-attribute>
      <data-attribute cc-id="324165">
         <name>RECORD_CREATED_ON_DATE</name>
         <data-storage-type>DATE</data-storage-type>
         <max-length>7</max-length>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>The date, or approximate date, that the person with content knowledge originated this record PRIOR to its being entered into the database.</description>
         <general-data-type>DATE</general-data-type>
      </data-attribute>
      <data-attribute cc-id="324166">
         <name>RECORD_EFFECTIVE_DATE</name>
         <data-storage-type>DATE</data-storage-type>
         <max-length>7</max-length>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>If necessary, the date that the individual record becomes effective.  Prior to this date the record is not valid.</description>
         <general-data-type>DATE</general-data-type>
      </data-attribute>
      <data-attribute cc-id="324167">
         <name>RECORD_EXPIRATION_DATE</name>
         <data-storage-type>DATE</data-storage-type>
         <max-length>7</max-length>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>If necessary, the date that the individual record ceases to be effective.  To force a midnight expiration, this may be set by "Select to_date(to_char(sysdate +1 ,'mm/dd/yyyy')||' 23:59:59','mm/dd/yyyy hh24:mi:ss') from dual".  After this date and time the record is not valid.</description>
         <general-data-type>DATE</general-data-type>
      </data-attribute>
      <data-attribute cc-id="324180">
         <name>RECORD_HISTORY</name>
         <data-storage-type>CLOB</data-storage-type>
         <max-length>4000</max-length>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>An accumulated set of statements describing how THIS RECORD has been edited over time including WHEN and by WHOM.</description>
         <general-data-type>CLOB</general-data-type>
      </data-attribute>
      <data-attribute cc-id="324173">
         <name>RECORD_JOURNAL_NOTE</name>
         <data-storage-type>VARCHAR2</data-storage-type>
         <max-length>4000</max-length>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>Short narrative describing the last change/edit made to this particular record. In a post-edit summary, this text is intended to describe what was done by the latest edit job.</description>
         <general-data-type>VARCHAR2</general-data-type>
      </data-attribute>
      <data-attribute cc-id="324168">
         <name>RECORD_LAST_EDITED_BY_USER</name>
         <data-storage-type>VARCHAR2</data-storage-type>
         <max-length>40</max-length>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>The username of the last person who modified this record. This username is dynamically captured by the database trigger any time the record is edited.</description>
         <general-data-type>VARCHAR2</general-data-type>
      </data-attribute>
      <data-attribute cc-id="324169">
         <name>RECORD_LAST_EDITED_ON_DATE</name>
         <data-storage-type>TIMESTAMP(4)</data-storage-type>
         <max-length>11</max-length>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>The  last date that the particular record was modified. This date is dynamically captured by the database trigger any time the record is edited.</description>
         <general-data-type>TIMESTAMP(4)</general-data-type>
      </data-attribute>
      <data-attribute cc-id="324170">
         <name>RECORD_NUMBER_OF_EDITS</name>
         <data-storage-type>NUMBER</data-storage-type>
         <max-length>22</max-length>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>The number of times that the particular record was modified. This count is dynamically incremented by 1 by the database trigger each time the record is edited.</description>
         <general-data-type>NUMBER</general-data-type>
      </data-attribute>
      <data-attribute cc-id="324171">
         <name>RECORD_SOFT_DELETED</name>
         <data-storage-type>VARCHAR2</data-storage-type>
         <max-length>1</max-length>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>Flag whether or not this record has the "Deleted" status.  Null means this record has NOT been deleted.  "Y" means this record HAS been deleted.  This flag allows "deleted" records to remain in the table for technical reasons.  When the record is "Hard Deleted" it will be removed from this table and may or may not be placed in a historical table to preserve historical status.</description>
         <general-data-type>VARCHAR2</general-data-type>
      </data-attribute>
      <data-attribute cc-id="324172">
         <name>RECORD_STEWARDSHIP</name>
         <data-storage-type>VARCHAR2</data-storage-type>
         <max-length>100</max-length>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>If a set of User-Roles are developed for these records, this allows a particular Role (which may be a collection of other Roles) to be assigned to steward individual records.  When any user attempts to modify a record, a database procedure will then dynamically examine the user's Role to determine if they are authorized to edit particular records.</description>
         <general-data-type>VARCHAR2</general-data-type>
      </data-attribute>
      <data-attribute cc-id="324177">
         <name>REFERENCE_DATA_TYPE_DB_ID</name>
         <data-storage-type>NUMBER</data-storage-type>
         <max-length>22</max-length>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>Foreign key to the REFERENCE_TYPES table to link POPULATION_REFS_MATRIX records to a specific REFERENCE_DATA_TYPE_DB_ID using the REFERENCEDATATYPE_PK primary key. This foreign key constraint is named RT_PRM_FK.</description>
         <general-data-type>NUMBER</general-data-type>
      </data-attribute>
      <data-attribute cc-id="324159">
         <name>REFERENCE_DOCUMENT_DB_ID</name>
         <data-storage-type>NUMBER</data-storage-type>
         <max-length>22</max-length>
         <required>Yes</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>Foreign key to the REFERENCE_DOCUMENTS table to link POPULATION_REFS_MATRIX records to a specific REFERENCE_DOCUMENT_DB_ID using the RD_PK primary key. This foreign key constraint is named PRM_RD_FK1.</description>
         <general-data-type>NUMBER</general-data-type>
      </data-attribute>
      <data-attribute cc-id="324178">
         <name>REF_FROM_YEAR</name>
         <data-storage-type>NUMBER</data-storage-type>
         <max-length>22</max-length>
         <required>No</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>The first year that the reference is used for a population and data type.</description>
         <general-data-type>NUMBER</general-data-type>
      </data-attribute>
      <data-attribute cc-id="324176">
         <name>POPULATION_DETAIL_DB_ID</name>
         <data-storage-type>NUMBER</data-storage-type>
         <max-length>22</max-length>
         <required>Yes</required>
         <primary-key>No</primary-key>
         <status>Active</status>
         <description>Foreign key to the SALMON_POPULATION_DETAILS table to link POPULATION_REFS_MATRIX records to a specific POP_DETAIL_DB_ID using the SALMON_POPULATION_DETAILS_PK primary key. This foreign key constraint is named PRM_SPD_FK.</description>
         <general-data-type>NUMBER</general-data-type>
      </data-attribute>
   </data-attributes>
   <catalog-details>
      <guid>gov.noaa.nmfs.inport:32694</guid>
      <metadata-record-created-by pers-id="4250">Jeffrey Cowen</metadata-record-created-by>
      <metadata-record-created>2016-05-09T14:19:48</metadata-record-created>
      <metadata-record-last-modified-by pers-id="0">SysAdmin InPortAdmin</metadata-record-last-modified-by>
      <metadata-record-last-modified>2022-08-09T17:11:00</metadata-record-last-modified>
      <record-published>2016-05-11</record-published>
      <owner-organization>Northwest Fisheries Science Center</owner-organization>
      <owner-organization-acronym>NWFSC</owner-organization-acronym>
      <owner-organization-address>2725 Montlake Boulevard East</owner-organization-address>
      <owner-organization-address-city>Seattle</owner-organization-address-city>
      <owner-organization-address-state>WA</owner-organization-address-state>
      <owner-organization-address-zip>98112</owner-organization-address-zip>
      <owner-organization-address-country>USA</owner-organization-address-country>
      <owner-organization-phone>206-860-3200</owner-organization-phone>
      <owner-organization-url>https://www.nwfsc.noaa.gov</owner-organization-url>
      <owner-organization-business-hours/>
      <owner-organization-group-id>1001</owner-organization-group-id>
      <publication-status>Public</publication-status>
      <is-do-not-publish>No</is-do-not-publish>
      <metadata-last-review-date>2016-05-11</metadata-last-review-date>
      <metadata-review-frequency>1 Year</metadata-review-frequency>
      <metadata-next-review-date>2017-05-11</metadata-next-review-date>
   </catalog-details>
</inport-metadata>
