Closed jakemorr closed 3 months ago
Reaching out to Colin might help with coming up with a better solution with some of the names and creating a proper mapping table with the mine names.
Completing this as the first slice - Adding a link to all BCMI mines to existing records in NRCED.
Should be able to use company name to match. Need to make changes to NCRED first to support searching NRPTI by companyName.
e.g. including &or[issuedTo.companyName]=KGHM%20Ajax%20Mining%20Inc)
Using company name doesn't work as one company can have multiple mines, additionally there are other issues such as case and and vs &.
The projectName field on Inspections in NRPTI seems like a good candidate, it appears to store the mine name. However the NRIS-EPD doesn't currently set that field. NRIS-EMLI does based on the locationName field but it varies. (e.g Silvertip instead of Silvertip mine. However the locationID field matches the mine_no of the CORE mine but this is not a field that we are currently capturing.
It appears the best approach for correctly joining NRIS to CORE is to:
Changes deployed to test environments for both BCMI & NRPTI. A link to NRCED shows on the Compliance Oversight tab of each mine in BCMI.
https://bcmi-f00029-dev.apps.silver.devops.gov.bc.ca/p/5fa1e3f54635c865df00c575/compliance
As a member of the public I want a link to all relevant records of a mine on BCMI So That I can see their history of compliance
Additional Context
Acceptance Criteria