curl --request GET \
--url https://sdp.suki-stage.com/api/v1/info \
--header 'sdp_suki_token: <sdp_suki_token>'{
"diagnosis_code_types": [
{
"code_type": "ICD10"
}
],
"encounter_types": [
{
"code": "AMBULATORY"
}
],
"loincs": [
{
"code": "10164-2",
"common_name": "History of Present Illness"
}
],
"provider_roles": [
{
"code": "ATTENDING"
}
],
"specialties": [
{
"code": "CARDIOLOGY"
}
],
"visit_types": [
{
"code": "ESTABLISHED_PATIENT"
}
]
}Get system information and supported configuration values
curl --request GET \
--url https://sdp.suki-stage.com/api/v1/info \
--header 'sdp_suki_token: <sdp_suki_token>'{
"diagnosis_code_types": [
{
"code_type": "ICD10"
}
],
"encounter_types": [
{
"code": "AMBULATORY"
}
],
"loincs": [
{
"code": "10164-2",
"common_name": "History of Present Illness"
}
],
"provider_roles": [
{
"code": "ATTENDING"
}
],
"specialties": [
{
"code": "CARDIOLOGY"
}
],
"visit_types": [
{
"code": "ESTABLISHED_PATIENT"
}
]
}import requests
url = "https://sdp.suki.ai/api/v1/info"
headers = {
"sdp_suki_token": "<sdp_suki_token>"
}
response = requests.get(url, headers=headers)
if response.status_code == 200:
info = response.json()
print("System Information:")
print(f"LOINCs: {len(info.get('loincs', []))} codes")
print(f"Specialties: {len(info.get('specialties', []))} specialties")
print(f"Encounter Types: {len(info.get('encounter_types', []))} types")
print(f"Visit Types: {len(info.get('visit_types', []))} types")
print(f"Provider Roles: {len(info.get('provider_roles', []))} roles")
print(f"Diagnosis Code Types: {len(info.get('diagnosis_code_types', []))} types")
else:
print(f"Failed to get system information: {response.status_code}")
print(response.json())
const response = await fetch('https://sdp.suki.ai/api/v1/info', {
headers: {
'sdp_suki_token': '<sdp_suki_token>'
}
});
if (response.ok) {
const info = await response.json();
console.log('System Information:');
console.log(`LOINCs: ${info.loincs?.length || 0} codes`);
console.log(`Specialties: ${info.specialties?.length || 0} specialties`);
console.log(`Encounter Types: ${info.encounter_types?.length || 0} types`);
console.log(`Visit Types: ${info.visit_types?.length || 0} types`);
console.log(`Provider Roles: ${info.provider_roles?.length || 0} roles`);
console.log(`Diagnosis Code Types: ${info.diagnosis_code_types?.length || 0} types`);
} else {
const error = await response.json();
console.error(`Failed to get system information: ${response.status}`, error);
}
sdp_suki_token
Success Response
Response body for the /info endpoints with flexible data based on category
Information about supported diagnosis code types
Show child attributes
Information about supported encounter types
Show child attributes
Information about supported section codes
Show child attributes
Information about supported provider roles
Show child attributes
Information about supported specialties
Show child attributes
Information about supported visit types
Show child attributes