rcpch / rcpch-nhs-organisations

A Django project to maintain an up to date list of all UK NHS organisations that care for children and young people.
MIT License
1 stars 0 forks source link

Paediatric Diabetes networks #29

Closed eatyourpeas closed 1 month ago

eatyourpeas commented 1 month ago

Currently PZ code relating to individual paediatric diabetes units are included in the Organisation model.

PDUs themselves though are part of wider regional paediatric diabetes networks. These need including and will be necessary for NPDA reporting. Any information we publish here we can pull into NPDA or might be useful in time for other things related to paediatric diabetes nationally.

To close:

AmaniKrayemRCPCH commented 1 month ago

Attached is the list of PDUs and the lookup to trust, icb, network, region, and country. NPDA Units_20240827.xlsx

eatyourpeas commented 1 month ago

Note the only item on this list that changes is the relationship with PaediatricDiabetesNetwork which is as a foreign key in PaediatricDiabetesUnit, not Organisation

eatyourpeas commented 1 month ago

For future reference, the refactored paediatric_diabetes_units/parent now returns and object structured like this:

{
    "pz_code": "PZ002",
    "paediatric_diabetes_network": {
      "pn_code": "PN06",
      "name": "East of England"
    },
    "parent": {
      "ods_code": "RM1",
      "name": "NORFOLK AND NORWICH UNIVERSITY HOSPITALS NHS FOUNDATION TRUST",
      "address_line_1": "COLNEY LANE",
      "address_line_2": "COLNEY",
      "town": "NORWICH",
      "postcode": "NR4 7UY",
      "country": "ENGLAND",
      "telephone": null,
      "website": null,
      "active": true,
      "published_at": null
    },
    "primary_organisation": {
      "ods_code": "RM102",
      "name": "NORFOLK & NORWICH UNIVERSITY HOSPITAL"
    }
  },
The new unique identifiers for the Paediatric Diabetes Networks are: Network ID Network Name
PN01 Jersey
PN02 South West
PN03 South Central
PN04 Thames Valley
PN05 London & South East
PN06 East of England
PN07 Wales
PN08 West Midlands
PN09 East Midlands
PN10 Yorkshire & Humber
PN11 North West
PN12 North East & North Cumbria