Testcatalogus
Panels weergeven
Door de panelcatalogus bladeren
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 }
}
]
Geeft de panels terug die je API-sleutel kan toevoegen via Panels toevoegen. Vereist
de scope
panels_access. Het object pricing vereist ook de scope prices_view.
Tel
biomarker_groups om te weten hoeveel resultaten een bloedafname oplevert. Een groep bevat uitwisselbare
biomarkers (hs-CRP of CRP), en het lab meet er slechts één van.Verzoek
Queryparameters
De tariefkaart voor
price_cents: retail, of een tariefkaart-id uit Tariefkaart
ophalen. Standaard de kaart van je factuuraccount, anders retail.
retail_cents gebruikt altijd retail.Respons
Geeft een array met panels terug.Panel-UUID. Geef deze door aan Panels toevoegen.
Alle biomarkers uit
biomarker_groups in één lijst. Zie Biomarkers
weergeven.De groepen die het panel vereist. Leeg voor het aangepaste panel: voeg de biomarkers toe met Losse
biomarkers toevoegen.
Tonen groep
Tonen groep
Wie de groep krijgt, bijvoorbeeld
sex=2 of age>50, gecombineerd met && of ||. sex
volgt ISO/IEC 5218 (1 man, 2 vrouw). null betekent iedereen. Afspraak vooraf
bekijken past dit toe op een patiënt.De prijs op je kaart en de retailprijs. Zie
prijsobjecten.
null als je sleutel geen
prices_view heeft. price_cents is null voor het aangepaste panel.Foutresponsen
| Status | Beschrijving |
|---|---|
400 | Ongeldige query, bijvoorbeeld een onbekende rate_card. |
403 | Scope panels_access ontbreekt. |
500 | Interne serverfout. |
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 }
}
]