-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added C&C_patient_management.drawio #24
base: main
Are you sure you want to change the base?
Conversation
Will add more files in due time
I think we only need 1 database Patient instead of 3 separate DBs: Triage, Account, Health. Since they are all related to patient and can join together by the key PatientID. I would suggest that we have PatientDB with 4 tables: TriageRecords- schema TriageRecordsSchema (contains triage record, with TriageID as primary key), UserHealthInfo - schema UserHealthInfoSchema (contains user health record for for patient, primary key is PatientID), AccountInfo - schema AccountInfoSchema (contains account related info (name, username, pw, address, email, phone), primary key is PatientID). |
Both diagrams good to me. Can you update the description for them by tonight? Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's missing the mocking API.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the function should return a JSON object. Also, FastApi has a section on how to verify user login that we can use as reference.
@lapis2002 Which function? |
@lapis2002 I think you're referring to user_validation(). I'll change that certainly if that's what you're referring to. |
The JSON response is about the triages endpoint. It should return a JSON object, sth like this {"triage_history" : []} |
Also can you record a vid demoing the API? (If you can convert to gif format, it would be great) |
Video demonstrations: Activate Server: Activate.Server.mp4Log In: Log.In.mp4Get Patient's Info: Get.Patient.Info.mp4Get Triage List: Get.Triage.List.mp4Get Specific Triage: Get.Triage.mp4Video on creating an account is to large to be included here, but it is similar to the login demonstration |
@lapis2002 we can certainly expand that later. We're only concerned now with what we define in component diagram and use case. |
Can you mention the component, interface and connector in your component description? |
@lapis2002 Will do |
Description for Component Diagram:Components:The subsystem, which represents Patient Management as a microservice, comprises 5 components:
Connectors:Internal (Within the Patient Management subsystem)
External
|
@lapis2002 Done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
This is not the picture of the exact file, but representative nonetheless