← Tous les contrats
OHN-28 Clinical Notification and Alert Routing
- Version
- 1.0.1
- OpenAPI
- 3.1.0
- Source dans le dépôt
modules/OHN-28/api/openapi.json- Serveurs
https://opeshealthnetwork.com/api/ohn/v1
- Authentification
bearer: http bearer
Télécharger le contrat (JSON)
Les contrats sont rédigés en anglais.
Safety-critical alert routing with verified receipt, escalation and retry. Default-deny; every POST needs an Idempotency-Key (8-128 characters of [A-Za-z0-9_.:-]); mutations use expected_version. Alert text and events carry codes and identifiers only. Authentication: a platform-gateway bearer token (Java: ES256, iss ohn-platform-gateway, aud ohn-28; the TypeScript baseline also accepts its own HS256 development token, iss ohn-28-notification, aud ohn-28-api) whose sub, jurisdiction and organization_id are UUIDs; role licensed_clinician or on_call_supervisor and purpose clinical_notification are both required (an unknown role or another purpose is an audited 403). The TypeScript-only development sign-in POST /clinical-notifications/synthetic-token is not part of this contract. Errors are JSON {error, message, details?} (Java: application/problem+json with the same fields plus type, title, status, detail, trace_id); a body that is not JSON is 400 malformed_request, one that is not application/json is 415 unsupported_media_type. Fail-closed rules: an alert is stored before it is routed and is never dropped; an unavailable dependency (OHN-06 standing, OHN-16 access decision, the delivery channel) leaves the alert open and pending (routing_blocked_reason) and the sweep retries it; an alert nobody can be paged for is needs_supervisor and raises clinical-notification.needs-supervisor.
Opérations
Autres opérations
GET/health/ohn-28Health (public, served at /health/ohn-28 outside the /api/ohn/v1 prefix)
Authentification: bearer
Réponses
| Code | Description | Type de média |
|---|
200 | ok | |
503 | database unavailable | |
GET/clinical-notificationsOHN-28-API-002 List alerts visible to the caller
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
state | query | string | non | |
severity | query | string | non | |
needs_supervisor | query | "true" | "false" | non | |
cursor | query | string | non | Opaque; pages of 50. An unreadable cursor restarts at the first page. |
Réponses
| Code | Description | Type de média |
|---|
200 | Success | |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
422 | Validation failed | — |
429 | Rate limited | — |
503 | Dependency unavailable | — |
POST/clinical-notificationsOHN-28-API-001 Route a clinical alert (W001)
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
Idempotency-Key | header | string | oui | |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
201 | Success | |
400 | Idempotency-Key missing or malformed (idempotency_key_required), or the body is not valid JSON (malformed_request) | — |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
409 | version_conflict (details.current_version), idempotency_key_reused, request_in_progress, illegal_transition, already_acknowledged, not_acknowledgeable, duplicate_event, conflict | — |
415 | unsupported_media_type: send application/json | — |
422 | Validation failed | — |
429 | Rate limited | — |
503 | Dependency unavailable | — |
GET/clinical-notifications/policiesList routing policies
Authentification: bearer
Réponses
| Code | Description | Type de média |
|---|
200 | Success | |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
422 | Validation failed | — |
429 | Rate limited | — |
503 | Dependency unavailable | — |
POST/clinical-notifications/policiesOHN-28-F001 Create a routing policy
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
Idempotency-Key | header | string | oui | |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
201 | Success | |
400 | Idempotency-Key missing or malformed (idempotency_key_required), or the body is not valid JSON (malformed_request) | — |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
409 | version_conflict (details.current_version), idempotency_key_reused, request_in_progress, illegal_transition, already_acknowledged, not_acknowledgeable, duplicate_event, conflict | — |
415 | unsupported_media_type: send application/json | — |
422 | Validation failed | — |
429 | Rate limited | — |
503 | Dependency unavailable | — |
POST/clinical-notifications/policies/{id}/updateUpdate a routing policy (expected_version)
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui | |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
200 | Success | |
400 | Idempotency-Key missing or malformed (idempotency_key_required), or the body is not valid JSON (malformed_request) | — |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
409 | version_conflict (details.current_version), idempotency_key_reused, request_in_progress, illegal_transition, already_acknowledged, not_acknowledgeable, duplicate_event, conflict | — |
415 | unsupported_media_type: send application/json | — |
422 | Validation failed | — |
429 | Rate limited | — |
503 | Dependency unavailable | — |
GET/clinical-notifications/code-lists/{list}Read a controlled code list
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
list | path | "trigger_type" | "severity" | "target_role" | "channel" | oui | |
Réponses
| Code | Description | Type de média |
|---|
200 | Success | |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
422 | Validation failed | — |
429 | Rate limited | — |
503 | Dependency unavailable | — |
POST/clinical-notifications/code-lists/{list}Upsert code list entries
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
list | path | "trigger_type" | "severity" | "target_role" | "channel" | oui | |
Idempotency-Key | header | string | oui | |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
200 | Success | |
400 | Idempotency-Key missing or malformed (idempotency_key_required), or the body is not valid JSON (malformed_request) | — |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
409 | version_conflict (details.current_version), idempotency_key_reused, request_in_progress, illegal_transition, already_acknowledged, not_acknowledgeable, duplicate_event, conflict | — |
415 | unsupported_media_type: send application/json | — |
422 | Validation failed | — |
429 | Rate limited | — |
503 | Dependency unavailable | — |
POST/clinical-notifications/maintenance/escalation-sweepOHN-28-W002 Run the escalation sweep (schedule every minute)
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
Idempotency-Key | header | string | oui | |
Réponses
| Code | Description | Type de média |
|---|
200 | Success | |
400 | Idempotency-Key missing or malformed (idempotency_key_required), or the body is not valid JSON (malformed_request) | — |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
409 | version_conflict (details.current_version), idempotency_key_reused, request_in_progress, illegal_transition, already_acknowledged, not_acknowledgeable, duplicate_event, conflict | — |
415 | unsupported_media_type: send application/json | — |
422 | Validation failed | — |
429 | Rate limited | — |
503 | Dependency unavailable | — |
POST/clinical-notifications/maintenance/drain-outboxRelay outbox events to OHN-24 (stay pending without a sink)
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
Idempotency-Key | header | string | oui | |
Réponses
| Code | Description | Type de média |
|---|
200 | Success | |
400 | Idempotency-Key missing or malformed (idempotency_key_required), or the body is not valid JSON (malformed_request) | — |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
409 | version_conflict (details.current_version), idempotency_key_reused, request_in_progress, illegal_transition, already_acknowledged, not_acknowledgeable, duplicate_event, conflict | — |
415 | unsupported_media_type: send application/json | — |
422 | Validation failed | — |
429 | Rate limited | — |
503 | Dependency unavailable | — |
GET/clinical-notifications/report-catalogList reports
Authentification: bearer
Réponses
| Code | Description | Type de média |
|---|
200 | Success | |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
422 | Validation failed | — |
429 | Rate limited | — |
503 | Dependency unavailable | — |
GET/clinical-notifications/reports/{reportId}Run OHN-28-R001..R003
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
reportId | path | string | oui | |
facility | query | string (uuid) | non | |
organization | query | string (uuid) | non | |
period_from | query | string (date) | non | |
period_to | query | string (date) | non | |
severity | query | string | non | |
channel | query | string | non | |
cursor | query | string | non | |
Réponses
| Code | Description | Type de média |
|---|
200 | Success | |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
422 | Validation failed: message "Report filter is not valid." (details keep the LAST issue per field) or "period_from is after period_to." (details.period_from after_period_to) | — |
429 | Rate limited | — |
503 | Dependency unavailable | — |
POST/clinical-notifications/reports/{reportId}/exportCreate a signed, single-use, 5-minute export (supervisors)
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
reportId | path | string | oui | |
Idempotency-Key | header | string | oui | |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
201 | Success | |
400 | Idempotency-Key missing or malformed (idempotency_key_required), or the body is not valid JSON (malformed_request) | — |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
409 | version_conflict (details.current_version), idempotency_key_reused, request_in_progress, illegal_transition, already_acknowledged, not_acknowledgeable, duplicate_event, conflict | — |
415 | unsupported_media_type: send application/json | — |
422 | Validation failed | — |
429 | Rate limited | — |
503 | dependency_unavailable: the export signing key is not configured (or shorter than 32 characters) | — |
GET/clinical-notifications/exports/{token}Download an export once
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
token | path | string | oui | |
Réponses
| Code | Description | Type de média |
|---|
200 | The export once (CSV or PDF); the link is single use, bound to the requesting principal, expires after five minutes and is checked against its HMAC-SHA256 signature | text/csv: string
application/pdf: string (binary)
|
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
410 | export_expired or export_consumed | — |
422 | Validation failed | — |
429 | Rate limited | — |
500 | export_integrity_failed: the stored export no longer matches its signature | — |
503 | Dependency unavailable | — |
GET/clinical-notifications/{id}Alert detail with provenance, deliveries, overrides and acknowledgment
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
Réponses
| Code | Description | Type de média |
|---|
200 | Success | |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
422 | Validation failed | — |
429 | Rate limited | — |
503 | Dependency unavailable | — |
GET/clinical-notifications/{id}/historyWorkflow history (append-only)
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
Réponses
| Code | Description | Type de média |
|---|
200 | Success | |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
422 | Validation failed | — |
429 | Rate limited | — |
503 | Dependency unavailable | — |
GET/clinical-notifications/{id}/deliveriesDelivery attempts
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
Réponses
| Code | Description | Type de média |
|---|
200 | Success | |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
422 | Validation failed | — |
429 | Rate limited | — |
503 | Dependency unavailable | — |
POST/clinical-notifications/{id}/ackOHN-28-API-003 Acknowledge with read-back (F002)
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui | |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
200 | Success | |
400 | Idempotency-Key missing or malformed (idempotency_key_required), or the body is not valid JSON (malformed_request) | — |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
409 | version_conflict (details.current_version), idempotency_key_reused, request_in_progress, illegal_transition, already_acknowledged, not_acknowledgeable, duplicate_event, conflict | — |
415 | unsupported_media_type: send application/json | — |
422 | Validation failed | — |
429 | Rate limited | — |
503 | Dependency unavailable | — |
POST/clinical-notifications/{id}/overrideOHN-28-F003 Supervisor escalation override
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui | |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
200 | Success | |
400 | Idempotency-Key missing or malformed (idempotency_key_required), or the body is not valid JSON (malformed_request) | — |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
409 | version_conflict (details.current_version), idempotency_key_reused, request_in_progress, illegal_transition, already_acknowledged, not_acknowledgeable, duplicate_event, conflict | — |
415 | unsupported_media_type: send application/json | — |
422 | Validation failed | — |
429 | Rate limited | — |
503 | Dependency unavailable | — |
POST/clinical-notifications/{id}/closeOHN-28-W003 Close an acknowledged alert
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui | |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
200 | Success | |
400 | Idempotency-Key missing or malformed (idempotency_key_required), or the body is not valid JSON (malformed_request) | — |
401 | Unauthenticated | — |
403 | Denied by policy (audited) | — |
404 | Not found or not visible | — |
409 | version_conflict (details.current_version), idempotency_key_reused, request_in_progress, illegal_transition, already_acknowledged, not_acknowledgeable, duplicate_event, conflict | — |
415 | unsupported_media_type: send application/json | — |
422 | Validation failed | — |
429 | Rate limited | — |
503 | Dependency unavailable | — |
Schémas
NotificationCommand
| Nom | Type | Obligatoire | Description |
|---|
patient_ref | string (uuid) | oui | |
trigger_type | string | oui | |
severity | string | oui | |
target_role | string | oui | |
source_ref | string (uuid) | oui | |
PolicyCommand
| Nom | Type | Obligatoire | Description |
|---|
trigger_type | string | oui | |
severity | string | oui | |
target_role | string | oui | |
channel | string | oui | |
ack_deadline_minutes | integer | oui | |
escalation_chain | array of string (uuid) | oui | |
PolicyUpdateCommand
| Nom | Type | Obligatoire | Description |
|---|
channel | string | oui | |
ack_deadline_minutes | integer | oui | |
escalation_chain | array of string (uuid) | oui | |
expected_version | integer | oui | |
reason | string | oui | |
AckCommand
| Nom | Type | Obligatoire | Description |
|---|
recipient_id | string (uuid) | oui | |
readback_confirmation | boolean | oui | |
acknowledged_at | string (date-time) | oui | |
notes | string | oui | |
expected_version | integer | oui | |
OverrideCommand
| Nom | Type | Obligatoire | Description |
|---|
reason | string | oui | |
alternate_recipient | string (uuid) | oui | |
expiration | string (date-time) | oui | |
expected_version | integer | oui | |
CloseCommand
| Nom | Type | Obligatoire | Description |
|---|
reason | string | oui | |
expected_version | integer | oui | |
ExportCommand
| Nom | Type | Obligatoire | Description |
|---|
format | "csv" | "pdf" | oui | |
filters | ReportFilters | non | |
Receipt
| Nom | Type | Obligatoire | Description |
|---|
receipt_id | string (uuid) | non | |
committed_at | string (date-time) | non | |
aggregate_id | string (uuid) | non | |
version | integer | non | |
status | "committed" | "denied" | non | |
Notification
| Nom | Type | Obligatoire | Description |
|---|
id | string (uuid) | non | |
state | "received" | "target_resolved" | "sent" | "acknowledged" | "escalated" | "escalation_exhausted" | "unroutable" | "closed" | non | |
severity | string | non | |
trigger_type | string | non | |
target_role | string | non | |
channel | string | non | |
critical | boolean | non | |
level | integer | non | |
ack_deadline_minutes | integer | non | |
current_recipient | string | null (uuid) | non | |
deadline_at | string | null (date-time) | non | |
first_sent_at | string | null (date-time) | non | |
acked_at | string | null (date-time) | non | |
acked_by | string | null (uuid) | non | |
closed_at | string | null (date-time) | non | |
source_ref | string (uuid) | non | |
version | integer | non | |
created_at | string (date-time) | non | |
updated_at | string (date-time) | non | |
jurisdiction_id | string (uuid) | non | |
organization_id | string (uuid) | non | |
pending_reconciliation | boolean | non | true while the alert has not reached a recipient (received, target_resolved) or its next page is blocked by a dependency outage |
routing_blocked_reason | string | null | non | 1.0.1: dependency_unavailable:OHN-06 | OHN-16 | channel while a dependency outage blocks routing or escalation; null otherwise. An alert somebody holds keeps its state, level and holder during the outage. |
needs_supervisor | boolean | non | escalation_exhausted or unroutable: nobody could be paged; supervisors must act |
patient_ref_masked | string | non | present in lists, intake and mutation answers and in the detail view; the detail view adds patient_ref only when OHN-16 permits |
provenance | Notification.provenance | non | |
NotificationResult
| Nom | Type | Obligatoire | Description |
|---|
notification | Notification | non | |
delivery_attempts | integer | non | |
skipped_recipients | integer | non | |
receipt | Receipt | non | |
NotificationList
| Nom | Type | Obligatoire | Description |
|---|
items | array of Notification | non | |
next_cursor | string | null | non | |
as_of | string | non | |
NotificationDetail
| Nom | Type | Obligatoire | Description |
|---|
id | string (uuid) | non | |
state | "received" | "target_resolved" | "sent" | "acknowledged" | "escalated" | "escalation_exhausted" | "unroutable" | "closed" | non | |
severity | string | non | |
trigger_type | string | non | |
target_role | string | non | |
channel | string | non | |
critical | boolean | non | |
level | integer | non | |
ack_deadline_minutes | integer | non | |
current_recipient | string | null (uuid) | non | |
deadline_at | string | null (date-time) | non | |
first_sent_at | string | null (date-time) | non | |
acked_at | string | null (date-time) | non | |
acked_by | string | null (uuid) | non | |
closed_at | string | null (date-time) | non | |
source_ref | string (uuid) | non | |
version | integer | non | |
created_at | string (date-time) | non | |
updated_at | string (date-time) | non | |
jurisdiction_id | string (uuid) | non | |
organization_id | string (uuid) | non | |
pending_reconciliation | boolean | non | true while the alert has not reached a recipient (received, target_resolved) or its next page is blocked by a dependency outage |
routing_blocked_reason | string | null | non | 1.0.1: dependency_unavailable:OHN-06 | OHN-16 | channel while a dependency outage blocks routing or escalation; null otherwise. An alert somebody holds keeps its state, level and holder during the outage. |
needs_supervisor | boolean | non | escalation_exhausted or unroutable: nobody could be paged; supervisors must act |
patient_ref_masked | string | non | present in lists, intake and mutation answers and in the detail view; the detail view adds patient_ref only when OHN-16 permits |
provenance | NotificationDetail.provenance | non | |
patient_ref | string | null (uuid) | non | |
patient_access | "permitted" | "withheld" | "unavailable" | non | |
readback_required | boolean | non | |
recipients_chain | array of string (uuid) | non | |
deliveries | array of Delivery | non | |
overrides | array of NotificationDetail.overrides.item | non | |
acknowledgement | NotificationDetail.acknowledgement | non | |
Policy
| Nom | Type | Obligatoire | Description |
|---|
id | string (uuid) | non | |
trigger_type | string | non | |
severity | string | non | |
target_role | string | non | |
channel | string | non | |
ack_deadline_minutes | integer | non | |
escalation_chain | array of string (uuid) | non | |
version | integer | non | |
updated_by | string (uuid) | non | |
updated_at | string (date-time) | non | |
jurisdiction_id | string (uuid) | non | |
organization_id | string (uuid) | non | |
PolicyList
| Nom | Type | Obligatoire | Description |
|---|
items | array of Policy | non | |
CodeList
| Nom | Type | Obligatoire | Description |
|---|
list | string | non | |
items | array of object | non | |
CodeListUpsertResult
| Nom | Type | Obligatoire | Description |
|---|
list | string | non | |
upserted | integer | non | |
receipt | Receipt | non | |
SweepResult
still_pending counts alerts the sweep could not route because a dependency is unavailable (or could not process); they stay open and are retried
| Nom | Type | Obligatoire | Description |
|---|
examined | integer | non | |
escalated | integer | non | |
retried | integer | non | |
exhausted | integer | non | |
skipped_conflict | integer | non | |
still_pending | integer | non | |
OutboxResult
| Nom | Type | Obligatoire | Description |
|---|
delivered | integer | non | |
pending | integer | non | |
DeliveryList
| Nom | Type | Obligatoire | Description |
|---|
items | array of Delivery | non | |
ReportCatalog
| Nom | Type | Obligatoire | Description |
|---|
reports | array of object | non | |
Report
| Nom | Type | Obligatoire | Description |
|---|
report_id | string | non | |
title | string | non | |
columns | array of string | non | |
rows | array of object | non | |
summary | object | non | |
state | "rendered" | "no_authorized_data" | non | |
generated_at | string | non | |
next_cursor | string | null | non | |
ExportReceipt
| Nom | Type | Obligatoire | Description |
|---|
export_id | string (uuid) | non | |
report_id | string | non | |
format | string | non | |
rows | integer | non | |
expires_at | string | non | |
single_use | boolean | non | |
download_path | string | non | |
ExportFile
string (binary)
Delivery
| Nom | Type | Obligatoire | Description |
|---|
id | string (uuid) | non | |
recipient_id | string (uuid) | non | |
channel | string | non | |
level | integer | non | |
status | "sent" | "failed" | "undeliverable" | "stale_contact" | non | |
error_code | string | null | non | |
transport_ref | string | null | non | |
at | string (date-time) | non | |
ReportFilters
| Nom | Type | Obligatoire | Description |
|---|
facility | string (uuid) | non | |
organization | string (uuid) | non | |
period_from | string (date) | non | |
period_to | string (date) | non | |
severity | string | non | |
channel | string | non | |
Health
| Nom | Type | Obligatoire | Description |
|---|
status | "ok" | non | |
module | "OHN-28" | non | |
dependencies | Health.dependencies | non | |
overdue_unswept | integer | non | 1.0.1 (Java): open alerts whose deadline passed more than sweep_grace_minutes ago without the sweep reaching them; above zero means the sweep scheduler has stopped |
sweep_grace_minutes | integer | non | |
Error
| Nom | Type | Obligatoire | Description |
|---|
error | string | oui | |
message | string | non | |
details | object | non | validation: {field: zod issue code} (first issue per field; a refinement reports its message; unknown keys under "_"); version_conflict: {current_version}; duplicate_event: {notification_id} |
get-health-ohn-28.response-503 défini sur place
| Nom | Type | Obligatoire | Description |
|---|
status | "unavailable" | non | |
CodeListCommand.entries.item défini sur place
| Nom | Type | Obligatoire | Description |
|---|
code | string | oui | |
label_en | string | oui | |
label_fr | string | oui | |
active | boolean | non | |
critical | boolean | non | a severity flagged critical needs read-back to be acknowledged |
Notification.provenance défini sur place
| Nom | Type | Obligatoire | Description |
|---|
source_system_id | string (uuid) | non | |
provenance_ref | string (uuid) | non | |
source_version | integer | non | |
as_of | string (date-time) | non | |
NotificationDetail.provenance défini sur place
| Nom | Type | Obligatoire | Description |
|---|
source_system_id | string (uuid) | non | |
provenance_ref | string (uuid) | non | |
source_version | integer | non | |
as_of | string (date-time) | non | |
NotificationDetail.overrides.item défini sur place
| Nom | Type | Obligatoire | Description |
|---|
id | string (uuid) | non | |
alternate_recipient | string (uuid) | non | |
expiration | string (date-time) | non | |
created_by | string (uuid) | non | |
created_at | string (date-time) | non | |
NotificationDetail.acknowledgement défini sur place
| Nom | Type | Obligatoire | Description |
|---|
recipient_id | string (uuid) | non | |
readback_confirmation | boolean | non | |
acknowledged_at | string (date-time) | non | |
notes | string | null | non | only for the acknowledger and supervisors |
HistoryList.items.item défini sur place
| Nom | Type | Obligatoire | Description |
|---|
workflow | "OHN-28-W001" | "OHN-28-W002" | "OHN-28-W003" | non | |
from_state | string | null | non | |
to_state | string | non | |
version | integer | non | |
actor_id | string (uuid) | non | |
reason | string | non | |
at | string (date-time) | non | |
Health.dependencies défini sur place
| Nom | Type | Obligatoire | Description |
|---|
worker | "live" | "unconfigured" | "synthetic" | non | |
access | "live" | "unconfigured" | "synthetic" | non | |
channel | "live" | "unconfigured" | "synthetic" | non | |