← Tous les contrats
OHN-49 Lab and Imaging Orders
- Version
- 1.1.0
- OpenAPI
- 3.1.0
- Source dans le dépôt
modules/OHN-49/api/openapi.yaml- Serveurs
https://opeshealthnetwork.com
- Authentification
bearer: http bearer (JWT HS256, iss ohn-49-orders, aud ohn-49-api; claims sub, role, jurisdiction, organization_id (UUIDs), purpose bound to role)
Télécharger le contrat (YAML)
Les contrats sont rédigés en anglais.
Order entry, routing to a performing laboratory or imaging centre, worklists, specimen and appointment tracking, and closing the loop with OHN-11. Every request is scoped by the token's jurisdiction AND organization. Every write requires Idempotency-Key; lifecycle steps require expected_version (409 on mismatch). Missing configuration => 503 not_configured; unconfigured or failing dependency => 503 dependency_unavailable. 1.0.1: reconciled with the Java service. Validation errors are 422 domain_validation_failed with zod-style details {field: [messages]}; a route outside the permission table is 403 denied_by_policy; the TypeScript-only synthetic token route is not served (the gateway issues tokens). 1.1.0 (2026-11-23): role lab_assistant (purpose diagnostic_fulfilment) on lab orders of its own performing organisation: may read orders, config, the worklist and results and take the steps accept, specimens, start and result with report_status preliminary only. A final, amended or corrected result from it is 403 denied_by_policy with guard result_release_not_permitted (audited); reject, cancel, result-link, reports, exports and configuration are refused. Verification and release stay with lab_technologist / lab_verifier (OHN-11).
Opérations
orders
GET/api/ohn/v1/ordersList orders in scope
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
status | query | string | non | |
kind | query | OrderKind | non | |
priority | query | string | non | |
patient_ref | query | string (uuid) | non | |
q | query | string | non | |
mine | query | "true" | non | |
limit | query | integer | non | |
offset | query | integer | non | |
Réponses
| Code | Description | Type de média |
|---|
200 | Page | |
401 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
403 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
POST/api/ohn/v1/ordersCreate an order (draft, or placed when submit=true) — OHN-49-F001 (ordering_clinician)
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 | Committed | |
403 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
409 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
422 | Field validation | |
503 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
GET/api/ohn/v1/orders/worklistPerformer worklist (open work ordered by due date); lab roles see lab orders, imaging roles imaging orders
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
status | query | string | non | |
q | query | string | non | |
limit | query | integer | non | |
offset | query | integer | non | |
Réponses
| Code | Description | Type de média |
|---|
200 | Page | |
403 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
GET/api/ohn/v1/orders/dashboardKPIs in scope
Authentification: bearer
Réponses
| Code | Description | Type de média |
|---|
200 | OK | |
GET/api/ohn/v1/orders/{id}Order detail with tests, screening, specimens, timeline and allowed_actions
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
Réponses
| Code | Description | Type de média |
|---|
200 | OK | |
404 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
GET/api/ohn/v1/orders/{id}/resultLive read of the linked OHN-11 DiagnosticReport (never cached)
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
Réponses
| Code | Description | Type de média |
|---|
200 | OK | |
404 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
503 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
steps
POST/api/ohn/v1/orders/{id}/resultPost result/report to OHN-11 POST /api/ohn/v1/diagnostics/results/ingest and link it (lab staff, radiologist)
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 | Committed | |
403 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
404 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
409 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
422 | Field validation | |
503 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
POST/api/ohn/v1/orders/{id}/placePlace a draft (ordering_clinician)
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 | Committed | |
403 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
404 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
409 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
422 | Field validation | |
503 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
POST/api/ohn/v1/orders/{id}/amendAmend (draft stays draft; placed/rejected become placed after re-running every guard) — OHN-49-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 | Committed | |
403 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
404 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
409 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
422 | Field validation | |
503 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
POST/api/ohn/v1/orders/{id}/acceptAccept (performer)
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 | Committed | |
403 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
404 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
409 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
422 | Field validation | |
503 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
POST/api/ohn/v1/orders/{id}/rejectReject with a configured rejection_reason (performer)
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 | Committed | |
403 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
404 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
409 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
422 | Field validation | |
503 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
POST/api/ohn/v1/orders/{id}/specimensRecord specimen collection (lab)
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 | Committed | |
403 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
404 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
409 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
422 | Field validation | |
503 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
POST/api/ohn/v1/orders/{id}/startMark in progress (lab)
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 | Committed | |
403 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
404 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
409 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
422 | Field validation | |
503 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
POST/api/ohn/v1/orders/{id}/scheduleSchedule or reschedule (imaging_technologist)
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 | Committed | |
403 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
404 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
409 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
422 | Field validation | |
503 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
POST/api/ohn/v1/orders/{id}/protocolProtocol (radiologist); screening_reviewed required when screening flagged review
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 | Committed | |
403 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
404 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
409 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
422 | Field validation | |
503 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
POST/api/ohn/v1/orders/{id}/performedMark performed (imaging_technologist)
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 | Committed | |
403 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
404 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
409 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
422 | Field validation | |
503 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
POST/api/ohn/v1/orders/{id}/result-linkLink an existing OHN-11 report (same patient and source facility)
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 | Committed | |
403 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
404 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
409 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
422 | Field validation | |
503 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
POST/api/ohn/v1/orders/{id}/reviewOrderer review; refused (409 result_not_final) unless the result is final/amended/corrected
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 | Committed | |
403 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
404 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
409 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
422 | Field validation | |
503 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
POST/api/ohn/v1/orders/{id}/cancelCancel with a configured cancel_reason (orderer any open state; performer after accept)
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 | Committed | |
403 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
404 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
409 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
422 | Field validation | |
503 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
config
GET/api/ohn/v1/orders/configConfiguration and readiness (missing[] lists what blocks ordering)
Authentification: bearer
Réponses
| Code | Description | Type de média |
|---|
200 | OK | — |
POST/api/ohn/v1/orders/config/code-listsUpsert a code (orders_admin)
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 | Saved | — |
403 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
422 | Field validation | |
POST/api/ohn/v1/orders/config/priority-targetsUpsert a turnaround target (orders_admin)
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 | Saved | — |
422 | Field validation | |
503 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
POST/api/ohn/v1/orders/config/screening-questionsUpsert a screening question (orders_admin)
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 | Saved | — |
POST/api/ohn/v1/orders/config/settingsCreate (expected_version 0) or update settings (orders_admin)
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 |
|---|
200 | Saved | — |
409 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
reports
GET/api/ohn/v1/orders/reportsReport catalogue with metric definitions
Authentification: bearer
Réponses
| Code | Description | Type de média |
|---|
200 | OK | — |
GET/api/ohn/v1/orders/reports/{rid}Run OHN-49-R001 (turnaround) or OHN-49-R002 (rejected)
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
rid | path | "OHN-49-R001" | "OHN-49-R002" | oui | |
from | query | string (date) | non | |
to | query | string (date) | non | |
kind | query | OrderKind | non | |
priority | query | string | non | |
reason_code | query | string | non | |
Réponses
| Code | Description | Type de média |
|---|
200 | Report | |
POST/api/ohn/v1/orders/reports/{rid}/exportCreate a signed CSV/PDF export (HMAC-SHA256 with OHN49_EXPORT_SIGNING_KEY)
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
rid | path | "OHN-49-R001" | "OHN-49-R002" | oui | |
Idempotency-Key | header | string | oui | |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
201 | download_token, retrieval.path, signature | — |
503 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
GET/api/ohn/v1/orders/exports/{token}One-time download by the same principal before expiry; X-OHN49-Signature header
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
token | path | string | oui | |
Réponses
| Code | Description | Type de média |
|---|
200 | File | — |
404 | Expired | — |
ops
GET/health/ohn-49Health and dependency modes
Réponses
| Code | Description | Type de média |
|---|
200 | OK | |
503 | Database unavailable | — |
GET/api/ohn/v1/orders/auditAudit receipts for the caller organization (orders_admin)
Authentification: bearer
Réponses
| Code | Description | Type de média |
|---|
200 | OK | — |
GET/api/ohn/v1/orders/outboxOutbox delivery state (orders_admin)
Authentification: bearer
Réponses
| Code | Description | Type de média |
|---|
200 | OK | — |
POST/api/ohn/v1/orders/outbox/dispatchRelay pending events to OHN-24 (orders_admin)
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
Idempotency-Key | header | string | oui | |
Réponses
| Code | Description | Type de média |
|---|
200 | delivered, failed, pending_after | — |
503 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
Schémas
OrderKind
"lab" | "imaging"
OrderStatus
"draft" | "placed" | "accepted" | "rejected" | "specimen_collected" | "scheduled" | "protocoled" | "in_progress" | "performed" | "resulted" | "reviewed" | "cancelled"
Modality
"XR" | "CT" | "MR" | "US" | "MG" | "NM"
Contrast
"none" | "with" | "without" | "with_and_without"
Role
"ordering_clinician" | "lab_technologist" | "lab_manager" | "lab_assistant" | "imaging_technologist" | "radiologist" | "orders_admin" | "orders_oversight"
Purpose
"diagnostic_ordering" | "diagnostic_fulfilment" | "orders_administration" | "orders_oversight"
SyntheticTokenCommand
| Nom | Type | Obligatoire | Description |
|---|
principal_id | string (uuid) | oui | |
role | Role | oui | |
jurisdiction | string (uuid) | oui | |
organization_id | string (uuid) | oui | |
purpose | Purpose | oui | |
OrderContent
lab requires specimen_type + tests and forbids imaging fields; imaging requires modality, body_site, contrast, procedure_code, screening and forbids lab fields
| Nom | Type | Obligatoire | Description |
|---|
order_kind | OrderKind | oui | |
patient_ref | string (uuid) | oui | OHN-03 patient id |
performer_org | string (uuid) | oui | OHN-05 facility id of the performing lab or imaging centre |
priority | Code | oui | |
clinical_indication | string | oui | |
specimen_type | Code | non | |
tests | array of OrderContent.tests.item | non | |
modality | Modality | non | |
body_site | Code | non | |
contrast | Contrast | non | |
procedure_code | string | non | |
procedure_display | string | non | |
screening | array of OrderContent.screening.item | non | |
OrderCreate
| Nom | Type | Obligatoire | Description |
|---|
order_kind | OrderKind | oui | |
patient_ref | string (uuid) | oui | OHN-03 patient id |
performer_org | string (uuid) | oui | OHN-05 facility id of the performing lab or imaging centre |
priority | Code | oui | |
clinical_indication | string | oui | |
specimen_type | Code | non | |
tests | array of OrderCreate.tests.item | non | |
modality | Modality | non | |
body_site | Code | non | |
contrast | Contrast | non | |
procedure_code | string | non | |
procedure_display | string | non | |
screening | array of OrderCreate.screening.item | non | |
submit | boolean | non | |
OrderAmend
| Nom | Type | Obligatoire | Description |
|---|
order_kind | OrderKind | oui | |
patient_ref | string (uuid) | oui | OHN-03 patient id |
performer_org | string (uuid) | oui | OHN-05 facility id of the performing lab or imaging centre |
priority | Code | oui | |
clinical_indication | string | oui | |
specimen_type | Code | non | |
tests | array of OrderAmend.tests.item | non | |
modality | Modality | non | |
body_site | Code | non | |
contrast | Contrast | non | |
procedure_code | string | non | |
procedure_display | string | non | |
screening | array of OrderAmend.screening.item | non | |
expected_version | integer | oui | |
reason | string | oui | |
Specimen
| Nom | Type | Obligatoire | Description |
|---|
expected_version | integer | oui | |
specimen_type | Code | oui | |
accession_number | string | oui | |
collected_at | string (date-time) | oui | |
note | string | non | |
Schedule
| Nom | Type | Obligatoire | Description |
|---|
expected_version | integer | oui | |
slot_start | string (date-time) | oui | |
slot_end | string (date-time) | oui | |
location | string | oui | |
Protocol
| Nom | Type | Obligatoire | Description |
|---|
expected_version | integer | oui | |
protocol | string | oui | |
contrast | Contrast | oui | |
screening_reviewed | boolean | non | |
PostResult
Forwarded to OHN-11 with patient_ref, source_facility=performer_org, specimen_ref, report_type from settings, source_report_id=<order_number>-v<version>, replaces_report_id when re-posting. OHN-11 4xx => 422 ohn11_refused.
| Nom | Type | Obligatoire | Description |
|---|
expected_version | integer | oui | |
report_status | "preliminary" | "final" | "amended" | "corrected" | oui | |
issued_at | string (date-time) | oui | |
file_or_payload | string (uuid) | oui | |
payload_sha256 | string | non | |
source_interpretation | string | non | |
critical_declared | boolean | non | |
observations | array of object | non | |
imaging_studies | array of object | non | |
CodeListCommand
| Nom | Type | Obligatoire | Description |
|---|
list_name | "priority" | "specimen_type" | "body_site" | "rejection_reason" | "cancel_reason" | oui | |
code | Code | oui | |
label_en | string | oui | |
label_fr | string | oui | |
active | boolean | non | |
PriorityTargetCommand
| Nom | Type | Obligatoire | Description |
|---|
order_kind | OrderKind | oui | |
priority | Code | oui | |
target_minutes | integer | oui | |
ScreeningQuestionCommand
| Nom | Type | Obligatoire | Description |
|---|
modality | Modality | oui | |
code | Code | oui | |
label_en | string | oui | |
label_fr | string | oui | |
required | boolean | non | |
review_on | array of "yes" | "no" | "unknown" | non | |
active | boolean | non | |
SettingsCommand
| Nom | Type | Obligatoire | Description |
|---|
expected_version | integer | oui | |
lab_code_system | string (uri) | oui | |
imaging_code_system | string (uri) | oui | |
lab_report_type | Code | oui | |
imaging_report_type | Code | oui | |
consent_check_required | boolean | oui | |
consent_resource_class | Code | non | |
consent_purpose | Code | non | |
Order
| Nom | Type | Obligatoire | Description |
|---|
id | string (uuid) | non | |
order_number | string | non | |
order_kind | OrderKind | non | |
status | OrderStatus | non | |
version | integer | non | |
jurisdiction_id | string | non | |
ordering_org | string | non | |
performer_org | string | non | |
patient_ref | string | non | |
priority | string | non | |
target_minutes | integer | null | non | |
due_at | string | null (date-time) | non | |
overdue | boolean | non | |
result_ref | string | null | non | OHN-11 DiagnosticReport id |
result_status | string | null | non | |
screening_review_required | boolean | non | |
OrderDetail
| Nom | Type | Obligatoire | Description |
|---|
order | Order | non | |
tests | array of object | non | |
screening | array of object | non | |
specimens | array of object | non | |
history | array of object | non | |
allowed_actions | array of string | non | |
lifecycle | array of string | non | |
Report
| Nom | Type | Obligatoire | Description |
|---|
report_id | string | non | |
title | string | non | |
columns | array of string | non | |
metrics | object | non | |
metric_definitions | object | non | |
data | array of object | non | |
provenance | object | non | |
Receipt
| Nom | Type | Obligatoire | Description |
|---|
receipt_id | string (uuid) | non | |
committed_at | string (date-time) | non | |
aggregate_id | string | null | non | |
aggregate_type | string | non | |
version | integer | non | |
status | "committed" | "denied" | "refused" | non | |
Error
| Nom | Type | Obligatoire | Description |
|---|
error | string | oui | |
message | string | non | |
guard | string | non | |
setting | string | non | |
dependency | string | non | |
details | object | non | |
receipt | Receipt | non | |
Health
| Nom | Type | Obligatoire | Description |
|---|
status | string | non | |
module | "OHN-49" | non | |
dependencies | Health.dependencies | non | |
writes_enabled | boolean | non | |
export_signing_configured | boolean | non | |
jwt_configured | boolean | non | |
synthetic_auth | boolean | non | |
DepMode
"live" | "unconfigured" | "test_fake" | "test_failing"
get-api-ohn-v1-orders.response-200 défini sur place
| Nom | Type | Obligatoire | Description |
|---|
data | array of Order | non | |
total | integer | non | |
limit | integer | non | |
offset | integer | non | |
post-api-ohn-v1-orders.response-201 défini sur place
post-api-ohn-v1-orders.response-201.events.item défini sur place
| Nom | Type | Obligatoire | Description |
|---|
event_id | string | non | |
event_type | string | non | |
delivery | "pending_downstream_confirmation" | non | |
get-api-ohn-v1-orders-worklist.response-200 défini sur place
| Nom | Type | Obligatoire | Description |
|---|
data | array of Order | non | |
total | integer | non | |
limit | integer | non | |
offset | integer | non | |
get-api-ohn-v1-orders-dashboard.response-200 défini sur place
get-api-ohn-v1-orders-dashboard.response-200.kpis défini sur place
| Nom | Type | Obligatoire | Description |
|---|
open | integer | non | |
awaiting_review | integer | non | |
overdue | integer | non | |
drafts | integer | non | |
get-api-ohn-v1-orders-id-result.response-200 défini sur place
| Nom | Type | Obligatoire | Description |
|---|
order_id | string | non | |
result_ref | string | non | |
source | "OHN-11" | non | |
report | object | non | OHN-11 reportView |
post-api-ohn-v1-orders-id-result.response-200 défini sur place
post-api-ohn-v1-orders-id-result.response-200.events.item défini sur place
| Nom | Type | Obligatoire | Description |
|---|
event_id | string | non | |
event_type | string | non | |
delivery | "pending_downstream_confirmation" | non | |
post-api-ohn-v1-orders-id-place.request défini sur place
| Nom | Type | Obligatoire | Description |
|---|
expected_version | integer | oui | |
note | string | non | |
post-api-ohn-v1-orders-id-place.response-200 défini sur place
post-api-ohn-v1-orders-id-place.response-200.events.item défini sur place
| Nom | Type | Obligatoire | Description |
|---|
event_id | string | non | |
event_type | string | non | |
delivery | "pending_downstream_confirmation" | non | |
post-api-ohn-v1-orders-id-amend.response-200 défini sur place
post-api-ohn-v1-orders-id-amend.response-200.events.item défini sur place
| Nom | Type | Obligatoire | Description |
|---|
event_id | string | non | |
event_type | string | non | |
delivery | "pending_downstream_confirmation" | non | |
post-api-ohn-v1-orders-id-accept.request défini sur place
| Nom | Type | Obligatoire | Description |
|---|
expected_version | integer | oui | |
note | string | non | |
post-api-ohn-v1-orders-id-accept.response-200 défini sur place
post-api-ohn-v1-orders-id-accept.response-200.events.item défini sur place
| Nom | Type | Obligatoire | Description |
|---|
event_id | string | non | |
event_type | string | non | |
delivery | "pending_downstream_confirmation" | non | |
post-api-ohn-v1-orders-id-reject.request défini sur place
| Nom | Type | Obligatoire | Description |
|---|
expected_version | integer | oui | |
reason_code | Code | oui | |
reason | string | oui | |
post-api-ohn-v1-orders-id-reject.response-200 défini sur place
post-api-ohn-v1-orders-id-reject.response-200.events.item défini sur place
| Nom | Type | Obligatoire | Description |
|---|
event_id | string | non | |
event_type | string | non | |
delivery | "pending_downstream_confirmation" | non | |
post-api-ohn-v1-orders-id-specimens.response-200 défini sur place
post-api-ohn-v1-orders-id-specimens.response-200.events.item défini sur place
| Nom | Type | Obligatoire | Description |
|---|
event_id | string | non | |
event_type | string | non | |
delivery | "pending_downstream_confirmation" | non | |
post-api-ohn-v1-orders-id-start.request défini sur place
| Nom | Type | Obligatoire | Description |
|---|
expected_version | integer | oui | |
note | string | non | |
post-api-ohn-v1-orders-id-start.response-200 défini sur place
post-api-ohn-v1-orders-id-start.response-200.events.item défini sur place
| Nom | Type | Obligatoire | Description |
|---|
event_id | string | non | |
event_type | string | non | |
delivery | "pending_downstream_confirmation" | non | |
post-api-ohn-v1-orders-id-schedule.response-200 défini sur place
post-api-ohn-v1-orders-id-schedule.response-200.events.item défini sur place
| Nom | Type | Obligatoire | Description |
|---|
event_id | string | non | |
event_type | string | non | |
delivery | "pending_downstream_confirmation" | non | |
post-api-ohn-v1-orders-id-protocol.response-200 défini sur place
post-api-ohn-v1-orders-id-protocol.response-200.events.item défini sur place
| Nom | Type | Obligatoire | Description |
|---|
event_id | string | non | |
event_type | string | non | |
delivery | "pending_downstream_confirmation" | non | |
post-api-ohn-v1-orders-id-performed.response-200 défini sur place
post-api-ohn-v1-orders-id-performed.response-200.events.item défini sur place
| Nom | Type | Obligatoire | Description |
|---|
event_id | string | non | |
event_type | string | non | |
delivery | "pending_downstream_confirmation" | non | |
post-api-ohn-v1-orders-id-result-link.request défini sur place
| Nom | Type | Obligatoire | Description |
|---|
expected_version | integer | oui | |
ohn11_report_id | string (uuid) | oui | |
post-api-ohn-v1-orders-id-result-link.response-200 défini sur place
post-api-ohn-v1-orders-id-result-link.response-200.events.item défini sur place
| Nom | Type | Obligatoire | Description |
|---|
event_id | string | non | |
event_type | string | non | |
delivery | "pending_downstream_confirmation" | non | |
post-api-ohn-v1-orders-id-review.request défini sur place
| Nom | Type | Obligatoire | Description |
|---|
expected_version | integer | oui | |
note | string | non | |
post-api-ohn-v1-orders-id-review.response-200 défini sur place
post-api-ohn-v1-orders-id-review.response-200.events.item défini sur place
| Nom | Type | Obligatoire | Description |
|---|
event_id | string | non | |
event_type | string | non | |
delivery | "pending_downstream_confirmation" | non | |
post-api-ohn-v1-orders-id-cancel.request défini sur place
| Nom | Type | Obligatoire | Description |
|---|
expected_version | integer | oui | |
reason_code | Code | oui | |
reason | string | oui | |
post-api-ohn-v1-orders-id-cancel.response-200 défini sur place
post-api-ohn-v1-orders-id-cancel.response-200.events.item défini sur place
| Nom | Type | Obligatoire | Description |
|---|
event_id | string | non | |
event_type | string | non | |
delivery | "pending_downstream_confirmation" | non | |
post-api-ohn-v1-orders-reports-rid-export.request défini sur place
| Nom | Type | Obligatoire | Description |
|---|
format | "csv" | "pdf" | oui | |
filters | object | non | |
OrderContent.tests.item défini sur place
| Nom | Type | Obligatoire | Description |
|---|
code | string | oui | |
display | string | non | |
OrderContent.screening.item défini sur place
| Nom | Type | Obligatoire | Description |
|---|
question_code | Code | oui | |
answer | "yes" | "no" | "unknown" | oui | |
note | string | non | |
OrderCreate.tests.item défini sur place
| Nom | Type | Obligatoire | Description |
|---|
code | string | oui | |
display | string | non | |
OrderCreate.screening.item défini sur place
| Nom | Type | Obligatoire | Description |
|---|
question_code | Code | oui | |
answer | "yes" | "no" | "unknown" | oui | |
note | string | non | |
OrderAmend.tests.item défini sur place
| Nom | Type | Obligatoire | Description |
|---|
code | string | oui | |
display | string | non | |
OrderAmend.screening.item défini sur place
| Nom | Type | Obligatoire | Description |
|---|
question_code | Code | oui | |
answer | "yes" | "no" | "unknown" | oui | |
note | string | non | |
Health.dependencies défini sur place