Testkatalog
Panels auflisten
Den Panel-Katalog durchstöbern
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 }
}
]
Gibt die Panels zurück, die dein API-Schlüssel über Panels hinzufügen anhängen kann.
Erfordert den Scope
panels_access. Das pricing-Objekt erfordert zusätzlich den Scope prices_view.
Zähle
biomarker_groups, um zu wissen, wie viele Ergebnisse eine Blutabnahme liefert. Eine Gruppe
enthält austauschbare Biomarker (hs-CRP oder CRP), und das Labor misst nur einen davon.Anfrage
Query-Parameter
Die Preisliste für
price_cents: retail oder eine Preislisten-id aus Preisliste
abrufen. Standardmäßig die Preisliste deines Abrechnungskontos, sonst
Listenpreis. retail_cents verwendet immer den Listenpreis.Antwort
Gibt ein Array von Panels zurück.Panel-UUID. Übergib sie an Panels hinzufügen.
Alle Biomarker aus
biomarker_groups in einer Liste. Siehe Biomarker
auflisten.Die Gruppen, die das Panel erfordert. Leer beim individuellen Panel: Füge seine Biomarker mit
Einzelne Biomarker hinzufügen hinzu.
Anzeigen Gruppe
Anzeigen Gruppe
Wer die Gruppe erhält, zum Beispiel
sex=2 oder age>50, verknüpft mit && oder ||.
sex folgt ISO/IEC 5218 (1 männlich, 2 weiblich). null gilt für alle.
Terminvorschau wendet sie auf einen Patienten an.Der Preis auf deiner Preisliste und der Listenpreis. Siehe
Preisobjekte.
null, wenn deinem Schlüssel
prices_view fehlt. price_cents ist beim individuellen Panel null.Fehlerantworten
| Status | Beschreibung |
|---|---|
400 | Ungültige Abfrage, zum Beispiel eine unbekannte rate_card. |
403 | Der Scope panels_access fehlt. |
500 | Interner Serverfehler. |
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 }
}
]