/healthcaredemo

Demo realtime application using Blazor + Fusion + SignalR + dual mode (Webassembly and Server side blazor)

Primary LanguageC#

Gitpod ready-to-code

Realtime - HealthCare Central

Start by opening multiple browser windows and see all being updated accordingly

Online demo here

Quickstart

git clone https://github.com/leonibr/healthcaredemo
cd healthcaredemo

Now there is two options:

  • Using docker:
docker-compose run --service-ports healthcare_demo
# it uses port 5015
  • Or using dotnet cli:
 dotnet run --project Host\Host.csproj
# it uses default port 5001/5000
# watch out for folder navigation in your OS if not Windows

Or check the screenshots:

  1. Home Screen homescreen.png rate

  2. Place patients by dragging and droping healthcare_centrarl.gif

Objective:

  • simulate realtime administration of hospitals

Scenario:

  • Operators can place or remove patients on hospital beds
  • Operators do not register patients to waiting list, to simulate new patient to the list click: "Add Patient to Waiting List"
  • Operators get always updated data whenever is ivalidated by other operator (or other browser window)
  • The time is show as duration

Constraints:

  • Dual mode (WebAssembly and SSB)
  • Dragging and Droping without external lib.

Modify whatever you like! but please share if you can! 😉

  • It was built on top of Fusion's MudBlazor template.

Road map:

  • Maybe a dashboard

Known Issues:

  • [Fixed] ~~Only on Webassembly version: do not keep the developer tools tab opened for too long ( > ~10 min), it will increase cpu usage, but as soon as you close it and refresh the page everything is ok again.~~

License

  • MIT