PATCH/v1/appointments/{appointment_id}/statusUpdate appointment status
When an appointment is confirmed, notifies the assigned user for that patient.
Parámetros
| Nombre | En | Tipo | Obl. |
|---|
appointment_id | path | string | Sí |
Cuerpo obligatorio AppointmentStatusUpdateIn
| Campo | Tipo | Obl. |
|---|
status | AppointmentStatus | Sí |
Respuestas
| Código | Descripción | Devuelve |
|---|
| 200 | Respuesta correcta | StatusOut |
| 422 | Error de validación | HTTPValidationError |
PATCH/v1/lab-orders/{order_id}/statusUpdate lab order status
When a lab order is completed, notifies the user assigned to the ordering doctor.
Parámetros
| Nombre | En | Tipo | Obl. |
|---|
order_id | path | string | Sí |
Cuerpo obligatorio LabOrderStatusUpdateIn
| Campo | Tipo | Obl. |
|---|
status | LabOrderStatus | Sí |
note | string o nulo | No |
reportText | string o nulo | No |
artifactUrl | string o nulo | No |
artifactContentType | string o nulo | No |
Respuestas
| Código | Descripción | Devuelve |
|---|
| 200 | Respuesta correcta | StatusOut |
| 422 | Error de validación | HTTPValidationError |
GET/v1/notification-rulesList notification routing rules
Parámetros
| Nombre | En | Tipo | Obl. |
|---|
tenantId | query | string o nulo | No |
Respuestas
| Código | Descripción | Devuelve |
|---|
| 200 | Respuesta correcta | lista de NotificationRuleOut |
| 422 | Error de validación | HTTPValidationError |
POST/v1/notification-rulesConfigure a notification routing and escalation rule
Parámetros
| Nombre | En | Tipo | Obl. |
|---|
tenantId | query | string o nulo | No |
Cuerpo obligatorio NotificationRuleIn
| Campo | Tipo | Obl. |
|---|
eventType | string | Sí |
targetRole | string | Sí |
priority | string | No |
escalationDelayMinutes | integer | No |
escalationTargetRole | string o nulo | No |
isActive | boolean | No |
Respuestas
| Código | Descripción | Devuelve |
|---|
| 201 | Respuesta correcta | NotificationRuleOut |
| 422 | Error de validación | HTTPValidationError |
List notifications for the authenticated user
Returns only notifications addressed to the current authenticated user.
Parámetros
| Nombre | En | Tipo | Obl. |
|---|
unread | query | boolean o nulo | No |
acknowledged | query | boolean o nulo | No |
escalated | query | boolean o nulo | No |
limit | query | integer o nulo | No |
Respuestas
| Código | Descripción | Devuelve |
|---|
| 200 | Respuesta correcta | NotificationListOut |
| 422 | Error de validación | HTTPValidationError |
POST/v1/notifications/escalate-dueEscalate high-priority unacknowledged notifications due by rule delay
Parámetros
| Nombre | En | Tipo | Obl. |
|---|
tenantId | query | string o nulo | No |
Respuestas
| Código | Descripción | Devuelve |
|---|
| 200 | Respuesta correcta | EscalationRunOut |
| 422 | Error de validación | HTTPValidationError |
GET/v1/notifications/operations-consoleSummarize notification escalation and integration monitoring
Parámetros
| Nombre | En | Tipo | Obl. |
|---|
tenantId | query | string o nulo | No |
Respuestas
| Código | Descripción | Devuelve |
|---|
| 200 | Respuesta correcta | NotificationOperationsConsoleOut |
| 422 | Error de validación | HTTPValidationError |
PATCH/v1/notifications/read-allMark all notifications as read
Sets isRead=true and readAt=now for every unread notification owned by the authenticated user.
Respuestas
| Código | Descripción | Devuelve |
|---|
| 200 | Respuesta correcta | ReadAllOut |
PATCH/v1/notifications/{notification_id}/acknowledgeAcknowledge a notification
Marks a notification as operationally acknowledged without changing read state.
Parámetros
| Nombre | En | Tipo | Obl. |
|---|
notification_id | path | string | Sí |
Respuestas
| Código | Descripción | Devuelve |
|---|
| 200 | Respuesta correcta | NotificationOut |
| 422 | Error de validación | HTTPValidationError |
PATCH/v1/notifications/{notification_id}/readMark a notification as read
Marks a single notification owned by the authenticated user as read.
Parámetros
| Nombre | En | Tipo | Obl. |
|---|
notification_id | path | string | Sí |
Respuestas
| Código | Descripción | Devuelve |
|---|
| 200 | Respuesta correcta | NotificationOut |
| 422 | Error de validación | HTTPValidationError |