Write website code for an online virtual history taking chatbot called "virtual medic"…
- User
Write website code for an online virtual history taking chatbot called "virtual medic" There should be a home page including my transparent logo for the site and some information on it. There should be a sign up page and a login page. The user should be able to securely sign up, and activate their account by confirming their email. The user should be able to login to get access to a webGPU build of the unity application. The user should be authenticated within the unity app as well, to keep login secure and also track the student's progress. On completing a history taking within the webGPU app, a JSON output consisting of the marked student's responses is created. This JSON output needs to sent from the unity app to the website. The student's completed histories will be listed, and can be sorted by date, history type, presenting complaint etc. When the student selects one of their histories to see their report, the JSON output should be displayed nicely, with the option to convert it to a PDF. STRICTLY ONLY OUTPUT SOME OF THE CODE AT A TIME, AND I WILL ASK YOU TO GIVE ME MORE STEPS AFTER I COMPLETE THE PREVIOUS ONES. Example Student Data to Evaluate: { "studentName": "%-STUDENTNAME-%", "presentingComplaint": [ { "question": "When and where did the event happen? What were you doing at the time?", "GAP": "%-GAP#001-%" }, { "question": "How were you feeling beforehand? Well/unwell? Any chest pain? Palpitations? Shortness of breath?", "GAP": "%-GAP#002-%" }, { "question": "Did you get any particular warning? e.g. lightheaded/feeling about to faint, sleepiness, pins and needles around hands/ mouth", "GAP": "%-GAP#003-%" }, { "question": "Did you get any symptoms at the time e.g. nausea, vomiting, photophobia, neck stiffness?", "GAP": "%-GAP#004-%" }, { "question": "Do you think anything may have brought on or triggered the event? eg. prolonged standing or change in posture, vigorous coughing, not eating or dehydration, emotion, pain, sleep deprivation", "GAP": "%-GAP#005-%" }, { "question": "Did you lose consciousness? If not: Were you aware of your surroundings? If unsure: Do you remember hitting the floor?", "GAP": "%-GAP#006-%" }, { "question": "Did you hurt yourself during the event? If so, what happened?", "GAP": "%-GAP#007-%" }, { "question": "Any tongue biting, urinary, faecal incontinence?", "GAP": "%-GAP#008-%" }, { "question": "Did you have any jerking movements of arms/legs?", "GAP": "%-GAP#009-%" }, { "question": "Were there any changes in your colour during the episode?", "GAP": "%-GAP#010-%" }, { "question": "How long did you take to recover?", "GAP": "%-GAP#011-%" }, { "question": "How did you feel after the event? Well/unwell? Confused/drowsy/change in speech/weakness of arms/legs?", "GAP": "%-GAP#012-%" }, { "question": "Did you experience any symptoms after the event? Nausea/ sweating/ chest pain/ back pain/ shortness of breath?", "GAP": "%-GAP#013-%" } ], "PMH": [ { "question": "Do you have any medical conditions? Have you had any operations?", "GAP": "%-GAP#014-%" }, { "question": "Any head injuries? Epilepsy? Heart problems? Pacemaker? CVA? Diabetes?", "GAP": "%-GAP#015-%" } ], "FH": [ { "question": "Are there any conditions that run in your family?", "GAP": "%-GAP#016-%" }, { "question": "Epilepsy? Sudden death? Heart disease? CVA? Other neurological conditions?", "GAP": "%-GAP#017-%" } ], "drugHx": [ { "question": "Prescribed / OTC (names/doses/compliance). Allergies. Herbal remedies. Illicit drugs, Steroid use", "GAP": "%-GAP#018-%" } ], "socialHx": [ { "question": "Smoking history, Alcohol intake, Occupation+/-hobbies. Illicit Drugs. Driving", "GAP": "%-GAP#019-%" } ], "otherQuestions": [ { "question": "Enquires about effect of problems on patient’s lifestyle / disability", "GAP": "%-GAP#020-%" }, { "question": "Elicits patient’s concerns and ideas", "GAP": "%-GAP#021-%" } ], "summary": [ { "question": "Summarises the key points in the history & clarifies this is correct with the patient", "GAP": "%-GAP#022-%" } ], "communicationSkills": [ { "question": "Appropriate use of open/closed questions", "GAP": "%-GAP#023-%" }, { "question": "Language used is appropriate to the patient – clear and understandable, avoidance of medical jargon/explains terms used", "GAP": "%-GAP#024-%" }, { "question": "Appropriate use of empathy / demonstrates sensitivity", "GAP": "%-GAP#025-%" }, { "question": "Good structure throughout / Fluent", "GAP": "%-GAP#026-%" } ], "examinerQuestions": [ { "question": "What is the most likely diagnosis?", "correctAnswer": "First presentation of Epilepsy", "studentAnswer": "%-SA#001-%" }, { "question": "What term is used to define a seizure lasting more than 5 minutes or multiple seizures without regaining consciousness?", "correctAnswer": "Status Epilepticus", "studentAnswer": "%-SA#002-%" }, { "question": "What class of drugs are first line for this medical emergency?", "correctAnswer": "Benzodiazepines", "studentAnswer": "%-SA#003-%" } ], "globalAssessment": "%-GA-%", "additionalComments": "%-AC-%" }
- Assistant