Actions
Jira Legacy server System JIRA columns key,summary,type,updated,assignee,status maximumIssues 20 jqlQuery labels = Posts_data_quality serverId 4c843cd5-e5a9-329d-ae88-66091fcfe3c7
For Discussion
# | Comment | Owner |
---|---|---|
1 | How should the NULL MainSiteID post rows be associated with a LocalOfifce, using ManagingDeanery, Site, Trust or NationlaPostNumber prefix | Joanne Watson (Unlicensed) |
2 | Of the 19,303 Current Posts with a NULL ManagingDeanery, 436 have a IsTrainingPost = Unknown, 8,907 have a IsTrainingPost = Yes and the remaining 9,960 have a IsTrainingPost = No, can these Posts be ignored in TIS as they are Trust and not trainee posts. | Joanne Watson (Unlicensed) |
TIS is using the [vwPost].ManagingDeanery field to determine the LocalOffice Post Owner value in TIS, and will NOT be using the Hicom [vwLocalOffice] data derived via the
...
The data reported below has been taken from the Consolidated DR v1 on
Posts to ManagingDeanery by Status
There are 19,303 Current Post rows where the ManagingDeaneryLETB field is NOT populated
Posts to ManagingDeanery by Status
Posts to ManagingDeanery and LocalOffice by Status
Of these 19,303 Posts, the NULL ManagingDeanery are assigned to the following LocalOffices;
...
Posts to ManagingDeanery and LocalOffice by Status
Posts to ManagingDeanery and Mapped LocalOffice by Status
Using the same ManagingDeanery mapping logic as for Programmes
Code Block | ||||
---|---|---|---|---|
| ||||
case when p.managingdeaneryletb = 'Health Education England North West' THEN 'HENW' when p.managingdeaneryletb = 'Health Education England West Midlands' THEN 'HEWM' when p.managingdeaneryletb =IN ('Health Education England Yorkshire and the Humber', 'Yorkshire & Humber Deanery (North East)' THEN 'HEYH' when p.managingdeaneryletb = 'Health Education England North East' THEN 'HENE' when p.managingdeaneryletb = 'Health Education England East of England' THEN 'HEEOE' when p.managingdeaneryletb IN ('Health Education England South West', 'Peninsula Local Office - HESW', 'Severn Local Office - HESW') THEN 'HESW' when p.managingdeaneryletb IN= ('Health Education England East Midlands', 'Yorkshire & Humber Deanery (North East)') THEN 'HEEM' when THEN 'HEEM' when p.managingdeaneryletb IN ('Health Education England Kent, Surrey and Sussex', 'London LETBs', 'Health Education England North West London', 'Health Education England North Central and East London', 'Health Education England South London') THEN 'HELASE' when p.managingdeaneryletb IN ('Health Education England Wessex', 'Health Education England Thames Valley') THEN 'HEWTV' else 'UNKNOWN' end as mapped_lo |
The above case statement doesn't cater for the following 9 Managing Deaneries that are assigned to 588 Current Posts5,292 Current Posts, or the19,303 with a NULL Managing Deaneries;
Status | managingdeaneryletb | mapped_lo | rc |
---|---|---|---|
Current | NULL | UNKNOWN | 19303 |
Current | Health Education England North?Central and East London | UNKNOWN | 5179 |
Current | Defence Postgraduate Medical Deanery | UNKNOWN | 47 |
Current | South West Peninsula Deanery | UNKNOWN | 33 |
Current | Wales Deanery | UNKNOWN | 14 |
Current | Yorkshire & Humber Deanery (West) | UNKNOWN | 9 |
Current | East Midlands HWD (North) | UNKNOWN | 5 |
Current | Non NHS Authority | UNKNOWN | 2 |
Current | Yorkshire & Humber Deanery (South) | UNKNOWN | 2 |
Current | London Deanery | UNKNOWN | 1 |
Of the above 19,303 Current Posts with a NULL Managing Deanery, they have the following IsTrainingPost values;
Code Block | ||||
---|---|---|---|---|
| ||||
select Status, p.IsTrainingPost, count(*) as rc
from [HEELIVE].[vwPost] as p
where status = 'Current'
and managingdeaneryletb IS NULL
group by Status, p.IsTrainingPost |
Status | IsTrainingPost | rc |
---|---|---|
Current | Unknown | 436 |
Current | Yes | 8907 |
Current | No | 9960 |
Current Posts with a NULL Managing Deanery by IsTrainingPost
Current Non Training Posts will NULL ManagingDeanery
Current Non Training Posts will NULL ManagingDeanery by ApprovedGradeName
The above case statement doesn't cater for the following 17 Managing Deaneries that are assigned to 9,256 Inactive Posts;
...
Posts to ManagingDeanery and Mapped LocalOffice by Status
Posts to ManagingDeanery, LocalOffice and Mapped LocalOffice by Status
Breaking down the Current mapped UNKOWN LocalOffice values further using the LocalOffice;
...
Posts to ManagingDeanery, LocalOffice and Mapped LocalOffice by Status
Posts with a NULL vwPost.MainSiteID value
How to identify the LocalOffice for Posts with a NULL MainSiteID field;
...
The current sites with a NULL MainSiteID;
LocalOfficeName_MS | Status | managingdeaneryletb | mapped_lo | FundingBodyTrustID | LocalOfficeName_Trust | ntn_lo | rc |
---|---|---|---|---|---|---|---|
NULL | Current | NULL | UNKNOWN | NULL | NULL | NULL | 5 |
NULL | Current | NULL | UNKNOWN | NULL | NULL | NA | 1 |
NULL | Current | NULL | UNKNOWN | 129200612 | HELASE | KSS | 2 |
NULL | Current | Health Education England West Midlands | HEWM | 8140607 | HENW | WMD | 1 |
NULL | Current | Health Education England West Midlands | HEWM | 8140607 | HEEM | WMD | 1 |
NULL | Current | Health Education England West Midlands | HEWM | 8140607 | HEEOE | WMD | 1 |
NULL | Current | Health Education England West Midlands | HEWM | 8140607 | HELASE | WMD | 1 |
NULL | Current | Health Education England West Midlands | HEWM | 8140607 | HEWM | WMD | 1 |
NULL | Current | Severn Local Office - HESW | HESW | NULL | NULL | NULL | 1 |
NULL | Current | Health Education England North West | HENW | 6500118 | HELASE | NWN | 2 |
NULL | Current | Health Education England North West | HENW | 6500118 | HENW | NWN | 2 |
NULL | Current | Health Education England North West | HENW | 8139427 | HENW | NWN | 3 |
NULL | Current | Health Education England North West | HENW | 8139859 | HENW | NWN | 3 |
NULL | Current | Health Education England North West | HENW | 8140080 | HENW | NWN | 8 |
NULL | Current | Health Education England North West | HENW | 8140588 | HENW | NWN | 3 |
NULL | Current | Health Education England North East | HENE | NULL | NULL | NTH | 1 |
Posts with a NULL vwPost.MainSiteID value
...
Code Block | ||||
---|---|---|---|---|
| ||||
select * from [HEELIVE].[vwTrust] where TrustID in (8140607,6500118) |
RecordOrigin | STATUS | TrustName | TrustKnownAs | TrustNumber | DeaneryLETB | TrustID |
---|---|---|---|---|---|---|
HEELIVE | Current | Central Manchester University Hospitals NHS Foundation Trust | Central Manchester University Hospitals NHS Foundation Trust | RW3 | North Western | 6500118 |
HEELIVE | Current | St Helens and Knowsley Hospital Services NHS Trust | St Helens and Knowsley Hospital Services NHS Trust | RBN | Mersey | 8140607 |