Clinical intelligence
For treating practices: the pre-visit brief, the ranked panel worklist with the evidence and guideline behind each item, care gaps, and between-visit signals the patient chose to share. Write-back: triage a worklist item (assign it to a clinician from GET /v1/panel/clinicians, snooze, dismiss or mark done) and close the loop on results and referrals (acknowledge, act, tell the patient, close). Validated questionnaires (PHQ-9, GAD-7 and the rest of Norvya's instrument registry, English items unless an official translation exists) requested from your system and scored server-side; a response that trips a crisis item shows the member crisis resources first and alerts staff, and is never routed to coaching or an AI path. Caseload questionnaire batches (one instrument to a member list or a cohort filter, asynchronous, with a suppressed aggregate) and clinician-rated measures a named clinician assigned. Specialty hub results and the stateless spirometry, lung-cancer screening and GI alarm checks are their own family: Specialty care.
- Who calls it
- Core for Concierge doctors, Independent practices, EMR vendors, Hospitals and health systems, Specialty care; useful for Federal (via primes), Practice management & billing, Medical travel desks, Behavioral health practices, Rehab & nutrition practices, Older adults & caregiving programmes
- Before production
- No gate of its own; your market's “Before production” applies.
- Sandbox
- Build against synthetic members first. What each sandbox holds
Markets that use this family
- Concierge doctors (core)
- Independent practices (core)
- EMR vendors (core)
- Federal (via primes) (useful)
- Hospitals and health systems (core)
- Practice management & billing (useful)
- Medical travel desks (useful)
- Behavioral health practices (useful)
- Rehab & nutrition practices (useful)
- Older adults & caregiving programmes (useful)
- Specialty care (core)
Scopes
| Scope | Allows |
|---|---|
clinical.brief.read | Read the clinician pre-visit brief for a patient (medical practices only; per-section consent). |
clinical.continuity.write | Declare and close a disaster event for your practice from your system, named to a practice administrator: each affected patient gets a generic in-app check-in request (safe, need help, displaced); a need-help answer opens a tracked clinical alert (medical practices only). |
clinical.hf_weight.read | Read your practice's heart-failure weight-change rule (thresholds and their source), the worklist of patients you enrolled and one patient's evaluation: readings with source, confirmed gains, readings set aside for a scale check, and resting heart rate / steps context when shared (treating practices with a BAA on file). |
clinical.hf_weight.write | Switch the heart-failure weight-change rule on for your practice and set its thresholds, enrol or unenrol a patient of your panel and set that patient's own thresholds, each attributed to the clinician your system names (treating practices with a BAA on file). |
clinical.loops.write | Close the loop on results and referrals from your system: record that a named clinician acknowledged a result, that the patient was told, the action taken, and move a tracked referral through scheduled, seen, report received and closed (medical practices only). Also: record a remote-monitoring device's calibration, swap or return, named to a member of your staff, and ask for or decide (approve / decline, named to a clinician) a suggested monitoring frequency; nothing changes until a clinician approves it. |
clinical.panel.read | Read the practice's ranked panel worklist and start worklist runs (medical practices only). |
clinical.panel.write | Triage your practice's worklist findings from your system (addressed, snoozed until a date, dismissed with a reason, or reopened) with the same rules as Norvya's own worklist screen (medical practices only). |
clinical.patient.read | Read a patient's care gaps and between-visit home-data signals (medical practices only; consent and data basis respected). |
clinical.ratings.write | Record a clinician-rated or clinician-timed measure (for example FOIS, Nine-Hole Peg Test, AIMS) that a named clinician of your practice assigned; scored by Norvya (treating practices only). |
clinical.record.read | Read one patient's record as a FHIR R4 Bundle (the same builders and the same consent scope as the population export: the patient's sharing choices, your practice's own records, 42 CFR Part 2 records only under a covering consent); size-capped, with the population export for large records (treating practices with a BAA on file, or a sandbox). |
clinical.virtual_followup.read | Read your virtual-visit follow-up worklist and one episode: check-in slots and answers, the alerts they opened and their status, and the clinician prompts as gated recommendations (treating practices with a BAA on file). |
clinical.virtual_followup.write | Open a follow-up episode for a patient of your panel after a virtual urgent-care, video, phone or message visit (24-hour and 72-hour check-ins, sourced return precautions, emergency signs raised as tracked alerts to your practice), and close it with an outcome (treating practices with a BAA on file). |
instruments.read | Read questionnaire scores (total, severity band, subscales) with the instrument version and completion time, never item-level answers; mental-health instruments only when the patient shares mental health with you (treating practices only). |
instruments.request | Ask a patient to complete a validated questionnaire from Norvya's instrument library; Norvya sends its own generic notification (treating practices only). |
Endpoints
Clinician pre-visit brief for one patient
The pre-visit brief (longevity, labs, body composition, GLP-1, progress, life-stage care) for a patient of YOUR medical practice. Each section follows the patient's sharing switches for your practice; withheld sections are never computed and are listed in withheld_by_consent. 409 not_a_medical_practice for a gym or other non-practice organisation.
Parameters
EMR vendors also pass vendor (the practice) with a vendor-issued token. EMR vendor tokens
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Validation Error429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/patients/$MEMBER_REF/brief" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
member_ref = os.environ["MEMBER_REF"]
resp = requests.get(
f"{BASE}/v1/patients/{member_ref}/brief",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const member_ref = process.env.MEMBER_REF;
const url = new URL(`${BASE}/v1/patients/${encodeURIComponent(member_ref)}/brief`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());{
"member_ref": "string",
"external_id": "string",
"available": false,
"sections": {},
"withheld_by_consent": [
"string"
],
"consent_note": "string",
"disclaimer": "string"
}The response is the shape from the schema, not live data.
Try it in your sandbox
Your practice's ranked worklist: who needs attention and why
The latest COMPLETED current-data worklist run for your practice, ranked by the transparent priority score (no model, no hidden weights). Each finding carries its rule code, severity, the evidence it used and its published guideline. Only members still actively linked; read through the clinic data basis (what the practice may use; member home data only for the types the member shares with you). Triage states ARE applied (since Wave A3, the staff worklist's rules: worklist_triage.apply): addressed, dismissed and snoozed findings are hidden unless include_triaged=true, escalated / reappeared / ended-snooze findings reopen, and `priority` / `top_severity` / ranking count OPEN findings only (run_priority keeps the run's own score). Each finding carries item_ref and a triage object. 409 not_a_medical_practice for a non-practice.
Parameters
One member (mr_... or ext:...).
Also show findings staff (or your system) addressed, dismissed or snoozed.
Language of title / detail (an app language).
EMR vendors also pass vendor (the practice) with a vendor-issued token. EMR vendor tokens
Errors specific to this call
409not_a_medical_practiceAll responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/panel/worklist" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/panel/worklist",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/panel/worklist`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());{
"run": {
"id": 0,
"status": "string",
"as_of": "string",
"started_at": "string",
"finished_at": "string",
"patient_count": 0,
"processed_count": 0,
"error_count": 0,
"summary": {}
},
"pending_run": {
"id": 0,
"status": "string",
"as_of": "string",
"started_at": "string",
"finished_at": "string",
"patient_count": 0,
"processed_count": 0,
"error_count": 0,
"summary": {}
},
"total": 0,
"offset": 0,
"limit": 0,
"wording_status": "string",
"items": [
{
"member_ref": "string",
"external_id": "string",
"rank": 0,
"priority": 0,
"top_severity": "string",
"findings": [
{}
],
"limitations": [
"string"
],
"triage": {}
}
]
}The response is the shape from the schema, not live data.
Try it in your sandbox
Start a worklist run for your practice
Queues a run over every active patient of your practice (background). Poll GET /v1/panel/worklist/runs/{id}, or subscribe to the worklist.run_completed webhook. One run at a time per practice (409 panel_worklist_run_in_progress); 409 panel_worklist_no_patients for an empty panel. The run is recorded as started by your client (chained audit row) — runs started by a partner do not opt the practice into the nightly refresh, which follows staff use.
Parameters
YYYY-MM-DD; default today's data. A past date runs a point-in-time evaluation.
Errors specific to this call
409panel_worklist_no_patientsAll responses
202Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s -X POST "https://app.norvya.health/v1/panel/worklist/runs" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.post(
BASE + "/v1/panel/worklist/runs",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/panel/worklist/runs`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());{
"id": 0,
"status": "string",
"as_of": "string",
"started_at": "string",
"finished_at": "string",
"patient_count": 0,
"processed_count": 0,
"error_count": 0,
"summary": {}
}The response is the shape from the schema, not live data.
Try it in your sandbox
Status of one worklist run
Counts and progress only (no patient rows). 404 panel_worklist_run_not_found for a run that is not your practice's.
Parameters
Errors specific to this call
404panel_worklist_run_not_foundAll responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/panel/worklist/runs/$RUN_ID" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
run_id = os.environ["RUN_ID"]
resp = requests.get(
f"{BASE}/v1/panel/worklist/runs/{run_id}",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const run_id = process.env.RUN_ID;
const url = new URL(`${BASE}/v1/panel/worklist/runs/${encodeURIComponent(run_id)}`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());{
"id": 0,
"status": "string",
"as_of": "string",
"started_at": "string",
"finished_at": "string",
"patient_count": 0,
"processed_count": 0,
"error_count": 0,
"summary": {}
}The response is the shape from the schema, not live data.
Try it in your sandbox
Care gaps for one patient
The practice care-gap rules (colorectal and breast screening, kidney health and HbA1c in diabetes, statin in diabetes), each with its status, dates, evidence and guideline citation, evaluated on what YOUR practice may use for this patient (clinic data basis: the patient's sharing switches, or your own records under practice-of-record with a BAA). Nothing is assumed: a missing input is insufficient_data, never a guess.
Parameters
YYYY-MM-DD: evaluate as of a past date.
YYYY-MM-DD (needs as_of): only what was on file at the end of that day.
EMR vendors also pass vendor (the practice) with a vendor-issued token. EMR vendor tokens
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/patients/$MEMBER_REF/care-gaps" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
member_ref = os.environ["MEMBER_REF"]
resp = requests.get(
f"{BASE}/v1/patients/{member_ref}/care-gaps",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const member_ref = process.env.MEMBER_REF;
const url = new URL(`${BASE}/v1/patients/${encodeURIComponent(member_ref)}/care-gaps`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());{
"member_ref": "string",
"external_id": "string",
"as_of": "string",
"known_as_of": "string",
"gaps": [
{}
]
}The response is the shape from the schema, not live data.
Try it in your sandbox
Between-visit signals from the patient's own home data
Signals (home BP vs office, resting heart rate, sleep, activity, CGM time in range, at-home labs) computed ONLY from the data types the patient has switched on for your practice (home_bp, wearables, home_labs, cgm; default off; read live, so turning one off removes it from the next call). Every signal is member-reported, never practice-confirmed and cites its source. Irregular rhythm notifications and watch ECGs (`rhythm_events`, and the information-only `device_rhythm_event` signal) follow the patient's Vitals share instead, and are the device's own statements, never a diagnosis.
Parameters
EMR vendors also pass vendor (the practice) with a vendor-issued token. EMR vendor tokens
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/patients/$MEMBER_REF/between-visit" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
member_ref = os.environ["MEMBER_REF"]
resp = requests.get(
f"{BASE}/v1/patients/{member_ref}/between-visit",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const member_ref = process.env.MEMBER_REF;
const url = new URL(`${BASE}/v1/patients/${encodeURIComponent(member_ref)}/between-visit`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());{
"member_ref": "string",
"external_id": "string",
"engine": "string",
"as_of": "string",
"label": "string",
"consent": {},
"consent_version": "string",
"sharing": [
"string"
],
"last_reading": {},
"signals": [
{}
],
"top_priority": 0,
"limitations": [
"string"
],
"rhythm_events": [
{}
],
"rhythm_events_shared": false
}The response is the shape from the schema, not live data.
Try it in your sandbox
Your practice's clinicians, as staff_ref values
The active clinical staff of your practice (admin, provider, pharmacist, therapist) as staff_ref values with name and role, to map your own users to: result writes name the clinician who did it. Staff names are not patient data. Needs clinical.loops.write or clinical.panel.write.
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/panel/clinicians" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/panel/clinicians",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/panel/clinicians`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());{
"clinicians": [
{
"staff_ref": "string",
"name": "string",
"role": "string",
"title": "string"
}
]
}The response is the shape from the schema, not live data.
Try it in your sandbox
Triage one worklist finding (addressed, snoozed, dismissed or reopened)
The same states and rules as Norvya's worklist screen (worklist_triage): addressed and dismissed need a reason_code; snoozed needs snooze_until (or snooze_days) and comes back on that date; open reopens. A later run at a HIGHER severity, or the finding coming back after it cleared, reopens it automatically. The change is recorded with your client as the actor and is visible to staff at once. 404 worklist_item_not_found for a ref that is not in your latest worklist run; 422 worklist_reason_required, worklist_invalid_reason, worklist_note_required_for_other, worklist_snooze_until_required, worklist_invalid_snooze, worklist_note_too_long, worklist_invalid_state.
Parameters
Request body
Content type: application/json (required)
open | addressed | snoozed | dismissed
Required with reason_code other.
YYYY-MM-DD, 1..365 days ahead (snoozed).
Errors specific to this call
404worklist_item_not_found422worklist_reason_requiredAll responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s -X POST "https://app.norvya.health/v1/panel/worklist/items/$ITEM_REF/triage" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"state": "addressed",
"reason_code": "addressed_in_visit",
"note": "string",
"snooze_until": "2026-11-15",
"snooze_days": 0
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
item_ref = os.environ["ITEM_REF"]
resp = requests.post(
f"{BASE}/v1/panel/worklist/items/{item_ref}/triage",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"state": "addressed",
"reason_code": "addressed_in_visit",
"note": "string",
"snooze_until": "2026-11-15",
"snooze_days": 0,
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const item_ref = process.env.ITEM_REF;
const url = new URL(`${BASE}/v1/panel/worklist/items/${encodeURIComponent(item_ref)}/triage`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"state": "addressed",
"reason_code": "addressed_in_visit",
"note": "string",
"snooze_until": "2026-11-15",
"snooze_days": 0
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());{
"item_ref": "string",
"member_ref": "string",
"code": "string",
"domain": "string",
"severity": "string",
"triage": {}
}The response is the shape from the schema, not live data.
Try it in your sandbox
A patient's results awaiting follow-up (acknowledge, inform, act, close)
The patient's items in your practice's result follow-up inbox, oldest first: what arrived, whether a clinician acknowledged it, whether the patient was told, the action recorded, and the overdue clocks. A pointer, never the value: fetch the value from its source. A flag is carried only when a source supplied it (flag_origin says which kind). Only results the patient still shares with you.
Parameters
open | closed | all
EMR vendors also pass vendor (the practice) with a vendor-issued token. EMR vendor tokens
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/patients/$MEMBER_REF/results" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
member_ref = os.environ["MEMBER_REF"]
resp = requests.get(
f"{BASE}/v1/patients/{member_ref}/results",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const member_ref = process.env.MEMBER_REF;
const url = new URL(`${BASE}/v1/patients/${encodeURIComponent(member_ref)}/results`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());{
"member_ref": "string",
"status": "string",
"items": [
{
"result_ref": "string",
"member_ref": "string",
"label": "string",
"source_kind": "string",
"resulted_on": "string",
"arrived_at": "string",
"status": "string",
"acknowledged": false,
"acknowledged_at": "string",
"patient_informed": false,
"informed_at": "string",
"informed_method": "string",
"action_taken": "string",
"action_at": "string",
"action_link_kind": "string",
"escalated": false,
"closed_at": "string",
"flag": "string",
"flag_origin": "string",
"statement_code": "string",
"clocks": {}
}
]
}The response is the shape from the schema, not live data.
Try it in your sandbox
Record that a named clinician acknowledged a result
The clinician named by `clinician` saw it. NOT notification of the patient (that is /informed). Re-acknowledging keeps the first record. 409 already_closed; 422 clinician_not_found.
Parameters
EMR vendors also pass vendor (the practice) with a vendor-issued token. EMR vendor tokens
Request body
Content type: application/json (required)
staff_ref of the clinician who did it (GET /v1/panel/clinicians).
Errors specific to this call
409already_closed422clinician_not_foundAll responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s -X POST "https://app.norvya.health/v1/patients/$MEMBER_REF/results/$RESULT_REF/acknowledge" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"clinician": "stf_1a2b3c4d5e6f7a8b9c0d1e2f",
"note": "string"
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
member_ref = os.environ["MEMBER_REF"]
result_ref = os.environ["RESULT_REF"]
resp = requests.post(
f"{BASE}/v1/patients/{member_ref}/results/{result_ref}/acknowledge",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"clinician": "stf_1a2b3c4d5e6f7a8b9c0d1e2f",
"note": "string",
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const member_ref = process.env.MEMBER_REF;
const result_ref = process.env.RESULT_REF;
const url = new URL(`${BASE}/v1/patients/${encodeURIComponent(member_ref)}/results/${encodeURIComponent(result_ref)}/acknowledge`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"clinician": "stf_1a2b3c4d5e6f7a8b9c0d1e2f",
"note": "string"
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());{
"result_ref": "string",
"member_ref": "string",
"label": "string",
"source_kind": "string",
"resulted_on": "string",
"arrived_at": "string",
"status": "string",
"acknowledged": false,
"acknowledged_at": "string",
"patient_informed": false,
"informed_at": "string",
"informed_method": "string",
"action_taken": "string",
"action_at": "string",
"action_link_kind": "string",
"escalated": false,
"closed_at": "string",
"flag": "string",
"flag_origin": "string",
"statement_code": "string",
"clocks": {}
}The response is the shape from the schema, not live data.
Try it in your sandbox
Record that the patient was told
By the named clinician, by `method`. 422 invalid_inform_method.
Parameters
EMR vendors also pass vendor (the practice) with a vendor-issued token. EMR vendor tokens
Request body
Content type: application/json (required)
staff_ref of the clinician who did it (GET /v1/panel/clinicians).
phone | portal_message | in_person | letter | other
Errors specific to this call
422invalid_inform_methodAll responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s -X POST "https://app.norvya.health/v1/patients/$MEMBER_REF/results/$RESULT_REF/informed" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"clinician": "stf_1a2b3c4d5e6f7a8b9c0d1e2f",
"note": "string",
"method": "string"
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
member_ref = os.environ["MEMBER_REF"]
result_ref = os.environ["RESULT_REF"]
resp = requests.post(
f"{BASE}/v1/patients/{member_ref}/results/{result_ref}/informed",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"clinician": "stf_1a2b3c4d5e6f7a8b9c0d1e2f",
"note": "string",
"method": "string",
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const member_ref = process.env.MEMBER_REF;
const result_ref = process.env.RESULT_REF;
const url = new URL(`${BASE}/v1/patients/${encodeURIComponent(member_ref)}/results/${encodeURIComponent(result_ref)}/informed`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"clinician": "stf_1a2b3c4d5e6f7a8b9c0d1e2f",
"note": "string",
"method": "string"
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());{
"result_ref": "string",
"member_ref": "string",
"label": "string",
"source_kind": "string",
"resulted_on": "string",
"arrived_at": "string",
"status": "string",
"acknowledged": false,
"acknowledged_at": "string",
"patient_informed": false,
"informed_at": "string",
"informed_method": "string",
"action_taken": "string",
"action_at": "string",
"action_link_kind": "string",
"escalated": false,
"closed_at": "string",
"flag": "string",
"flag_origin": "string",
"statement_code": "string",
"clocks": {}
}The response is the shape from the schema, not live data.
Try it in your sandbox
Record the action taken on a result
What was done, in the clinician's words, and what kind of thing it was. 422 action_text_required, invalid_action_link_kind.
Parameters
EMR vendors also pass vendor (the practice) with a vendor-issued token. EMR vendor tokens
Request body
Content type: application/json (required)
referral | order | message | note | appointment | none
Errors specific to this call
422action_text_requiredAll responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s -X POST "https://app.norvya.health/v1/patients/$MEMBER_REF/results/$RESULT_REF/action" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"clinician": "string",
"action_taken": "string",
"link_kind": "string"
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
member_ref = os.environ["MEMBER_REF"]
result_ref = os.environ["RESULT_REF"]
resp = requests.post(
f"{BASE}/v1/patients/{member_ref}/results/{result_ref}/action",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"clinician": "string",
"action_taken": "string",
"link_kind": "string",
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const member_ref = process.env.MEMBER_REF;
const result_ref = process.env.RESULT_REF;
const url = new URL(`${BASE}/v1/patients/${encodeURIComponent(member_ref)}/results/${encodeURIComponent(result_ref)}/action`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"clinician": "string",
"action_taken": "string",
"link_kind": "string"
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());{
"result_ref": "string",
"member_ref": "string",
"label": "string",
"source_kind": "string",
"resulted_on": "string",
"arrived_at": "string",
"status": "string",
"acknowledged": false,
"acknowledged_at": "string",
"patient_informed": false,
"informed_at": "string",
"informed_method": "string",
"action_taken": "string",
"action_at": "string",
"action_link_kind": "string",
"escalated": false,
"closed_at": "string",
"flag": "string",
"flag_origin": "string",
"statement_code": "string",
"clocks": {}
}The response is the shape from the schema, not live data.
Try it in your sandbox
Close the loop on a result
Refused until a clinician acknowledged it (409 acknowledge_first) and, for a flagged result, the patient was told (409 patient_not_informed) and an action recorded (409 action_not_recorded).
Parameters
EMR vendors also pass vendor (the practice) with a vendor-issued token. EMR vendor tokens
Request body
Content type: application/json (required)
Errors specific to this call
409acknowledge_first409patient_not_informed409action_not_recordedAll responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s -X POST "https://app.norvya.health/v1/patients/$MEMBER_REF/results/$RESULT_REF/close" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"clinician": "string",
"reason": "string"
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
member_ref = os.environ["MEMBER_REF"]
result_ref = os.environ["RESULT_REF"]
resp = requests.post(
f"{BASE}/v1/patients/{member_ref}/results/{result_ref}/close",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"clinician": "string",
"reason": "string",
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const member_ref = process.env.MEMBER_REF;
const result_ref = process.env.RESULT_REF;
const url = new URL(`${BASE}/v1/patients/${encodeURIComponent(member_ref)}/results/${encodeURIComponent(result_ref)}/close`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"clinician": "string",
"reason": "string"
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());{
"result_ref": "string",
"member_ref": "string",
"label": "string",
"source_kind": "string",
"resulted_on": "string",
"arrived_at": "string",
"status": "string",
"acknowledged": false,
"acknowledged_at": "string",
"patient_informed": false,
"informed_at": "string",
"informed_method": "string",
"action_taken": "string",
"action_at": "string",
"action_link_kind": "string",
"escalated": false,
"closed_at": "string",
"flag": "string",
"flag_origin": "string",
"statement_code": "string",
"clocks": {}
}The response is the shape from the schema, not live data.
Try it in your sandbox
Referrals your practice tracks for a patient, with their loop status
Each tracked referral's status, stage, the dates recorded, how each fact was established, and the overdue clocks your practice set. No record of an appointment is not a record that none was made.
Parameters
EMR vendors also pass vendor (the practice) with a vendor-issued token. EMR vendor tokens
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/patients/$MEMBER_REF/referrals" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
member_ref = os.environ["MEMBER_REF"]
resp = requests.get(
f"{BASE}/v1/patients/{member_ref}/referrals",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const member_ref = process.env.MEMBER_REF;
const url = new URL(`${BASE}/v1/patients/${encodeURIComponent(member_ref)}/referrals`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());{
"member_ref": "string",
"items": [
{
"referral_ref": "string",
"member_ref": "string",
"status": "string",
"stage": "string",
"open": false,
"allowed_statuses": [
"string"
],
"urgency_level": "string",
"referral_reason": "string",
"specialist_name": "string",
"specialty": "string",
"origin": "string",
"sent_at": "string",
"appointment_scheduled_date": "string",
"appointment_completed_date": "string",
"completion_recorded": false,
"completion_source": "string",
"report_received": false,
"report_received_at": "string",
"report_source": "string",
"referring_provider_notified": false,
"closed_at": "string",
"flags": [
{}
],
"possible_completion": "string",
"disclaimer": "string"
}
]
}The response is the shape from the schema, not live data.
Try it in your sandbox
Move a tracked referral (scheduled, seen, report received, completed, ...)
Through referral_loop's own functions and transition table (422 invalid_transition:<from>-><to>). scheduled / seen need occurred_on; report_received needs report_source and the report text or your document_ref; completed (the referring provider has the outcome) needs a report on file (409 no_report_to_send). Recorded with source practice_system.
Parameters
EMR vendors also pass vendor (the practice) with a vendor-issued token. EMR vendor tokens
Request body
Content type: application/json (required)
accepted | scheduled | appointment_scheduled | seen | no_show | report_received | completed | declined | cancelled | unreachable | closed_unmet | pending
YYYY-MM-DD: the appointment / visit / report date (required for scheduled and seen).
report_received: direct | fax | portal | mail | phone | in_person | patient_reported | upload
report_received: the report text, or ...
... your document id instead.
Errors specific to this call
409no_report_to_sendAll responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s -X POST "https://app.norvya.health/v1/patients/$MEMBER_REF/referrals/$REFERRAL_REF/status" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"status": "scheduled",
"occurred_on": "2026-11-02",
"note": "string",
"report_source": "string",
"report": "string",
"document_ref": "string"
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
member_ref = os.environ["MEMBER_REF"]
referral_ref = os.environ["REFERRAL_REF"]
resp = requests.post(
f"{BASE}/v1/patients/{member_ref}/referrals/{referral_ref}/status",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"status": "scheduled",
"occurred_on": "2026-11-02",
"note": "string",
"report_source": "string",
"report": "string",
"document_ref": "string",
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const member_ref = process.env.MEMBER_REF;
const referral_ref = process.env.REFERRAL_REF;
const url = new URL(`${BASE}/v1/patients/${encodeURIComponent(member_ref)}/referrals/${encodeURIComponent(referral_ref)}/status`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"status": "scheduled",
"occurred_on": "2026-11-02",
"note": "string",
"report_source": "string",
"report": "string",
"document_ref": "string"
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());{
"referral_ref": "string",
"member_ref": "string",
"status": "string",
"stage": "string",
"open": false,
"allowed_statuses": [
"string"
],
"urgency_level": "string",
"referral_reason": "string",
"specialist_name": "string",
"specialty": "string",
"origin": "string",
"sent_at": "string",
"appointment_scheduled_date": "string",
"appointment_completed_date": "string",
"completion_recorded": false,
"completion_source": "string",
"report_received": false,
"report_received_at": "string",
"report_source": "string",
"referring_provider_notified": false,
"closed_at": "string",
"flags": [
{}
],
"possible_completion": "string",
"disclaimer": "string"
}The response is the shape from the schema, not live data.
Try it in your sandbox
Questionnaires you may request
Norvya's validated instrument library (scored server-side), with the version, the licence record and whether the wording is English-only. `clinician_rated` lists the clinician-rated measures (recorded with POST /v1/patients/{member_ref}/clinician-ratings where recordable); `not_requestable` lists every other questionnaire Norvya supports with the reason (parent-completed child screens, feature flows with their own red-flag checks, licences this deployment does not hold, specialty-hub checks, crisis triage checks). Treating practices only; instruments.request or instruments.read.
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/instruments" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/instruments",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/instruments`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());{
"items": [
{
"id": "phq9",
"name": "string",
"short_name": "string",
"version": "PHQ-9",
"category": "string",
"item_count": 0,
"estimated_minutes": 0,
"language": "en",
"english_validated_only": false,
"mental_health": false,
"crisis_capable": false,
"licensed": false,
"licence": {
"holder": "string",
"verdict": "string",
"on_licensed_path": false
}
}
],
"clinician_rated": [
{
"id": "fois",
"name": "string",
"version": "string",
"item_count": 0,
"items": [
{}
],
"accepts_decimal": false,
"recordable": false,
"reason_code": "string"
}
],
"not_requestable": [
{
"id": "swyc_bpsc",
"registry": "string",
"reason_code": "string",
"reason": "string",
"served_by": "string"
}
],
"note": "string"
}The response is the shape from the schema, not live data.
Try it in your sandbox
Ask a patient to complete a questionnaire
Norvya sends its own generic notification ("Questionnaire from your care team"; no instrument name in the push) and shows the questionnaire in the app. The patient answers in Norvya, never through this API, so a crisis answer reaches the patient's crisis resources and your staff first. Idempotent with external_id. 409 member_not_accepting_requests when the patient muted your organisation.
Parameters
EMR vendors also pass vendor (the practice) with a vendor-issued token. EMR vendor tokens
Request body
Content type: application/json (required)
Your id: a retry with it returns the same request.
Errors specific to this call
409member_not_accepting_requestsAll responses
201Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s -X POST "https://app.norvya.health/v1/members/$MEMBER_REF/instrument-requests" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"instrument_id": "phq9",
"external_id": "ORD-55120"
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
member_ref = os.environ["MEMBER_REF"]
resp = requests.post(
f"{BASE}/v1/members/{member_ref}/instrument-requests",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"instrument_id": "phq9",
"external_id": "ORD-55120",
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const member_ref = process.env.MEMBER_REF;
const url = new URL(`${BASE}/v1/members/${encodeURIComponent(member_ref)}/instrument-requests`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"instrument_id": "phq9",
"external_id": "ORD-55120"
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());{
"member_ref": "string",
"response_ref": "ir_4c1d2e3f4a5b6c7d8e9f0a1b",
"instrument_id": "string",
"status": "requested",
"created": false,
"notified": false,
"results_visible": false
}The response is the shape from the schema, not live data.
Try it in your sandbox
A patient's questionnaire scores
Total, severity band, positive-screen flag and subscales with the instrument version and completion time. Never item-level answers. Mental-health questionnaires only while the patient shares mental health with you, others while they share medical history; pending requests are yours only. crisis_flag true means Norvya's crisis gate fired in the app: follow your practice's crisis protocol (crisis_guidance).
Parameters
submitted | requested | all
EMR vendors also pass vendor (the practice) with a vendor-issued token. EMR vendor tokens
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/members/$MEMBER_REF/instrument-responses" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
member_ref = os.environ["MEMBER_REF"]
resp = requests.get(
f"{BASE}/v1/members/{member_ref}/instrument-responses",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const member_ref = process.env.MEMBER_REF;
const url = new URL(`${BASE}/v1/members/${encodeURIComponent(member_ref)}/instrument-responses`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());{
"member_ref": "string",
"sharing": {},
"items": [
{
"response_ref": "string",
"instrument": {
"id": "string",
"name": "string",
"version": "string"
},
"status": "string",
"requested_by_you": false,
"requested_at": "string",
"completed_at": "string",
"language": "string",
"score": {
"total": 0.0,
"max_score": 0.0,
"band": "string",
"positive_screen": false,
"subscales": {}
},
"crisis_flag": false,
"crisis_guidance": "string"
}
],
"answers_included": false
}The response is the shape from the schema, not live data.
Try it in your sandbox
Sandbox: make a synthetic patient complete a requested questionnaire
Sandbox organisations only (404 elsewhere). Scored server-side like a real submission; crisis_example (PHQ-9) shows what a crisis-flagged response looks like. No notification or push is sent; your instrument.completed webhook fires as it would live.
Parameters
EMR vendors also pass vendor (the practice) with a vendor-issued token. EMR vendor tokens
Request body
Content type: application/json
Errors specific to this call
404elsewhereAll responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s -X POST "https://app.norvya.health/v1/members/$MEMBER_REF/instrument-requests/$RESPONSE_REF/simulate-completion" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"answers": [
0
],
"crisis_example": false
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
member_ref = os.environ["MEMBER_REF"]
response_ref = os.environ["RESPONSE_REF"]
resp = requests.post(
f"{BASE}/v1/members/{member_ref}/instrument-requests/{response_ref}/simulate-completion",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"answers": [
0,
],
"crisis_example": False,
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const member_ref = process.env.MEMBER_REF;
const response_ref = process.env.RESPONSE_REF;
const url = new URL(`${BASE}/v1/members/${encodeURIComponent(member_ref)}/instrument-requests/${encodeURIComponent(response_ref)}/simulate-completion`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"answers": [
0
],
"crisis_example": false
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());{
"response_ref": "string",
"instrument": {
"id": "string",
"name": "string",
"version": "string"
},
"status": "string",
"requested_by_you": false,
"requested_at": "string",
"completed_at": "string",
"language": "string",
"score": {
"total": 0.0,
"max_score": 0.0,
"band": "string",
"positive_screen": false,
"subscales": {}
},
"crisis_flag": false,
"crisis_guidance": "string"
}The response is the shape from the schema, not live data.
Try it in your sandbox
Record a clinician-rated measure a named clinician assigned
The measures Norvya lets a practice's staff enter (GET /v1/instruments clinician_rated[] with recordable true: today the Nine-Hole Peg Test and FOIS), scored by Norvya and stored exactly as the staff screen stores them, attributed to the clinician you name (an active clinical staff member of your practice; 422 clinician_not_found). The patient must share their medical history with you (409 member_not_sharing).
Parameters
EMR vendors also pass vendor (the practice) with a vendor-issued token. EMR vendor tokens
Request body
Content type: application/json (required)
One value per item, in item order (GET /v1/instruments clinician_rated[].items).
staff_ref of the clinician who assigned it (GET /v1/panel/clinicians).
Errors specific to this call
422clinician_not_found409member_not_sharingAll responses
201Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s -X POST "https://app.norvya.health/v1/patients/$MEMBER_REF/clinician-ratings" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"instrument_id": "fois",
"values": [
5
],
"clinician": "string"
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
member_ref = os.environ["MEMBER_REF"]
resp = requests.post(
f"{BASE}/v1/patients/{member_ref}/clinician-ratings",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"instrument_id": "fois",
"values": [
5,
],
"clinician": "string",
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const member_ref = process.env.MEMBER_REF;
const url = new URL(`${BASE}/v1/patients/${encodeURIComponent(member_ref)}/clinician-ratings`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"instrument_id": "fois",
"values": [
5
],
"clinician": "string"
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());{
"member_ref": "string",
"response_ref": "string",
"instrument_id": "string",
"version": "string",
"score": {},
"recorded_at": "string",
"clinician": "string"
}The response is the shape from the schema, not live data.
Try it in your sandbox
Ask a caseload to complete a questionnaire
One requestable instrument to up to 500 of your active members (member_refs) or a cohort: all_active, care_program (active enrolments in one programme) or worklist_finding (patients with that finding in your latest completed worklist run). Sent asynchronously with Norvya's own generic notification, one request per member (a member who already has your request for it pending gets no second one; members who muted your organisation are refused). Each member answers in the app, where the crisis gate runs first. Poll the status_url (batch_ref) or subscribe to instrument.batch_dispatched; completions arrive as instrument.completed. Idempotent with external_id.
Request body
Content type: application/json (required)
Up to 500 of your members.
Your id: a retry returns the same batch.
All responses
202Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s -X POST "https://app.norvya.health/v1/instrument-requests/batch" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"instrument_id": "phq9",
"member_refs": [
"string"
],
"cohort": {
"kind": "all_active",
"program": "string",
"code": "string"
},
"external_id": "string"
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.post(
BASE + "/v1/instrument-requests/batch",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"instrument_id": "phq9",
"member_refs": [
"string",
],
"cohort": {
"kind": "all_active",
"program": "string",
"code": "string",
},
"external_id": "string",
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/instrument-requests/batch`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"instrument_id": "phq9",
"member_refs": [
"string"
],
"cohort": {
"kind": "all_active",
"program": "string",
"code": "string"
},
"external_id": "string"
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());{
"batch_ref": "string",
"status": "string",
"error": "string",
"instrument": {},
"cohort": {},
"created_at": "string",
"started_at": "string",
"finished_at": "string",
"progress": {},
"aggregate": {
"min_cell": 0,
"completed": {
"count": 0,
"suppressed": false
},
"positive_screens": {
"count": 0,
"suppressed": false
},
"crisis_flagged": {
"count": 0,
"suppressed": false
}
},
"members_included": false,
"members": [
{
"member_ref": "string",
"outcome": "string",
"code": "string",
"status": "string",
"response_ref": "string",
"completed_at": "string",
"results_visible": false,
"score_band": "string",
"positive_screen": false,
"crisis_flag": false,
"crisis_guidance": "string"
}
],
"created": false
}The response is the shape from the schema, not live data.
Try it in your sandbox
Your caseload batches, newest first
The batches THIS client started for your organisation (no member data).
Parameters
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/instrument-requests/batch" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/instrument-requests/batch",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/instrument-requests/batch`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());{
"items": [
{
"batch_ref": "string",
"status": "string",
"instrument_id": "string",
"members": 0,
"created_at": "string",
"finished_at": "string"
}
]
}The response is the shape from the schema, not live data.
Try it in your sandbox
A caseload batch: progress and results
Progress (requested, already pending, refused, completed) and an aggregate (completed, positive screens, crisis flags) with small cells withheld. With instruments.read as well: the per-member list (member_ref, outcome, status, and the score band, positive screen and crisis_flag only where the member shares that instrument's results with you). crisis_flag true means the patient already saw crisis resources and your staff were notified in Norvya: follow your crisis protocol (crisis_guidance).
Parameters
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/instrument-requests/batch/$BATCH_REF" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
batch_ref = os.environ["BATCH_REF"]
resp = requests.get(
f"{BASE}/v1/instrument-requests/batch/{batch_ref}",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const batch_ref = process.env.BATCH_REF;
const url = new URL(`${BASE}/v1/instrument-requests/batch/${encodeURIComponent(batch_ref)}`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());{
"batch_ref": "string",
"status": "string",
"error": "string",
"instrument": {},
"cohort": {},
"created_at": "string",
"started_at": "string",
"finished_at": "string",
"progress": {},
"aggregate": {
"min_cell": 0,
"completed": {
"count": 0,
"suppressed": false
},
"positive_screens": {
"count": 0,
"suppressed": false
},
"crisis_flagged": {
"count": 0,
"suppressed": false
}
},
"members_included": false,
"members": [
{
"member_ref": "string",
"outcome": "string",
"code": "string",
"status": "string",
"response_ref": "string",
"completed_at": "string",
"results_visible": false,
"score_band": "string",
"positive_screen": false,
"crisis_flag": false,
"crisis_guidance": "string"
}
],
"created": false
}The response is the shape from the schema, not live data.
Try it in your sandbox
Your practice's tracked clinical alerts (open, acknowledged, closed)
The same alert inbox as the practice's Alerts screen: every tracked alert (severe home BP, heart-failure weight gain, crisis questionnaire answers, between-visit trends, kidney findings, post-discharge red flags, worsening questionnaire scores, falls, missed postpartum checks, low CPAP use and the other sources in alert_loop), its severity, status, acknowledge-by time, whether it is overdue, escalation level, who it is assigned to (staff_ref) and how it was closed. Active lists sort overdue first, then severity, then oldest. Only patients on your live panel. Subscribe to clinical_alert.opened / clinical_alert.escalated.
Parameters
active | open | acknowledged | closed | all
Only this patient's alerts.
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/panel/alerts" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/panel/alerts",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/panel/alerts`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
One tracked clinical alert with its history
The alert and every event on it (raised, acknowledged, assigned, escalated, closed, reopened) with the staff_ref who did it ("system" for Norvya's own escalation). 404 alert_not_found.
Parameters
Errors specific to this call
404alert_not_foundAll responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/panel/alerts/$ALERT_REF" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
alert_ref = os.environ["ALERT_REF"]
resp = requests.get(
f"{BASE}/v1/panel/alerts/{alert_ref}",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const alert_ref = process.env.ALERT_REF;
const url = new URL(`${BASE}/v1/panel/alerts/${encodeURIComponent(alert_ref)}`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Record that a named staff member acknowledged an alert
Stops the escalation clock; an unassigned alert is assigned to that person. Acknowledging twice keeps the first. 409 alert_loop_closed; 422 staff_not_found.
Parameters
Request body
Content type: application/json (required)
staff_ref of the member of your staff who did it (GET /v1/panel/clinicians).
Errors specific to this call
409alert_loop_closed422staff_not_foundAll responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s -X POST "https://app.norvya.health/v1/panel/alerts/$ALERT_REF/acknowledge" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"staff": "string"
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
alert_ref = os.environ["ALERT_REF"]
resp = requests.post(
f"{BASE}/v1/panel/alerts/{alert_ref}/acknowledge",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"staff": "string",
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const alert_ref = process.env.ALERT_REF;
const url = new URL(`${BASE}/v1/panel/alerts/${encodeURIComponent(alert_ref)}/acknowledge`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"staff": "string"
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Assign an alert to a staff member
`staff` assigns it to `assignee` (both staff_ref). 409 alert_loop_closed; 422 staff_not_found.
Parameters
Request body
Content type: application/json (required)
staff_ref of the member of your staff who did it (GET /v1/panel/clinicians).
staff_ref of the staff member the alert is assigned to.
Errors specific to this call
422staff_not_foundAll responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s -X POST "https://app.norvya.health/v1/panel/alerts/$ALERT_REF/assign" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"staff": "string",
"assignee": "string"
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
alert_ref = os.environ["ALERT_REF"]
resp = requests.post(
f"{BASE}/v1/panel/alerts/{alert_ref}/assign",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"staff": "string",
"assignee": "string",
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const alert_ref = process.env.ALERT_REF;
const url = new URL(`${BASE}/v1/panel/alerts/${encodeURIComponent(alert_ref)}/assign`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"staff": "string",
"assignee": "string"
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Close an alert with its outcome
Closing an open alert also records it as acknowledged. 422 alert_loop_invalid_outcome; 409 alert_loop_closed.
Parameters
Request body
Content type: application/json (required)
staff_ref of the member of your staff who did it (GET /v1/panel/clinicians).
contacted_patient | advised_care | medication_reviewed | visit_scheduled | referred | emergency_services | no_action_needed | unable_to_reach | duplicate
Errors specific to this call
409alert_loop_closedAll responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s -X POST "https://app.norvya.health/v1/panel/alerts/$ALERT_REF/close" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"staff": "string",
"outcome": "string",
"note": "string"
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
alert_ref = os.environ["ALERT_REF"]
resp = requests.post(
f"{BASE}/v1/panel/alerts/{alert_ref}/close",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"staff": "string",
"outcome": "string",
"note": "string",
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const alert_ref = process.env.ALERT_REF;
const url = new URL(`${BASE}/v1/panel/alerts/${encodeURIComponent(alert_ref)}/close`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"staff": "string",
"outcome": "string",
"note": "string"
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Reopen a closed alert
Back to acknowledged; the previous outcome is kept in the history. 409 alert_loop_not_closed.
Parameters
Request body
Content type: application/json (required)
staff_ref of the member of your staff who did it (GET /v1/panel/clinicians).
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s -X POST "https://app.norvya.health/v1/panel/alerts/$ALERT_REF/reopen" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"staff": "string"
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
alert_ref = os.environ["ALERT_REF"]
resp = requests.post(
f"{BASE}/v1/panel/alerts/{alert_ref}/reopen",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"staff": "string",
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const alert_ref = process.env.ALERT_REF;
const url = new URL(`${BASE}/v1/panel/alerts/${encodeURIComponent(alert_ref)}/reopen`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"staff": "string"
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
A patient's preventive screenings: met by your record, member-reported, or open
The practice care-gap rules for this patient, each with a pathway status: met_by_record (your record shows it), member_reported (the patient says it was done elsewhere - unconfirmed, never counted as met), due, overdue, insufficient_data. Member-reported completions appear only while the patient shares medical history with you. Each item carries the same audience-shaped source as GET /v1/patients/{member_ref}/care-gaps.
Parameters
EMR vendors also pass vendor (the practice) with a vendor-issued token. EMR vendor tokens
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/patients/$MEMBER_REF/preventive-pathway" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
member_ref = os.environ["MEMBER_REF"]
resp = requests.get(
f"{BASE}/v1/patients/{member_ref}/preventive-pathway",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const member_ref = process.env.MEMBER_REF;
const url = new URL(`${BASE}/v1/patients/${encodeURIComponent(member_ref)}/preventive-pathway`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
A patient's condition cluster and drug-disease conflicts (Beers 2023, heart failure)
Descriptive counts (coded conditions you may see, the cardiometabolic-renal cluster, current medication count, open alerts and care gaps) and drug-disease conflicts: a current medicine that may worsen heart failure (AGS Beers 2023 Table 3). Conflicts are prompts for the treating clinician, never instructions; they pass Norvya's recommendation gate exactly as on the practice's screen (a claim still pending clinician approval is withheld in enforce mode). Conditions need the medical-history switch and conflicts the medications switch.
Parameters
EMR vendors also pass vendor (the practice) with a vendor-issued token. EMR vendor tokens
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/patients/$MEMBER_REF/multimorbidity" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
member_ref = os.environ["MEMBER_REF"]
resp = requests.get(
f"{BASE}/v1/patients/{member_ref}/multimorbidity",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const member_ref = process.env.MEMBER_REF;
const url = new URL(`${BASE}/v1/patients/${encodeURIComponent(member_ref)}/multimorbidity`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Who did not meet an extended measure, and the reason code
Each patient (member_ref) in a denominator who did not meet the numerator, with the population, the machine reason and the date it rests on. Descriptive: no closing action is suggested. 404 unknown_measure.
Parameters
Errors specific to this call
404unknown_measureAll responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/panel/measures-extended/$MEASURE_ID/not-met" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
measure_id = os.environ["MEASURE_ID"]
resp = requests.get(
f"{BASE}/v1/panel/measures-extended/{measure_id}/not-met",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const measure_id = process.env.MEASURE_ID;
const url = new URL(`${BASE}/v1/panel/measures-extended/${encodeURIComponent(measure_id)}/not-met`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
A patient's medicine lists compared, with discrepancies and kidney-dose flags
The patient's own list, your practice's record, your latest discharge list and your dispensing record compared per drug: discrepancies (each with a key to resolve), kidney-dose flags (eGFR-based; they pass Norvya's recommendation gate exactly as on the practice's screen) and the latest session (open / attested / outdated). Prompts for the treating clinician.
Parameters
EMR vendors also pass vendor (the practice) with a vendor-issued token. EMR vendor tokens
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/patients/$MEMBER_REF/med-reconciliation" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
member_ref = os.environ["MEMBER_REF"]
resp = requests.get(
f"{BASE}/v1/patients/{member_ref}/med-reconciliation",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const member_ref = process.env.MEMBER_REF;
const url = new URL(`${BASE}/v1/patients/${encodeURIComponent(member_ref)}/med-reconciliation`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Open (or refresh) a reconciliation session
Snapshots today's comparison; resolutions carry over for discrepancies still there. `staff` is the clinician (staff_ref). 409 med_rec_no_sources; 422 med_rec_invalid_context, med_rec_event_in_future, staff_not_found.
Parameters
Request body
Content type: application/json (required)
staff_ref of the member of your staff who did it (GET /v1/panel/clinicians).
visit | tcm | awv | ccm | other
Errors specific to this call
409med_rec_no_sources422med_rec_invalid_contextAll responses
201Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s -X POST "https://app.norvya.health/v1/patients/$MEMBER_REF/med-reconciliation/sessions" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"staff": "string",
"context": "string",
"event_date": "string"
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
member_ref = os.environ["MEMBER_REF"]
resp = requests.post(
f"{BASE}/v1/patients/{member_ref}/med-reconciliation/sessions",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"staff": "string",
"context": "string",
"event_date": "string",
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const member_ref = process.env.MEMBER_REF;
const url = new URL(`${BASE}/v1/patients/${encodeURIComponent(member_ref)}/med-reconciliation/sessions`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"staff": "string",
"context": "string",
"event_date": "string"
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Resolve one discrepancy
The named clinician's decision on one discrepancy. 404 med_rec_session_not_found / med_rec_discrepancy_not_found; 409 med_rec_session_closed; 422 med_rec_invalid_resolution.
Parameters
Request body
Content type: application/json (required)
staff_ref of the member of your staff who did it (GET /v1/panel/clinicians).
A discrepancy key from GET .../med-reconciliation.
pharmacy_care.RESOLUTION_STATUSES
Errors specific to this call
422med_rec_invalid_resolutionAll responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s -X POST "https://app.norvya.health/v1/patients/$MEMBER_REF/med-reconciliation/sessions/$SESSION_REF/resolve" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"staff": "string",
"key": "string",
"status": "string",
"note": "string"
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
member_ref = os.environ["MEMBER_REF"]
session_ref = os.environ["SESSION_REF"]
resp = requests.post(
f"{BASE}/v1/patients/{member_ref}/med-reconciliation/sessions/{session_ref}/resolve",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"staff": "string",
"key": "string",
"status": "string",
"note": "string",
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const member_ref = process.env.MEMBER_REF;
const session_ref = process.env.SESSION_REF;
const url = new URL(`${BASE}/v1/patients/${encodeURIComponent(member_ref)}/med-reconciliation/sessions/${encodeURIComponent(session_ref)}/resolve`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"staff": "string",
"key": "string",
"status": "string",
"note": "string"
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
The named clinician attests the reconciliation
Recorded as the attestation of the clinician named by `staff` (a clinical staff member of your practice: admin, provider or pharmacist), the person who reconciled in your system. Refused while a discrepancy is unresolved (409 med_rec_discrepancies_unresolved) or when the lists changed since the snapshot (409 med_rec_lists_changed: open the session again).
Parameters
Request body
Content type: application/json (required)
staff_ref of the member of your staff who did it (GET /v1/panel/clinicians).
Errors specific to this call
409med_rec_discrepancies_unresolved409med_rec_lists_changedAll responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s -X POST "https://app.norvya.health/v1/patients/$MEMBER_REF/med-reconciliation/sessions/$SESSION_REF/attest" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"staff": "string"
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
member_ref = os.environ["MEMBER_REF"]
session_ref = os.environ["SESSION_REF"]
resp = requests.post(
f"{BASE}/v1/patients/{member_ref}/med-reconciliation/sessions/{session_ref}/attest",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"staff": "string",
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const member_ref = process.env.MEMBER_REF;
const session_ref = process.env.SESSION_REF;
const url = new URL(`${BASE}/v1/patients/${encodeURIComponent(member_ref)}/med-reconciliation/sessions/${encodeURIComponent(session_ref)}/attest`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"staff": "string"
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Your pregnant and postpartum patients: last BP, mood checks, flags
Patients who share medical history with you and are pregnant or postpartum: gestational weeks or postpartum day, gestational diabetes and hypertensive disorder, the last home BP and its ACOG lane (while they share biometrics), postpartum BP readings since delivery, the day 14 / 42 / 91 / 182 mood checks (Norvya timing; while they share mental health) and flags, most urgent first. The latest warning-sign check is the partner view (the same rule as GET /v1/patients/{member_ref}/pregnancy): a thoughts-of-harm answer is never named, and without mental-health sharing the lane is recomputed from the remaining signs. "No BP since delivery" is a fact, not an overdue call. Counts below the small-cell minimum withheld.
Errors specific to this call
182moodAll responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/panel/maternal" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/panel/maternal",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/panel/maternal`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
CPAP adherence against the Medicare rule (4 h on 21 of 30 nights in the first 90 days)
Each patient whose CPAP data you may use: status (at_risk, not_yet, not_met, no_data, adherent) against CMS LCD L33718's initial-period rule, the best 30-night window, nights logged, and the last 30 days. Hours are member-logged, not a device download (see `limitations`); an unlogged night counts as under 4 hours (a Norvya convention).
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/panel/cpap" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/panel/cpap",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/panel/cpap`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Symptom and function scores over time across your panel (better / worse / unchanged)
First versus latest score in the window for heart-failure symptoms, NYHA class, PEG pain, CDC Stay Independent and Katz / Lawton function, per patient and summarised (worse / better / unchanged). No fitted line and no new clinically meaningful change is claimed. 422 invalid_measure.
Parameters
hf_symptom | nyha | peg | stay_independent | katz_adl | lawton_iadl
Errors specific to this call
422invalid_measureAll responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/panel/pro-trajectory" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/panel/pro-trajectory",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/panel/pro-trajectory`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
One patient's symptom and function scores over time
The same measures as GET /v1/panel/pro-trajectory for one patient, with each series. PEG carries meaningful_improvement (a 30% fall), Stay Independent whether it crossed the CDC cutoff.
Parameters
EMR vendors also pass vendor (the practice) with a vendor-issued token. EMR vendor tokens
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/patients/$MEMBER_REF/pro-trajectory" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
member_ref = os.environ["MEMBER_REF"]
resp = requests.get(
f"{BASE}/v1/patients/{member_ref}/pro-trajectory",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const member_ref = process.env.MEMBER_REF;
const url = new URL(`${BASE}/v1/patients/${encodeURIComponent(member_ref)}/pro-trajectory`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Home exercise programmes: share of days with a recorded session
Each active home exercise programme of a patient who shares medical history with you: discipline, focus, whether your practice assigned it, the share of days with a recorded session and of those the share done in full, and the last session. A day with no session is unrecorded, never "missed", so there is no non-adherence rate.
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/panel/hep-adherence" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/panel/hep-adherence",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/panel/hep-adherence`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
PHQ-9, GAD-7 and PCL-5 over time, with not-improving flags
Patients who share mental health with you: each scale's baseline, latest and change, weeks since baseline, and not_improving (the AIMS Center rule: under 50% improvement after 10 weeks; PHQ-9 only - GAD-7 and PCL-5 have no agreed threshold and are never flagged), with response and remission counts and whether the patient is enrolled in collaborative care or therapy with you.
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/panel/bh-trajectory" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/panel/bh-trajectory",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/panel/bh-trajectory`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Your patients with asthma, COPD or ILD: peak-flow zone, SpO2, FVC trend, open alerts
Patients who share medical history with you and have a coded asthma or COPD condition or an ILD profile: the latest peak-flow zone against their personal best (NHLBI NAEPP zones; no zone without a personal best), SpO2 (latest and lowest in 30 days; no cut-off applied here), the FVC trend, inhaler reminder status (not an adherence rate: no doses-taken log exists), and open respiratory alerts as alert_ref (GET /v1/panel/alerts/{alert_ref}). Readings only while the patient shares biometrics. Counts below the small-cell minimum withheld. Descriptive only.
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/panel/respiratory" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/panel/respiratory",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/panel/respiratory`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Your patients who depend on powered equipment (oxygen, dialysis, CPAP, insulin pump ...)
Patients who share medical history with you and listed (or whose records imply) power-dependent equipment, with the member's own backup-hours note. Absent means not recorded. This is NOT HHS emPOWER data (Medicare claims Norvya does not hold). Counts below the small-cell minimum withheld.
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/panel/power-dependent" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/panel/power-dependent",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/panel/power-dependent`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
One patient's emergency summary (JSON, or ?format=ips for an HL7 IPS document)
The same summary as the practice screen, under each of the patient's sharing switches with you: current medicines (medications), and allergies, conditions, power-dependent equipment, emergency contact and advance-care pointers (medical history). A section the patient does not share is `withheld`; `not_recorded` means nothing is recorded, not that nothing applies.
?format=ips returns an HL7 IPS document built from the same consent-scoped collection as GET /v1/patients/{member_ref}/record (fhir_bulk.patient_export -> fhir_export.ips_document, never a second builder), so it needs clinical.record.read and a BAA on file too (409 record_baa_required; a sandbox needs none), and is audited as a PHI export before it is returned.
Parameters
ips for an HL7 IPS FHIR document
EMR vendors also pass vendor (the practice) with a vendor-issued token. EMR vendor tokens
Errors specific to this call
409record_baa_requiredAll responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/patients/$MEMBER_REF/emergency-summary" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
member_ref = os.environ["MEMBER_REF"]
resp = requests.get(
f"{BASE}/v1/patients/{member_ref}/emergency-summary",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const member_ref = process.env.MEMBER_REF;
const url = new URL(`${BASE}/v1/patients/${encodeURIComponent(member_ref)}/emergency-summary`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Heat exposure across your patients who log work in the heat (treating practices only)
Patients who let you use their biometrics and log heat exposures: acclimatization status, exposures and minutes in 14 days, the hottest WBGT and heat category, and flags (hot work while not acclimatized: a Norvya convention pending clinician review, read from TB MED 507, which is not verified against the primary source). Member-logged exposures only; no weather forecast is read. Heat-illness injuries your practice recorded in 365 days, as a count. Treating practices only: an employer or occupational programme never sees a worker's clinical detail.
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/panel/heat" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/panel/heat",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/panel/heat`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Your practice's disaster events with check-in counts
Your last 50 events, newest first, each with counts by check-in status (requested, safe, need_help, displaced, total).
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/panel/disaster-events" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/panel/disaster-events",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/panel/disaster-events`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Declare a disaster event: affected patients get a check-in request
`staff` must be one of your practice administrators (the same rule as the Norvya screen; 422 staff_not_found otherwise). Every patient on your live panel (scope all) or in the listed ZIP codes (a ZIP is read only where the patient shares medical history; unknown ZIPs are included unless include_unknown_location is false) gets an in-app check-in and a generic push that never names the event. Audited before anything is sent (503 when the audit log is down). 422 invalid_event_name, invalid_scope, invalid_zip_codes, ends_before_start.
Request body
Content type: application/json (required)
staff_ref of the member of your staff who did it (GET /v1/panel/clinicians).
What staff and patients see in the app.
all | zip
5-digit ZIP codes when scope is zip.
Include patients whose ZIP code is unknown or not shared with you.
Errors specific to this call
422staff_not_found503when422invalid_event_nameAll responses
201Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s -X POST "https://app.norvya.health/v1/panel/disaster-events" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"staff": "string",
"name": "string",
"scope": "string",
"zip_codes": [
"string"
],
"starts_on": "string",
"ends_on": "string",
"include_unknown_location": false
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.post(
BASE + "/v1/panel/disaster-events",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"staff": "string",
"name": "string",
"scope": "string",
"zip_codes": [
"string",
],
"starts_on": "string",
"ends_on": "string",
"include_unknown_location": False,
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/panel/disaster-events`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"staff": "string",
"name": "string",
"scope": "string",
"zip_codes": [
"string"
],
"starts_on": "string",
"ends_on": "string",
"include_unknown_location": false
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
One disaster event: every affected patient's check-in, need-help first
The operational view: each affected patient (member_ref), their answer (requested, safe, need_help, displaced), the location note they gave and when; exact counts (an operational list, not a report). A need-help answer is also a tracked alert (GET /v1/panel/alerts). 404 disaster_event_not_found.
Parameters
Errors specific to this call
404disaster_event_not_foundAll responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/panel/disaster-events/$EVENT_REF" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
event_ref = os.environ["EVENT_REF"]
resp = requests.get(
f"{BASE}/v1/panel/disaster-events/{event_ref}",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const event_ref = process.env.EVENT_REF;
const url = new URL(`${BASE}/v1/panel/disaster-events/${encodeURIComponent(event_ref)}`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Close a disaster event
`staff` must be one of your practice administrators. Open check-ins stop being shown to patients. 409 event_closed; 404 disaster_event_not_found.
Parameters
Request body
Content type: application/json (required)
staff_ref of the member of your staff who did it (GET /v1/panel/clinicians).
Errors specific to this call
409event_closed404disaster_event_not_foundAll responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s -X POST "https://app.norvya.health/v1/panel/disaster-events/$EVENT_REF/close" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"staff": "string"
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
event_ref = os.environ["EVENT_REF"]
resp = requests.post(
f"{BASE}/v1/panel/disaster-events/{event_ref}/close",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"staff": "string",
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const event_ref = process.env.EVENT_REF;
const url = new URL(`${BASE}/v1/panel/disaster-events/${encodeURIComponent(event_ref)}/close`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"staff": "string"
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Data-quality flags on one patient's measurements
Every data-quality flag on the measurements you may see for this patient: implausible value, likely wrong unit, missing or unconvertible unit, future date, same-day duplicate, two sources disagreeing, an implausible change, an odd time zone, stale. `blocking_present` lists the flags that make Norvya treat a value as unknown for safety decisions. Flags are prompts to check the source record, not findings about the patient. Rows are observation_ref (the same refs as the timeline).
Parameters
EMR vendors also pass vendor (the practice) with a vendor-issued token. EMR vendor tokens
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/patients/$MEMBER_REF/data-quality" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
member_ref = os.environ["MEMBER_REF"]
resp = requests.get(
f"{BASE}/v1/patients/{member_ref}/data-quality",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const member_ref = process.env.MEMBER_REF;
const url = new URL(`${BASE}/v1/patients/${encodeURIComponent(member_ref)}/data-quality`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Your panel's data-quality report: insight coverage and data problems
The share of your patients with enough data for each insight and the data problems found, as on the practice's panel screen (counts below the small-cell minimum withheld). Example patients are member_ref.
Parameters
Only rows one source delivered.
YYYY-MM-DD: only rows on or after.
Example patients per problem.
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/panel/data-quality" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/panel/data-quality",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/panel/data-quality`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Your remote-monitoring devices: silent, battery low, calibration due, never transmitted
Every device of your live-panel patients, as on the practice's fleet screen: status, program, last reading, battery, staff-stated calibration, silence (no reading in 3 days after a regular pattern: a transmission state, not a clinical finding), and reading-quality flags in 30 days (late arrival, estimated timestamp, burst duplicate, implausible value). Counts below the small-cell minimum withheld. Needs care management enabled.
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/panel/remote-devices" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/panel/remote-devices",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/panel/remote-devices`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
One device's lifecycle: shipped, delivered, activated, calibrated, swapped, returned
Newest first. `recorded_by` is staff (with by_staff_ref) or norvya (fulfilment, first reading, battery, silence). Calibration is what staff stated, not a device certificate.
Parameters
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/panel/remote-devices/$DEVICE_REF/events" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
device_ref = os.environ["DEVICE_REF"]
resp = requests.get(
f"{BASE}/v1/panel/remote-devices/{device_ref}/events",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const device_ref = process.env.DEVICE_REF;
const url = new URL(`${BASE}/v1/panel/remote-devices/${encodeURIComponent(device_ref)}/events`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Record a device's calibration, swap or return, named to a staff member
`staff` is a staff_ref of an active member of your staff; Norvya records that person. calibrated needs calibrated_on and method (next_due optional, not before calibrated_on); swapped needs new_hardware_id; returned takes returned_on (default today). Dates in the future are refused.
Parameters
Request body
Content type: application/json (required)
staff_ref of the member of your staff who did it (GET /v1/panel/clinicians).
calibrated | swapped | returned
YYYY-MM-DD (calibrated)
How it was calibrated (calibrated)
YYYY-MM-DD (calibrated, optional)
The replacement's id (swapped)
YYYY-MM-DD (returned; default today)
All responses
201Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s -X POST "https://app.norvya.health/v1/panel/remote-devices/$DEVICE_REF/events" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"staff": "string",
"kind": "string",
"calibrated_on": "string",
"method": "string",
"next_due": "string",
"new_hardware_id": "string",
"returned_on": "string",
"reason": "string"
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
device_ref = os.environ["DEVICE_REF"]
resp = requests.post(
f"{BASE}/v1/panel/remote-devices/{device_ref}/events",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"staff": "string",
"kind": "string",
"calibrated_on": "string",
"method": "string",
"next_due": "string",
"new_hardware_id": "string",
"returned_on": "string",
"reason": "string",
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const device_ref = process.env.DEVICE_REF;
const url = new URL(`${BASE}/v1/panel/remote-devices/${encodeURIComponent(device_ref)}/events`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"staff": "string",
"kind": "string",
"calibrated_on": "string",
"method": "string",
"next_due": "string",
"new_hardware_id": "string",
"returned_on": "string",
"reason": "string"
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Your patients by engagement state: disengaging, device silent, low PDC, insufficient data
The practice's engagement list: app activity segment, an adherence estimate with its uncertainty, proportion of days covered (this pharmacy's fills only), device data days and coaching-push response, each `ok`, `insufficient_data`, `not_shared` or `not_applicable` (never 0). States are prompts for your staff, not findings; missing data is never treated as deterioration. Counts below the small-cell minimum withheld.
Parameters
disengaging | device_silent | low_pdc | insufficient_data
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/panel/engagement" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/panel/engagement",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/panel/engagement`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
One patient's engagement and adherence composite
The pieces behind GET /v1/panel/engagement for one patient, under their sharing choices with you.
Parameters
EMR vendors also pass vendor (the practice) with a vendor-issued token. EMR vendor tokens
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/patients/$MEMBER_REF/engagement" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
member_ref = os.environ["MEMBER_REF"]
resp = requests.get(
f"{BASE}/v1/patients/{member_ref}/engagement",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const member_ref = process.env.MEMBER_REF;
const url = new URL(`${BASE}/v1/patients/${encodeURIComponent(member_ref)}/engagement`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
A patient's remote-monitoring enrolments and their suggested / approved reading frequency
Each RPM / RTM enrolment as enrollment_ref, with its status and the frequency state (suggested, approved, declined). `applied_automatically` is always false.
Parameters
EMR vendors also pass vendor (the practice) with a vendor-issued token. EMR vendor tokens
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/patients/$MEMBER_REF/monitoring-frequency" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
member_ref = os.environ["MEMBER_REF"]
resp = requests.get(
f"{BASE}/v1/patients/{member_ref}/monitoring-frequency",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const member_ref = process.env.MEMBER_REF;
const url = new URL(`${BASE}/v1/patients/${encodeURIComponent(member_ref)}/monitoring-frequency`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Ask Norvya to suggest a reading frequency for an active RPM / RTM enrolment
Stores Norvya's suggestion (a lighter burden for a stable, transmitting patient with no open alerts; daily readings when there are open alerts; nothing when the data is not enough). Nothing changes until a clinician decides. `staff` names the clinician asking.
Parameters
EMR vendors also pass vendor (the practice) with a vendor-issued token. EMR vendor tokens
Request body
Content type: application/json (required)
staff_ref of the member of your staff who did it (GET /v1/panel/clinicians).
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s -X POST "https://app.norvya.health/v1/patients/$MEMBER_REF/monitoring-frequency/$ENROLLMENT_REF/suggestion" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"staff": "string"
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
member_ref = os.environ["MEMBER_REF"]
enrollment_ref = os.environ["ENROLLMENT_REF"]
resp = requests.post(
f"{BASE}/v1/patients/{member_ref}/monitoring-frequency/{enrollment_ref}/suggestion",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"staff": "string",
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const member_ref = process.env.MEMBER_REF;
const enrollment_ref = process.env.ENROLLMENT_REF;
const url = new URL(`${BASE}/v1/patients/${encodeURIComponent(member_ref)}/monitoring-frequency/${encodeURIComponent(enrollment_ref)}/suggestion`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"staff": "string"
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
A named clinician approves or declines the suggested reading frequency
`staff` must be a clinician of your practice; Norvya records that person as the decider. 409 no_pending_suggestion when nothing is waiting.
Parameters
EMR vendors also pass vendor (the practice) with a vendor-issued token. EMR vendor tokens
Request body
Content type: application/json (required)
staff_ref of the member of your staff who did it (GET /v1/panel/clinicians).
approve | decline
daily | 3_per_week | weekly; default the suggested one
Errors specific to this call
409no_pending_suggestionAll responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s -X POST "https://app.norvya.health/v1/patients/$MEMBER_REF/monitoring-frequency/$ENROLLMENT_REF/decision" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"staff": "string",
"decision": "string",
"frequency": "string"
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
member_ref = os.environ["MEMBER_REF"]
enrollment_ref = os.environ["ENROLLMENT_REF"]
resp = requests.post(
f"{BASE}/v1/patients/{member_ref}/monitoring-frequency/{enrollment_ref}/decision",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"staff": "string",
"decision": "string",
"frequency": "string",
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const member_ref = process.env.MEMBER_REF;
const enrollment_ref = process.env.ENROLLMENT_REF;
const url = new URL(`${BASE}/v1/patients/${encodeURIComponent(member_ref)}/monitoring-frequency/${encodeURIComponent(enrollment_ref)}/decision`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"staff": "string",
"decision": "string",
"frequency": "string"
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Members with a food-insecurity finding: referral loop, dietitian contact, A1c / BP / weight
Members of your live panel with a food-insecurity finding (Z59.41) on an AHC-HRSN screen in the last 365 days: whether the latest screen is still positive, the food referral loop (open, closed, need met, days to close, never referred), dietitian contact at your practice since the positive screen, and side by side the latest A1c, the latest blood pressure against 140/90 and weight change since the positive screen (first vs latest). Descriptive: no causal claim, no advice. `hypoglycaemia_risk_medicine` marks diabetes with insulin or a sulfonylurea (the alert of the same trigger arrives as clinical_alert.opened, source food_insecurity_hypoglycaemia_risk). Counts below the small-cell minimum withheld.
Errors specific to this call
365daysAll responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/panel/food-security" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/panel/food-security",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/panel/food-security`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Children and adolescents: preventive status, vaccines due, BMI-for-age band, asthma
Guardian-shared child profiles and adolescents aged 12-17 with their own accounts on your live panel: EPSDT / Bright Futures status (well-child window, vaccines due against the CDC schedule, lead, developmental and autism screens), adolescent depression and substance-use screens as status and date only, the latest BMI-for-age band (CDC; ages 2-19) and asthma (peak-flow zone, action plan on file). A part the member (or guardian) has not shared with you is `withheld`. Measures: CMS155-style BMI percentile documented (counselling not assessed), an annual adolescent depression screen, asthma action plan on file, vaccines up to date; a well-child visit measure is not assessed (visit records are not held). Counts below the small-cell minimum withheld. The BMI alert arrives as clinical_alert.opened, source pediatric_bmi_95th_crossed.
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/panel/pediatric" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/panel/pediatric",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/panel/pediatric`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Occupational-health clinician view: voluntary workers' reaction test, sleep, PEG and heat
For the practice that examines workers under an active occupational-health service agreement: workers who linked their own account to the employer roster AND are on your live panel, each data type under their sharing choices with you - reaction-test trend against their own baseline, recent vs prior sleep, PEG pain score first vs latest, and logged heat exposures. Clinician only: an employer never sees this. Descriptive, not a fitness determination. Counts below the small-cell minimum withheld.
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/panel/occ-wellness" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/panel/occ-wellness",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/panel/occ-wellness`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Remote-clinician handoff packet for a referral your practice tracks
The packet the practice sends a remote clinician for an asynchronous e-consult: the referral (status from the referral loop), the emergency summary (each section under the patient's sharing choices with you), the latest timeline events with provenance and data-quality flags, and current conditions and medicines. `lite=1` (or the X-Norvya-Lite header) trims series and history; every clinical number is kept. Needs a BAA on file (409 record_baa_required; a sandbox needs none). Norvya does not deliver it: record the send with .../handoff-packet/shared.
Parameters
1 for the low-bandwidth form
EMR vendors also pass vendor (the practice) with a vendor-issued token. EMR vendor tokens
Errors specific to this call
409record_baa_requiredAll responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/patients/$MEMBER_REF/referrals/$REFERRAL_REF/handoff-packet" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
member_ref = os.environ["MEMBER_REF"]
referral_ref = os.environ["REFERRAL_REF"]
resp = requests.get(
f"{BASE}/v1/patients/{member_ref}/referrals/{referral_ref}/handoff-packet",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const member_ref = process.env.MEMBER_REF;
const referral_ref = process.env.REFERRAL_REF;
const url = new URL(`${BASE}/v1/patients/${encodeURIComponent(member_ref)}/referrals/${encodeURIComponent(referral_ref)}/handoff-packet`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Members with a trip they shared with your practice, and post-travel check-ins
Members of your live panel with a trip they chose to share with your practice that is upcoming, under way or returned within 30 days: dates, destination label, phase, and the day-3 / day-14 post-travel check-ins (feeling, fever, coded symptoms). A fever on a shared trip also arrives as clinical_alert.opened (source post_travel_fever). Counts below the small-cell minimum withheld.
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/panel/travel" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/panel/travel",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/panel/travel`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Members with heart or lung disease now in unhealthy air or high heat (opt-in only)
Members of your live panel who chose to share air-quality information with their practice and share medical history with you, with heart or lung disease on record, whose postcode's AirNow reporting area is now at Unhealthy for Sensitive Groups or worse, or whose NWS heat index forecast reaches Extreme Caution (90 F) or worse in the next 24 hours. Shows the AQI and category as AirNow reports them (preliminary), the pollutant and the reporting area (never the postcode). An asthma or COPD member in Unhealthy air also opens a practice alert, delivered as clinical_alert.opened with source environment_unhealthy_air_asthma. Current conditions only: no history or trend is kept.
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/panel/environment" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/panel/environment",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/panel/environment`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Healthy-home checklist hazards, linked to asthma triggers and fall hazards
Members of your live panel who share medical history with you and reported a home hazard on the healthy-home checklist in the last 365 days (Norvya-worded questions grouped under HUD's healthy-home principles; it counts hazards and is not a validated score). Hazards that are asthma triggers are flagged for members with asthma or COPD, fall hazards for members 65+ or with a positive CDC Stay Independent screen. The social-needs referral (finding inadequate_housing, Z59.10) is shown where one exists.
Errors specific to this call
365daysAll responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/panel/housing" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/panel/housing",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/panel/housing`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Wearable illness early-warning signal for patients who share wearable data (not a diagnosis)
Members of your live panel who share biometrics and wearable data with you, each with the signal status (sustained_deviation, deviation_not_sustained, no_sustained_deviation, insufficient_data), the continuous score, every input signal against the member's own baseline, and data completeness. 'no_sustained_deviation' is not an all-clear. Counts below the small-cell minimum withheld. Pre-declared Norvya-convention thresholds; not validated on real people.
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/monitoring/early-warning" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/monitoring/early-warning",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/monitoring/early-warning`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
One patient's wearable illness early-warning signal with its inputs
The signal behind GET /v1/monitoring/early-warning for one patient, with the persistence-window history. status not_shared while the patient does not share biometrics and wearable data with you. 404 member_not_found.
Parameters
EMR vendors also pass vendor (the practice) with a vendor-issued token. EMR vendor tokens
Errors specific to this call
404member_not_foundAll responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/patients/$MEMBER_REF/monitoring/early-warning" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
member_ref = os.environ["MEMBER_REF"]
resp = requests.get(
f"{BASE}/v1/patients/{member_ref}/monitoring/early-warning",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const member_ref = process.env.MEMBER_REF;
const url = new URL(`${BASE}/v1/patients/${encodeURIComponent(member_ref)}/monitoring/early-warning`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Open a follow-up episode after a virtual visit (24 h / 72 h check-ins, return precautions)
The same engine the practice's clinicians use in Norvya: one active episode per patient at a time (409 episode_exists); the patient gets Norvya's generic "your care team added a check-in" notice. 422 with a stable code: visit_at_invalid, visit_at_in_future, visit_at_too_old, visit_kind_invalid, setting_invalid.
EMR vendors also pass vendor (the practice) with a vendor-issued token. EMR vendor tokens
Request body
Content type: application/json (required)
member_ref or ext:<your id> of a patient on your live panel.
When the virtual visit ended (ISO-8601; naive = UTC). Not in the future, at most 3 days ago.
video | phone | message
urgent_care | primary_care | other
Your clinician's own return precautions, shown to the patient attributed to the clinician; never rewritten.
Your visit id; a re-post with the same id returns the held episode (idempotent).
Errors specific to this call
409episode_exists422withAll responses
201Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s -X POST "https://app.norvya.health/v1/virtual-followup/episodes" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"member_ref": "string",
"visit_at": "string",
"visit_kind": "string",
"setting": "string",
"precautions_note": "string",
"external_id": "string"
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.post(
BASE + "/v1/virtual-followup/episodes",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"member_ref": "string",
"visit_at": "string",
"visit_kind": "string",
"setting": "string",
"precautions_note": "string",
"external_id": "string",
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/virtual-followup/episodes`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"member_ref": "string",
"visit_at": "string",
"visit_kind": "string",
"setting": "string",
"precautions_note": "string",
"external_id": "string"
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Your virtual-visit follow-up worklist, most urgent first
One row per episode of a patient still on your live panel: slot states (upcoming | due | done | missed), open alerts, latest answer and the clinician prompts. Open alerts first, then missed, then due.
Parameters
active | closed | all
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/virtual-followup/worklist" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/virtual-followup/worklist",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/virtual-followup/worklist`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
One virtual-visit follow-up episode: check-ins, alerts, prompts and precautions
The check-ins as the patient answered them (overall, the MedlinePlus emergency signs ticked, plan question), the alerts they opened with their status, and the precautions the patient sees. 404 episode_not_found.
Parameters
Errors specific to this call
404episode_not_foundAll responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/virtual-followup/episodes/$EPISODE_REF" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
episode_ref = os.environ["EPISODE_REF"]
resp = requests.get(
f"{BASE}/v1/virtual-followup/episodes/{episode_ref}",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const episode_ref = process.env.EPISODE_REF;
const url = new URL(`${BASE}/v1/virtual-followup/episodes/${encodeURIComponent(episode_ref)}`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Close a virtual-visit follow-up episode with an outcome
409 episode_closed; 422 outcome_invalid. Open alerts stay open: close them at your practice like any other alert.
Parameters
Request body
Content type: application/json (required)
resolved | returned_emergency | returned_clinic | referred | unable_to_reach | withdrawn
Errors specific to this call
409episode_closed422outcome_invalidAll responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s -X POST "https://app.norvya.health/v1/virtual-followup/episodes/$EPISODE_REF/close" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"outcome": "string",
"note": "string"
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
episode_ref = os.environ["EPISODE_REF"]
resp = requests.post(
f"{BASE}/v1/virtual-followup/episodes/{episode_ref}/close",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"outcome": "string",
"note": "string",
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const episode_ref = process.env.EPISODE_REF;
const url = new URL(`${BASE}/v1/virtual-followup/episodes/${encodeURIComponent(episode_ref)}/close`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"outcome": "string",
"note": "string"
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Your practice's heart-failure weight-change rule: on/off, thresholds and their source
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/hf-weight/config" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/hf-weight/config",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/hf-weight/config`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Switch the heart-failure weight-change rule on or off and set your practice's thresholds
Unset thresholds use the sourced defaults (MedlinePlus heart-failure home monitoring: more than 2 lb in a day or 5 lb in a week). 422 with a stable code: unit_invalid, <field>_invalid, <field>_out_of_range, severity_invalid, plausibility_not_above_day_gain, min_baseline_readings_exceeds_baseline_days.
Request body
Content type: application/json (required)
The clinician at your practice who made this setting (recorded).
urgent | high | medium (default high)
Errors specific to this call
422withAll responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s -X PUT "https://app.norvya.health/v1/hf-weight/config" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"clinician_name": "string",
"enabled": false,
"thresholds": {
"day_gain_kg": 0.0,
"week_gain_kg": 0.0,
"plausibility_kg_per_day": 0.0,
"baseline_days": 0,
"min_baseline_readings": 0,
"confirm_within_hours": 0,
"unit": "string"
},
"severity": "string"
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.put(
BASE + "/v1/hf-weight/config",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"clinician_name": "string",
"enabled": False,
"thresholds": {
"day_gain_kg": 0.0,
"week_gain_kg": 0.0,
"plausibility_kg_per_day": 0.0,
"baseline_days": 0,
"min_baseline_readings": 0,
"confirm_within_hours": 0,
"unit": "string",
},
"severity": "string",
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/hf-weight/config`);
const res = await fetch(url, {
method: "PUT",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"clinician_name": "string",
"enabled": false,
"thresholds": {
"day_gain_kg": 0.0,
"week_gain_kg": 0.0,
"plausibility_kg_per_day": 0.0,
"baseline_days": 0,
"min_baseline_readings": 0,
"confirm_within_hours": 0,
"unit": "string"
},
"severity": "string"
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Your heart-failure weight worklist: enrolled patients, confirmed gains first
Parameters
active | ended | all
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/hf-weight/worklist" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/hf-weight/worklist",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/hf-weight/worklist`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
One patient's heart-failure weight evaluation: readings with source, gains, checks, alerts
404 member_not_found; 404 enrolment_not_found when the patient is not enrolled at your practice.
Parameters
EMR vendors also pass vendor (the practice) with a vendor-issued token. EMR vendor tokens
Errors specific to this call
404member_not_found404enrolment_not_foundAll responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/patients/$MEMBER_REF/hf-weight" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
member_ref = os.environ["MEMBER_REF"]
resp = requests.get(
f"{BASE}/v1/patients/{member_ref}/hf-weight",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const member_ref = process.env.MEMBER_REF;
const url = new URL(`${BASE}/v1/patients/${encodeURIComponent(member_ref)}/hf-weight`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Enrol a patient of your panel in heart-failure weight monitoring
Explicit enrolment (Norvya never enrols automatically). A repeat returns the active enrolment with created=false.
Parameters
EMR vendors also pass vendor (the practice) with a vendor-issued token. EMR vendor tokens
Request body
Content type: application/json (required)
All responses
201Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s -X POST "https://app.norvya.health/v1/patients/$MEMBER_REF/hf-weight/enrolment" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"clinician_name": "string",
"note": "string"
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
member_ref = os.environ["MEMBER_REF"]
resp = requests.post(
f"{BASE}/v1/patients/{member_ref}/hf-weight/enrolment",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"clinician_name": "string",
"note": "string",
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const member_ref = process.env.MEMBER_REF;
const url = new URL(`${BASE}/v1/patients/${encodeURIComponent(member_ref)}/hf-weight/enrolment`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"clinician_name": "string",
"note": "string"
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
End a patient's heart-failure weight monitoring
Open alerts stay open: close them at your practice like any other alert.
Parameters
EMR vendors also pass vendor (the practice) with a vendor-issued token. EMR vendor tokens
Request body
Content type: application/json (required)
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s -X POST "https://app.norvya.health/v1/patients/$MEMBER_REF/hf-weight/enrolment/end" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"clinician_name": "string",
"reason": "string"
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
member_ref = os.environ["MEMBER_REF"]
resp = requests.post(
f"{BASE}/v1/patients/{member_ref}/hf-weight/enrolment/end",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"clinician_name": "string",
"reason": "string",
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const member_ref = process.env.MEMBER_REF;
const url = new URL(`${BASE}/v1/patients/${encodeURIComponent(member_ref)}/hf-weight/enrolment/end`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"clinician_name": "string",
"reason": "string"
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Set or clear one enrolled patient's own heart-failure weight thresholds
Parameters
EMR vendors also pass vendor (the practice) with a vendor-issued token. EMR vendor tokens
Request body
Content type: application/json (required)
Remove the patient's own thresholds (the practice's apply).
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s -X PUT "https://app.norvya.health/v1/patients/$MEMBER_REF/hf-weight/thresholds" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"clinician_name": "string",
"thresholds": {
"day_gain_kg": 0.0,
"week_gain_kg": 0.0,
"plausibility_kg_per_day": 0.0,
"baseline_days": 0,
"min_baseline_readings": 0,
"confirm_within_hours": 0,
"unit": "string"
},
"clear": false
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
member_ref = os.environ["MEMBER_REF"]
resp = requests.put(
f"{BASE}/v1/patients/{member_ref}/hf-weight/thresholds",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"clinician_name": "string",
"thresholds": {
"day_gain_kg": 0.0,
"week_gain_kg": 0.0,
"plausibility_kg_per_day": 0.0,
"baseline_days": 0,
"min_baseline_readings": 0,
"confirm_within_hours": 0,
"unit": "string",
},
"clear": False,
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const member_ref = process.env.MEMBER_REF;
const url = new URL(`${BASE}/v1/patients/${encodeURIComponent(member_ref)}/hf-weight/thresholds`);
const res = await fetch(url, {
method: "PUT",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"clinician_name": "string",
"thresholds": {
"day_gain_kg": 0.0,
"week_gain_kg": 0.0,
"plausibility_kg_per_day": 0.0,
"baseline_days": 0,
"min_baseline_readings": 0,
"confirm_within_hours": 0,
"unit": "string"
},
"clear": false
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Webhook events
Payloads carry no health data, only a reference to fetch with your token. Each event needs its scope as well as webhooks.manage. Signing and retries
| Event | Scope | When |
|---|---|---|
clinical_alert.escalated | clinical.panel.read | An open alert passed its acknowledge-by time and was escalated (once per level). |
clinical_alert.opened | clinical.panel.read | A tracked clinical alert was opened for one of your patients (severe home BP, heart-failure weight gain, a crisis answer, a between-visit trend, a kidney finding, a post-discharge red flag, a worsening score, a fall, a missed postpartum check, low CPAP use, ...); within about 15 minutes. Fetch it from resource_url. |
instrument.batch_dispatched | instruments.request | A caseload questionnaire batch you started finished sending its requests. |
instrument.completed | instruments.read | A patient completed a questionnaire this practice requested (after the crisis gate has run). |
patient.attention_needed | clinical.panel.read | A patient newly entered the top priority band in a completed current-data run. |
worklist.item_triaged | clinical.panel.read | A worklist finding was triaged by staff in the app or by another of the practice's clients (never echoed to the client that made the change). |
worklist.run_completed | clinical.panel.read | A worklist run of the practice completed. |
Generated from the Partner API router and developers_catalog.py. The router docstring is the source of each description.