coronasafe / care_fe Goto Github PK
View Code? Open in Web Editor NEWCare is a Digital Public Good enabling TeleICU & Decentralised Administration of Healthcare Capacity across States.
Home Page: https://care.ohc.network
License: MIT License
Care is a Digital Public Good enabling TeleICU & Decentralised Administration of Healthcare Capacity across States.
Home Page: https://care.ohc.network
License: MIT License
The current loading spinner looks so plain.
It will be great if we can add a logo on top of it with minimum styling so that it looks good.
“I / We confirm and agree that the Ambulances enrolled in the Private Voluntary Online Ambulance Network by filling this online form will work under instruction and direction of the State Mission Director, National Health Mission, Kerala or officers / teams duly authorised by the State Mission Director, National Health Mission, Kerala."
Parse and show error messages from the notification response.
400 Bad Request format
{
field1: [
"error msg 1",
"error msg 2"
],
field2: [
"error 3"
]
}
Other 4xx error response format
{
"detail": "Given token not valid for any token type",
"code": "token_not_valid",
"messages": [{
"token_class": "AccessToken",
"token_type": "access",
"message": "Token is invalid or expired"
}]
}
Add Pnotiy to manage notification and replace all usages of AppMessage with pnotify.
https://sciactive.com/pnotify/
Handle all errors in fireRequest.tsx
Create Care centre view page similar to hospital view
The form does not validate for submission without selecting a disease.
The diseases wont be in the list most of the time, its safe to add an other so that users wont get confused
https://care.coronasafe.in/facility/200/patient
{medical_history: [{disease: [""None" is not a valid choice."]}]}
the page should auto-populate the current data
route /join
This should be a copy of our facility onboard form with few changes.
The join page should have details on Guidelines for bed spacing
, etc.
GoK wants to capture two More information:
Add a question in ambulance field which can
I / we will provide services free of any charge.
I / we will require fees for providing service @ Rs. x.xx / KM
(Kindly note CCC / GoK / CCC is not committing any fee payment at this time; this is only for information collection at this time)
Status: 400
{consultation: ["Invalid pk "2" - object does not exist."]}
I was trying to add a sample to a patient.
When you are fixing it.
Default status
to Request submitted
(a sample creation will always start with a request submission)
Hide result
it doesn't make sense to ask result before taking a sample.
remove/fix sample_number
it looks like that field is looking for a consultation_id
(This is where the API is erroring out)
https://care.coronasafe.in/facility/166/consultation
Facility should not be a field in the form as it readly avilable in the sate.
It should belng to a ptient so that, we know the patient ID.
Discharge data should default to nil
add a description for suggestion
All the common components props as defined as any.
Dev need to go through the component to see what all props need to be passed.
A district admin should be able to edit, view and index ambulances
district wise count as cards
view to select an ambulance from a list filtered district wise.
- [ ] pagination and search
ambulance detail view with details
Bugs in create facility
The form should have an option to update the following fileds.
TOTAL PATIENT VISITED IN CORONA TRAIGE | TOTAL NO.OF PATIENT ADVISED HOME QUARANTINE | TOTAL NO.OF PATIENTS UNDER ISOLATION | TOTAL OF PATIENTS REFFERED |
---|
Refer the following issue for more details
coronasafe/care#127
Browser notification for success message looks bad.
https://www.npmjs.com/package/pnotify will be a good solution
Hospital View Page
With all Details of the Hospital
add twitter , and facebook meta tags
Comment out code linking patients to hospitals since that workflow is not completed
Currently we are switching to fulll page reload for loading district and other data.
Lets have loading icon on the picker with a save disabled insted of a full page reload
Also need to correctly set the state / district / local body on patient edit.
Form should have the below inputs.
Hospital name, district, Contact number, Address, Geolocation
Existing page for ref - https://dev.care.coronasafe.in/facility/create/
We've planned the below auth changes:
So make sure the the token is refreshed well ahead, say, in every 5 minutes
POST api to be avaliable at https://dev.care.coronasafe.in/api/v1/signup
fields and registration types will be updated soon.
create a dashboard with the patient count, people in observation,
positive cases, negative cases, number of tests done, etc
Api to be avaliable at POST - https://dev.care.coronasafe.in/api/v1/login
Check if use is signed in GET - https://dev.care.coronasafe.in/api/v1/getcurrentuser
options => [Basic, Cardiac, Hearse]
#83
Generate a unique id label instead of a text field for the patient name ..
also after submit a dialogue box showing the id and asking them to note it down as hard copy.
Cyber security feature
I've successfully built the development environment , however 'npm run build' is not generating any build folder
Add Google ReCaptcha To SignUp.
Dashboard to see there own added hospitals
ability to add new hospitals
add and edit bed capacity
add and edit doctor capacity
Hospital Admin should only have access to the Hospitals he/she create.
Some of the sub forms are already created but need to integrated based on the per user scheme.
Apis are avaliable at https://dev.coronasafe.in/swagger
The input type for oxygen capacity should be changed to number
.
Please update the placeholder to Oxygen Capacity in liters
Create a patient Homepage.
Create a dashboard for data visualization of the capacity.
The total capacity should be shown along with current utilization
district wise capacity and current utilization should be plotted.
create search and filter option for patients, facilities and users
The second driver field should be optional.
Please update the validations to match.
backend issue coronasafe/care#80
in frontend, the patient name field should be read-only. and must populate a unique uid like smart-puppy or similar
Deadline is tonight in staging and production by tommorow morning.
add a location picker using leaflet to populate latitude and longitude text fields
The district admin should be able to view all the facilities listed in a district
The facility admin should be able to see their capacity, list capacity and update capacity.
The UI should also add an option to capture the geo coordinates for a hospital.
(port the existing and update design)
Low priority
user listing page for super admin
Name of Driver 1
Cell Number of Driver 1
Smart Phone Yes / No
Name of Driver 2
Cell Number of Driver 2
Smart Phone Yes / No
Related Backend Issue coronasafe/care#63
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.