bodleian / ora_data_model

Documentation and crosswalks relating to the ORA data model
1 stars 1 forks source link

Affiliation mappings in ORA/Hyrax using biztalk values #81

Closed tomwrobel closed 4 years ago

tomwrobel commented 5 years ago

Related Trello ticket: https://trello.com/c/emfo6L6M/748-part-of-53113pts-map-affiliations-using-biztalk-values

RULES FOR CROSSWALKS AND STORAGE

The tables within the affiliation database have been closely aligned with the values expected from Symplectic Elements and the BizTalk feed. However due to the way that information is presented from that feed the values are not necessarily what we would want to have stored or displayed. As such additional things need to be considered on crosswalk mapping and processing new deposits.

For crosswalks purposes the column “seAltName” needs to be checked within each table.

Mappings:

Each of these values will need to be mapped and checked against the tables in the affiliations database. The mapping will need to take place on both the ‘Name’ fields and the “seAltName” field, example below of a common affiliation for SE

MEDICAL SCIENCES   Nuffield Dept of Population Health   H6 CLINICAL TRIAL SERVICE UNIT

Rules for mapping

The value that we would like to store in Hyrax should be the human friendly version and therefore the ‘Name’ values within the Affiliations database (e.g. divisionName; departmentName, etc)

tomwrobel commented 4 years ago

@jjpartridge we need to talk about this tomorrow/soon

jjpartridge commented 4 years ago

@tomwrobel i'm around tomorrow.

tomwrobel commented 4 years ago

@jjpartridge this is now fixed in code, but not deployed. Can you test this afternoon after the QA redeploy?

tomwrobel commented 4 years ago

@jjpartridge deployed and, I think, tested (via sword2 at least, I don't know what values Symp is sending)