\n\n\u003Cimg width=\"1630\" height=\"843\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/f72643ca-d39b-4397-b30d-c4faef4e08f0\" />\n\n\u003Cimg width=\"1553\" height=\"819\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/c41c0bfc-9a13-4e42-adb6-5923c221b2a8\" />\n\n**Desktop (please complete the following information):**\n\n- OS: [e.g. iOS]\n- Browser [e.g. chrome, safari]\n- Version [e.g. 22]\n\n**Smartphone (please complete the following information):**\n\n- Device: [e.g. iPhone6]\n- OS: [e.g. iOS8.1]\n- Browser [e.g. stock browser, safari]\n- Version [e.g. 22]\n\n**Additional context**\nAdd any other context about the problem here.\n\n---\n\n### 🚨 DO NOT EDIT BELOW THIS LINE 🚨\n\n### Instructions for Requesting Assignment:\n\nTo request assignment, please clearly outline your solution and timeline by commenting on the issue using the format below:\n\n**Describe your solution clearly:**\nProvide a detailed explanation of your proposed solution, including your approach, key implementation steps, and relevant examples or references. Mention any dependencies, assumptions, or risks you foresee that might affect your timeline or implementation.\n\n**Expected Timeline:**\n- End date: [Expected submission date of a completed Pull Request]\n\n**Additional Context:**\nInclude any other relevant context, links, screenshots, or resources that support your proposed solution.\n\n> 🚨 Your assignment may be unassigned if there is no activity or progress within the stated timeline unless communicated clearly and agreed upon.\n",[],13135,"Unwanted API calls are triggered by the questions in Questionnaire Preview","2025-07-29T05:46:03Z","https://github.com/ohcnetwork/care_fe/issues/13135",0.7428196,{"description":3202,"labels":3203,"number":3204,"owner":3178,"repository":3179,"state":3205,"title":3206,"updated_at":3207,"url":3208,"score":3209},"**Describe the bug**\nWhen a questionnaire is imported using a valid JSON file, the form fields appear to be populated correctly. However, upon clicking \"Save,\" the system displays validation errors in questions field even tho value is there, and the questionnaire cannot be saved. \n\n**To Reproduce**\nSteps to reproduce the behavior:\n\n1. Click on \"Create Questionnaire\"\n2. Click on \"Import from URL\"\n3. Enter a raw JSON URL file, import and try to save it\n4. See error\n\n**Expected behavior**\nShould be able to save a successfully imported JSON.\n\n**Screenshots**\n\u003Cimg width=\"1447\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/a57de29c-ae33-43bb-8e70-fb4dcd02416a\" />\n\n\n---\n\n### 🚨 DO NOT EDIT BELOW THIS LINE 🚨\n\n### Instructions for Requesting Assignment:\n\nTo request assignment, please clearly outline your solution and timeline by commenting on the issue using the format below:\n\n**Describe your solution clearly:**\nProvide a detailed explanation of your proposed solution, including your approach, key implementation steps, and relevant examples or references. Mention any dependencies, assumptions, or risks you foresee that might affect your timeline or implementation.\n\n**Expected Timeline:**\n- End date: [Expected submission date of a completed Pull Request]\n\n**Additional Context:**\nInclude any other relevant context, links, screenshots, or resources that support your proposed solution.\n\n> 🚨 Your assignment may be unassigned if there is no activity or progress within the stated timeline unless communicated clearly and agreed upon.\n",[],12438,"closed","Unable to Save Questionnaire After Importing from JSON File","2025-05-30T08:11:15Z","https://github.com/ohcnetwork/care_fe/issues/12438",0.6606969,{"description":3211,"labels":3212,"number":3215,"owner":3178,"repository":3179,"state":3205,"title":3216,"updated_at":3217,"url":3218,"score":3219},"**Here are some of my suggestions for improving Questionnnaire Importing**\n\n1. Currently, after clicking \"Import from URL\" in /admin/questionnaire, the flow is:\n- Dialog opens with an \"Import\" button\n- Paste link → Click \"Import\" → Toast shows \"Questionnaire Imported Successfully\"\n- New dialog opens with \"Import Form\" button\n- Click again → Toast shows \"Questionnaire Imported Successfully\"\n\nSuggested Improvement:\n- Change the first button label from \"Import\" to \"Continue\" after pasting the link\n- Show the success toast after final confirmation in the second dialog (\"Import Form\")\n\nLike this:\n\nhttps://github.com/user-attachments/assets/ed1dfdf7-8a3f-45a2-9908-84cf2c31de17\n\n2. Keyboard Support\n- Enhance UX by triggering \"Continue\" and \"Import Form\" buttons when pressing Enter.\n\n3. File Size Limit\n- Implement a 10 MB limit for JSON files to prevent performance issues.\n\n4. Download Button State\n- Disable the download button while the questionnaire is updating to avoid conflicts.\n\n---\n### 🚨 DO NOT EDIT BELOW THIS LINE 🚨\n\n### Instructions for Requesting Assignment:\n\nTo request assignment, please clearly outline your solution and timeline by commenting on the issue using the format below:\n\n**Describe your solution clearly:**\nProvide a detailed explanation of your proposed solution, including your approach, key implementation steps, and relevant examples or references. Mention any dependencies, assumptions, or risks you foresee that might affect your timeline or implementation.\n\n**Expected Timeline:**\n- End date: [Expected submission date of a completed Pull Request]\n\n**Additional Context:**\nInclude any other relevant context, links, screenshots, or resources that support your proposed solution.\n\n> 🚨 Your assignment may be unassigned if there is no activity or progress within the stated timeline unless communicated clearly and agreed upon.\n",[3213,3214],{"name":3172,"color":3173},{"name":3175,"color":3176},12582,"Suggestions for Improving Questionnaire Importing","2025-08-14T05:58:56Z","https://github.com/ohcnetwork/care_fe/issues/12582",0.6613417,{"description":3221,"labels":3222,"number":3226,"owner":3178,"repository":3179,"state":3205,"title":3227,"updated_at":3228,"url":3229,"score":3230},"Allow users to import questionnaires from a URL, this will enable us to sync questionnaire across instances. \n\nGiven a URL, the we should fetch the data and use our regular API’s to create the questionnaire. \n\nThe BE will have support to store the links \n\nAlso add an option to sync questionnaires, user will have a sync button that can be used to refresh the questionnaire data from the source. \n\n---\nBlocked as it required BE changes",[3223],{"name":3224,"color":3225},"blocked","e50620",11493,"FE: Allow users to import Questionnaire from URL","2025-06-04T01:28:40Z","https://github.com/ohcnetwork/care_fe/issues/11493",0.687761,{"description":3232,"labels":3233,"number":3234,"owner":3178,"repository":3179,"state":3205,"title":3235,"updated_at":3236,"url":3237,"score":3238},"**Is your feature request related to a problem? Please describe.**\n- Currently, there's only an option to import a questionnaire from a URL, and the only way to export a questionnaire is as a file. This means we need to upload the file somewhere, generate a link, and then use that link to import it\n\n**Describe the solution you'd like**\nRename the \"Import from URL\" button to simply \"Import\". When clicked, it should provide options to:\n1. Import from URL (existing functionality).\n2. Import from File (new option, ideally with drag-and-drop support).\n\n**Alternative Solution**\nAdd another button to import from file.\n\n**Additional context**\n\n\n\n\n---\n### 🚨 DO NOT EDIT BELOW THIS LINE 🚨\n\n### Instructions for Requesting Assignment:\n\nTo request assignment, please clearly outline your solution and timeline by commenting on the issue using the format below:\n\n**Describe your solution clearly:**\nProvide a detailed explanation of your proposed solution, including your approach, key implementation steps, and relevant examples or references. Mention any dependencies, assumptions, or risks you foresee that might affect your timeline or implementation.\n\n**Expected Timeline:**\n- End date: [Expected submission date of a completed Pull Request]\n\n**Additional Context:**\nInclude any other relevant context, links, screenshots, or resources that support your proposed solution.\n\n> 🚨 Your assignment may be unassigned if there is no activity or progress within the stated timeline unless communicated clearly and agreed upon.\n",[],12491,"Add support for importing questionnaire from json file","2025-06-09T11:09:38Z","https://github.com/ohcnetwork/care_fe/issues/12491",0.6923341,{"description":3240,"labels":3241,"number":3242,"owner":3178,"repository":3179,"state":3205,"title":3243,"updated_at":3244,"url":3245,"score":3246},"**Describe the bug**\nWhen editing any questionnaire (e.g., AllergyQuestion, DiagnosisQuestion, SymptomQuestion, MedicationRequest) and submitting without making actual updates, the system still processes the submission as if changes were made\n\n**To Reproduce**\nSteps to reproduce the behavior:\n\n1. Go to Encounters\n2. Edit a questionnaire (AllergyQuestion, DiagnosisQuestion, SymptomQuestion, MedicationRequest)\n3. Click submit without making any edits\n4. See error\n\n**Expected behavior**\nNo batch request shall be made to the backend when questionnaire doesn't have actual changes\n\n**Recording**\n\nhttps://github.com/user-attachments/assets/a25bd2a0-9f9f-4a24-a6c7-dc80dbf64bed\n\nhttps://github.com/user-attachments/assets/6cd67116-bf9c-4ee9-8da4-2c11bf2b9242\n\n**Desktop (please complete the following information):**\n\n- OS: Fedora\n- Browser: Brave\n\n---\n\n### 🚨 DO NOT EDIT BELOW THIS LINE 🚨\n\n### Instructions for Requesting Assignment:\n\nTo request assignment, please clearly outline your solution and timeline by commenting on the issue using the format below:\n\n**Describe your solution clearly:**\nProvide a detailed explanation of your proposed solution, including your approach, key implementation steps, and relevant examples or references. Mention any dependencies, assumptions, or risks you foresee that might affect your timeline or implementation.\n\n**Expected Timeline:**\n- End date: [Expected submission date of a completed Pull Request]\n\n**Additional Context:**\nInclude any other relevant context, links, screenshots, or resources that support your proposed solution.\n\n> 🚨 Your assignment may be unassigned if there is no activity or progress within the stated timeline unless communicated clearly and agreed upon.\n",[],12683,"Bug: Questionnaires are submitted even when no edits are made","2025-07-08T13:16:02Z","https://github.com/ohcnetwork/care_fe/issues/12683",0.711429,{"description":3248,"labels":3249,"number":3253,"owner":3178,"repository":3179,"state":3205,"title":3254,"updated_at":3255,"url":3256,"score":3257},"**Describe the bug**\nWhen adding or editing a question in the questionnaire form:\n- Selecting a structure_type (e.g., MedicationRequest) initially is not saved correctly.\n- If the question's type is later changed to one that should not have a structure_type, the previously selected structure_type is still sent to the backend and saved, even though it should be cleared.\n\n**To Reproduce**\nSteps to reproduce the behavior:\n\n1. Go to Admin dashboard \n2. Create questionnaire form:\n3. Add question \n4. select question type structure and structure_type (don't save)\n5. then change type of question\n6. See error**Expected behavior**\nA clear and concise description of what you expected to happen.\n\n**Screenshots**\n\n\n\n**Desktop (please complete the following information):**\n\n- OS: [e.g. iOS]\n- Browser [e.g. chrome, safari]\n- Version [e.g. 22]\n\n**Smartphone (please complete the following information):**\n\n- Device: [e.g. iPhone6]\n- OS: [e.g. iOS8.1]\n- Browser [e.g. stock browser, safari]\n- Version [e.g. 22]\n\n**Additional context**\nAdd any other context about the problem here.\n\n---\n\n### 🚨 DO NOT EDIT BELOW THIS LINE 🚨\n\n### Instructions for Requesting Assignment:\n\nTo request assignment, please clearly outline your solution and timeline by commenting on the issue using the format below:\n\n**Describe your solution clearly:**\nProvide a detailed explanation of your proposed solution, including your approach, key implementation steps, and relevant examples or references. Mention any dependencies, assumptions, or risks you foresee that might affect your timeline or implementation.\n\n**Expected Timeline:**\n- End date: [Expected submission date of a completed Pull Request]\n\n**Additional Context:**\nInclude any other relevant context, links, screenshots, or resources that support your proposed solution.\n\n> 🚨 Your assignment may be unassigned if there is no activity or progress within the stated timeline unless communicated clearly and agreed upon.\n",[3250],{"name":3251,"color":3252},"stale","688388",12182,"structure_type persists incorrectly when changing question type in Questionnaire Form","2025-07-30T11:09:22Z","https://github.com/ohcnetwork/care_fe/issues/12182",0.71569073,{"description":3259,"labels":3260,"number":3261,"owner":3178,"repository":3179,"state":3205,"title":3262,"updated_at":3263,"url":3264,"score":3265},"**Describe the bug**\nAfter importing a questionnaire, clicking \"Create\" and then \"Cancel\" still triggers toaster notification.\n\n**To Reproduce**\nSteps to reproduce the behavior:\n\n1. Go to Admin dashboard\n2. Click on create questionnaire\n3. Import from url\n4. Click on create\n5. While its creating click cancel\n6. Now you are on `/admin/questionnaire`\n7. Notification is still send\n\n**Expected behavior**\nThe process should be fully canceled when 'Cancel' is clicked, or the 'Cancel' button should be disabled while the questionnaire is being created.\n\n**Recording**\n\nhttps://github.com/user-attachments/assets/5757d136-3929-4ca0-b494-bf25a7f21314\n\n**Desktop (please complete the following information):**\n\n- OS: Fedora\n- Browser: Brave\n- Version: Latest\n\n**Smartphone (please complete the following information):**\n\n- Device: [e.g. iPhone6]\n- OS: [e.g. iOS8.1]\n- Browser [e.g. stock browser, safari]\n- Version [e.g. 22]\n\n**Additional context**\nAdd any other context about the problem here.\n\n---\n\n### 🚨 DO NOT EDIT BELOW THIS LINE 🚨\n\n### Instructions for Requesting Assignment:\n\nTo request assignment, please clearly outline your solution and timeline by commenting on the issue using the format below:\n\n**Describe your solution clearly:**\nProvide a detailed explanation of your proposed solution, including your approach, key implementation steps, and relevant examples or references. Mention any dependencies, assumptions, or risks you foresee that might affect your timeline or implementation.\n\n**Expected Timeline:**\n- End date: [Expected submission date of a completed Pull Request]\n\n**Additional Context:**\nInclude any other relevant context, links, screenshots, or resources that support your proposed solution.\n\n> 🚨 Your assignment may be unassigned if there is no activity or progress within the stated timeline unless communicated clearly and agreed upon.\n",[],12506,"Bug: After importing a questionnaire, clicking \"Create\" and then \"Cancel\" still triggers notifications","2025-06-05T06:39:40Z","https://github.com/ohcnetwork/care_fe/issues/12506",0.7182973,["Reactive",3267],{},["Set"],["ShallowReactive",3270],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$ftswVhzykMFwaZPqRohlv2Fy4tUqsJ69ZldAy4yi3wGo":-1},"/ohcnetwork/care_fe/12709"]