{ "opencollection": "1.0.0", "info": { "name": "Appealable Issues Prescriptions API", "version": "v0" }, "items": [ { "info": { "name": "Prescriptions", "type": "folder" }, "items": [ { "info": { "name": "/v1/prescriptions", "type": "http" }, "http": { "method": "GET", "url": "https://sandbox-api.va.gov/services/appeals/appealable-issues/{version}/v1/prescriptions", "headers": [ { "name": "X-Key-Inflection", "value": "" } ], "params": [ { "name": "refill_status", "value": "", "type": "query", "description": "One refill status to filter on" }, { "name": "page", "value": "", "type": "query", "description": "The page number to get based on your page size" }, { "name": "per_page", "value": "", "type": "query", "description": "The size of the pagination you want" }, { "name": "sort", "value": "", "type": "query", "description": "The attribute to sort on, negated for descending" } ] }, "docs": "List medications." }, { "info": { "name": "/v1/prescriptions/{id}", "type": "http" }, "http": { "method": "GET", "url": "https://sandbox-api.va.gov/services/appeals/appealable-issues/{version}/v1/prescriptions/:id", "headers": [ { "name": "X-Key-Inflection", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "prescription id" } ] }, "docs": "Get prescription." }, { "info": { "name": "/v1/prescriptions/{id}/refill", "type": "http" }, "http": { "method": "PATCH", "url": "https://sandbox-api.va.gov/services/appeals/appealable-issues/{version}/v1/prescriptions/:id/refill", "headers": [ { "name": "X-Key-Inflection", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "The id of the prescription" } ] }, "docs": "Refill the prescription" }, { "info": { "name": "/v1/prescriptions/list_refillable_prescriptions", "type": "http" }, "http": { "method": "GET", "url": "https://sandbox-api.va.gov/services/appeals/appealable-issues/{version}/v1/prescriptions/list_refillable_prescriptions", "headers": [ { "name": "X-Key-Inflection", "value": "" } ] }, "docs": "List refillable medications." }, { "info": { "name": "/v1/prescriptions/refill_prescriptions", "type": "http" }, "http": { "method": "PATCH", "url": "https://sandbox-api.va.gov/services/appeals/appealable-issues/{version}/v1/prescriptions/refill_prescriptions", "headers": [ { "name": "X-Key-Inflection", "value": "" } ], "params": [ { "name": "ids", "value": "", "type": "query", "description": "Array of the prescription ids" } ] }, "docs": "Refill the prescriptions" }, { "info": { "name": "/v2/prescriptions", "type": "http" }, "http": { "method": "GET", "url": "https://sandbox-api.va.gov/services/appeals/appealable-issues/{version}/v2/prescriptions", "headers": [ { "name": "X-Key-Inflection", "value": "" } ], "params": [ { "name": "filter[disp_status][eq]", "value": "", "type": "query", "description": "Filter prescriptions by disp_status (comma-separated for multiple values, e.g., \"Active,Expired\")" }, { "name": "page", "value": "", "type": "query", "description": "The page number for pagination" }, { "name": "per_page", "value": "", "type": "query", "description": "The number of items per page" }, { "name": "sort", "value": "", "type": "query", "description": "The attribute to sort by. Prefix with \"-\" for descending order.\nSupported values: \"alphabetical-rx-name\", \"last-fill-date\", or field names like \"disp_status\", \"prescription_name\", \"dispensed_date\"\n" } ] }, "docs": "List medications for the current user. This endpoint uses the Unified Health Data (Oracle Health) backend\nand requires the `mhv_medications_cerner_pilot` feature flag to be enabled.\n\nSupports filtering, sorting, and pagination. Results can be filtered by prescription status and sorted\nby various attributes. Pending (PD) prescriptions are included based on the `mhv_medications_display_pending_meds`\nfeature flag.\n" }, { "info": { "name": "/v2/prescriptions/list_refillable_prescriptions", "type": "http" }, "http": { "method": "GET", "url": "https://sandbox-api.va.gov/services/appeals/appealable-issues/{version}/v2/prescriptions/list_refillable_prescriptions", "headers": [ { "name": "X-Key-Inflection", "value": "" } ] }, "docs": "List refillable medications for the current user. This endpoint returns prescriptions that can be refilled,\nincluding those marked as refillable or renewable (Active/Expired within 120 days).\n\nUses the Unified Health Data (Oracle Health) backend and requires the `mhv_medications_cerner_pilot` feature flag.\n" }, { "info": { "name": "/v2/prescriptions/refill", "type": "http" }, "http": { "method": "POST", "url": "https://sandbox-api.va.gov/services/appeals/appealable-issues/{version}/v2/prescriptions/refill", "headers": [ { "name": "X-Key-Inflection", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Refill one or more prescriptions in a batch operation. This endpoint accepts an array of prescription orders,\neach containing a station number and prescription ID. Returns detailed results for each refill attempt,\nincluding successful refills and any errors encountered.\n\nUses the Unified Health Data (Oracle Health) backend and requires the `mhv_medications_cerner_pilot` feature flag.\n\nNOTES:\n