Testkatalog
Lista paneler
Bläddra i panelkatalogen
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 }
}
]
Returnerar de paneler som din API-nyckel kan koppla via Lägg till paneler.
Kräver scopet
panels_access. Objektet pricing kräver även scopet prices_view.
Räkna
biomarker_groups för att veta hur många resultat en blodprovstagning ger. En grupp listar
utbytbara biomarkörer (hs-CRP eller CRP), och labbet mäter bara en av dem.Förfrågan
Frågeparametrar
Prislistan för
price_cents: retail, eller ett id för en prislista från Hämta
prislista. Standard är ditt faktureringskontos prislista, annars utpris.
retail_cents använder alltid utpris.Svar
Returnerar en array med paneler.Panelens UUID. Skicka det till Lägg till paneler.
Alla biomarkörer i
biomarker_groups i en lista. Se Lista
biomarkörer.Grupperna som panelen kräver. Tom för den anpassade panelen: lägg till dess biomarkörer med Lägg
till enskilda biomarkörer.
Visa grupp
Visa grupp
Vem som får gruppen, till exempel
sex=2 eller age>50, sammanfogade med && eller ||. sex
följer ISO/IEC 5218 (1 man, 2 kvinna). null betyder alla. Förhandsgranska
bokning tillämpar det på en patient.Priset i din prislista och som utpris. Se
prisobjekt.
null när din nyckel saknar
prices_view. price_cents är null för den anpassade panelen.Felsvar
| Status | Beskrivning |
|---|---|
400 | Ogiltiga frågeparametrar, till exempel en okänd rate_card. |
403 | Saknar behörigheten panels_access. |
500 | Internt serverfel. |
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 }
}
]