UWorld QID add-on update
Added 2024-04-11 14:18:38 +0000 UTCUPDATE: v1.26 is now updated to work with new v12 tagging structure to include Comlex and Step. #UWorld -> #UWorld::Step or #UWorld::Comlex. If you have an older version of the add-on, you can still always use the "Auto" setting shown below
This add-on will let you take a string of Question IDs (QID) from UWorld (i.e. 2628, 16383, 1836, 1233, 26373) and convert it into a search within the AnKing Step 1/2 Deck in the Anki browser. You can also export a string of QIDs
This only works on Anki 2.1.45+. You must have Version 11 or V12 of the AnKing Step 1/2 Deck or Version 2 of the MCAT deck on AnkiHub (the public version won't work). Version 11 of the AnKing Deck has Step 1 tags and limited Step 2 tags. Version 12 on AnkiHub has significantly more tags for Step 1, 2, & 3 and Comlex 1 & 2 (nearly complete). The MCAT deck has about 1/3 of the QIDs tagged as of 4/2024
If you find a bug, please submit an issue on Github (preferred) or email us at ankingmed@gmail.com
Special thank you to ijgnd for helping develop this add-on and DoctorToBeIn23 for testing and providing ideas. 
How to Use This Add-on
This add-on was designed to be used with the AnKing Step 1/2 Deck version 11 or version 12 on AnkiHub as noted above.
Setup: Click the UWorld menu and select your test, Step 1, Step 2, or Step 3 (you can select multiple. Step 1 = Comlex 1, etc), and your version, v11 or v12.
Note that the UWorld menu option only shows up when you are in the Browser view
We are currently working on Step 3 tags and Comlex tags

Import from UWorld - quickly search for all AnKing notes that have been tagged with a UWorld QID. This helps decrease the amount of time searching for notes.
After completing a block of questions:
copy the "Question List" from UWorld (you can filter out questions you got correct if you want)

open the Anki browser
go to the top bar “Uworld” and press the first option “Import: Convert QIDs to tag search” then press enter or "OK.” This searches the AnKing deck for all notes of the question block you did IF they have been tagged already.
Export to UWorld - export a list of QIDs from selected cards in order to create a custom test in UWorld
This part requires a little pre-work to be able to have it function optimally. You'll need to go through all of your previous question blocks and do step one for each block (importing ALL the QIDs you have done up to this point). Whenever you import (or export) any question IDs, the add-on creates a memory that you have done that question. With this memory, you can then search for all the UWorld QIDs in the deck that have been matured and then create a custom question block based on the material you have already mastered.
Search the AnKing deck for desired criteria (i.e. all matured cards would look like this: (tag:#AKStep2\v11::#UWorld prop:ivl>=21) )
Highlight all the cards, click UWorld at the top, and then the second option “Export: Copy highlighted card’s QID to clipboard for custom study session”
In UWorld, Create Test -> Custom -> Paste the output below Enter Question Ids separated by comma (,)
Changelog:
v1.0 initial release
v1.3 2.1.50 updates
v1.10 fixes some critical bugs
v1.12 fixed more critical bugs and changed the default config to v12 and Step 1
v1.13 added menu options for selecting deck version and test. 12/6/2022
v1.14 added a bug fix, now allows the addon to directly access the config 12/31/2022. NOTE: v1.14 introduced another bug so we're going back to v1.13 until we fix that
v1.15 fixes the bug introduced in 1.14
v1.16 fixes an issue where the placeholder on Ankiweb would replace this addon
v1.19 Adds MCAT and Auto feature. The Auto feature will look for any UWorld ID and is the default.
v1.20 fixes a copying bug for Windows users when exporting QIDs
v1.21 resolves a bug with MCAT tag functionality
v1.23 updated to work with new v12 tagging structure (made via AnkiHub 4/11/2024). #UWorld -> #UWorld::Step or #UWorld::Comlex
v1.24 fixed a bug that was making step 2 and 3 tags not work
v1.25 now prompts a change of settings when a QID search fails to produce results
v1.26 altered to work with new tagging scheme to include COMLEX 1 and 2
v1.27 fixed a bug that previously paired COMLEX and Step tags when exporting