Opened 8 years ago
Last modified 8 years ago
#1824 new gap
Restriction code -Noxious Weed
| Reported by: | dbmulg | Owned by: | dbmulg |
|---|---|---|---|
| Priority: | medium | Milestone: | |
| Component: | Public Website App. | Version: | N/A |
| Severity: | Keywords: | ||
| Cc: | Melanie.Schori@… | Database Engine: | N/A |
| Operating System: | N/A |
Description
The data source for Noxious Weed Restriction code is currently using the code WEED from the Restriction field in taxonomy_species table. But the data for the value is not updated in taxonomy_species table because it is now stored in the taxonomy_noxious table.
We should discuss and find a way to make use the updated data in the taxonomy_noxious table, may need some added data/field to check the noxious weed restriction status for the accession.
Note: We tried to use only taxonomy_noxious table data in initial 1.10.4 server release, but it caused some problem, so we reverted back to the old way of looking at taxonomy_species table for now.
Change History (2)
comment:1 by , 8 years ago
comment:2 by , 8 years ago
For the second level, email notification may not be the best method, and the wording and implementation of what appears on the PW will need to be checked with curators first.

Currently, the taxonomy_species.restriction_code value of WEED generates a notice on the accession search results page of Contact Site and provides a warning on the accession detail page:
https://npgsweb.ars-grin.gov/gringlobal/accessiondetail.aspx?id=1026038
The same Contact Site and noxious weed notice should be provided using data from taxonomy_noxious when geography_id = 926 (US, meaning it's federally listed) AND noxious_level_code is not null. This will exclude the noxious type of NAPPRA, which is restrictions for imports (not exports). There should be 406 taxa that will be flagged as Contact Site from this statement.
This can be considered the first level of noxious check.
The second level of check should operate when a cooperator is logged in and is proceeding to checkout. If a taxon is in the taxonomy_noxious table AND the geography_id = the shipping address state geography_id, the cart should be updated with a statement: "This accession is prohibited or restricted in certain states. Please contact the curator for details if you wish to include it in your order." The curator should also receive an email notification that the order includes prohibited or restricted material, with details (taxon name, state, noxious type (noxious_type_code), noxious level (noxious_level_code) from the taxonomy_noxious table.
The third level of check will have to be implemented in consultation with curators as to how they will mark accessions to indicate that they are noxious, rather than crop. For example, Helianthus annuus is regulated in Iowa, while Helianthus ciliaris is regulated in a number of other states. Daucus carota is regulated in 10 states. This part of the check will need to be implemented after the first two parts are in place.