Testkatalog
Vis paneler
Gennemse panelkataloget
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 }
}
]
Returnerer de paneler, din API-nøgle kan tilknytte via Tilføj paneler. Kræver
scopet
panels_access. Objektet pricing kræver også scopet prices_view.
Tæl
biomarker_groups for at se, hvor mange resultater en blodprøvetagning giver. En gruppe oplister udskiftelige
biomarkører (hs-CRP eller CRP), og laboratoriet måler kun én af dem.Forespørgsel
Forespørgselsparametre
Prislisten til
price_cents: retail eller et prisliste-id fra Hent
prisliste. Standard er din faktureringskontos prisliste, ellers
udsalgspris. retail_cents bruger altid udsalgspris.Svar
Returnerer et array af paneler.Panelets UUID. Send det til Tilføj paneler.
Alle biomarkører i
biomarker_groups samlet i én liste. Se Vis
biomarkører.De grupper, panelet kræver. Tom for det brugerdefinerede panel: tilføj dets biomarkører med
Tilføj individuelle biomarkører.
Vis gruppe
Vis gruppe
Hvem der får gruppen, for eksempel
sex=2 eller age>50, sat sammen med && eller ||.
sex følger ISO/IEC 5218 (1 mand, 2 kvinde). null betyder alle. Forhåndsvis
tid anvender den på en patient.Prisen på din prisliste og som udsalgspris. Se
prisobjekter.
null, når din nøgle mangler
prices_view. price_cents er null for det brugerdefinerede panel.Fejlsvar
| Status | Beskrivelse |
|---|---|
400 | Ugyldig forespørgsel, for eksempel en ukendt rate_card. |
403 | Mangler panels_access-scope. |
500 | Intern serverfejl. |
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 }
}
]