Skip to content

Commit

Permalink
[UK] Add ICB types to fixture.
Browse files Browse the repository at this point in the history
  • Loading branch information
dracos committed Nov 6, 2023
1 parent 6b66c97 commit f24a55c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mapit_gb/fixtures/uk.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@
{ "pk": 50, "model": "mapit.type", "fields": { "code": "ER", "description": "English Region" } },
{ "pk": 51, "model": "mapit.type", "fields": { "code": "NCP", "description": "Non-civil parished area" } },

{ "pk": 52, "model": "mapit.type", "fields": { "code": "ICB", "description": "Integrated Care Board" } },
{ "pk": 53, "model": "mapit.type", "fields": { "code": "SICBL", "description": "Sub ICB Location" } },

{ "pk": 1, "model": "mapit.codetype", "fields": { "code": "ons", "description": "SNAC" } },
{ "pk": 2, "model": "mapit.codetype", "fields": { "code": "gss", "description": "GSS (SNAC replacement)" } },
{ "pk": 3, "model": "mapit.codetype", "fields": { "code": "unit_id", "description": "Boundary-Line (OS Admin Area ID)" } },
Expand Down
2 changes: 2 additions & 0 deletions mapit_gb/management/commands/mapit_UK_find_parents.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,6 @@ class Command(FindParentsCommand):
'LGW': 'LGE',
# A Northern Ireland electoral area's parent is a Northern Ireland Council district
'LGE': 'LGD',
# Integrated Care Boards and their sub-locations
'SICBL': 'ICB',
}

0 comments on commit f24a55c

Please sign in to comment.