curl --request POST \
--url https://api.develophealth.ai/prior-authorization \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"diagnoses": [
{
"code": "E66.9"
}
],
"evidence": [
{
"content": {
"bmi_value": 32,
"date_measured": "2023-11-10"
},
"date_created": "2023-11-10T10:15:00",
"title": "BMI Chart"
},
{
"content": {
"medication_name": "Metformin",
"response": "No significant weight loss"
},
"date_created": "2023-11-10T10:15:00",
"title": "Previous Medication History"
}
],
"patient": {
"address": {
"street": "123 Health St.",
"city": "Wellness",
"state_province": "CA",
"zip_postal_code": "12345",
"country": "USA"
},
"date_of_birth": "1980-01-01",
"email": "[email protected]",
"first_name": "John",
"last_name": "Doe",
"gender": "male",
"internal_id": "123456",
"phone": "123-456-7890"
},
"insurance": [
{
"file_content": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAFgwJ/lzvN2QAAAABJRU5ErkJggg=="
},
{
"file_content": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAFgwJ/lzvN2QAAAABJRU5ErkJggg=="
}
],
"prescription": {
"days_supply": 30,
"quantity": 2,
"directions": "Inject subcutaneously once a week",
"drug_name": "Wegovy",
"strength": "0.25 mg/0.5 mL (0.25 mg dose)",
"dose_form": "injectable",
"route_of_administration": "subcutaneous",
"extra": {
"prescribing_information": "Prescribed for weight management in patients with obesity"
},
"prescription_date": "2024-02-14T05:46:07.764000"
},
"provider": {
"address": {
"street": "456 Care Blvd.",
"city": "Healtown",
"state_province": "CA",
"zip_postal_code": "67890",
"country": "USA"
},
"fax": "987-654-3211",
"first_name": "Alice",
"internal_id": "provider_12345",
"last_name": "Smith",
"npi": "1234567890",
"phone": "987-654-3210"
},
"pharmacy": {
"name": "Walgreens",
"address": {
"street": "789 Pharmacy Ave.",
"city": "Medtown",
"state_province": "MD",
"zip_postal_code": "12345",
"country": "USA"
}
},
"questionnaires": [
{
"questions": [
{
"answer": "I usually eat a balanced diet and exercise 3 times a week.",
"question": "Please describe your current diet and exercise routine."
},
{
"answer": "Yes, I have tried metformin without significant results.",
"question": "Have you previously tried other weight loss medications?"
}
],
"date_created": "2023-11-01T08:00:00"
}
],
"visit_notes": [
{
"content": "Patient presents with a BMI of 32, indicating obesity. Recommended to start Wegovy for weight management.",
"date_created": "2023-11-10T10:00:00"
}
],
"priority": 2
}
'import requests
url = "https://api.develophealth.ai/prior-authorization"
payload = {
"diagnoses": [{ "code": "E66.9" }],
"evidence": [
{
"content": {
"bmi_value": 32,
"date_measured": "2023-11-10"
},
"date_created": "2023-11-10T10:15:00",
"title": "BMI Chart"
},
{
"content": {
"medication_name": "Metformin",
"response": "No significant weight loss"
},
"date_created": "2023-11-10T10:15:00",
"title": "Previous Medication History"
}
],
"patient": {
"address": {
"street": "123 Health St.",
"city": "Wellness",
"state_province": "CA",
"zip_postal_code": "12345",
"country": "USA"
},
"date_of_birth": "1980-01-01",
"email": "[email protected]",
"first_name": "John",
"last_name": "Doe",
"gender": "male",
"internal_id": "123456",
"phone": "123-456-7890"
},
"insurance": [{ "file_content": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAFgwJ/lzvN2QAAAABJRU5ErkJggg==" }, { "file_content": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAFgwJ/lzvN2QAAAABJRU5ErkJggg==" }],
"prescription": {
"days_supply": 30,
"quantity": 2,
"directions": "Inject subcutaneously once a week",
"drug_name": "Wegovy",
"strength": "0.25 mg/0.5 mL (0.25 mg dose)",
"dose_form": "injectable",
"route_of_administration": "subcutaneous",
"extra": { "prescribing_information": "Prescribed for weight management in patients with obesity" },
"prescription_date": "2024-02-14T05:46:07.764000"
},
"provider": {
"address": {
"street": "456 Care Blvd.",
"city": "Healtown",
"state_province": "CA",
"zip_postal_code": "67890",
"country": "USA"
},
"fax": "987-654-3211",
"first_name": "Alice",
"internal_id": "provider_12345",
"last_name": "Smith",
"npi": "1234567890",
"phone": "987-654-3210"
},
"pharmacy": {
"name": "Walgreens",
"address": {
"street": "789 Pharmacy Ave.",
"city": "Medtown",
"state_province": "MD",
"zip_postal_code": "12345",
"country": "USA"
}
},
"questionnaires": [
{
"questions": [
{
"answer": "I usually eat a balanced diet and exercise 3 times a week.",
"question": "Please describe your current diet and exercise routine."
},
{
"answer": "Yes, I have tried metformin without significant results.",
"question": "Have you previously tried other weight loss medications?"
}
],
"date_created": "2023-11-01T08:00:00"
}
],
"visit_notes": [
{
"content": "Patient presents with a BMI of 32, indicating obesity. Recommended to start Wegovy for weight management.",
"date_created": "2023-11-10T10:00:00"
}
],
"priority": 2
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
diagnoses: [{code: 'E66.9'}],
evidence: [
{
content: {bmi_value: 32, date_measured: '2023-11-10'},
date_created: '2023-11-10T10:15:00',
title: 'BMI Chart'
},
{
content: {medication_name: 'Metformin', response: 'No significant weight loss'},
date_created: '2023-11-10T10:15:00',
title: 'Previous Medication History'
}
],
patient: {
address: {
street: '123 Health St.',
city: 'Wellness',
state_province: 'CA',
zip_postal_code: '12345',
country: 'USA'
},
date_of_birth: '1980-01-01',
email: '[email protected]',
first_name: 'John',
last_name: 'Doe',
gender: 'male',
internal_id: '123456',
phone: '123-456-7890'
},
insurance: [
{
file_content: 'iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAFgwJ/lzvN2QAAAABJRU5ErkJggg=='
},
{
file_content: 'iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAFgwJ/lzvN2QAAAABJRU5ErkJggg=='
}
],
prescription: {
days_supply: 30,
quantity: 2,
directions: 'Inject subcutaneously once a week',
drug_name: 'Wegovy',
strength: '0.25 mg/0.5 mL (0.25 mg dose)',
dose_form: 'injectable',
route_of_administration: 'subcutaneous',
extra: {
prescribing_information: 'Prescribed for weight management in patients with obesity'
},
prescription_date: '2024-02-14T05:46:07.764000'
},
provider: {
address: {
street: '456 Care Blvd.',
city: 'Healtown',
state_province: 'CA',
zip_postal_code: '67890',
country: 'USA'
},
fax: '987-654-3211',
first_name: 'Alice',
internal_id: 'provider_12345',
last_name: 'Smith',
npi: '1234567890',
phone: '987-654-3210'
},
pharmacy: {
name: 'Walgreens',
address: {
street: '789 Pharmacy Ave.',
city: 'Medtown',
state_province: 'MD',
zip_postal_code: '12345',
country: 'USA'
}
},
questionnaires: [
{
questions: [
{
answer: 'I usually eat a balanced diet and exercise 3 times a week.',
question: 'Please describe your current diet and exercise routine.'
},
{
answer: 'Yes, I have tried metformin without significant results.',
question: 'Have you previously tried other weight loss medications?'
}
],
date_created: '2023-11-01T08:00:00'
}
],
visit_notes: [
{
content: 'Patient presents with a BMI of 32, indicating obesity. Recommended to start Wegovy for weight management.',
date_created: '2023-11-10T10:00:00'
}
],
priority: 2
})
};
fetch('https://api.develophealth.ai/prior-authorization', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.develophealth.ai/prior-authorization",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'diagnoses' => [
[
'code' => 'E66.9'
]
],
'evidence' => [
[
'content' => [
'bmi_value' => 32,
'date_measured' => '2023-11-10'
],
'date_created' => '2023-11-10T10:15:00',
'title' => 'BMI Chart'
],
[
'content' => [
'medication_name' => 'Metformin',
'response' => 'No significant weight loss'
],
'date_created' => '2023-11-10T10:15:00',
'title' => 'Previous Medication History'
]
],
'patient' => [
'address' => [
'street' => '123 Health St.',
'city' => 'Wellness',
'state_province' => 'CA',
'zip_postal_code' => '12345',
'country' => 'USA'
],
'date_of_birth' => '1980-01-01',
'email' => '[email protected]',
'first_name' => 'John',
'last_name' => 'Doe',
'gender' => 'male',
'internal_id' => '123456',
'phone' => '123-456-7890'
],
'insurance' => [
[
'file_content' => 'iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAFgwJ/lzvN2QAAAABJRU5ErkJggg=='
],
[
'file_content' => 'iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAFgwJ/lzvN2QAAAABJRU5ErkJggg=='
]
],
'prescription' => [
'days_supply' => 30,
'quantity' => 2,
'directions' => 'Inject subcutaneously once a week',
'drug_name' => 'Wegovy',
'strength' => '0.25 mg/0.5 mL (0.25 mg dose)',
'dose_form' => 'injectable',
'route_of_administration' => 'subcutaneous',
'extra' => [
'prescribing_information' => 'Prescribed for weight management in patients with obesity'
],
'prescription_date' => '2024-02-14T05:46:07.764000'
],
'provider' => [
'address' => [
'street' => '456 Care Blvd.',
'city' => 'Healtown',
'state_province' => 'CA',
'zip_postal_code' => '67890',
'country' => 'USA'
],
'fax' => '987-654-3211',
'first_name' => 'Alice',
'internal_id' => 'provider_12345',
'last_name' => 'Smith',
'npi' => '1234567890',
'phone' => '987-654-3210'
],
'pharmacy' => [
'name' => 'Walgreens',
'address' => [
'street' => '789 Pharmacy Ave.',
'city' => 'Medtown',
'state_province' => 'MD',
'zip_postal_code' => '12345',
'country' => 'USA'
]
],
'questionnaires' => [
[
'questions' => [
[
'answer' => 'I usually eat a balanced diet and exercise 3 times a week.',
'question' => 'Please describe your current diet and exercise routine.'
],
[
'answer' => 'Yes, I have tried metformin without significant results.',
'question' => 'Have you previously tried other weight loss medications?'
]
],
'date_created' => '2023-11-01T08:00:00'
]
],
'visit_notes' => [
[
'content' => 'Patient presents with a BMI of 32, indicating obesity. Recommended to start Wegovy for weight management.',
'date_created' => '2023-11-10T10:00:00'
]
],
'priority' => 2
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.develophealth.ai/prior-authorization"
payload := strings.NewReader("{\n \"diagnoses\": [\n {\n \"code\": \"E66.9\"\n }\n ],\n \"evidence\": [\n {\n \"content\": {\n \"bmi_value\": 32,\n \"date_measured\": \"2023-11-10\"\n },\n \"date_created\": \"2023-11-10T10:15:00\",\n \"title\": \"BMI Chart\"\n },\n {\n \"content\": {\n \"medication_name\": \"Metformin\",\n \"response\": \"No significant weight loss\"\n },\n \"date_created\": \"2023-11-10T10:15:00\",\n \"title\": \"Previous Medication History\"\n }\n ],\n \"patient\": {\n \"address\": {\n \"street\": \"123 Health St.\",\n \"city\": \"Wellness\",\n \"state_province\": \"CA\",\n \"zip_postal_code\": \"12345\",\n \"country\": \"USA\"\n },\n \"date_of_birth\": \"1980-01-01\",\n \"email\": \"[email protected]\",\n \"first_name\": \"John\",\n \"last_name\": \"Doe\",\n \"gender\": \"male\",\n \"internal_id\": \"123456\",\n \"phone\": \"123-456-7890\"\n },\n \"insurance\": [\n {\n \"file_content\": \"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAFgwJ/lzvN2QAAAABJRU5ErkJggg==\"\n },\n {\n \"file_content\": \"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAFgwJ/lzvN2QAAAABJRU5ErkJggg==\"\n }\n ],\n \"prescription\": {\n \"days_supply\": 30,\n \"quantity\": 2,\n \"directions\": \"Inject subcutaneously once a week\",\n \"drug_name\": \"Wegovy\",\n \"strength\": \"0.25 mg/0.5 mL (0.25 mg dose)\",\n \"dose_form\": \"injectable\",\n \"route_of_administration\": \"subcutaneous\",\n \"extra\": {\n \"prescribing_information\": \"Prescribed for weight management in patients with obesity\"\n },\n \"prescription_date\": \"2024-02-14T05:46:07.764000\"\n },\n \"provider\": {\n \"address\": {\n \"street\": \"456 Care Blvd.\",\n \"city\": \"Healtown\",\n \"state_province\": \"CA\",\n \"zip_postal_code\": \"67890\",\n \"country\": \"USA\"\n },\n \"fax\": \"987-654-3211\",\n \"first_name\": \"Alice\",\n \"internal_id\": \"provider_12345\",\n \"last_name\": \"Smith\",\n \"npi\": \"1234567890\",\n \"phone\": \"987-654-3210\"\n },\n \"pharmacy\": {\n \"name\": \"Walgreens\",\n \"address\": {\n \"street\": \"789 Pharmacy Ave.\",\n \"city\": \"Medtown\",\n \"state_province\": \"MD\",\n \"zip_postal_code\": \"12345\",\n \"country\": \"USA\"\n }\n },\n \"questionnaires\": [\n {\n \"questions\": [\n {\n \"answer\": \"I usually eat a balanced diet and exercise 3 times a week.\",\n \"question\": \"Please describe your current diet and exercise routine.\"\n },\n {\n \"answer\": \"Yes, I have tried metformin without significant results.\",\n \"question\": \"Have you previously tried other weight loss medications?\"\n }\n ],\n \"date_created\": \"2023-11-01T08:00:00\"\n }\n ],\n \"visit_notes\": [\n {\n \"content\": \"Patient presents with a BMI of 32, indicating obesity. Recommended to start Wegovy for weight management.\",\n \"date_created\": \"2023-11-10T10:00:00\"\n }\n ],\n \"priority\": 2\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.develophealth.ai/prior-authorization")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"diagnoses\": [\n {\n \"code\": \"E66.9\"\n }\n ],\n \"evidence\": [\n {\n \"content\": {\n \"bmi_value\": 32,\n \"date_measured\": \"2023-11-10\"\n },\n \"date_created\": \"2023-11-10T10:15:00\",\n \"title\": \"BMI Chart\"\n },\n {\n \"content\": {\n \"medication_name\": \"Metformin\",\n \"response\": \"No significant weight loss\"\n },\n \"date_created\": \"2023-11-10T10:15:00\",\n \"title\": \"Previous Medication History\"\n }\n ],\n \"patient\": {\n \"address\": {\n \"street\": \"123 Health St.\",\n \"city\": \"Wellness\",\n \"state_province\": \"CA\",\n \"zip_postal_code\": \"12345\",\n \"country\": \"USA\"\n },\n \"date_of_birth\": \"1980-01-01\",\n \"email\": \"[email protected]\",\n \"first_name\": \"John\",\n \"last_name\": \"Doe\",\n \"gender\": \"male\",\n \"internal_id\": \"123456\",\n \"phone\": \"123-456-7890\"\n },\n \"insurance\": [\n {\n \"file_content\": \"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAFgwJ/lzvN2QAAAABJRU5ErkJggg==\"\n },\n {\n \"file_content\": \"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAFgwJ/lzvN2QAAAABJRU5ErkJggg==\"\n }\n ],\n \"prescription\": {\n \"days_supply\": 30,\n \"quantity\": 2,\n \"directions\": \"Inject subcutaneously once a week\",\n \"drug_name\": \"Wegovy\",\n \"strength\": \"0.25 mg/0.5 mL (0.25 mg dose)\",\n \"dose_form\": \"injectable\",\n \"route_of_administration\": \"subcutaneous\",\n \"extra\": {\n \"prescribing_information\": \"Prescribed for weight management in patients with obesity\"\n },\n \"prescription_date\": \"2024-02-14T05:46:07.764000\"\n },\n \"provider\": {\n \"address\": {\n \"street\": \"456 Care Blvd.\",\n \"city\": \"Healtown\",\n \"state_province\": \"CA\",\n \"zip_postal_code\": \"67890\",\n \"country\": \"USA\"\n },\n \"fax\": \"987-654-3211\",\n \"first_name\": \"Alice\",\n \"internal_id\": \"provider_12345\",\n \"last_name\": \"Smith\",\n \"npi\": \"1234567890\",\n \"phone\": \"987-654-3210\"\n },\n \"pharmacy\": {\n \"name\": \"Walgreens\",\n \"address\": {\n \"street\": \"789 Pharmacy Ave.\",\n \"city\": \"Medtown\",\n \"state_province\": \"MD\",\n \"zip_postal_code\": \"12345\",\n \"country\": \"USA\"\n }\n },\n \"questionnaires\": [\n {\n \"questions\": [\n {\n \"answer\": \"I usually eat a balanced diet and exercise 3 times a week.\",\n \"question\": \"Please describe your current diet and exercise routine.\"\n },\n {\n \"answer\": \"Yes, I have tried metformin without significant results.\",\n \"question\": \"Have you previously tried other weight loss medications?\"\n }\n ],\n \"date_created\": \"2023-11-01T08:00:00\"\n }\n ],\n \"visit_notes\": [\n {\n \"content\": \"Patient presents with a BMI of 32, indicating obesity. Recommended to start Wegovy for weight management.\",\n \"date_created\": \"2023-11-10T10:00:00\"\n }\n ],\n \"priority\": 2\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.develophealth.ai/prior-authorization")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"diagnoses\": [\n {\n \"code\": \"E66.9\"\n }\n ],\n \"evidence\": [\n {\n \"content\": {\n \"bmi_value\": 32,\n \"date_measured\": \"2023-11-10\"\n },\n \"date_created\": \"2023-11-10T10:15:00\",\n \"title\": \"BMI Chart\"\n },\n {\n \"content\": {\n \"medication_name\": \"Metformin\",\n \"response\": \"No significant weight loss\"\n },\n \"date_created\": \"2023-11-10T10:15:00\",\n \"title\": \"Previous Medication History\"\n }\n ],\n \"patient\": {\n \"address\": {\n \"street\": \"123 Health St.\",\n \"city\": \"Wellness\",\n \"state_province\": \"CA\",\n \"zip_postal_code\": \"12345\",\n \"country\": \"USA\"\n },\n \"date_of_birth\": \"1980-01-01\",\n \"email\": \"[email protected]\",\n \"first_name\": \"John\",\n \"last_name\": \"Doe\",\n \"gender\": \"male\",\n \"internal_id\": \"123456\",\n \"phone\": \"123-456-7890\"\n },\n \"insurance\": [\n {\n \"file_content\": \"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAFgwJ/lzvN2QAAAABJRU5ErkJggg==\"\n },\n {\n \"file_content\": \"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAFgwJ/lzvN2QAAAABJRU5ErkJggg==\"\n }\n ],\n \"prescription\": {\n \"days_supply\": 30,\n \"quantity\": 2,\n \"directions\": \"Inject subcutaneously once a week\",\n \"drug_name\": \"Wegovy\",\n \"strength\": \"0.25 mg/0.5 mL (0.25 mg dose)\",\n \"dose_form\": \"injectable\",\n \"route_of_administration\": \"subcutaneous\",\n \"extra\": {\n \"prescribing_information\": \"Prescribed for weight management in patients with obesity\"\n },\n \"prescription_date\": \"2024-02-14T05:46:07.764000\"\n },\n \"provider\": {\n \"address\": {\n \"street\": \"456 Care Blvd.\",\n \"city\": \"Healtown\",\n \"state_province\": \"CA\",\n \"zip_postal_code\": \"67890\",\n \"country\": \"USA\"\n },\n \"fax\": \"987-654-3211\",\n \"first_name\": \"Alice\",\n \"internal_id\": \"provider_12345\",\n \"last_name\": \"Smith\",\n \"npi\": \"1234567890\",\n \"phone\": \"987-654-3210\"\n },\n \"pharmacy\": {\n \"name\": \"Walgreens\",\n \"address\": {\n \"street\": \"789 Pharmacy Ave.\",\n \"city\": \"Medtown\",\n \"state_province\": \"MD\",\n \"zip_postal_code\": \"12345\",\n \"country\": \"USA\"\n }\n },\n \"questionnaires\": [\n {\n \"questions\": [\n {\n \"answer\": \"I usually eat a balanced diet and exercise 3 times a week.\",\n \"question\": \"Please describe your current diet and exercise routine.\"\n },\n {\n \"answer\": \"Yes, I have tried metformin without significant results.\",\n \"question\": \"Have you previously tried other weight loss medications?\"\n }\n ],\n \"date_created\": \"2023-11-01T08:00:00\"\n }\n ],\n \"visit_notes\": [\n {\n \"content\": \"Patient presents with a BMI of 32, indicating obesity. Recommended to start Wegovy for weight management.\",\n \"date_created\": \"2023-11-10T10:00:00\"\n }\n ],\n \"priority\": 2\n}"
response = http.request(request)
puts response.read_body{
"status": "success",
"data": {
"id": "pa_sdkfj3f"
}
}{
"status": "error",
"error": {
"title": "Unsupported Drug",
"description": "The drug you submitted is not yet supported for prior authorization.",
"code": "unsupported_drug"
}
}{
"status": "error",
"error": {
"title": "Prescription Already Linked",
"description": "The prescription_message_id provided is already linked to a prior authorization request that is in progress or has already been completed as approved. The existing PA request must be cancelled before submitting a new request for the same prescription.",
"code": "prescription_message_already_linked",
"existing_prior_auth_request_id": "par_example123"
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Send Prior Authorization
curl --request POST \
--url https://api.develophealth.ai/prior-authorization \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"diagnoses": [
{
"code": "E66.9"
}
],
"evidence": [
{
"content": {
"bmi_value": 32,
"date_measured": "2023-11-10"
},
"date_created": "2023-11-10T10:15:00",
"title": "BMI Chart"
},
{
"content": {
"medication_name": "Metformin",
"response": "No significant weight loss"
},
"date_created": "2023-11-10T10:15:00",
"title": "Previous Medication History"
}
],
"patient": {
"address": {
"street": "123 Health St.",
"city": "Wellness",
"state_province": "CA",
"zip_postal_code": "12345",
"country": "USA"
},
"date_of_birth": "1980-01-01",
"email": "[email protected]",
"first_name": "John",
"last_name": "Doe",
"gender": "male",
"internal_id": "123456",
"phone": "123-456-7890"
},
"insurance": [
{
"file_content": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAFgwJ/lzvN2QAAAABJRU5ErkJggg=="
},
{
"file_content": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAFgwJ/lzvN2QAAAABJRU5ErkJggg=="
}
],
"prescription": {
"days_supply": 30,
"quantity": 2,
"directions": "Inject subcutaneously once a week",
"drug_name": "Wegovy",
"strength": "0.25 mg/0.5 mL (0.25 mg dose)",
"dose_form": "injectable",
"route_of_administration": "subcutaneous",
"extra": {
"prescribing_information": "Prescribed for weight management in patients with obesity"
},
"prescription_date": "2024-02-14T05:46:07.764000"
},
"provider": {
"address": {
"street": "456 Care Blvd.",
"city": "Healtown",
"state_province": "CA",
"zip_postal_code": "67890",
"country": "USA"
},
"fax": "987-654-3211",
"first_name": "Alice",
"internal_id": "provider_12345",
"last_name": "Smith",
"npi": "1234567890",
"phone": "987-654-3210"
},
"pharmacy": {
"name": "Walgreens",
"address": {
"street": "789 Pharmacy Ave.",
"city": "Medtown",
"state_province": "MD",
"zip_postal_code": "12345",
"country": "USA"
}
},
"questionnaires": [
{
"questions": [
{
"answer": "I usually eat a balanced diet and exercise 3 times a week.",
"question": "Please describe your current diet and exercise routine."
},
{
"answer": "Yes, I have tried metformin without significant results.",
"question": "Have you previously tried other weight loss medications?"
}
],
"date_created": "2023-11-01T08:00:00"
}
],
"visit_notes": [
{
"content": "Patient presents with a BMI of 32, indicating obesity. Recommended to start Wegovy for weight management.",
"date_created": "2023-11-10T10:00:00"
}
],
"priority": 2
}
'import requests
url = "https://api.develophealth.ai/prior-authorization"
payload = {
"diagnoses": [{ "code": "E66.9" }],
"evidence": [
{
"content": {
"bmi_value": 32,
"date_measured": "2023-11-10"
},
"date_created": "2023-11-10T10:15:00",
"title": "BMI Chart"
},
{
"content": {
"medication_name": "Metformin",
"response": "No significant weight loss"
},
"date_created": "2023-11-10T10:15:00",
"title": "Previous Medication History"
}
],
"patient": {
"address": {
"street": "123 Health St.",
"city": "Wellness",
"state_province": "CA",
"zip_postal_code": "12345",
"country": "USA"
},
"date_of_birth": "1980-01-01",
"email": "[email protected]",
"first_name": "John",
"last_name": "Doe",
"gender": "male",
"internal_id": "123456",
"phone": "123-456-7890"
},
"insurance": [{ "file_content": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAFgwJ/lzvN2QAAAABJRU5ErkJggg==" }, { "file_content": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAFgwJ/lzvN2QAAAABJRU5ErkJggg==" }],
"prescription": {
"days_supply": 30,
"quantity": 2,
"directions": "Inject subcutaneously once a week",
"drug_name": "Wegovy",
"strength": "0.25 mg/0.5 mL (0.25 mg dose)",
"dose_form": "injectable",
"route_of_administration": "subcutaneous",
"extra": { "prescribing_information": "Prescribed for weight management in patients with obesity" },
"prescription_date": "2024-02-14T05:46:07.764000"
},
"provider": {
"address": {
"street": "456 Care Blvd.",
"city": "Healtown",
"state_province": "CA",
"zip_postal_code": "67890",
"country": "USA"
},
"fax": "987-654-3211",
"first_name": "Alice",
"internal_id": "provider_12345",
"last_name": "Smith",
"npi": "1234567890",
"phone": "987-654-3210"
},
"pharmacy": {
"name": "Walgreens",
"address": {
"street": "789 Pharmacy Ave.",
"city": "Medtown",
"state_province": "MD",
"zip_postal_code": "12345",
"country": "USA"
}
},
"questionnaires": [
{
"questions": [
{
"answer": "I usually eat a balanced diet and exercise 3 times a week.",
"question": "Please describe your current diet and exercise routine."
},
{
"answer": "Yes, I have tried metformin without significant results.",
"question": "Have you previously tried other weight loss medications?"
}
],
"date_created": "2023-11-01T08:00:00"
}
],
"visit_notes": [
{
"content": "Patient presents with a BMI of 32, indicating obesity. Recommended to start Wegovy for weight management.",
"date_created": "2023-11-10T10:00:00"
}
],
"priority": 2
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
diagnoses: [{code: 'E66.9'}],
evidence: [
{
content: {bmi_value: 32, date_measured: '2023-11-10'},
date_created: '2023-11-10T10:15:00',
title: 'BMI Chart'
},
{
content: {medication_name: 'Metformin', response: 'No significant weight loss'},
date_created: '2023-11-10T10:15:00',
title: 'Previous Medication History'
}
],
patient: {
address: {
street: '123 Health St.',
city: 'Wellness',
state_province: 'CA',
zip_postal_code: '12345',
country: 'USA'
},
date_of_birth: '1980-01-01',
email: '[email protected]',
first_name: 'John',
last_name: 'Doe',
gender: 'male',
internal_id: '123456',
phone: '123-456-7890'
},
insurance: [
{
file_content: 'iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAFgwJ/lzvN2QAAAABJRU5ErkJggg=='
},
{
file_content: 'iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAFgwJ/lzvN2QAAAABJRU5ErkJggg=='
}
],
prescription: {
days_supply: 30,
quantity: 2,
directions: 'Inject subcutaneously once a week',
drug_name: 'Wegovy',
strength: '0.25 mg/0.5 mL (0.25 mg dose)',
dose_form: 'injectable',
route_of_administration: 'subcutaneous',
extra: {
prescribing_information: 'Prescribed for weight management in patients with obesity'
},
prescription_date: '2024-02-14T05:46:07.764000'
},
provider: {
address: {
street: '456 Care Blvd.',
city: 'Healtown',
state_province: 'CA',
zip_postal_code: '67890',
country: 'USA'
},
fax: '987-654-3211',
first_name: 'Alice',
internal_id: 'provider_12345',
last_name: 'Smith',
npi: '1234567890',
phone: '987-654-3210'
},
pharmacy: {
name: 'Walgreens',
address: {
street: '789 Pharmacy Ave.',
city: 'Medtown',
state_province: 'MD',
zip_postal_code: '12345',
country: 'USA'
}
},
questionnaires: [
{
questions: [
{
answer: 'I usually eat a balanced diet and exercise 3 times a week.',
question: 'Please describe your current diet and exercise routine.'
},
{
answer: 'Yes, I have tried metformin without significant results.',
question: 'Have you previously tried other weight loss medications?'
}
],
date_created: '2023-11-01T08:00:00'
}
],
visit_notes: [
{
content: 'Patient presents with a BMI of 32, indicating obesity. Recommended to start Wegovy for weight management.',
date_created: '2023-11-10T10:00:00'
}
],
priority: 2
})
};
fetch('https://api.develophealth.ai/prior-authorization', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.develophealth.ai/prior-authorization",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'diagnoses' => [
[
'code' => 'E66.9'
]
],
'evidence' => [
[
'content' => [
'bmi_value' => 32,
'date_measured' => '2023-11-10'
],
'date_created' => '2023-11-10T10:15:00',
'title' => 'BMI Chart'
],
[
'content' => [
'medication_name' => 'Metformin',
'response' => 'No significant weight loss'
],
'date_created' => '2023-11-10T10:15:00',
'title' => 'Previous Medication History'
]
],
'patient' => [
'address' => [
'street' => '123 Health St.',
'city' => 'Wellness',
'state_province' => 'CA',
'zip_postal_code' => '12345',
'country' => 'USA'
],
'date_of_birth' => '1980-01-01',
'email' => '[email protected]',
'first_name' => 'John',
'last_name' => 'Doe',
'gender' => 'male',
'internal_id' => '123456',
'phone' => '123-456-7890'
],
'insurance' => [
[
'file_content' => 'iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAFgwJ/lzvN2QAAAABJRU5ErkJggg=='
],
[
'file_content' => 'iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAFgwJ/lzvN2QAAAABJRU5ErkJggg=='
]
],
'prescription' => [
'days_supply' => 30,
'quantity' => 2,
'directions' => 'Inject subcutaneously once a week',
'drug_name' => 'Wegovy',
'strength' => '0.25 mg/0.5 mL (0.25 mg dose)',
'dose_form' => 'injectable',
'route_of_administration' => 'subcutaneous',
'extra' => [
'prescribing_information' => 'Prescribed for weight management in patients with obesity'
],
'prescription_date' => '2024-02-14T05:46:07.764000'
],
'provider' => [
'address' => [
'street' => '456 Care Blvd.',
'city' => 'Healtown',
'state_province' => 'CA',
'zip_postal_code' => '67890',
'country' => 'USA'
],
'fax' => '987-654-3211',
'first_name' => 'Alice',
'internal_id' => 'provider_12345',
'last_name' => 'Smith',
'npi' => '1234567890',
'phone' => '987-654-3210'
],
'pharmacy' => [
'name' => 'Walgreens',
'address' => [
'street' => '789 Pharmacy Ave.',
'city' => 'Medtown',
'state_province' => 'MD',
'zip_postal_code' => '12345',
'country' => 'USA'
]
],
'questionnaires' => [
[
'questions' => [
[
'answer' => 'I usually eat a balanced diet and exercise 3 times a week.',
'question' => 'Please describe your current diet and exercise routine.'
],
[
'answer' => 'Yes, I have tried metformin without significant results.',
'question' => 'Have you previously tried other weight loss medications?'
]
],
'date_created' => '2023-11-01T08:00:00'
]
],
'visit_notes' => [
[
'content' => 'Patient presents with a BMI of 32, indicating obesity. Recommended to start Wegovy for weight management.',
'date_created' => '2023-11-10T10:00:00'
]
],
'priority' => 2
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.develophealth.ai/prior-authorization"
payload := strings.NewReader("{\n \"diagnoses\": [\n {\n \"code\": \"E66.9\"\n }\n ],\n \"evidence\": [\n {\n \"content\": {\n \"bmi_value\": 32,\n \"date_measured\": \"2023-11-10\"\n },\n \"date_created\": \"2023-11-10T10:15:00\",\n \"title\": \"BMI Chart\"\n },\n {\n \"content\": {\n \"medication_name\": \"Metformin\",\n \"response\": \"No significant weight loss\"\n },\n \"date_created\": \"2023-11-10T10:15:00\",\n \"title\": \"Previous Medication History\"\n }\n ],\n \"patient\": {\n \"address\": {\n \"street\": \"123 Health St.\",\n \"city\": \"Wellness\",\n \"state_province\": \"CA\",\n \"zip_postal_code\": \"12345\",\n \"country\": \"USA\"\n },\n \"date_of_birth\": \"1980-01-01\",\n \"email\": \"[email protected]\",\n \"first_name\": \"John\",\n \"last_name\": \"Doe\",\n \"gender\": \"male\",\n \"internal_id\": \"123456\",\n \"phone\": \"123-456-7890\"\n },\n \"insurance\": [\n {\n \"file_content\": \"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAFgwJ/lzvN2QAAAABJRU5ErkJggg==\"\n },\n {\n \"file_content\": \"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAFgwJ/lzvN2QAAAABJRU5ErkJggg==\"\n }\n ],\n \"prescription\": {\n \"days_supply\": 30,\n \"quantity\": 2,\n \"directions\": \"Inject subcutaneously once a week\",\n \"drug_name\": \"Wegovy\",\n \"strength\": \"0.25 mg/0.5 mL (0.25 mg dose)\",\n \"dose_form\": \"injectable\",\n \"route_of_administration\": \"subcutaneous\",\n \"extra\": {\n \"prescribing_information\": \"Prescribed for weight management in patients with obesity\"\n },\n \"prescription_date\": \"2024-02-14T05:46:07.764000\"\n },\n \"provider\": {\n \"address\": {\n \"street\": \"456 Care Blvd.\",\n \"city\": \"Healtown\",\n \"state_province\": \"CA\",\n \"zip_postal_code\": \"67890\",\n \"country\": \"USA\"\n },\n \"fax\": \"987-654-3211\",\n \"first_name\": \"Alice\",\n \"internal_id\": \"provider_12345\",\n \"last_name\": \"Smith\",\n \"npi\": \"1234567890\",\n \"phone\": \"987-654-3210\"\n },\n \"pharmacy\": {\n \"name\": \"Walgreens\",\n \"address\": {\n \"street\": \"789 Pharmacy Ave.\",\n \"city\": \"Medtown\",\n \"state_province\": \"MD\",\n \"zip_postal_code\": \"12345\",\n \"country\": \"USA\"\n }\n },\n \"questionnaires\": [\n {\n \"questions\": [\n {\n \"answer\": \"I usually eat a balanced diet and exercise 3 times a week.\",\n \"question\": \"Please describe your current diet and exercise routine.\"\n },\n {\n \"answer\": \"Yes, I have tried metformin without significant results.\",\n \"question\": \"Have you previously tried other weight loss medications?\"\n }\n ],\n \"date_created\": \"2023-11-01T08:00:00\"\n }\n ],\n \"visit_notes\": [\n {\n \"content\": \"Patient presents with a BMI of 32, indicating obesity. Recommended to start Wegovy for weight management.\",\n \"date_created\": \"2023-11-10T10:00:00\"\n }\n ],\n \"priority\": 2\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.develophealth.ai/prior-authorization")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"diagnoses\": [\n {\n \"code\": \"E66.9\"\n }\n ],\n \"evidence\": [\n {\n \"content\": {\n \"bmi_value\": 32,\n \"date_measured\": \"2023-11-10\"\n },\n \"date_created\": \"2023-11-10T10:15:00\",\n \"title\": \"BMI Chart\"\n },\n {\n \"content\": {\n \"medication_name\": \"Metformin\",\n \"response\": \"No significant weight loss\"\n },\n \"date_created\": \"2023-11-10T10:15:00\",\n \"title\": \"Previous Medication History\"\n }\n ],\n \"patient\": {\n \"address\": {\n \"street\": \"123 Health St.\",\n \"city\": \"Wellness\",\n \"state_province\": \"CA\",\n \"zip_postal_code\": \"12345\",\n \"country\": \"USA\"\n },\n \"date_of_birth\": \"1980-01-01\",\n \"email\": \"[email protected]\",\n \"first_name\": \"John\",\n \"last_name\": \"Doe\",\n \"gender\": \"male\",\n \"internal_id\": \"123456\",\n \"phone\": \"123-456-7890\"\n },\n \"insurance\": [\n {\n \"file_content\": \"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAFgwJ/lzvN2QAAAABJRU5ErkJggg==\"\n },\n {\n \"file_content\": \"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAFgwJ/lzvN2QAAAABJRU5ErkJggg==\"\n }\n ],\n \"prescription\": {\n \"days_supply\": 30,\n \"quantity\": 2,\n \"directions\": \"Inject subcutaneously once a week\",\n \"drug_name\": \"Wegovy\",\n \"strength\": \"0.25 mg/0.5 mL (0.25 mg dose)\",\n \"dose_form\": \"injectable\",\n \"route_of_administration\": \"subcutaneous\",\n \"extra\": {\n \"prescribing_information\": \"Prescribed for weight management in patients with obesity\"\n },\n \"prescription_date\": \"2024-02-14T05:46:07.764000\"\n },\n \"provider\": {\n \"address\": {\n \"street\": \"456 Care Blvd.\",\n \"city\": \"Healtown\",\n \"state_province\": \"CA\",\n \"zip_postal_code\": \"67890\",\n \"country\": \"USA\"\n },\n \"fax\": \"987-654-3211\",\n \"first_name\": \"Alice\",\n \"internal_id\": \"provider_12345\",\n \"last_name\": \"Smith\",\n \"npi\": \"1234567890\",\n \"phone\": \"987-654-3210\"\n },\n \"pharmacy\": {\n \"name\": \"Walgreens\",\n \"address\": {\n \"street\": \"789 Pharmacy Ave.\",\n \"city\": \"Medtown\",\n \"state_province\": \"MD\",\n \"zip_postal_code\": \"12345\",\n \"country\": \"USA\"\n }\n },\n \"questionnaires\": [\n {\n \"questions\": [\n {\n \"answer\": \"I usually eat a balanced diet and exercise 3 times a week.\",\n \"question\": \"Please describe your current diet and exercise routine.\"\n },\n {\n \"answer\": \"Yes, I have tried metformin without significant results.\",\n \"question\": \"Have you previously tried other weight loss medications?\"\n }\n ],\n \"date_created\": \"2023-11-01T08:00:00\"\n }\n ],\n \"visit_notes\": [\n {\n \"content\": \"Patient presents with a BMI of 32, indicating obesity. Recommended to start Wegovy for weight management.\",\n \"date_created\": \"2023-11-10T10:00:00\"\n }\n ],\n \"priority\": 2\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.develophealth.ai/prior-authorization")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"diagnoses\": [\n {\n \"code\": \"E66.9\"\n }\n ],\n \"evidence\": [\n {\n \"content\": {\n \"bmi_value\": 32,\n \"date_measured\": \"2023-11-10\"\n },\n \"date_created\": \"2023-11-10T10:15:00\",\n \"title\": \"BMI Chart\"\n },\n {\n \"content\": {\n \"medication_name\": \"Metformin\",\n \"response\": \"No significant weight loss\"\n },\n \"date_created\": \"2023-11-10T10:15:00\",\n \"title\": \"Previous Medication History\"\n }\n ],\n \"patient\": {\n \"address\": {\n \"street\": \"123 Health St.\",\n \"city\": \"Wellness\",\n \"state_province\": \"CA\",\n \"zip_postal_code\": \"12345\",\n \"country\": \"USA\"\n },\n \"date_of_birth\": \"1980-01-01\",\n \"email\": \"[email protected]\",\n \"first_name\": \"John\",\n \"last_name\": \"Doe\",\n \"gender\": \"male\",\n \"internal_id\": \"123456\",\n \"phone\": \"123-456-7890\"\n },\n \"insurance\": [\n {\n \"file_content\": \"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAFgwJ/lzvN2QAAAABJRU5ErkJggg==\"\n },\n {\n \"file_content\": \"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAFgwJ/lzvN2QAAAABJRU5ErkJggg==\"\n }\n ],\n \"prescription\": {\n \"days_supply\": 30,\n \"quantity\": 2,\n \"directions\": \"Inject subcutaneously once a week\",\n \"drug_name\": \"Wegovy\",\n \"strength\": \"0.25 mg/0.5 mL (0.25 mg dose)\",\n \"dose_form\": \"injectable\",\n \"route_of_administration\": \"subcutaneous\",\n \"extra\": {\n \"prescribing_information\": \"Prescribed for weight management in patients with obesity\"\n },\n \"prescription_date\": \"2024-02-14T05:46:07.764000\"\n },\n \"provider\": {\n \"address\": {\n \"street\": \"456 Care Blvd.\",\n \"city\": \"Healtown\",\n \"state_province\": \"CA\",\n \"zip_postal_code\": \"67890\",\n \"country\": \"USA\"\n },\n \"fax\": \"987-654-3211\",\n \"first_name\": \"Alice\",\n \"internal_id\": \"provider_12345\",\n \"last_name\": \"Smith\",\n \"npi\": \"1234567890\",\n \"phone\": \"987-654-3210\"\n },\n \"pharmacy\": {\n \"name\": \"Walgreens\",\n \"address\": {\n \"street\": \"789 Pharmacy Ave.\",\n \"city\": \"Medtown\",\n \"state_province\": \"MD\",\n \"zip_postal_code\": \"12345\",\n \"country\": \"USA\"\n }\n },\n \"questionnaires\": [\n {\n \"questions\": [\n {\n \"answer\": \"I usually eat a balanced diet and exercise 3 times a week.\",\n \"question\": \"Please describe your current diet and exercise routine.\"\n },\n {\n \"answer\": \"Yes, I have tried metformin without significant results.\",\n \"question\": \"Have you previously tried other weight loss medications?\"\n }\n ],\n \"date_created\": \"2023-11-01T08:00:00\"\n }\n ],\n \"visit_notes\": [\n {\n \"content\": \"Patient presents with a BMI of 32, indicating obesity. Recommended to start Wegovy for weight management.\",\n \"date_created\": \"2023-11-10T10:00:00\"\n }\n ],\n \"priority\": 2\n}"
response = http.request(request)
puts response.read_body{
"status": "success",
"data": {
"id": "pa_sdkfj3f"
}
}{
"status": "error",
"error": {
"title": "Unsupported Drug",
"description": "The drug you submitted is not yet supported for prior authorization.",
"code": "unsupported_drug"
}
}{
"status": "error",
"error": {
"title": "Prescription Already Linked",
"description": "The prescription_message_id provided is already linked to a prior authorization request that is in progress or has already been completed as approved. The existing PA request must be cancelled before submitting a new request for the same prescription.",
"code": "prescription_message_already_linked",
"existing_prior_auth_request_id": "par_example123"
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Overview
This endpoint is designed to streamline the submission of prior authorization requests for medications or treatments. It requires various key pieces of information about the patient, including demographics, insurance details, and the prescription in question. Additionally, the submission should include supporting evidence, such as visit notes, lab results, and intake forms, to justify the need for the prescribed medication or treatment.How to Use
To effectively use this endpoint, please ensure the following information is included in your request:- Patient Demographics: Essential details such as the patient’s name, date of birth, and contact information.
- Prescriber Information: Details about the prescribing healthcare provider, including the prescriber’s name, NPI (National Provider Identifier), contact information, and practice or facility details.
- Insurance Details: A photo or scan of the patient’s insurance card (preferably front and back), including the group number, payer, membership number and RX details. If an image is not available, or the patient provided extra information not on their card (such as rx codes) you can also provide this structured data in the API.
- Prescription Information: Detailed data on the prescribed medication or treatment, such as drug name, dosage, and administration instructions.
- Evidence: Critical supporting documents and data such as visit notes and laboratory results. This section is particularly versatile, allowing for a variety of formats and contents to support the authorization request.
Response
After submitting a request, the system processes the data and returns a response indicating either the successful reception of the request or detailing any errors or additional information needed. Our advanced AI algorithms will analyze the provided information, including any uploaded files or scans, extracting and utilizing relevant details to facilitate the authorization process.Building the Integration
We suggest taking the following approach when integrating:- Make the API request for all prior authorizations that you need to submit, and let us handle coverage on our end. We’d recommend not feature flagging or limiting this to certain patients. Using this approach allows us to work with your ops team to resolve unsupported scenarios while giving you a complete view of which requests Develop Health can process.
- If you receive an error code, fallback to your company’s existing process for handling prior authorizations. We’ll gradually reduce the number of errors you receive as we expand to 100% coverage.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Represents a request for creating a prior authorization for a medication. This includes detailed information about the patient, their diagnosis, prescribed medication, evidence supporting the need for treatment, insurance details, and responses to relevant questionnaires.
Clinical diagnoses for the patient in ICD-10 format. i.e. 'E66.9'
Show child attributes
Show child attributes
Demographic information for the patient
Show child attributes
Show child attributes
Details of the healthcare provider who created the prescription.
Show child attributes
Show child attributes
A collection of evidence items supporting the authorization request. Any supporting evidence that doesn't belong in the other predefined fields can be added here.
Show child attributes
Show child attributes
Insurance information for the patient. We will extract the required information from the insurance card images you provide. Please provide both the front and the back of the card. This is optional if you provide insurance_content, but highly recommended to ensure best results.
Show child attributes
Show child attributes
Insurance information for the patient. Values provided here will be used in combination with those extracted from any insurance cards provided. We recommend providing this information when available to ensure best results. If you provide both insurance and insurance_content, the values provided here will be used and the values extracted from insurance will be used as a fallback.
Show child attributes
Show child attributes
Represents a prescription issued by a healthcare provider. This is an alternative to the Prescription model that is more closely aligned with NCPDP standards and helps reduce any confusion on the payer-side. Prefer this model over Prescription when NDCs are available.
- CodedPrescription
- Prescription
Show child attributes
Show child attributes
Information about the pharmacy where the prescription will be filled.
Show child attributes
Show child attributes
List of questionnaires. This is the best place to send structured Q&A format data, such as intake forms, etc.
Show child attributes
Show child attributes
List of visit notes.
Show child attributes
Show child attributes
Configuration for processing the prescription associated with this PA request.
This field should only be provided when a prescription has been sent to Develop Health's non-dispensing pharmacy.
Show child attributes
Show child attributes
Information provided when resubmitting a prior authorization request.
Show child attributes
Show child attributes
Details for submitting an appeal of a previously denied prior authorization. When provided, the request will be processed as an appeal.
Show child attributes
Show child attributes
Represents a mock result for a prior authorization request.
- PriorAuthMockResultApproved
- PriorAuthMockResultDenied
- PriorAuthMockResultOther
- PriorAuthMockResultNotSubmitted
Show child attributes
Show child attributes
Specifies the priority of the prior authorization request. This is used to determine the order in which requests are processed. Lower values indicate higher priority.
0, 1, 2, 3 If provided and enabled, triggers a benefit verification to check drug coverage before the PA proceeds.
Show child attributes
Show child attributes
Response
Successful creation of a prior authorization
Models the response received upon creating a prior authorization request.
success Error payload of the response, containing details of the error that occurred during the creation of the prior authorization request.
Show child attributes
Show child attributes
Data payload of the response, containing details of the created prior authorization request, or None if the request was unsuccessful.
Show child attributes
Show child attributes