...
TraineeProfile: add
linkedProgrammeMembership[]: {uuid, when, how, metrics}
to placement subdocument. The actual details of the PM are already held in theprogrammeMembership[]
subdocuments.tis-trainee-sync: add
placementProgrammeMembership
collection to be synced from TIS, and triggering re-enrichment of related placements. For the first phase, the only sync will be the Placement-ProgrammeMembership-Link table from TIS. When an INSERT/UPDATE/DELETE record arrives in tis-trainee-sync for that table we would need to update the sync collection, re-enrich the related placement and update the trainee profile accordingly.
In addition, send this new trainee profile content to the NDW.
In phase 1, the newlinkedProgrammeMembership
data should not affect TSS credentials, forms, notifications or actions,
...
Notes:
Post linkage (not reliable):
Sometimes placements ‘borrow’ post from another programme because otherwise post management becomes laborious, e.g. Emergency Medicine Higher → EM run-through; GP using Obstetrics etc. in hospital placement.
...