Background
Placement supervisors are people records with specific 'Supervisor' Roles that can be linked to a placement. They can be of type 'Clinical' or 'Educational'. A placement can have 1 or many of each type. Create, Read, Update and Delete of Placement Supervisors within each Placement is required.
Refer to the Story in the list below for the requirements.
TIS Stories/Tasks
Jira Legacy | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
New link table PlacementSupervisor (partially finished version exists in TCS - clear and start again)
Should include SupervisorType - (valid values 'Clinical Supervisor' and 'Educational Supervisor')
Question as to whether it needs Startdate / Enddate / Supervisorstatus (Current/Inactive)
New endpoint to support the new table List+CRUD
Suggest a new endpoint on Person, to allow the Placement Supervisor dropdowns to search just Person records with the appropriate roles (TBCsee below) and to just return Person Firstname/Lastname/(GMC?)/PersonID to the dropdown rather than the full wide Person List dataset
People Roles to filter for Educational and Clinical Supervisors (separately to each other) agreed with DQ Leads:
ES and CS Filtered Roles List RUN 13-04-2018.xlsx
Consolidated ETL changes to bring in existing supervisors from Intrepid DR - vwPlacementSupervisor
...
Suggest splitting into two dropdowns - one for Educational Supervisor, another for Clinical Supervisor - then we can have two multiselect controls which just load a filtered, searchable list of People If we need to keep start date, end date or SupervisorStatus then we'll have to use the 'paragraph add' model as per ProgrammeMembership (and would have another field for Supervisor Type)(a new endpoint from the BE)
Also agreed in order to distinguish from trainers with the same name (e.g. John Smith) we will return the 3 GMCID/GDCID/PH in the endpoint and the Front End will concatenate which ID is present into the shown element of the dropdown to allow users to distinguish any duplicate names.
Discussion points
- Intrepid vwPlacementSupervisor has Startdate, Enddate and Supervisorstatus (with some inactive) - do we need to support any of these? DQ leads have agreed in #data_quality that we don't need any of these which simplifies the link table and the UI