Trainee UI - Field Validation | Form R (Part A)
Page Content:
As_Is Form
Semi-automated form (PDF) previously used by HEEOE:
@Alistair Pringle (Unlicensed)/ @James Harris:
User Journey
Assumptions
Prompts should be displayed to the Trainee advising them of how to update particular fields as needed
Appropriate field assistance should be displayed
Photograph from the original form is not needed
Form can be saved and come back later to complete and submit.
Form R Part A – Guidance Text
Displayed at the top of the form
All underlined / emboldened text should be displayed
Current Guidance Text
If this form has been pre-populated by your Deanery/HEE local team, please check all details, cross out errors and write in amendments. By signing this document you are confirming that ALL details (pre-populated or entered by you) are correct.
It remains your own responsibility to keep your Designated Body, and the GMC, informed as soon as possible of any changes to your contact details. Your Deanery/HEE local team remains your Designated Body throughout your time in training. You can update your Designated Body on your GMC Online account under “My Revalidation”.
Updated Guidance (to be confirmed) @Alistair Pringle (Unlicensed), @James Harris, @Sebastian Kwok (Unlicensed)
This form has been pre-populated using the information available against your records within the Trainee Information System (TIS). Please check all details and amend where necessary. Amendments made to your details on this form will not update other systems that you may have access to. By submitting this document you are confirming that ALL DETAILS (pre-populated or entered/amended by you) are correct.
It remains your own responsibility to keep your Designated Body and the GMC informed as soon as possible of any changes to your contact details. Your HEE Local team remains your Designated Body throughout your time in training. You can update your Designated Body on your GMC Online account under "My Revalidation".
Field Validation
This table specifically specifies the fields relevant to Form R, Part A only
Synchronising data to Trainee UI:
https://hee-tis.atlassian.net/browse/TISNEW-5154
https://hee-tis.atlassian.net/browse/TISNEW-5238
https://hee-tis.atlassian.net/browse/TISNEW-4307
https://hee-tis.atlassian.net/browse/TISNEW-5581
https://hee-tis.atlassian.net/browse/TISNEW-5572
https://hee-tis.atlassian.net/browse/TIS21-1032
A. Order | B. Field name | C. TIS Field to pre-populate with | D. Trainee UI Field Mapping: DB name > Collection name > Field | E. Rules for Syncing to Trainee UI non-submitted forms/copy of TIS data | F. TIS Reference Table | G. Example value | H. Type (free text, drop down, check box) & Interaction (auto-populate etc) | I. Mandatory for Submission (Y/N) ? | J. Validation / Error Messaging | K. Notes |
---|---|---|---|---|---|---|---|---|---|---|
Form R - Part A https://hee-tis.atlassian.net/browse/TISNEW-3946 | ||||||||||
Section 1: DOCTOR'S DETAILS | ||||||||||
1 | Forename | ContactDetails > Forename | trainee > TraineeProfile > forenames | Match on traineeTisId | N | Jayanta |
| Y |
| |
2 | GMC-Registered Surname | ContactDetails > Surname | trainee > TraineeProfile > Surname | Match on traineeTisId | N | Saha | @James Harris @Alistair Pringle (Unlicensed):
| Y |
| Should be GMC registered surname as per guidance at top of the form |
3 | GMC Number | GMCDetails > GMC Number | trainee > TraineeProfile > gmcNumber | Match on traineeTisId | N | 1234567 UNKNOWN |
| Y |
| There will be trainees with UNKNOWN / N/A pre-populated, but may have a GMC to enter at time of Form R. Should we wish to update TIS with the date in the future, the TIS Person ID can be linked back to. |
4 | Deanery / HEE Local Office | PersonOwner > Owner |
| Match on traineeTisId
| Y - Local Office | Health Education England Wessex |
| Y | @Alistair Pringle (Unlicensed) and @Ashley Ransoo Shall we populate this field form PersonOwner table? - Yes but can be overwritten. | |
5 | Date of birth | personaldetails > Date of Birth | trainee > TraineeProfile > dateOfBirth | Match on traineeTisId | N | 20/03/2020 |
| Y | Calendar date picker | |
6 | Gender | personaldetails > Gender |
| Match on traineeTisId
| Y - Gender | Male |
| Y | Overwritten with Gender Reference table CURRENT values only | @Alistair Pringle (Unlicensed), @James Harris option of 'I prefer not to specify' is available, so made mandatory on form. |
7 | Immigration Status | N/A |
| N/A P.S: Observed that trainee UI has got an outdated list. The correct list should be the current values from TIS Rerefence > permitToWork list with the option of Other.
| Y |
| Y | |||
| Immigration Status (Other) | N/A | N/A | N/A | N |
|
|
|
|
|
8 | Primary Qualification | Qualification > Qualification | trainee > TraineeProfile>qualification | Match on traineeTisId
| Y - Qualification Reference Quality of Qualification reference data is poor, so freetext. |
| Y |
| If there are multiple qualifications, which one to display? How to extract the Primary Qualification? 24/03: Populate with the most recent one based on Date attained where there are multiples. | |
9 | Date Awarded | Qualification tab > Qualification> Date Attained | trainee > TraineeProfile > dateAttained | Match on traineeTisId
|
| Y |
| |||
10 | Medical School Awarding Primary Qualification (name and country) | Qualification tab > Qualification> Medical School | trainee > TraineeProfile > medicalSchool | Match on traineeTisId
| N |
| Y |
| ||
11 | Home address | ContactDetails > address1 address2 address3 address4 postCode | trainee > TraineeProfile > address1, address2, address3, address4, postCode | Match on traineeTisId
|
| Y |
| Line 4 is a left over from Intrepid, if made editable, then the user should be allowed to update the whole address as an object and without a Line 4. | ||
12 | Contact Telephone | ContactDetails > telephoneNumber | trainee > TraineeProfile > telephoneNumber | Match on traineeTisId
|
| Y |
| |||
13 | Contact Mobile | Mobile Number | trainee > TraineeProfile > mobileNumber | Match on traineeTisId
|
| Y |
| |||
14 | Email Address | N/A | N/A | N/A |
| Y | ||||
Section 2: DECLARATIONS | ||||||||||
15A | I confirm I have been appointed to a programme leading to award of CCT | N/A | N/A | N/A | N/A | Selection Choose one between 15A - 15F | N |
| ||
15C | I confirm that I will be seeking specialist registration by application for a CESR CP | N/A | N/A | N/A | N/A | Selection Choose one between 15A - 15F | N |
| ||
15D | I confirm that I will be seeking specialist registration by application for a CEGPR | N/A | N/A | N/A | N/A | Selection Choose one between 15A - 15F | N |
| ||
15E | I confirm that I will be seeking specialist registration by application for a CEGPR CP | N/A | N/A | N/A | N/A | Selection Choose one between 15A - 15F | N |
| ||
15F | I confirm that I am a core trainee, not yet eligible for CCT | N/A | N/A | N/A | N/A | Selection Choose one between 15A - 15F | N |
| ||
16 | Programme Specialty | Curriculum specialty from Programme membership | trainee > TraineeProfile > programmeMemberships > curricula > curriculumName | changes:
If a new programme membership is added to trainee, sync it to Trainee UI. If a new Curriculum membership is added to trainee, sync it to Trainee UI. If a field within an existing programme membership or curriculum membership for the trainee is updated, then re-sync all Prog/Curr mems.
| @James Harris/ @Alistair Pringle (Unlicensed):
Note: Curriculumid in ProgrammeMembership linked to Curriculum table to extract the curriculum sub type info
| Y | ||||
17 | Specialty 1 for Award of CCT | same as #16 | same as #16 | same as #16 |
| Conditionally mandatory | ||||
18 | Specialty 2 for Award of CCT | same as #16 | same as #16 | same as #16 |
| N | ||||
19 | Royal College / Faculty Assessing Training for the Award of CCT | N/A | reference > College |
| Y - College Reference table | Joint Royal College of Physicians Training Board |
| Y | ||
20 | Anticipated Completion Date of Current Programme (if known) | TIS_Interim > VwProgrammemembership >Programmecurriculumcompletiondate | trainee > TraineeProfile > programmeMemberships > programmeCompletionDate |
| TIS_Interim:
TIS_NDW_ETL:
| @James Harris/ @Alistair Pringle (Unlicensed)
| Y |
| ||
SECTION 3: PROGRAMME | ||||||||||
21 | Training grade | N/A | reference > Grade | Training grade reference in Trainee UI to be synch'ed from TIS when:
| Y |
| Y | |||
22 | Start date | Programme Start date | see #16 | see #16 | N |
| Y |
| ||
23 | Post type or appointment | Programme membership type | see #16 | see #16 for prepoluation Post type reference in Trainee UI to be synch'ed from TIS when:
| Y |
| Y | |||
24 | Full Time or % of Full Time Training | WTE | N/A | N/A | N |
| Y | |||
Section 4: SIGNATURE | ||||||||||
25 | Trainee Signature | N/A | N/A | N/A | N/A |
| ||||
26 | Date | N/A | N/A | N/A | N/A | Pre-populate
| @Alistair Pringle (Unlicensed) and @Ashley Ransoo Which date to be recorded? Do we need to override the submission date or go for new field called modified date? 23/03: Yes | |||
Section 5: HEE ONLY - 24/03: Not to Display on the Form on Trainee UI but available to Admins. | ||||||||||
27 | National Training Number / Deanery Reference Number | N/A | N/A | Hidden from trainee until post submission NTN viewable once created No view/editing for Trainee unless submitted (in Historical view) Free Text for Admin | ||||||
28 | GMC Programme Approval Number | N/A | N/A | No editing for Trainee No view/editing for Trainee unless submitted Free text for Admin |
Note (January 2024):
The validation rules for Form R Part A as implemented can be viewed most easily in the publicly accessible GitHub code repositories. These include the rules listed above, with further constraints to require reasonable string lengths and dates not in the far future/distant past, as well as any other slight adjustments that have been defined over time.
Back-end validation of final submitted Form R Part A: https://github.com/Health-Education-England/tis-trainee-forms/blob/main/src/main/java/uk/nhs/hee/tis/trainee/forms/dto/FormRPartADto.java
Front-end validation of Form R Part A (applied during the process of filling them out): https://github.com/Health-Education-England/tis-trainee-ui/blob/main/components/forms/form-builder/form-r/part-a/formAValidationSchema.ts
Slack: https://hee-nhs-tis.slack.com/
Jira issues: https://hee-tis.atlassian.net/issues/?filter=14213