ptagis - tds tag distribution system doug clough 2 december 2008
TRANSCRIPT
![Page 1: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/1.jpg)
PTAGIS - TDSTag Distribution System
Doug Clough
2 December 2008
![Page 2: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/2.jpg)
Database Overview
• Core tables + TPA (TDI)– Tagging and Interrogation Data
• ALRS– Where Tagging & Interrogation take place
• PPO– Who receives the tags
WHAT PTAGIS does
WHERE it happens
WHO is involved
![Page 3: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/3.jpg)
Database Overview
• Core tables– Tagging and Interrogation Data– Site Configuration
• TPA (TDI)– Distributing PIT tags to projects
• ALRS– Where Tagging & Interrogation take place
• PPO– Who receives the tags
![Page 4: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/4.jpg)
REARING
TAGGING
RELEASE
INTERROGATION
RECAPTURE
MORTALITY
What Goes On At A PTAGIS Site?
ALRS Schema: Modeling PTAGIS Activities
![Page 5: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/5.jpg)
INTERROGATION TAGGING RECAPTURE MORTALITY
Proposed ALRS Schema
Existing PTAGIS Tables
Restrict queries by:hucriver_namesite_type
(activity_code shown in red)
‘Core’ Tables: “What” ALRS: “Where”
WQB = PTAGIS Web Query Builder
Greater convenience and flexibility for PTAGIS user community
How would this help? ALRS Schema
Original PTAGIS Tables
![Page 6: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/6.jpg)
But where do the tags come from
?!!?
![Page 7: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/7.jpg)
But where do the tags come from
?!!?
Distributing
The missing activity!!
![Page 8: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/8.jpg)
Distributing PIT Tags• TDI (Tag Distribution & Inventory)
– Used for over 10 years– New requirements arose (ISRP)
• Maintain history of project personnel through time• Provide linkage between people, projects, and
activities
– Business process changed• BPA now purchases PIT tags
– New technology gave new opportunities
![Page 9: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/9.jpg)
Distributing PIT Tags• TDS (Tag Distribution System)
– Production deployment September 2008– Interacts with PPO tables to help …
• Maintain history of project personnel through time• Keep linkages between people, projects, and
organizations up to date
– Supports streamlined business process• Requests and approvals entered on-line• Eliminates PDRF forms
– TDI data will be copied into the TPA tables
![Page 10: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/10.jpg)
TDS Automates the Tag Distribution Process
![Page 11: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/11.jpg)
TDS Automates the Tag Distribution Process
![Page 12: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/12.jpg)
PPO Schema: Modeling PTAGIS Participants
NWPCC / BPA / CBFWAPSMFCCOEBioMarkChelanPUDNOAAWDFWDigitalAngelNez Perce TribeIDFG
organization
PK org_id
org_code name descrip org_status
project
PK proj_id
description
activity
PK activity_code
activity_category
activity_location
PK,FK2 site_codePK site_idPK,FK1 activity_code
project_activity
PK,FK1 proj_idPK,FK2 activity_code
coord_id
project_activity_location
PK,FK1 proj_idPK,FK1 activity_codePK,FK2 site_code
from_date to_date
<activity>_hdr
<activity>_data
project_activity_role
PK,FK2 person_idPK,FK1 role_idPK proj_idPK activity_codePK site_code
from_date to_date
office
PK office_id
addr1 addr2 city state zip phone fax
work_space
PK office_idPK,FK1 person_id
from_date to_date
person
PK person_id
f_name m_name l_name phone_pager phone_cell phone_home
person_role
PK role_id
description
p_a_l_event
PK,FK1 org_idPK,FK1 proj_idPK,FK1 activity_codePK,FK1 site_codePK site_idPK date_timePK event_type
event_guid
p_a_l_data
PK,FK1 event_guid
data_name data_value
COTRtag shippertag receivertag supervisortagging techdata ownerelectronics techsite biologist
Administration tag purchase tag distribution tag re-sell tag return field O&M data centerHandsOn rearing tagging recaptureRemote interrogation s by cNatural predation mortality
coord_id Examples: DMM – ‘tagging’ activity coord DMM – ‘recapture’ activity coord DMM – ‘mortality’ activity coord PTOC – ‘interrogation’ activity coord PTOC – ‘field O&M’ activity coord PTOC – ‘data center’ activity coord
New Implementation
Use domain_enumeration
Conceptual Only
Existing Implementation
tag_hdrmort_hdrrecap_hdr
tag_datamort_datarecap_data
obs_data
PTAGIS Data Sets
“Field Data Files”
“Interrogation Data Files”
Key
<coord_id>YYDDD.zzz
<site_id>YYDDD.n
organization_role
PK role_id
description
org_project_role
PK,FK1 org_idPK,FK2 proj_idPK,FK3 role_id
org_proj_nbr
funding sourceadmin sponsorfunding recipientsub-contractor
description Examples: PIT tagging wild Chinook PTAGIS
location_in_segment
PK site_id
loc_id seg_id
Include site_id = “NONSPEC” to model “Not location-specific”
Include site_code = “NONSPEC” to model “Not location-specific”
org_office
PK,FK1 org_idPK,FK2 office_id
name descrip from_date to_date
org_2_org
PK org_1_idPK org_2_idPK org2org_type
from_date to_date
project_note
PK proj_idPK note_id
comment date_time
![Page 13: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/13.jpg)
PPO Tables Associate …
• Offices with addresses and organizations
• People with offices
• Organizations with people and projects
• People with project-specific roles
Relationships are tracked through time
![Page 14: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/14.jpg)
PPO Tables …• Populate drop-down lists
– Participant names– Addresses for selected person
• Capture participant roles– Tag Requester– Tag Recipient– Any number of roles for one person– Tracked through time
(In TDS – Other uses in other sub-systems)
![Page 15: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/15.jpg)
TDS Automates the Tag Distribution Process
![Page 16: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/16.jpg)
TPA Schema: Models PIT Tag Distributing
project
PK proj_id
proj_code sub_basin name description start_date end_date
procurement_calendar
PK year_nbrPK month_nbr
month_seq_nbr month_abbrev month_name
procurement_activity
PK,FK2 year_nbrPK,FK2 month_nbrPK,FK1 proj_idPK activity_codePK tag_nominal_type
tag_quantity activity_state state_datetime l_f_name
procurement_event
PK,FK1 year_nbrPK,FK1 month_nbrPK,FK1 proj_idPK,FK1 activity_codePK,FK1 tag_nominal_type
tag_quantity activity_state state_datetime l_f_name
pit_tag_vial
PK,FK1 box_codePK vial_code
tag_type tag_quantity distributed_by_org box_seq vial_seq
pit_tag
PK tag_id
tag_typeFK1 box_codeFK1 vial_code
pit_tag_transport
PK,FK1 proj_idPK,FK1 year_nbrPK,FK1 month_nbrPK,FK1 activity_codePK,FK1 tag_nominal_typePK transport_seq
tag_quantity from_org_code from_office_code from_l_f_name to_org_code to_office_code to_l_f_name not_before_date not_after_date send_clip_files extra_instructions carrier_org_code tracking_code shipping_cost activity_state state_datetime
transported_vial
PK,FK1 proj_idPK,FK2 box_codePK,FK1 year_nbrPK,FK1 month_nbrPK,FK1 activity_codePK,FK1 tag_nominal_typePK,FK1 transport_seqPK,FK2 vial_code
presence_confirmed
Current State
State Change History
Attributes From PPO SchemaSufficient To Identify Address, Phone, E-mail Address
organization.org_code
office.office_code
person.l_f_name
Textual identifier
Textual identifier
Concatenation of last name,_first name_optional suffix
activity_code
REQUESTINGAPPROVINGRECEIVINGSHIPPINGRETURNINGREGISTERING
pit_tag_transport ?
NoNoYesYesYes
Virtual
activity_state
Open > Decided > FulfilledOpen > DecidedExpected > Received > ConsumedOpen > Decided > Packaged > Sent > ReceivedOpen > Decided > FulfilledNotified > Registered
pit_tag_type
PK tag_type
tag_nominal_type provider_org_code tag_order_code description tag_length tag_diameter unit_cost from_date to_date
transport_event
PK,FK1 proj_idPK,FK1 year_nbrPK,FK1 month_nbrPK,FK1 activity_codePK,FK1 tag_nominal_typePK,FK1 transport_seq
tag_quantity activity_state state_datetime from_l_f_name
temp_to_address
PK,FK1 transport_seq
contact_name organization address_1 address_2 address_3 city state country zip telephone email
bpa_tag_purchase
PK po_numberPK release_number
tag_order_code tag_quantity price_per_tag need_by_date message_date
initial_tag_custody
PK,FK2 transport_seq
FK1 po_numberFK1 release_number shipment_seq po_qty_remaining sender_order_number tag_type tag_quantity recipient_org_code message_date
tag_vial_hist
PK,FK1 tag_idPK box_codePK vial_code
from_date why_moved
pit_tag_box
PK box_code
FK1 tag_type box_seq vial_count next_vial_seq
The missing activity!!
![Page 17: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/17.jpg)
TPA Tables Capture …• PIT tag requests
– Quantity by month and type– Recipient names and addresses
• PIT tag purchases and initial custody – PTAGIS inventory– Other: USACE
• PIT tag approvals• PIT tag distributions to projects• User interaction with TDS identifies
– Who requests tags– Who receives tags
![Page 18: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/18.jpg)
TPA Tables Capture …• PIT tag requests
– Quantity by month and type– Recipient names and addresses
• PIT tag purchases and initial custody – PTAGIS inventory– Other: USACE
• PIT tag approvals• PIT tag distributions to projects• User interaction with TDS identifies
– Who requests tags– Who receives tags PPO TPAproj_id
![Page 19: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/19.jpg)
TDS Automates the Tag Distribution Process
![Page 20: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/20.jpg)
Project POC enters anticipated tag quantities …
3 RolesBasic, Approval, Inventory
![Page 21: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/21.jpg)
Project POC enters anticipated tag quantities …
Project list populated from PPO tables
![Page 22: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/22.jpg)
Project POC enters anticipated tag quantities …
Note: This project has been “pre-approved”
![Page 23: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/23.jpg)
Project POC enters anticipated tag quantities …
Click here if no tags are required
![Page 24: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/24.jpg)
Approvals can be entered before or after requests …
Exercising the Approval Role
![Page 25: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/25.jpg)
Approvals can be entered before or after requests …
Blue highlighting indicates un-saved
changes
![Page 26: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/26.jpg)
Project POC Identifies Recipients (last names beginning with ‘mar’) …
Exercising the Basic role again PPO tables provide
names and addresses
![Page 27: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/27.jpg)
Corresponding Addresses, Plus ‘Other’ …
Select an address, then click the button …
![Page 28: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/28.jpg)
Initially, all tags assigned to one recipient …
![Page 29: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/29.jpg)
Two assigned recipients, red arrows mean incomplete details …
![Page 30: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/30.jpg)
Details expanded, incomplete items in red …
Stored in TPA tables
Stored in TPA tables
![Page 31: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/31.jpg)
Shipment details complete; SaveChanges Enabled …
![Page 32: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/32.jpg)
Blue highlighting goes away when changes have been saved …
![Page 33: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/33.jpg)
(Before or after) BPA administrator approves requested quantities …
![Page 34: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/34.jpg)
Project POC checks approval and adjusts quantities as necessary …
![Page 35: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/35.jpg)
Exercising the Inventory Role: Distribute tab …
Exercising the Inventory role
Number of shipments (Number of tags in ‘tool tip’)
No project is selected
![Page 36: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/36.jpg)
List of recipients and tag quantities; read-only …
Click a ‘cell’ to seeshipment details
![Page 37: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/37.jpg)
Shipment details for one of the recipients; read-only …
![Page 38: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/38.jpg)
List of recipients and tag quantities; read-only …
Check the checkbox
Click the button
![Page 39: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/39.jpg)
30,000 Tags; 3 full boxes …
Pick list generated from data in TPA tables
![Page 40: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/40.jpg)
Pick List: “Retrieve from Inventory” …
![Page 41: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/41.jpg)
Shipment is Packed; Must save changes …
![Page 42: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/42.jpg)
Packing lists showing “Ready for Shipment” …Shipment containing
boxes and vials
![Page 43: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/43.jpg)
Inventory Role: Distribution “Packed” and “Sent” …
P – PackedS – SentR – Received
![Page 44: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/44.jpg)
Basic Role: Distribution “Packed” and “Shipped” …
Exercising the Basic role again
P & S – Read-onlyR can be ‘checked’
![Page 45: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/45.jpg)
Anticipating arrival of tags from DestronFearing …
![Page 46: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/46.jpg)
Receiving tags into PTAGIS inventory …
![Page 47: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/47.jpg)
But wait! There’s more …
• Automated registration of tag shipments– Backbone is built and in use– Need to build e-mail enabled driver
• Email alerting of significant events– IMMEDIATE alert of approval and shipping
• Built and in use
– LAZY alert of request / recipient changes• Built and undergoing pre-deployment tests
![Page 48: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/48.jpg)
TDS Automates the Tag Distribution Process
![Page 49: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/49.jpg)
(and just a little more) …
• Automated registration of tag shipments– Backbone is built and in use– Need to build e-mail enabled driver
• Email alerting of significant events– IMMEDIATE alert of approval and shipping
• Built and in use
– LAZY alert of request / recipient changes• Built and undergoing pre-deployment tests
![Page 50: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/50.jpg)
![Page 51: PTAGIS - TDS Tag Distribution System Doug Clough 2 December 2008](https://reader036.vdocuments.site/reader036/viewer/2022081519/56649e8a5503460f94b901c7/html5/thumbnails/51.jpg)
Questions?