Specialty care
For specialty practices and the EMR vendors that serve them: a patient's specialty hub results through one {hub} path parameter (the hubs are listed on the call), each section under the patient's sharing switches with the domains they have not shared listed in withheld; the four direct specialty checks (eGFR as a number with its trend and never a KDIGO stage, the GLP-1 MTC/MEN2 check, the colonoscopy interval, the heart-failure symptom check); and stateless spirometry, lung-cancer screening and GI alarm checks that take your values and store nothing. Treating practices only. Questionnaires stay in Clinical intelligence (one instrument registry).
- Who calls it
- Core for EMR vendors, Specialty care; useful for Concierge doctors, Independent practices, Hospitals and health systems
- Before production
- No gate of its own; your market's “Before production” applies.
- Sandbox
- Build against synthetic members first. What each sandbox holds
- Standards
- GOLD spirometry criteria; race-free CKD-EPI 2021 eGFR
Markets that use this family
- Concierge doctors (useful)
- Independent practices (useful)
- EMR vendors (core)
- Hospitals and health systems (useful)
- Specialty care (core)
Scopes
| Scope | Allows |
|---|---|
clinical.dental.read | Read the dental pre-procedure readiness summary for patients of your panel: the medication list with changes since your last visit or readiness check, anticoagulant / antiplatelet and antiresorptive entries, the last 7 days of home blood pressure against your own goal and the severe-range rule, medical-history changes and hospital notices, allergies, and which categories the patient shares with you; and your upcoming appointments. Each section only as the patient shares it. Informational, no advice (treating practices with a BAA on file). |
clinical.dental.write | Record that a named reviewer at your practice reviewed a patient's readiness summary for a procedure date (your own work record; treating practices with a BAA on file). |
clinical.hearing.read | Read a patient's device-estimated environmental and headphone noise exposure (daily and weekly levels and dose against the CDC/NIOSH 85 dBA 8-hour reference, trend against their own history, completeness), your practice's hearing-conservation record for them, and the informational sustained-exposure flag list (treating practices with a BAA on file; patients who share biometrics and wearable data with you). |
clinical.specialty.read | Read a patient's specialty hub results (cardio, nephro, endo, neuro, pulmo, rheum, GI and questionnaires) under their sharing switches, and run the stateless spirometry, lung-cancer screening and GI alarm checks (treating practices only). |
clinical.tbi.read | Read the blast and head-injury exposure log of members who share it with your practice: the exposure timeline they recorded and their danger-sign checks and symptom totals over time. Member-reported, not a diagnosis and not a duty decision (treating practices with a BAA on file). |
clinical.transplant.read | Read your post-transplant monitoring worklist and one recipient's view: lab results against your targets and schedule (overdue labs), immunosuppressant dose logging, vitals against the patient's own baseline, completeness and the alerts raised to your practice (treating practices with a BAA on file). |
clinical.transplant.write | Enrol a transplant recipient of your panel for post-transplant monitoring (organ, transplant date, immunosuppressant regimen from the patient's own medication list), set your own lab targets and schedule (Norvya stores and compares; it never sets a target), set your fever threshold, and end the enrolment (treating practices with a BAA on file). |
clinical.urology.read | Read the enlarged-prostate / nocturia view for patients of your panel: IPSS results over time (licensed instrument), awake periods during the night from the patient's wearable against their own baseline, medicines in listed classes and sleep-apnoea screening context, each only as the patient shares it; and your IPSS caseload. Informational, no advice (treating practices with a BAA on file). |
Endpoints
A patient's specialty hub results
The results the patient's condition hubs produced (home blood pressure, the heart-failure symptom check, eGFR as a number with its trend, the GLP-1 MTC/MEN2 check, neuropathy, asthma control, PEST, RAPID3-style, the colonoscopy interval, reminder plans, questionnaire scores), each section under the patient's sharing switches for you with the domains they have NOT shared listed in `withheld`. Never a KDIGO stage, never a risk score from the left-out list, never item-level answers; 42 CFR Part 2 questionnaires never appear. 404 unknown_specialty.
Parameters
all | cardio | nephro | endo | neuro | pulmo | rheum | gi | other
EMR vendors also pass vendor (the practice) with a vendor-issued token. EMR vendor tokens
Errors specific to this call
404unknown_specialtyAll 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/specialty/$HUB" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
member_ref = os.environ["MEMBER_REF"]
hub = os.environ["HUB"]
resp = requests.get(
f"{BASE}/v1/patients/{member_ref}/specialty/{hub}",
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 hub = process.env.HUB;
const url = new URL(`${BASE}/v1/patients/${encodeURIComponent(member_ref)}/specialty/${encodeURIComponent(hub)}`);
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
eGFR, the GLP-1 thyroid check, the colonoscopy interval and the heart-failure check
The four direct reads from the specialty hubs, each null when there is no result (or the data behind it is not shared: `withheld` lists the domains). egfr: race-free CKD-EPI 2021 as a number with its trend, never a stage (ckd_stage is always null with the reason). glp1_thyroid_check: the medullary thyroid cancer / MEN2 contraindication check on the problem list. colonoscopy_interval: the stored surveillance recommendation. hf_symptom: the stored heart-failure symptom check.
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/specialty-checks" \
-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}/specialty-checks",
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)}/specialty-checks`);
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
Interpret spirometry values (GOLD criteria; stateless)
FEV1/FVC (+ FEV1 and FVC % predicted from your own report) to obstruction and GOLD grade, the hub's own rule. No patient, nothing stored. A COPD diagnosis needs a post-bronchodilator test.
Request body
Content type: application/json (required)
Ratio as 0.65 or percent 65.
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/clinical/checks/spirometry" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"fev1_fvc": 0.0,
"fev1_pct_pred": 0.0,
"fvc_pct_pred": 0.0
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.post(
BASE + "/v1/clinical/checks/spirometry",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"fev1_fvc": 0.0,
"fev1_pct_pred": 0.0,
"fvc_pct_pred": 0.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 url = new URL(`${BASE}/v1/clinical/checks/spirometry`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"fev1_fvc": 0.0,
"fev1_pct_pred": 0.0,
"fvc_pct_pred": 0.0
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());{
"check": "string",
"educational": false,
"stored": false
}The response is the shape from the schema, not live data.
Try it in your sandbox
Lung-cancer screening eligibility (USPSTF 2021; stateless)
Adults 50-80 with at least 20 pack-years who smoke now or quit within 15 years. Smoking history is not stored by Norvya, so this is not a care gap: send the values from your record. Nothing stored. The headline is a screening recommendation: it is gated against the USPSTF 2021 entry the app's screening list uses (preventive_screening.SCREENING_CLAIMS["lung"]) and carries that `source`; where the gate does not permit it, headline is null.
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/clinical/checks/lung-cancer-screening" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"age": 0,
"pack_years": 0.0,
"current_smoker": false,
"years_since_quit": 0.0
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.post(
BASE + "/v1/clinical/checks/lung-cancer-screening",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"age": 0,
"pack_years": 0.0,
"current_smoker": False,
"years_since_quit": 0.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 url = new URL(`${BASE}/v1/clinical/checks/lung-cancer-screening`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"age": 0,
"pack_years": 0.0,
"current_smoker": false,
"years_since_quit": 0.0
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());{
"check": "string",
"educational": false,
"stored": false
}The response is the shape from the schema, not live data.
Try it in your sandbox
GI alarm-feature triage lane (stateless)
The red-flag lane (emergency | urgent | soon | self_manage) for the alarm features present; it only ever escalates. Unknown keys are refused (422 unknown_alarm_item). Not a diagnosis and not an emergency service. Triggered items carry their `source`; the lane is an escalation and is never withheld.
Request body
Content type: application/json (required)
Alarm item keys (gi_alarm.ALARM_ITEMS) set true when present.
Errors specific to this call
422unknown_alarm_itemAll 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/clinical/checks/gi-alarm" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"answers": {
"blood_in_stool": true
}
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.post(
BASE + "/v1/clinical/checks/gi-alarm",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"answers": {
"blood_in_stool": True,
},
},
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/clinical/checks/gi-alarm`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"answers": {
"blood_in_stool": true
}
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());{
"check": "string",
"educational": false,
"stored": false
}The response is the shape from the schema, not live data.
Try it in your sandbox
One patient's device-estimated noise exposure against the CDC/NIOSH reference
Environmental and headphone streams, each with: daily figures for 28 days (measured minutes, level over measured time, 8-hour normalised level, dose %, minutes in chunks at or above 85 dBA), four weekly blocks, the trend of the last 7 days against the 56 before, completeness, and a status (no_data, insufficient_data, below_reference_level, at_or_above_reference_not_sustained, at_or_above_reference_sustained - never an all-clear). `flags` carries the gated informational flag; `occupational` your practice's hearing-conservation record (noise exposure episodes, the audiometry surveillance item, hearing-conservation exams). 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/hearing/noise-exposure" \
-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}/hearing/noise-exposure",
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)}/hearing/noise-exposure`);
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
Informational list: patients whose device-estimated exposure met the sustained rule
Members of your live panel who share biometrics and wearable data with you and whose daily dose reached the REL equivalent on at least 3 of the last 7 days with data (at least 4 measured), with the flag's rec_gate decision, the week's figures and whether they are in your occupational hearing-conservation programme. Not being listed is not an all-clear. flagged_count below the small-cell minimum is null.
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/hearing/noise-exposure-flags" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/hearing/noise-exposure-flags",
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/hearing/noise-exposure-flags`);
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 IPSS caseload: latest score and band, nocturia item, night-waking medians
Patients on your live panel who share their questionnaire results with you and have an IPSS on file or requested: latest total, band, item 7 (nocturia) answer, open requests, and — where they share wearable data — the median awake periods per night recently and at baseline. Highest latest total first. No row is a call to act.
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/urology/caseload" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/urology/caseload",
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/urology/caseload`);
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 enlarged-prostate / nocturia view: IPSS over time, night waking, context
Sections, each present only as the patient shares it with you (`shared` says which): `ipss` (every result, first-versus-latest change, open requests), `night_waking` (awake periods inside the main sleep window per night from Apple Health stages, recent median against the patient's own baseline, completeness), `pairing` (IPSS item 7 beside the wearable nights of the 30 days before it), `medications` (current medicines in listed classes) and `sleep_apnea` (latest STOP-BANG, OSA pathway state). A wearable cannot tell why someone woke; see `limitations`. 403 record_not_shared when no section is shared.
Parameters
EMR vendors also pass vendor (the practice) with a vendor-issued token. EMR vendor tokens
Errors specific to this call
403record_not_sharedAll 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/urology" \
-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}/urology",
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)}/urology`);
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 transplant recipient for post-transplant monitoring (your targets, your schedule)
One active enrolment per patient (409 enrolment_exists). The patient is not messaged. 422 with a stable code: organ_invalid, transplant_date_invalid, transplant_date_in_future, regimen_med_not_on_list, fever_threshold_out_of_range, analyte_unknown, unit_must_be_canonical, target_low_above_high, interval_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.
kidney | liver | heart | lung | other
YYYY-MM-DD; not in the future.
Immunosuppressant names as they appear on the patient's own current medication list (422 regimen_med_not_on_list otherwise; 409 medications_not_shared when the list is not shared with you).
Your own fever threshold, {value, unit: F|C} (at or above; 99.0-103.0 F). Kidney recipients without one use NIDDK's 'more than 100 degrees'; other organs without one get no fever alert.
Optional: your lab targets, as PUT .../targets.
Your enrolment id; a re-post with the same id returns the held enrolment (idempotent).
Errors specific to this call
409enrolment_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/transplant/enrolments" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"member_ref": "string",
"organ": "string",
"organ_other_label": "string",
"transplant_date": "string",
"regimen": [
"string"
],
"fever_threshold": null,
"targets": [
{
"analyte": "string",
"target_low": 0.0,
"target_high": 0.0,
"unit": "string",
"interval_days": 0,
"note": "string"
}
],
"external_id": "string"
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.post(
BASE + "/v1/transplant/enrolments",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"member_ref": "string",
"organ": "string",
"organ_other_label": "string",
"transplant_date": "string",
"regimen": [
"string",
],
"fever_threshold": None,
"targets": [
{
"analyte": "string",
"target_low": 0.0,
"target_high": 0.0,
"unit": "string",
"interval_days": 0,
"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/transplant/enrolments`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"member_ref": "string",
"organ": "string",
"organ_other_label": "string",
"transplant_date": "string",
"regimen": [
"string"
],
"fever_threshold": null,
"targets": [
{
"analyte": "string",
"target_low": 0.0,
"target_high": 0.0,
"unit": "string",
"interval_days": 0,
"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 post-transplant monitoring worklist, open alerts first
One row per enrolment of a patient still on your live panel: organ, days since transplant, open alerts, labs out of your target and overdue on your schedule.
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/transplant/worklist" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/transplant/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/transplant/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 recipient's monitoring view: labs vs your targets, adherence, vitals, completeness
Sections the patient does not share with your practice say "not_shared". 404 enrolment_not_found.
Parameters
Errors specific to this call
404enrolment_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/transplant/enrolments/$ENROLMENT_REF" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
enrolment_ref = os.environ["ENROLMENT_REF"]
resp = requests.get(
f"{BASE}/v1/transplant/enrolments/{enrolment_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 enrolment_ref = process.env.ENROLMENT_REF;
const url = new URL(`${BASE}/v1/transplant/enrolments/${encodeURIComponent(enrolment_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
Replace your lab targets and schedule for one recipient
409 enrolment_ended. Results dated before the day a target is set are shown but never alerted.
Parameters
Request body
Content type: application/json (required)
The full list; replaces every current target (history kept). Empty clears them.
Errors specific to this call
409enrolment_endedAll 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/transplant/enrolments/$ENROLMENT_REF/targets" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"targets": [
{
"analyte": "string",
"target_low": 0.0,
"target_high": 0.0,
"unit": "string",
"interval_days": 0,
"note": "string"
}
]
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
enrolment_ref = os.environ["ENROLMENT_REF"]
resp = requests.put(
f"{BASE}/v1/transplant/enrolments/{enrolment_ref}/targets",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"targets": [
{
"analyte": "string",
"target_low": 0.0,
"target_high": 0.0,
"unit": "string",
"interval_days": 0,
"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 enrolment_ref = process.env.ENROLMENT_REF;
const url = new URL(`${BASE}/v1/transplant/enrolments/${encodeURIComponent(enrolment_ref)}/targets`);
const res = await fetch(url, {
method: "PUT",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"targets": [
{
"analyte": "string",
"target_low": 0.0,
"target_high": 0.0,
"unit": "string",
"interval_days": 0,
"note": "string"
}
]
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Change the regimen, your fever threshold, the organ or the transplant date
Only the fields you send change. 422 nothing_to_change.
Parameters
Request body
Content type: application/json (required)
{value, unit: F|C}, at or above; 99.0-103.0 F. To clear yours use clear_fever_threshold.
true clears your threshold (kidney falls back to NIDDK; other organs: no fever alert).
Errors specific to this call
422nothing_to_changeAll 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/transplant/enrolments/$ENROLMENT_REF/settings" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"regimen": [
"string"
],
"fever_threshold": null,
"clear_fever_threshold": false,
"organ": "string",
"organ_other_label": "string",
"transplant_date": "string"
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
enrolment_ref = os.environ["ENROLMENT_REF"]
resp = requests.post(
f"{BASE}/v1/transplant/enrolments/{enrolment_ref}/settings",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"regimen": [
"string",
],
"fever_threshold": None,
"clear_fever_threshold": False,
"organ": "string",
"organ_other_label": "string",
"transplant_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 enrolment_ref = process.env.ENROLMENT_REF;
const url = new URL(`${BASE}/v1/transplant/enrolments/${encodeURIComponent(enrolment_ref)}/settings`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"regimen": [
"string"
],
"fever_threshold": null,
"clear_fever_threshold": false,
"organ": "string",
"organ_other_label": "string",
"transplant_date": "string"
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
End a post-transplant monitoring enrolment
409 enrolment_ended; 422 end_reason_invalid. Open alerts stay open: close them at your practice like any other alert.
Parameters
Request body
Content type: application/json (required)
transferred_care | graft_loss | deceased | patient_request | withdrawn | other
Errors specific to this call
409enrolment_ended422end_reason_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/transplant/enrolments/$ENROLMENT_REF/end" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"reason": "string"
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
enrolment_ref = os.environ["ENROLMENT_REF"]
resp = requests.post(
f"{BASE}/v1/transplant/enrolments/{enrolment_ref}/end",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"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 enrolment_ref = process.env.ENROLMENT_REF;
const url = new URL(`${BASE}/v1/transplant/enrolments/${encodeURIComponent(enrolment_ref)}/end`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"reason": "string"
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Your upcoming appointments with readiness-check status and listed medicine classes
Patients on your live panel with an appointment at your practice in the next `days` days (Norvya appointments, including ones your system sent): the date, whether a readiness check was recorded for that date, and — only where the patient shares medicines — whether an anticoagulant / antiplatelet or an antiresorptive is on the list. No row is a call to act.
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/dental/readiness" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/dental/readiness",
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/dental/readiness`);
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 dental pre-procedure readiness summary, as the patient shares it
Sections, each present only as the patient shares it (`sharing` lists every category): `medications` (current list; changes since your last visit or readiness check: started, stopped, dose changed; flags for anticoagulants / antiplatelets and antiresorptives, with a denosumab product's labelled regimen only when the record names the product or a matching dose), `home_bp` (last 7 days, mean, your goal if set, the severe range rule), `medical_history` (conditions, new ones, hospital / ER notices), `allergies`, `labs` (latest INR and platelet count), and `freshness` (gaps). Informational, no advice.
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/dental/readiness" \
-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}/dental/readiness",
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)}/dental/readiness`);
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 reviewer at your practice reviewed the readiness summary
Append-only: the summary is computed at this moment and its SHA-256 is stored with the sharing state, the procedure date and the reviewer's name (never the PHI). 422 procedure_date_out_of_range / text_too_long.
Parameters
EMR vendors also pass vendor (the practice) with a vendor-issued token. EMR vendor tokens
Request body
Content type: application/json (required)
The procedure date this review is for (yesterday to a year ahead).
The named person at your practice who reviewed the summary.
Your own words, e.g. 'extraction'.
Errors specific to this call
422procedure_date_out_of_rangeAll 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/dental/readiness/checks" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"procedure_date": "string",
"reviewer_name": "string",
"procedure_label": "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}/dental/readiness/checks",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"procedure_date": "string",
"reviewer_name": "string",
"procedure_label": "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)}/dental/readiness/checks`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"procedure_date": "string",
"reviewer_name": "string",
"procedure_label": "string",
"note": "string"
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Members who share their blast and head-injury log with your practice
Members on your live panel who turned on sharing of this log with your practice: the number of entries, the last exposure date and the latest danger-sign check (date and how many signs were ticked). Members who did not turn it on are not listed or counted.
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/tbi-log/patients" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/tbi-log/patients",
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/tbi-log/patients`);
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 member's blast and head-injury exposure timeline and symptom trend, as they share it
`exposures` (date, type, blast or impact group, approximate count, the member's answers on alteration of consciousness and evaluation), `checks` (CDC concussion danger-sign checks with the signs ticked), `totals`, `trend` (danger-sign counts over time; NSI totals only where your deployment holds the NSI licence) and `not_claimed`. 403 consent_not_granted unless the member shares the log 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/tbi-log" \
-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}/tbi-log",
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)}/tbi-log`);
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
Generated from the Partner API router and developers_catalog.py. The router docstring is the source of each description.