From 84a0dc71866e3f5cca719ae6e67e73be605268d6 Mon Sep 17 00:00:00 2001 From: Inshal Date: Tue, 11 Jun 2024 00:05:46 +0500 Subject: [PATCH] fixes --- resources/js/constants.js | 2 + .../js/pages/patients/QuestionProgressBar.vue | 66 + .../js/pages/patients/patientprofile.vue | 525 ++++++++ .../js/pages/patients/questions_parse.json | 1057 +++++++++++++++++ resources/js/pages/patients/type_parse.json | 43 + .../pages/providers/CompletedMeetingTab.vue | 16 +- .../js/plugins/1.router/additional-routes.js | 5 + resources/js/store.js | 29 +- typed-router.d.ts | 2 + 9 files changed, 1738 insertions(+), 7 deletions(-) create mode 100644 resources/js/pages/patients/QuestionProgressBar.vue create mode 100644 resources/js/pages/patients/patientprofile.vue create mode 100644 resources/js/pages/patients/questions_parse.json create mode 100644 resources/js/pages/patients/type_parse.json diff --git a/resources/js/constants.js b/resources/js/constants.js index df9a488..341cf07 100644 --- a/resources/js/constants.js +++ b/resources/js/constants.js @@ -54,3 +54,5 @@ export const ADMIN_LAB_KIT_DELETE_API = MAIN_DOMAIN + "/api/admin/labkit-delete/ export const ADMIN_PATIENT_DETAIL_API = MAIN_DOMAIN + "/api/admin/patient-full-detail/" export const ADMIN_PROVIDER_DETAIL_API = MAIN_DOMAIN + "/api/admin/telemed-full-detail/" + +export const ADMIN_PATIENT_PROFILE_API = MAIN_DOMAIN + "/api/admin/get-question-builder/" diff --git a/resources/js/pages/patients/QuestionProgressBar.vue b/resources/js/pages/patients/QuestionProgressBar.vue new file mode 100644 index 0000000..9d78c9b --- /dev/null +++ b/resources/js/pages/patients/QuestionProgressBar.vue @@ -0,0 +1,66 @@ + + + diff --git a/resources/js/pages/patients/patientprofile.vue b/resources/js/pages/patients/patientprofile.vue new file mode 100644 index 0000000..103b757 --- /dev/null +++ b/resources/js/pages/patients/patientprofile.vue @@ -0,0 +1,525 @@ + + + + + diff --git a/resources/js/pages/patients/questions_parse.json b/resources/js/pages/patients/questions_parse.json new file mode 100644 index 0000000..0f34acc --- /dev/null +++ b/resources/js/pages/patients/questions_parse.json @@ -0,0 +1,1057 @@ +[ + { + "label": "How would you describe your sex drive over the past year?", + "key": "sex_drive", + "type": "exact_match" + }, + { + "label": "Which of the following issues do you identify with?", + "key": "maintaining_eriction", + "type": "exact_match" + }, + { + "label": "Which of the following do you identify with?", + "key": "ejaculation_issue", + "type": "exact_match" + }, + { + "label": "How would you describe your activity levels?", + "key": "activity_levels", + "type": "exact_match" + }, + { + "label": "Do you experience constipation and gas regularly?", + "key": "gas_constipation", + "type": "exact_match" + }, + { + "label": "Do you have an existing doctor's prescription for your concerns?", + "key": "existing_doctor", + "type": "exact_match" + }, + { + "label": "Do you have a family history of growth hormone deficiency or related disorders?", + "key": "family_history_hgh", + "type": "exact_match" + }, + { + "label": "Have you experienced any major head injuries or surgeries involving the brain or pituitary gland?", + "key": "head_injury", + "type": "exact_match" + }, + { + "label": "Do you experience fatigue or lack of energy despite adequate rest?", + "key": "fatigue", + "type": "exact_match" + }, + { + "label": "Have you noticed a decrease in muscle mass or strength over the past year?", + "key": "decrease_muscle", + "type": "exact_match" + }, + { + "label": "Do you have difficulty losing weight, particularly around the abdomen?", + "key": "weight_loss_dificulty", + "type": "exact_match" + }, + { + "label": "Do you have reduced bone density or have you been diagnosed with osteoporosis?", + "key": "reduce_bone_density", + "type": "exact_match" + }, + { + "label": "Do you experience depression, anxiety, or other mood disturbances?", + "key": "mood_disturbance", + "type": "exact_match" + }, + { + "label": "Do you have difficulty concentrating or suffer from memory problems?", + "key": "concentrating_problem", + "type": "exact_match" + }, + { + "label": "Do you experience poor sleep quality or insomnia?", + "key": "insomnia", + "type": "exact_match" + }, + { + "label": "Do you have a reduced interest in sex or experience sexual dysfunction?", + "key": "sex_dysfunction", + "type": "exact_match" + }, + { + "label": "Do you smoke or use tobacco products?", + "key": "tobacco_products", + "type": "exact_match" + }, + { + "label": "Do you use any recreational drugs?", + "key": "recreational_drugs", + "type": "exact_match" + }, + { + "label": "Have you had any recent blood tests to measure your hormone levels, including growth hormone?", + "key": "recent_blood_test", + "type": "exact_match" + }, + { + "label": "Have you consulted a healthcare professional about your symptoms?", + "key": "consultation_healthcare", + "type": "exact_match" + }, + { + "label": "Are you currently taking any medication or supplements?", + "key": "medication_or_suppliment", + "type": "exact_match" + }, + { + "label": "Parkinson\u2019s Disease", + "key": "parkinsons_disease", + "type": "exact_match" + }, + { + "label": "Fibromyalgia", + "key": "fibromyalgia", + "type": "exact_match" + }, + { + "label": "Neck Surgery", + "key": "neck_surgery", + "type": "exact_match" + }, + { + "label": "Back Surgery", + "key": "back_surgery", + "type": "exact_match" + }, + { + "label": "Aneurysm Surgery", + "key": "aneurysm_surgery", + "type": "exact_match" + }, + { + "label": "Abdominal Surgery", + "key": "Abdominal_Surgery", + "type": "exact_match" + }, + { + "label": "Bowel Surgery", + "key": "Bowel_Surgery", + "type": "exact_match" + }, + { + "label": "Bypass in the legs", + "key": "Bypass_in_the_legs", + "type": "exact_match" + }, + { + "label": "Gallbladder Surgery", + "key": "gallbladder_surgery", + "type": "exact_match" + }, + { + "label": "Gastric bypass surgery", + "key": "gastric_bypass_surgery", + "type": "exact_match" + }, + { + "label": "Gynecologic surgery", + "key": "gynecologic_surgery", + "type": "exact_match" + }, + { + "label": "Intrathecal Pump", + "key": "Intrathecal_pump", + "type": "exact_match" + }, + { + "label": "Pacemaker Surgery", + "key": "pacemaker_surgery", + "type": "exact_match" + }, + { + "label": "Stimulator", + "key": "stimulator", + "type": "exact_match" + }, + { + "label": "Use caffeine", + "key": "use_caffeine", + "type": "exact_match" + }, + { + "label": "Dementia", + "key": "dementia", + "type": "exact_match" + }, + { + "label": "Epilepsy", + "key": "epilepsy", + "type": "exact_match" + }, + { + "label": "Migraine Headaches", + "key": "migraine_headaches", + "type": "exact_match" + }, + { + "label": "Polyneuropathy", + "key": "polyneuropathy", + "type": "exact_match" + }, + { + "label": "Tremor", + "key": "tremor", + "type": "exact_match" + }, + { + "label": "Poor memory", + "key": "poor_memory", + "type": "exact_match" + }, + { + "label": "Difficulty finding words", + "key": "difficulty_finding_words", + "type": "exact_match" + }, + { + "label": "Frequent sore throat", + "key": "frequent_sore_throat", + "type": "exact_match" + }, + { + "label": "Hoarseness", + "key": "hoarseness", + "type": "exact_match" + }, + { + "label": "Discharge from nose", + "key": "discharge_from_nose", + "type": "exact_match" + }, + { + "label": "Repeated sinus infections", + "key": "repeated_sinus_infections", + "type": "exact_match" + }, + { + "label": "Palpitations", + "key": "palpitations", + "type": "exact_match" + }, + { + "label": "Irregular heart beat", + "key": "irregular_heart_beat", + "type": "exact_match" + }, + { + "label": "Cold hands", + "key": "cold_hands", + "type": "exact_match" + }, + { + "label": "Cold feet", + "key": "cold_feet", + "type": "exact_match" + }, + { + "label": "Chronic cough", + "key": "chronic_cough", + "type": "exact_match" + }, + { + "label": "Muscle loss", + "key": "muscle_loss", + "type": "exact_match" + }, + { + "label": "Excessive thirst", + "key": "excessive_thirst", + "type": "exact_match" + }, + { + "label": "Farsighted", + "key": "farsighted", + "type": "exact_match" + }, + { + "label": "Nearsighted", + "key": "nearsighted", + "type": "exact_match" + }, + { + "label": "Changes in hair", + "key": "changes_in_hair", + "type": "exact_match" + }, + { + "label": "Changes in nails", + "key": "changes_in_nails", + "type": "exact_match" + }, + { + "label": "Changes in skin color", + "key": "changes_in_skin_color", + "type": "exact_match" + }, + { + "label": "Dry skin", + "key": "dry_skin", + "type": "exact_match" + }, + { + "label": "Extreme and insatiable hunger", + "key": "instaiable_hunger", + "type": "exact_match" + }, + { + "label": "genital pain", + "key": "genital_pain", + "type": "exact_match" + }, + { + "label": "The sensation of pain and\/or burning", + "key": "sensation_of_pain_burning", + "type": "exact_match" + }, + { + "label": "Urinary incontinence problem?", + "key": "urinary_incontinence_problem", + "type": "exact_match" + }, + { + "label": "Genital Sore?", + "key": "genital_sore", + "type": "exact_match" + }, + { + "label": "Are you Sexual active ?", + "key": "sexual_active", + "type": "exact_match" + }, + { + "label": "Lumps under the skin?", + "key": "lumps_under_skin1", + "type": "exact_match" + }, + { + "label": "Yellowing of eyes or skin (jaundice)?", + "key": "jaundice", + "type": "exact_match" + }, + { + "label": "Serious cough that brings up a lot of mucus or phlegm?", + "key": "phlegm", + "type": "exact_match" + }, + { + "label": "Problems with balance?", + "key": "balance_problem", + "type": "exact_match" + }, + { + "label": "Are you having pain now", + "key": "pain_now", + "type": "exact_match" + }, + { + "label": "Does anyone from Home Health or Hospice visit you at home?", + "key": "hospice_visit_at_home", + "type": "exact_match" + }, + { + "label": "Have you been able to continue most of your normal activities", + "key": "normal_activities", + "type": "exact_match" + }, + { + "label": "Unexplained weight loss\/Gain", + "key": "unexplained_weight_loss_gain", + "type": "exact_match" + }, + { + "label": "Has the patient ever had a breathing\/lung function test?", + "key": "has_the_patient_ever_had_a_breathing_lung_function_test", + "type": "exact_match" + }, + { + "label": "Stress test or treadmill test:", + "key": "stress_test_or_treadmill_test", + "type": "exact_match" + }, + { + "label": "Cardiac catheterization or angiogram:", + "key": "cardiac_catheterization_or_angiogram", + "type": "exact_match" + }, + { + "label": "Angioplasty or stent", + "key": "angioplasty_or_stent", + "type": "exact_match" + }, + { + "label": "Heart surgery If so, what kind?", + "key": "heart_surgery_If_so_what_kind", + "type": "exact_match" + }, + { + "label": "Do you follow a special meal plan or diet (such as Atkins\u00ae, Weight Watchers\u00ae, vegetarian, low fat, or diabetic)?", + "key": "special_meal_plan_or_diet", + "type": "exact_match" + }, + { + "label": "Do you exercise regularly?", + "key": "do_you_exercise_regularly", + "type": "exact_match" + }, + { + "label": "Over the last week, how itchy, sore, painful or stinging has your skin been?", + "key": "how_itchy_skin", + "type": "exact_match" + }, + { + "label": "Over the last week, how embarrassed or self conscious have you been because of your skin?", + "key": "self_conscious_of_skin", + "type": "exact_match" + }, + { + "label": "Over the last week, how much has your skin affected any social or leisure activities?", + "key": "leisure_activity_affect_on_skin", + "type": "exact_match" + }, + { + "label": "Over the last week, has your skin prevented you from working or studying?", + "key": "prevent_from_study_skin", + "type": "exact_match" + }, + { + "label": "Over the last week, how much has your skin created problems with your partner or any of your close friends or relatives?", + "key": "skin_problem_with_partner", + "type": "exact_match" + }, + { + "label": "Over the last week, how much has your skin caused any sexual difficulties?", + "key": "sexual_difficulty_with_skin", + "type": "exact_match" + }, + { + "label": "Over the last week, how much of a problem has the treatment for your skin been, for example by making your home messy, or by taking up time?", + "key": "treatment_for_skin", + "type": "exact_match" + }, + { + "label": "Are you pregnant or expecting to be?", + "key": "medical_evaluation-less_then_a_year_ago", + "type": "exact_match" + }, + { + "label": "Are you here to be evaluated for weight loss?", + "key": "evaluate_weight_loss-yes", + "type": "exact_match" + }, + { + "label": "Have you ever attempted to lose weight in a weight management program? Examples may include caloric restriction through diet, exercise, or behavior modification.", + "key": "evaluate_weight_loss", + "type": "exact_match" + }, + { + "label": "Have you ever attempted to lose weight in a weight management program?", + "key": "evaluate_weight_loss", + "type": "exact_match" + }, + { + "label": "Are you willing to reduce your caloric intake alongside medication?", + "key": "caloric_intake", + "type": "exact_match" + }, + { + "label": "Are you willing to increase your physical activity alongside medication?", + "key": "physical_activity", + "type": "exact_match" + }, + { + "label": "When was the last time you had an in person medical evaluation?", + "key": "medical_evaluation-less_then_a_year_ago", + "type": "exact_match" + }, + { + "label": "Have you had any lab tests completed within the last 12 months that you would like to share with your doctor?", + "key": "lab_tests_completed", + "type": "exact_match" + }, + { + "label": "Do you have any of the following?", + "key": "comorbidities-high_cholesterol", + "type": "exact_match" + }, + { + "label": "Does anyone in your family have a history of...", + "key": "chronic_pancreatitis", + "type": "exact_match" + }, + { + "label": "Do you have any of the following?", + "key": "chronic_pancreatitis", + "type": "exact_match" + }, + { + "label": "Do you have any of the following?", + "key": "kindney_history", + "type": "exact_match" + }, + { + "label": "Are you pregnant or expecting to be?", + "key": "m_g_expecting", + "type": "exact_match" + }, + { + "label": "What specific conditions or symptoms are you seeking treatment for with TB-500?", + "key": "m_g_cond_symptoms_tb_500", + "type": "exact_match" + }, + { + "label": "Have you previously used TB-500 or any other peptide therapies?", + "key": "m_g_peptide_tehrapies", + "type": "exact_match" + }, + { + "label": "Have you had any recent surgeries or medical treatments for this condition?", + "key": "m_g_medical_treatments", + "type": "exact_match" + }, + { + "label": "Do you have any chronic health conditions?", + "key": "m_g_chronic_health_cond", + "type": "exact_match" + }, + { + "label": "Do you have any known allergies, particularly to medications or peptides?", + "key": "m_g_known_allergies", + "type": "exact_match" + }, + { + "label": "Are you currently taking any other medications or supplements?", + "key": "m_g_other_medications", + "type": "exact_match" + }, + { + "label": "What is your current level of physical activity?", + "key": "m_g_physical_activity", + "type": "exact_match" + }, + { + "label": "When was the last time you had an in-person medical evaluation?", + "key": "m_g_in_person_med_evealuation", + "type": "exact_match" + }, + { + "label": "Have you had any lab tests completed within the last 12 months that you would like to share with your doctor?", + "key": "m_g_tests_completed", + "type": "exact_match" + }, + { + "label": "Upload your recent lab results (cholesterol, TSH, Ha1c, Creatinine):", + "key": null, + "type": "exact_match" + }, + { + "label": "Does anyone in your family have a history of gastrointestinal or metabolic conditions?", + "key": "m_g_gastrointestinal_or_metabolic_conditions", + "type": "exact_match" + }, + { + "label": "Does anyone in your family have a history of thyroid issues or diabetes?", + "key": "m_g_thyroid_issues_or_diabetes", + "type": "exact_match" + }, + { + "label": "Have you previously used PT-141 (Bremelanotide) injections?", + "key": "s_w_bremelanotide_injections", + "type": "exact_match" + }, + { + "label": "What is your primary concern related to sexual wellness?", + "key": "s_w_primary_concern", + "type": "exact_match" + }, + { + "label": "How long have you been experiencing issues with sexual wellness?", + "key": "s_w_experiencing_issues", + "type": "exact_match" + }, + { + "label": "Are you currently taking any medications for sexual wellness?", + "key": "s_w_medications_current", + "type": "exact_match" + }, + { + "label": "Do you have any known allergies to medications?", + "key": "s_w_allergies_medications", + "type": "exact_match" + }, + { + "label": "Have you ever been diagnosed with any of the following conditions?", + "key": "s_w_diagnosed_conditions", + "type": "exact_match" + }, + { + "label": "Are you currently under the care of a healthcare provider for any medical conditions?", + "key": "s_w_medical_conditions", + "type": "exact_match" + }, + { + "label": "Have you had any recent changes in your health status?", + "key": "s_w_recent_changes", + "type": "exact_match" + }, + { + "label": "Do you smoke or use tobacco products?", + "key": "s_w_tobaco_products", + "type": "exact_match" + }, + { + "label": "Do you consume alcohol?", + "key": "s_w_tobaco_alchole", + "type": "exact_match" + }, + { + "label": "Do you have any concerns about your heart health or blood pressure?", + "key": "s_w_bp_hh", + "type": "exact_match" + }, + { + "label": "Are you currently experiencing any psychological stressors or mental health concerns that may affect your sexual wellness?", + "key": "s_w_mental_health", + "type": "exact_match" + }, + { + "label": "Are you currently taking any medications that might interfere with sexual function (e.g., antidepressants, blood pressure medications)?", + "key": "s_w_sexual_function", + "type": "exact_match" + }, + { + "label": "Have you ever been diagnosed with any hormonal imbalances?", + "key": "s_w_hormonal_imblance", + "type": "exact_match" + }, + { + "label": "Have you previously experienced any side effects from sexual wellness medications?", + "key": "s_w_sexual_wellness", + "type": "exact_match" + }, + { + "label": "Do you have a history of any psychiatric conditions (e.g., depression, anxiety)?", + "key": "s_w_psychiratric_cond", + "type": "exact_match" + }, + { + "label": "Are you currently under treatment for any hormonal conditions (e.g., testosterone replacement therapy)?", + "key": "s_w_under_treatment", + "type": "exact_match" + }, + { + "label": "Do you have any concerns about potential side effects of PT-141 injections?", + "key": "s_w_pt-141_inj", + "type": "exact_match" + }, + { + "label": "How often do you experience sexual difficulties?", + "key": "s_w_sexual_difficulties", + "type": "exact_match" + }, + { + "label": "Have you ever consulted a healthcare provider or therapist for sexual wellness issues?", + "key": "s_w_sexual_wellness_issues", + "type": "exact_match" + }, + { + "label": "Do you have any upcoming surgeries or medical procedures planned?", + "key": "s_w_procedures_plan", + "type": "exact_match" + }, + { + "label": "Are you currently taking any supplements or over-the-counter medications for sexual health?", + "key": "s_w_sexual_health", + "type": "exact_match" + }, + { + "label": "Have you noticed any changes in your sexual desire or function recently?", + "key": "s_w_sexual_desire", + "type": "exact_match" + }, + { + "label": "Do you have any chronic pain conditions that might affect your sexual wellness?", + "key": "s_w_chronic_pain", + "type": "exact_match" + }, + { + "label": "How would you rate your overall health?", + "key": "s_w_overall_health", + "type": "exact_match" + }, + { + "label": "Do you have any concerns about confidentiality or privacy regarding your sexual wellness treatment?", + "key": "s_w_condentiality_sexeual_wellness", + "type": "exact_match" + }, + { + "label": "Are you open to lifestyle changes (e.g., diet, exercise) to improve your sexual wellness?", + "key": "s_w_lifestyle_changes", + "type": "exact_match" + }, + { + "label": "Do you currently experience any gastrointestinal issues (e.g., nausea, vomiting) that might affect medication absorption?", + "key": "s_w_gastrointestial_issues", + "type": "exact_match" + }, + { + "label": "Would you be willing to undergo periodic medical evaluations to monitor your response to PT-141 treatment?", + "key": "s_w_willing_to_undergo", + "type": "exact_match" + }, + { + "label": "What are your primary concerns related to aging?", + "key": "ag_aging_related", + "type": "exact_match" + }, + { + "label": "How long have you been experiencing these aging concerns?", + "key": "ag_how_long_aging_exp", + "type": "exact_match" + }, + { + "label": "Have you previously used peptides for anti-aging purposes?", + "key": "ag_aging_peptide", + "type": "exact_match" + }, + { + "label": "Are you currently taking any medications or supplements for anti-aging?", + "key": "ag_current_medications", + "type": "exact_match" + }, + { + "label": "Do you have any known allergies to medications or peptides?", + "key": "ag_known_allergies", + "type": "exact_match" + }, + { + "label": "Have you been diagnosed with any of the following conditions?", + "key": "ag_diagnosed_condition", + "type": "exact_match" + }, + { + "label": "Are you currently under the care of a healthcare provider for any chronic conditions?", + "key": "s_w_medical_conditions", + "type": "exact_match" + }, + { + "label": "Do you have any family history of age-related diseases (e.g., Alzheimer's, osteoporosis)?", + "key": "ag_related_history", + "type": "exact_match" + }, + { + "label": "Do you smoke or use tobacco products?", + "key": "s_w_tobaco_products", + "type": "exact_match" + }, + { + "label": "Do you consume alcohol?", + "key": "s_w_tobaco_alchole", + "type": "exact_match" + }, + { + "label": "Have you had any recent changes in your health status or new diagnoses?", + "key": "ag_heath_status", + "type": "exact_match" + }, + { + "label": "Do you have a regular exercise routine?", + "key": "ag_nutrational_plan", + "type": "exact_match" + }, + { + "label": "Do you follow a specific diet or nutritional plan?", + "key": "ag_anti_aging_treatment_in_past", + "type": "exact_match" + }, + { + "label": "Have you experienced any adverse reactions to anti-aging treatments in the past?", + "key": "ag_peptide_using-improve_skin_appearance", + "type": "exact_match" + }, + { + "label": "How would you rate your overall energy levels?", + "key": "ag_overall_energy_levels", + "type": "exact_match" + }, + { + "label": "Do you have any concerns about potential side effects of CJC-1295, Ipamorelin, or GHK-Cu?", + "key": "ag_cjc_1295", + "type": "exact_match" + }, + { + "label": "Are you currently experiencing any symptoms of hormone imbalance (e.g., low libido, fatigue, mood swings)?", + "key": "ag_exp_fatigue", + "type": "exact_match" + }, + { + "label": "Do you have any history of cancer or undergoing cancer treatment?", + "key": "ag_undergoing_cancer", + "type": "exact_match" + }, + { + "label": "Have you undergone any cosmetic procedures or treatments in the past year?", + "key": "ag_cosmatic_procdeures", + "type": "exact_match" + }, + { + "label": "Are you currently taking any medications that might interfere with peptide therapy?", + "key": "ag_peptide_therapy", + "type": "exact_match" + }, + { + "label": "Have you ever been diagnosed with any autoimmune diseases?", + "key": "ag_autoimmune_diseases", + "type": "exact_match" + }, + { + "label": "Do you have any chronic pain conditions that might affect your treatment?", + "key": "ag_chronic_pain", + "type": "exact_match" + }, + { + "label": "How would you describe your sleep quality?", + "key": "ag_sleep_quality", + "type": "exact_match" + }, + { + "label": "Would you be willing to undergo periodic medical evaluations to monitor your response to peptide treatment?", + "key": "ag_response_peptide_treatment", + "type": "exact_match" + }, + { + "label": "Do you have any skin conditions or sensitivities that might affect the use of GHK-Cu?", + "key": "ag_ghkcu", + "type": "exact_match" + }, + { + "label": "Are you interested in combining peptide therapy with other anti-aging treatments or lifestyle changes?", + "key": "ag_combining_peptide_therapy", + "type": "exact_match" + }, + { + "label": "Do you have any concerns about confidentiality or privacy regarding your anti-aging treatment?", + "key": "ag_confidentiality", + "type": "exact_match" + }, + { + "label": "How often do you experience stress or high-pressure situations?", + "key": "ag_stress", + "type": "exact_match" + }, + { + "label": "Are you open to making lifestyle changes (e.g., diet, exercise, stress management) to enhance the effects of peptide therapy?", + "key": "ag_lifestyle_changes", + "type": "exact_match" + }, + { + "label": "What are your primary concerns regarding DNA damage or cellular repair?", + "key": "dna_damage_cellular_repair", + "type": "exact_match" + }, + { + "label": "How long have you been aware of or concerned about DNA damage?", + "key": "dna_how_long_dammage", + "type": "exact_match" + }, + { + "label": "Have you previously used any peptides or treatments specifically for DNA repair?", + "key": "dna_peptide_treatment", + "type": "exact_match" + }, + { + "label": "Do you have any known allergies to medications or peptides?", + "key": "ag_current_medications", + "type": "exact_match" + }, + { + "label": "Have you been diagnosed with any conditions related to cellular damage or DNA repair (e.g., cancer, genetic disorders)?", + "key": "dna_disorder", + "type": "exact_match" + }, + { + "label": "Are you currently taking any medications or supplements that support DNA repair or cellular health?", + "key": "ag_diagnosed_condition", + "type": "exact_match" + }, + { + "label": "Do you have any family history of genetic disorders or diseases related to DNA damage?", + "key": "dna_genetic_disorder", + "type": "exact_match" + }, + { + "label": "What are your goals for using CJC-1295 for DNA repair?", + "key": "dna_cjc_1295", + "type": "exact_match" + }, + { + "label": "Do you have a regular routine for exercise and physical activity?", + "key": "dna_regular_activity", + "type": "exact_match" + }, + { + "label": "How would you rate your current overall health?", + "key": "dna_overall_health", + "type": "exact_match" + }, + { + "label": "Do you follow any specific dietary or nutritional plans to support cellular health?", + "key": "dna_nutritional_plans", + "type": "exact_match" + }, + { + "label": "Have you had any recent changes in your health status, such as new diagnoses or treatments?", + "key": "dna_diagnoses", + "type": "exact_match" + }, + { + "label": "Do you have any concerns about potential side effects of CJC-1295?", + "key": "dna_cjc_1295_sideeffects", + "type": "exact_match" + }, + { + "label": "Would you be willing to undergo periodic medical evaluations to monitor your response to CJC-1295 therapy?", + "key": "dna_monitor_cjc_1295_response", + "type": "exact_match" + }, + { + "label": "Are you open to incorporating additional lifestyle changes (e.g., diet, stress management) to enhance the effectiveness of CJC-1295 for DNA repair?", + "key": "dna_enhance_cjc_1295_effectiveness", + "type": "exact_match" + }, + { + "label": "**Have you ever experienced any adverse reactions to peptide treatments in the past?", + "key": "dna_adverse_reaction_peptide_therapy", + "type": "exact_match" + }, + { + "label": "Do you currently experience any symptoms of hormone imbalance (e.g., fatigue, low libido, mood swings)?", + "key": "dna_harmone_imblance", + "type": "exact_match" + }, + { + "label": "Have you ever been diagnosed with any autoimmune diseases?", + "key": "dna_autoimmune_diseases", + "type": "exact_match" + }, + { + "label": "Do you have any chronic pain conditions or inflammatory disorders?", + "key": "dna_inflammatory_disorders", + "type": "exact_match" + }, + { + "label": "Do you have a history of cardiovascular disease or uncontrolled high blood pressure?", + "key": "dna_cardiovascular_disease", + "type": "exact_match" + }, + { + "label": "What are your primary concerns regarding hair loss?", + "key": null, + "type": "exact_match" + }, + { + "label": "How long have you been experiencing hair loss?", + "key": "hg_hair_loss-less_than_6_mnths", + "type": "exact_match" + }, + { + "label": "Have you tried any treatments for hair loss before?", + "key": "hg_treatment_hair_loss", + "type": "exact_match" + }, + { + "label": "If yes, what treatments have you tried?", + "key": "hg_tried_treatment_yes", + "type": "exact_match" + }, + { + "label": "Do you have any family history of hair loss or baldness?", + "key": "hg_family_history_hair_loss", + "type": "exact_match" + }, + { + "label": "Are you currently taking any medications or supplements?", + "key": "hg_current_medications", + "type": "exact_match" + }, + { + "label": "Do you have any known allergies to medications or peptides?", + "key": "hg_current_medication", + "type": "exact_match" + }, + { + "label": "Do you have any chronic health conditions?", + "key": "hg_chronic_conditions", + "type": "exact_match" + }, + { + "label": "Have you been diagnosed with any hormonal imbalances (e.g., thyroid issues, PCOS)?", + "key": "hg_hormonal_imblance", + "type": "exact_match" + }, + { + "label": "Do you experience any scalp issues (e.g., dandruff, psoriasis, eczema)?", + "key": "hg_scalp_issues", + "type": "exact_match" + }, + { + "label": "Have you undergone any recent medical treatments or surgeries?", + "key": "hg_undergoing_treatments", + "type": "exact_match" + }, + { + "label": "Do you smoke or use tobacco products?", + "key": "hg_tobbaco_products", + "type": "exact_match" + }, + { + "label": "Do you consume alcohol?", + "key": "hg_consume_alchol", + "type": "exact_match" + }, + { + "label": "How would you describe your diet?", + "key": "hg_diet_describe", + "type": "exact_match" + }, + { + "label": "Do you have a regular exercise routine?", + "key": "hg_exersice_rutine", + "type": "exact_match" + }, + { + "label": "How would you rate your stress levels?", + "key": "hg_stress_levels", + "type": "exact_match" + }, + { + "label": "Do you have any concerns about potential side effects of peptide treatments for hair growth?", + "key": "hg_peptide_side_effects", + "type": "exact_match" + }, + { + "label": "Would you be willing to undergo periodic medical evaluations to monitor your response to treatment?", + "key": "hg_evaluation_response", + "type": "exact_match" + }, + { + "label": "Are you open to combining peptide therapy with other hair growth treatments or lifestyle changes?", + "key": "hg_hair_growth_treatment", + "type": "exact_match" + }, + { + "label": "What are your goals for using peptide therapy for hair growth?", + "key": "hg_using_peptide_therapy", + "type": "exact_match" + } +] diff --git a/resources/js/pages/patients/type_parse.json b/resources/js/pages/patients/type_parse.json new file mode 100644 index 0000000..8256b55 --- /dev/null +++ b/resources/js/pages/patients/type_parse.json @@ -0,0 +1,43 @@ +{ + "bp_match": { + "type": "c", + "values": { + "0": 100, + "60": 80, + "70": 60 + } + }, + "exact_match": { + "type": "e", + "values": { + "yes": 100, + "no": 2, + "high": 2, + "never": 2, + "almost_never": 30, + "occasionally": 66, + "almost_always": 75, + "always": 100, + "very_much": 66, + "a_lot": 100, + "a_little": 30, + "not_at_all": 2, + "not_applicable": 2, + "rarely": 30, + "sometimes": 66, + "often": 75, + "unsure": 2, + "less_than_6_hrs": 100, + "six_to_eight_hrs": 66, + "more_than_eight": 33, + "before_penetrate": 100, + "ejaculate_early": 66, + "no_issue_with_ejaculation": 2, + "no_issue": 2, + "usually_difficult": 100, + "low": 100, + "medium": 66, + "none_of_above_them": 2 + } + } +} diff --git a/resources/js/pages/providers/CompletedMeetingTab.vue b/resources/js/pages/providers/CompletedMeetingTab.vue index 79cbe82..6b6c495 100644 --- a/resources/js/pages/providers/CompletedMeetingTab.vue +++ b/resources/js/pages/providers/CompletedMeetingTab.vue @@ -47,13 +47,9 @@ const headers = [ { key: 'start_time', title: 'Start Time' }, { key: 'end_time', title: 'End Time' }, { key: 'duration', title: 'Duration' }, - // { title: 'ACTIONS', key: 'actions' }, + { title: 'Actions', key: 'profile' }, // Add this line ]; - - - - function totalCallDuration(start_time, end_time) { const startMoment = moment(start_time); const endMoment = moment(end_time); @@ -115,6 +111,12 @@ const historyDetail = (item, value) => { if(value == 'prescription') router.push('/admin/patient/meeting/prescription/' + route.params.id + '/' + item.id); } +const viewProfile = (item) => { + console.log('Viewing profile for', item); + // Navigate to the profile page (modify the route as per your application structure) + router.push('/admin/providers/patientprofile/' + item.patient_id); +} + const menusVariant = [ 'primary' ]; @@ -162,6 +164,10 @@ const options = [ > + +