← All contracts
OHN-49 Lab and Imaging Orders
- Version
- 1.1.0
- OpenAPI
- 3.1.0
- Source in the repository
modules/OHN-49/api/openapi.yaml- Servers
https://opeshealthnetwork.com
- Authentication
bearer: http bearer (JWT HS256, iss ohn-49-orders, aud ohn-49-api; claims sub, role, jurisdiction, organization_id (UUIDs), purpose bound to role)
Download the contract (YAML)
Contracts are written in English.
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).
Operations
orders
GET/api/ohn/v1/ordersList orders in scope
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
status | query | string | no | |
kind | query | OrderKind | no | |
priority | query | string | no | |
patient_ref | query | string (uuid) | no | |
q | query | string | no | |
mine | query | "true" | no | |
limit | query | integer | no | |
offset | query | integer | no | |
Responses
| Code | Description | Media type |
|---|
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)
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
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
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
status | query | string | no | |
q | query | string | no | |
limit | query | integer | no | |
offset | query | integer | no | |
Responses
| Code | Description | Media type |
|---|
200 | Page | |
403 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
GET/api/ohn/v1/orders/dashboardKPIs in scope
Authentication: bearer
Responses
| Code | Description | Media type |
|---|
200 | OK | |
GET/api/ohn/v1/orders/{id}Order detail with tests, screening, specimens, timeline and allowed_actions
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Responses
| Code | Description | Media type |
|---|
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)
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Responses
| Code | Description | Media type |
|---|
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)
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
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)
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
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
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
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)
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
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)
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
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)
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
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)
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
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)
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
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
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
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)
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
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)
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
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
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
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)
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
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)
Authentication: bearer
Responses
| Code | Description | Media type |
|---|
200 | OK | — |
POST/api/ohn/v1/orders/config/code-listsUpsert a code (orders_admin)
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
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)
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
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)
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
201 | Saved | — |
POST/api/ohn/v1/orders/config/settingsCreate (expected_version 0) or update settings (orders_admin)
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
200 | Saved | — |
409 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
reports
GET/api/ohn/v1/orders/reportsReport catalogue with metric definitions
Authentication: bearer
Responses
| Code | Description | Media type |
|---|
200 | OK | — |
GET/api/ohn/v1/orders/reports/{rid}Run OHN-49-R001 (turnaround) or OHN-49-R002 (rejected)
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
rid | path | "OHN-49-R001" | "OHN-49-R002" | yes | |
from | query | string (date) | no | |
to | query | string (date) | no | |
kind | query | OrderKind | no | |
priority | query | string | no | |
reason_code | query | string | no | |
Responses
| Code | Description | Media type |
|---|
200 | Report | |
POST/api/ohn/v1/orders/reports/{rid}/exportCreate a signed CSV/PDF export (HMAC-SHA256 with OHN49_EXPORT_SIGNING_KEY)
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
rid | path | "OHN-49-R001" | "OHN-49-R002" | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
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
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
token | path | string | yes | |
Responses
| Code | Description | Media type |
|---|
200 | File | — |
404 | Expired | — |
ops
GET/health/ohn-49Health and dependency modes
Responses
| Code | Description | Media type |
|---|
200 | OK | |
503 | Database unavailable | — |
GET/api/ohn/v1/orders/auditAudit receipts for the caller organization (orders_admin)
Authentication: bearer
Responses
| Code | Description | Media type |
|---|
200 | OK | — |
GET/api/ohn/v1/orders/outboxOutbox delivery state (orders_admin)
Authentication: bearer
Responses
| Code | Description | Media type |
|---|
200 | OK | — |
POST/api/ohn/v1/orders/outbox/dispatchRelay pending events to OHN-24 (orders_admin)
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
Idempotency-Key | header | string | yes | |
Responses
| Code | Description | Media type |
|---|
200 | delivered, failed, pending_after | — |
503 | Typed error (error, message, guard?, setting?, dependency?, receipt?) | |
Schemas
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
| Name | Type | Required | Description |
|---|
principal_id | string (uuid) | yes | |
role | Role | yes | |
jurisdiction | string (uuid) | yes | |
organization_id | string (uuid) | yes | |
purpose | Purpose | yes | |
OrderContent
lab requires specimen_type + tests and forbids imaging fields; imaging requires modality, body_site, contrast, procedure_code, screening and forbids lab fields
OrderCreate
| Name | Type | Required | Description |
|---|
order_kind | OrderKind | yes | |
patient_ref | string (uuid) | yes | OHN-03 patient id |
performer_org | string (uuid) | yes | OHN-05 facility id of the performing lab or imaging centre |
priority | Code | yes | |
clinical_indication | string | yes | |
specimen_type | Code | no | |
tests | array of OrderCreate.tests.item | no | |
modality | Modality | no | |
body_site | Code | no | |
contrast | Contrast | no | |
procedure_code | string | no | |
procedure_display | string | no | |
screening | array of OrderCreate.screening.item | no | |
submit | boolean | no | |
OrderAmend
| Name | Type | Required | Description |
|---|
order_kind | OrderKind | yes | |
patient_ref | string (uuid) | yes | OHN-03 patient id |
performer_org | string (uuid) | yes | OHN-05 facility id of the performing lab or imaging centre |
priority | Code | yes | |
clinical_indication | string | yes | |
specimen_type | Code | no | |
tests | array of OrderAmend.tests.item | no | |
modality | Modality | no | |
body_site | Code | no | |
contrast | Contrast | no | |
procedure_code | string | no | |
procedure_display | string | no | |
screening | array of OrderAmend.screening.item | no | |
expected_version | integer | yes | |
reason | string | yes | |
Specimen
| Name | Type | Required | Description |
|---|
expected_version | integer | yes | |
specimen_type | Code | yes | |
accession_number | string | yes | |
collected_at | string (date-time) | yes | |
note | string | no | |
Schedule
| Name | Type | Required | Description |
|---|
expected_version | integer | yes | |
slot_start | string (date-time) | yes | |
slot_end | string (date-time) | yes | |
location | string | yes | |
Protocol
| Name | Type | Required | Description |
|---|
expected_version | integer | yes | |
protocol | string | yes | |
contrast | Contrast | yes | |
screening_reviewed | boolean | no | |
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.
| Name | Type | Required | Description |
|---|
expected_version | integer | yes | |
report_status | "preliminary" | "final" | "amended" | "corrected" | yes | |
issued_at | string (date-time) | yes | |
file_or_payload | string (uuid) | yes | |
payload_sha256 | string | no | |
source_interpretation | string | no | |
critical_declared | boolean | no | |
observations | array of object | no | |
imaging_studies | array of object | no | |
CodeListCommand
| Name | Type | Required | Description |
|---|
list_name | "priority" | "specimen_type" | "body_site" | "rejection_reason" | "cancel_reason" | yes | |
code | Code | yes | |
label_en | string | yes | |
label_fr | string | yes | |
active | boolean | no | |
PriorityTargetCommand
| Name | Type | Required | Description |
|---|
order_kind | OrderKind | yes | |
priority | Code | yes | |
target_minutes | integer | yes | |
ScreeningQuestionCommand
| Name | Type | Required | Description |
|---|
modality | Modality | yes | |
code | Code | yes | |
label_en | string | yes | |
label_fr | string | yes | |
required | boolean | no | |
review_on | array of "yes" | "no" | "unknown" | no | |
active | boolean | no | |
SettingsCommand
| Name | Type | Required | Description |
|---|
expected_version | integer | yes | |
lab_code_system | string (uri) | yes | |
imaging_code_system | string (uri) | yes | |
lab_report_type | Code | yes | |
imaging_report_type | Code | yes | |
consent_check_required | boolean | yes | |
consent_resource_class | Code | no | |
consent_purpose | Code | no | |
Order
| Name | Type | Required | Description |
|---|
id | string (uuid) | no | |
order_number | string | no | |
order_kind | OrderKind | no | |
status | OrderStatus | no | |
version | integer | no | |
jurisdiction_id | string | no | |
ordering_org | string | no | |
performer_org | string | no | |
patient_ref | string | no | |
priority | string | no | |
target_minutes | integer | null | no | |
due_at | string | null (date-time) | no | |
overdue | boolean | no | |
result_ref | string | null | no | OHN-11 DiagnosticReport id |
result_status | string | null | no | |
screening_review_required | boolean | no | |
OrderDetail
| Name | Type | Required | Description |
|---|
order | Order | no | |
tests | array of object | no | |
screening | array of object | no | |
specimens | array of object | no | |
history | array of object | no | |
allowed_actions | array of string | no | |
lifecycle | array of string | no | |
Report
| Name | Type | Required | Description |
|---|
report_id | string | no | |
title | string | no | |
columns | array of string | no | |
metrics | object | no | |
metric_definitions | object | no | |
data | array of object | no | |
provenance | object | no | |
Receipt
| Name | Type | Required | Description |
|---|
receipt_id | string (uuid) | no | |
committed_at | string (date-time) | no | |
aggregate_id | string | null | no | |
aggregate_type | string | no | |
version | integer | no | |
status | "committed" | "denied" | "refused" | no | |
Error
| Name | Type | Required | Description |
|---|
error | string | yes | |
message | string | no | |
guard | string | no | |
setting | string | no | |
dependency | string | no | |
details | object | no | |
receipt | Receipt | no | |
Health
| Name | Type | Required | Description |
|---|
status | string | no | |
module | "OHN-49" | no | |
dependencies | Health.dependencies | no | |
writes_enabled | boolean | no | |
export_signing_configured | boolean | no | |
jwt_configured | boolean | no | |
synthetic_auth | boolean | no | |
DepMode
"live" | "unconfigured" | "test_fake" | "test_failing"
get-api-ohn-v1-orders.response-200 defined inline
| Name | Type | Required | Description |
|---|
data | array of Order | no | |
total | integer | no | |
limit | integer | no | |
offset | integer | no | |
post-api-ohn-v1-orders.response-201 defined inline
post-api-ohn-v1-orders.response-201.events.item defined inline
| Name | Type | Required | Description |
|---|
event_id | string | no | |
event_type | string | no | |
delivery | "pending_downstream_confirmation" | no | |
get-api-ohn-v1-orders-worklist.response-200 defined inline
| Name | Type | Required | Description |
|---|
data | array of Order | no | |
total | integer | no | |
limit | integer | no | |
offset | integer | no | |
get-api-ohn-v1-orders-dashboard.response-200 defined inline
get-api-ohn-v1-orders-dashboard.response-200.kpis defined inline
| Name | Type | Required | Description |
|---|
open | integer | no | |
awaiting_review | integer | no | |
overdue | integer | no | |
drafts | integer | no | |
get-api-ohn-v1-orders-id-result.response-200 defined inline
| Name | Type | Required | Description |
|---|
order_id | string | no | |
result_ref | string | no | |
source | "OHN-11" | no | |
report | object | no | OHN-11 reportView |
post-api-ohn-v1-orders-id-result.response-200 defined inline
post-api-ohn-v1-orders-id-result.response-200.events.item defined inline
| Name | Type | Required | Description |
|---|
event_id | string | no | |
event_type | string | no | |
delivery | "pending_downstream_confirmation" | no | |
post-api-ohn-v1-orders-id-place.request defined inline
| Name | Type | Required | Description |
|---|
expected_version | integer | yes | |
note | string | no | |
post-api-ohn-v1-orders-id-place.response-200 defined inline
post-api-ohn-v1-orders-id-place.response-200.events.item defined inline
| Name | Type | Required | Description |
|---|
event_id | string | no | |
event_type | string | no | |
delivery | "pending_downstream_confirmation" | no | |
post-api-ohn-v1-orders-id-amend.response-200 defined inline
post-api-ohn-v1-orders-id-amend.response-200.events.item defined inline
| Name | Type | Required | Description |
|---|
event_id | string | no | |
event_type | string | no | |
delivery | "pending_downstream_confirmation" | no | |
post-api-ohn-v1-orders-id-accept.request defined inline
| Name | Type | Required | Description |
|---|
expected_version | integer | yes | |
note | string | no | |
post-api-ohn-v1-orders-id-accept.response-200 defined inline
post-api-ohn-v1-orders-id-accept.response-200.events.item defined inline
| Name | Type | Required | Description |
|---|
event_id | string | no | |
event_type | string | no | |
delivery | "pending_downstream_confirmation" | no | |
post-api-ohn-v1-orders-id-reject.request defined inline
| Name | Type | Required | Description |
|---|
expected_version | integer | yes | |
reason_code | Code | yes | |
reason | string | yes | |
post-api-ohn-v1-orders-id-reject.response-200 defined inline
post-api-ohn-v1-orders-id-reject.response-200.events.item defined inline
| Name | Type | Required | Description |
|---|
event_id | string | no | |
event_type | string | no | |
delivery | "pending_downstream_confirmation" | no | |
post-api-ohn-v1-orders-id-specimens.response-200 defined inline
post-api-ohn-v1-orders-id-specimens.response-200.events.item defined inline
| Name | Type | Required | Description |
|---|
event_id | string | no | |
event_type | string | no | |
delivery | "pending_downstream_confirmation" | no | |
post-api-ohn-v1-orders-id-start.request defined inline
| Name | Type | Required | Description |
|---|
expected_version | integer | yes | |
note | string | no | |
post-api-ohn-v1-orders-id-start.response-200 defined inline
post-api-ohn-v1-orders-id-start.response-200.events.item defined inline
| Name | Type | Required | Description |
|---|
event_id | string | no | |
event_type | string | no | |
delivery | "pending_downstream_confirmation" | no | |
post-api-ohn-v1-orders-id-schedule.response-200 defined inline
post-api-ohn-v1-orders-id-schedule.response-200.events.item defined inline
| Name | Type | Required | Description |
|---|
event_id | string | no | |
event_type | string | no | |
delivery | "pending_downstream_confirmation" | no | |
post-api-ohn-v1-orders-id-protocol.response-200 defined inline
post-api-ohn-v1-orders-id-protocol.response-200.events.item defined inline
| Name | Type | Required | Description |
|---|
event_id | string | no | |
event_type | string | no | |
delivery | "pending_downstream_confirmation" | no | |
post-api-ohn-v1-orders-id-performed.response-200 defined inline
post-api-ohn-v1-orders-id-performed.response-200.events.item defined inline
| Name | Type | Required | Description |
|---|
event_id | string | no | |
event_type | string | no | |
delivery | "pending_downstream_confirmation" | no | |
post-api-ohn-v1-orders-id-result-link.request defined inline
| Name | Type | Required | Description |
|---|
expected_version | integer | yes | |
ohn11_report_id | string (uuid) | yes | |
post-api-ohn-v1-orders-id-result-link.response-200 defined inline
post-api-ohn-v1-orders-id-result-link.response-200.events.item defined inline
| Name | Type | Required | Description |
|---|
event_id | string | no | |
event_type | string | no | |
delivery | "pending_downstream_confirmation" | no | |
post-api-ohn-v1-orders-id-review.request defined inline
| Name | Type | Required | Description |
|---|
expected_version | integer | yes | |
note | string | no | |
post-api-ohn-v1-orders-id-review.response-200 defined inline
post-api-ohn-v1-orders-id-review.response-200.events.item defined inline
| Name | Type | Required | Description |
|---|
event_id | string | no | |
event_type | string | no | |
delivery | "pending_downstream_confirmation" | no | |
post-api-ohn-v1-orders-id-cancel.request defined inline
| Name | Type | Required | Description |
|---|
expected_version | integer | yes | |
reason_code | Code | yes | |
reason | string | yes | |
post-api-ohn-v1-orders-id-cancel.response-200 defined inline
post-api-ohn-v1-orders-id-cancel.response-200.events.item defined inline
| Name | Type | Required | Description |
|---|
event_id | string | no | |
event_type | string | no | |
delivery | "pending_downstream_confirmation" | no | |
post-api-ohn-v1-orders-reports-rid-export.request defined inline
| Name | Type | Required | Description |
|---|
format | "csv" | "pdf" | yes | |
filters | object | no | |
OrderContent.tests.item defined inline
| Name | Type | Required | Description |
|---|
code | string | yes | |
display | string | no | |
OrderContent.screening.item defined inline
| Name | Type | Required | Description |
|---|
question_code | Code | yes | |
answer | "yes" | "no" | "unknown" | yes | |
note | string | no | |
OrderCreate.tests.item defined inline
| Name | Type | Required | Description |
|---|
code | string | yes | |
display | string | no | |
OrderCreate.screening.item defined inline
| Name | Type | Required | Description |
|---|
question_code | Code | yes | |
answer | "yes" | "no" | "unknown" | yes | |
note | string | no | |
OrderAmend.tests.item defined inline
| Name | Type | Required | Description |
|---|
code | string | yes | |
display | string | no | |
OrderAmend.screening.item defined inline
| Name | Type | Required | Description |
|---|
question_code | Code | yes | |
answer | "yes" | "no" | "unknown" | yes | |
note | string | no | |
Health.dependencies defined inline