Giter VIP home page Giter VIP logo

rcpch-census-platform's People

Contributors

anchit-chandran avatar eatyourpeas avatar mbarton avatar pacharanero avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

anchit-chandran

rcpch-census-platform's Issues

Add organisation and gp practice lists

The RCPCH Census Platform should have a curated list of:

  1. all organisations in the UK where children are cared for (hospitals both acute and community)
  2. the relationships of these organisations with their parent (eg trust or health board)
  3. the relationships of this organisations with their ICB or NHS region
  4. their relationships with other paediatric organisational units (eg PZ number for diabetes centres, OPEN UK region for epilepsy etc)
  5. The organisations should contain the ODS code as the national standard
  6. The organisation list should be versioned and kept current against the spineservices API, bumping the version when a merger takes place and storing the date
  7. The same potentially could be done for all GP practices

This means in addition to a database back end it would need some kind of scheduling element, such as celery beat.

This service would be a further dependency for other RCPCH projects, such as NPDA and Epilepsy12

tests

There are currently no tests.

  • add pytest-django to requirements
  • curate a list of gold standard IMDs against postcodes for England
  • curate a list of gold standard IMDs against postcodes for Wales
  • curate a list of gold standard IMDs against postcodes for Scotland
  • curate a list of gold standard IMDs against postcodes for Northern Ireland
  • test script to compare gold standard IMD raw score, rank against API
  • test script to compare quantile against gold standard rank

URL

This API currently is a key dependency of the Epilepsy12 project but in time will be a dependency of other projects.

  1. does it needs it's own url as part of rcpch.tech? If so: census-data.rcpch.tech?
  2. is this a service that should sit behind the RCPCH API management layer or should it be available to all?

Error: Unable to guess serializer.

Error [PostcodeView]: unable to guess serializer. This is graceful fallback handling for APIViews. Consider using GenericAPIView as view base class, if view is under your control. Either way you may want to add a serializer_class (or method). Ignoring view for now.

Error [UKIndexMultipleDeprivationQuantileView]: unable to guess serializer. This is graceful fallback handling for APIViews. Consider using GenericAPIView as view base class, if view is under your control. Either way you may want to add a serializer_class (or method). Ignoring view for now.

2023-03-30T15:23:34.624880334Z: [ERROR]  /tmp/8db3131c8624dce/deprivation_scores/views.py: Error [UKIndexMultipleDeprivationView]: unable to guess serializer. This is graceful fallback handling for APIViews. Consider using GenericAPIView as view base class, if view is under your control. Either way you may want to add a serializer_class (or method). Ignoring view for now.

These errors seem to be coming from the non-class-based endpoints. We should look into a way to fix this.

Token access

Currently authentication to the API endpoints is by Django token access.
Should this instead with an azure API key?

ERROR in Azure web app log stream likely requires schema change

Encountered 2 components with identical names "Nested" and different classes <class 'rest_framework.serializers.ModelSerializer.build_nested_field..NestedSerializer'> and <class 'rest_framework.serializers.ModelSerializer.build_nested_field..NestedSerializer'>. This will very likely result in an incorrect schema. Try renaming one.

Autogeneration of a Dart/Flutter and Python client from the openAPI3 spec

Using this toolchain it is possible to automatically generate client libraries which make integration of this API easier in other languages.

We can of course produce them in various languages, Python would probably be a good start, but we could also consider Dart since this would make the creation of the future WHAM/Inequalities app much easier and less of a manual process.

#lesslabourmorework!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.