Skip to main content
fill_pa resolves the correct prior-authorization form for a (bin, pcn, state) tuple, stamps patient / prescriber / drug / clinical-answer data onto the template, merges any attached documents (e.g. chart notes) into a single fax-ready PDF, and uploads it to S3. The response includes a short-lived signed URL. Drug metadata (strength, quantity, day supply, route of administration) is assembled server-side from the drug_slug — callers should not pass it directly. Use Search Drugs to resolve a slug. The clinical_questions payload is the decision-tree answer set collected from the UI that renders Get Clinical Questions. It can be a flat {question_id: value} dict or the wrapped export shape {"answers": {...}, "resolved": [...]}. Chart-note attachments are required when the clinical answers imply them (Q1 weight-loss subprompt, Q4 chart notes submitted). If the backend rejects the request for a missing attachment it returns HTTP 400; the SDK raises WorkflowError.

Parameters

PatientInfo

PrescriberInfo

Example

Response