FDI dental chart, katalogo ng serbisyo/prosedyur, yugtu-yugtong treatment plan at reseta. Ang mga estado ng ngipin ay itinatago bilang append-only — hindi binubura ang kasaysayan, hindi isinusulat sa ibabaw.
Ang mga endpoint na nauukol sa mapagkukunang ito. Bawat endpoint ay limitado sa datos ng klinikang naka-ugnay sa API key; ang mga write endpoint ay sumusuporta sa Idempotency-Key header.
/v1/patients/{id}/odontogram
Kinukuha ang kasalukuyang FDI dental chart
Lahat ng awtorisadong role
/v1/patients/{id}/odontogram
Nagdaragdag ng estado ng ngipin (append-only)
admin · doktor
/v1/patients/{id}/odontogram/{tooth}/history
Kinukuha ang kasaysayan ng estado ng isang ngipin
Lahat ng awtorisadong role
/v1/services
Inililista ang katalogo ng serbisyo/prosedyur
Lahat ng awtorisadong role
/v1/services
Nagdaragdag ng service item
admin
/v1/services/{id}
Ina-update ang service item
admin
/v1/patients/{id}/plans
Inililista ang mga treatment plan ng pasyente
Lahat ng awtorisadong role
/v1/patients/{id}/plans
Gumagawa ng treatment plan
admin · doktor
/v1/plans/{id}
Kinukuha ang detalye ng treatment plan
Lahat ng awtorisadong role
/v1/plans/{id}/status
Binabago ang katayuan ng plano
admin · doktor
/v1/plans/{id}/items
Nagdaragdag ng yugto/item sa plano
admin · doktor
/v1/plan-items/{id}/status
Binabago ang katayuan ng plan item
admin · doktor
/v1/patients/{id}/prescriptions
Inililista ang mga reseta
Lahat ng awtorisadong role
/v1/patients/{id}/prescriptions
Gumagawa ng reseta
admin · doktor
Magdagdag ng estado ng ngipin (append-only)
curl -X POST https://api.udentiva.com/v1/patients/{id}/odontogram \
-H "Authorization: Bearer udk_live_xxx" \
-H "Content-Type: application/json" \
-d '{"tooth":"11","state":"caries","surface":"mesial"}'
HTTP/1.1 201 Created
{
"id": "st-77",
"tooth": "11",
"state": "caries",
"recorded_at": "2026-06-24T09:10:00Z"
}
Ang seguridad ay hindi isang feature, kundi ang arkitektura mismo. Ang mga garantiyang may bisa sa mapagkukunang ito:
Ang mga error ay ibinabalik sa isang tugmang envelope; ang code ay para sa makina, ang mensahe ay para sa user. Ang panloob na error/stack ay hindi kailanman tumatagas.
{
"error": {
"code": "validation_failed",
"message": "Di-wastong field: email"
}
}
We use cookies necessary for core functionality; analytics and marketing cookies are enabled only with your consent. Cookie Policy