Skills and tests for submitting prior authorizations through the Simplex SDK.
skills/clinical-questions/— drug-agnostic skill that teaches an agent how to fetch, walk, and answer a payer's PA decision tree, then hand the answers toclient.fill_pa(...). Includes a reference walker (walk_tree.py) that should be reused rather than reimplemented.tests/global_caremark_pa/— end-to-end test scripts:test_sdk.py—search_drugs→fill_pa→submit_pafor a Caremark commercial member (BIN 004336/ADV/OR). Thesubmit_pabackend is currently a stub that routes toINBOUND_EXAMPLE_NUMBER, not a real Caremark fax line.test_clinical_questions.py— callsget_clinical_questionsfor one(BIN, PCN, state, drug, ICD)tuple and pretty-prints the resulting decision tree.
pip install simplex
export SIMPLEX_API_KEY=...
python tests/global_caremark_pa/test_clinical_questions.py
python tests/global_caremark_pa/test_sdk.py