Katalog badań
Pobierz listę paneli
Przeglądaj katalog paneli
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 }
}
]
Zwraca panele, które twój klucz API może dołączyć za pomocą Dodaj panele. Wymaga
zakresu
panels_access. Obiekt pricing wymaga też zakresu prices_view.
Policz
biomarker_groups, aby wiedzieć, ile wyników zwraca pobranie krwi. Grupa zawiera wymienne
biomarkery (hs-CRP lub CRP), a laboratorium mierzy tylko jeden z nich.Żądanie
Parametry zapytania
Cennik dla
price_cents: retail lub id cennika z Pobierz
cennik. Domyślnie cennik twojego konta rozliczeniowego, w przeciwnym razie detaliczny.
retail_cents zawsze korzysta z cennika detalicznego.Odpowiedź
Zwraca tablicę paneli.UUID panelu. Przekaż je do Dodaj panele.
Wszystkie biomarkery z
biomarker_groups na jednej liście. Zobacz Lista
biomarkerów.Grupy wymagane przez panel. Puste dla panelu niestandardowego: dodaj jego biomarkery przez Dodaj
pojedyncze biomarkery.
Pokaż grupa
Pokaż grupa
Dla kogo jest ta grupa, na przykład
sex=2 lub age>50, połączone przez && lub ||. sex jest
zgodne z ISO/IEC 5218 (1 mężczyzna, 2 kobieta). null oznacza każdego. Podgląd
wizyty stosuje ten warunek do pacjenta.Cena z twojego cennika i cena detaliczna. Zobacz obiekty
cen.
null, gdy twój klucz nie ma
prices_view. price_cents ma wartość null dla panelu niestandardowego.Odpowiedzi z błędami
| Status | Opis |
|---|---|
400 | Nieprawidłowe zapytanie, na przykład nieznany rate_card. |
403 | Brak zakresu panels_access. |
500 | Wewnętrzny błąd serwera. |
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 }
}
]