Каталог тестів
Список панелей
Переглянути каталог панелей
GET
/
api
/
v1
/
panels
curl --url 'https://anivahealth.com/api/v1/panels' \
--header 'x-api-key: YOUR_API_KEY'
[
{
"id": "f1c2d4a3-7b8e-4f2a-9c1d-2e3f4a5b6c7d",
"name": "Hormones (Female)",
"description": "Cycle-related hormones for women, including thyroid.",
"biomarker_ids": [42, 43, 44, 51],
"biomarker_groups": [
{ "biomarker_ids": [42], "required": true, "inclusion_condition": null },
{ "biomarker_ids": [43, 44], "required": true, "inclusion_condition": null },
{ "biomarker_ids": [51], "required": true, "inclusion_condition": "sex=2" }
],
"pricing": { "price_cents": 11900, "retail_cents": 14900 }
},
{
"id": "9c1d2e3f-4a5b-4c7d-8e9f-0a1b2c3d4e5f",
"name": "Custom",
"description": null,
"biomarker_ids": [],
"biomarker_groups": [],
"pricing": { "price_cents": null, "retail_cents": null }
}
]
Повертає панелі, які твій API-ключ може додати через Додати панелі. Потрібна
область доступу
panels_access. Для об’єкта pricing також потрібна область доступу prices_view.
Порахуй
biomarker_groups, щоб дізнатися, скільки результатів дає забір крові. Група містить
взаємозамінні біомаркери (hs-CRP або CRP), і лабораторія вимірює лише один із них.Запит
Параметри запиту
Тарифна карта для
price_cents: retail або id тарифної карти з Отримати тарифну карту. За замовчуванням — карта твого платіжного акаунту, інакше роздрібна. retail_cents завжди використовує роздрібну.Відповідь
Повертає масив панелей.UUID панелі. Передай його в Додати панелі.
Усі біомаркери з
biomarker_groups в одному списку. Див. Список біомаркерів.Групи, яких потребує панель. Порожній для індивідуальної панелі: додай її біомаркери через Додати окремі біомаркери.
Показати група
Показати група
Хто отримує групу, наприклад
sex=2 або age>50, об’єднані через && або ||. sex відповідає ISO/IEC 5218 (1 — чоловіча, 2 — жіноча). null означає всіх. Попередній перегляд запису застосовує цю умову до пацієнта.Ціна за твоєю картою та роздрібна ціна. Див. об’єкти цін.
null, якщо в твого ключа немає prices_view. price_cents дорівнює null для індивідуальної панелі.Відповіді з помилками
| Статус | Опис |
|---|---|
400 | Некоректний запит, наприклад невідомий rate_card. |
403 | Відсутній дозвіл panels_access. |
500 | Внутрішня помилка сервера. |
curl --url 'https://anivahealth.com/api/v1/panels' \
--header 'x-api-key: YOUR_API_KEY'
[
{
"id": "f1c2d4a3-7b8e-4f2a-9c1d-2e3f4a5b6c7d",
"name": "Hormones (Female)",
"description": "Cycle-related hormones for women, including thyroid.",
"biomarker_ids": [42, 43, 44, 51],
"biomarker_groups": [
{ "biomarker_ids": [42], "required": true, "inclusion_condition": null },
{ "biomarker_ids": [43, 44], "required": true, "inclusion_condition": null },
{ "biomarker_ids": [51], "required": true, "inclusion_condition": "sex=2" }
],
"pricing": { "price_cents": 11900, "retail_cents": 14900 }
},
{
"id": "9c1d2e3f-4a5b-4c7d-8e9f-0a1b2c3d4e5f",
"name": "Custom",
"description": null,
"biomarker_ids": [],
"biomarker_groups": [],
"pricing": { "price_cents": null, "retail_cents": null }
}
]
⌘I
curl --url 'https://anivahealth.com/api/v1/panels' \
--header 'x-api-key: YOUR_API_KEY'
[
{
"id": "f1c2d4a3-7b8e-4f2a-9c1d-2e3f4a5b6c7d",
"name": "Hormones (Female)",
"description": "Cycle-related hormones for women, including thyroid.",
"biomarker_ids": [42, 43, 44, 51],
"biomarker_groups": [
{ "biomarker_ids": [42], "required": true, "inclusion_condition": null },
{ "biomarker_ids": [43, 44], "required": true, "inclusion_condition": null },
{ "biomarker_ids": [51], "required": true, "inclusion_condition": "sex=2" }
],
"pricing": { "price_cents": 11900, "retail_cents": 14900 }
},
{
"id": "9c1d2e3f-4a5b-4c7d-8e9f-0a1b2c3d4e5f",
"name": "Custom",
"description": null,
"biomarker_ids": [],
"biomarker_groups": [],
"pricing": { "price_cents": null, "retail_cents": null }
}
]