Code Monkey home page Code Monkey logo

renalware-diaverum's People

Contributors

dependabot[bot] avatar woodpigeon avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

renalware-diaverum's Issues

Allow recreation of path files in a period and for a particular patient in the UI

We can already recreate path files in a rake task e.g.

bundle exec rake diaverum:recreate_pathology_files from_date=2019-10-30 to_date=2020-11-15 local_patient_id=Z100003

However it would be useful to do this in UI
Perhaps we can introduce a point of extensibility in RW to allow this gem to plug in some UI elements via a partial perhaps with a button/date picker to allow generation from a patient HD page.
Perhaps a Diaverum menu item could appear in the HD Summary for patients dialysing at hospital unit that is associated with Diaverum (via hd_provider_units). RW would have to detect this relationship and so for example if a patient's HD profile says they dialysate at unit A and that unit has an entry on hd_provider_units to indicate its a Diaverum unit, the HD summary can attempt insert a menu item or view component from the diaverum gem at a particular location - and fails silently if it does not exist. Same applies to Nikkiso and Fresenius. Gives an opportunity for these gems to insert specific content. COuld be we support puling in a summary viewcomponent form the gem for display on the HD Profile, and a dedicate page accessed by a menu that is activated if appropriate.

image

Add a 'go live' date setting to prevent duplicate retrospective sessions

When going live, have the ability to indicate that folders older than a particular date should not be imported, otherwise the the 30 day backlog will be imported creating duplicates.

e.g.
Add ENV GO_LIVE_DATE var
Use this date to exclude Treatment elements with a Date earlier than GO_LIVE_DATE

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.