Skip to content

← 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

NameInTypeRequiredDescription
statusquerystringno
kindqueryOrderKindno
priorityquerystringno
patient_refquerystring (uuid)no
qquerystringno
minequery"true"no
limitqueryintegerno
offsetqueryintegerno

Responses

CodeDescriptionMedia type
200Page
401Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
403Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
POST/api/ohn/v1/ordersCreate an order (draft, or placed when submit=true) — OHN-49-F001 (ordering_clinician)

Authentication: bearer

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstringyes

Request body (required)

Responses

CodeDescriptionMedia type
201Committed
403Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
409Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
422Field validation
application/json: Error
503Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
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

NameInTypeRequiredDescription
statusquerystringno
qquerystringno
limitqueryintegerno
offsetqueryintegerno

Responses

CodeDescriptionMedia type
200Page
403Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
GET/api/ohn/v1/orders/dashboardKPIs in scope

Authentication: bearer

Responses

CodeDescriptionMedia type
200OK
GET/api/ohn/v1/orders/{id}Order detail with tests, screening, specimens, timeline and allowed_actions

Authentication: bearer

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yes

Responses

CodeDescriptionMedia type
200OK
application/json: OrderDetail
404Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
GET/api/ohn/v1/orders/{id}/resultLive read of the linked OHN-11 DiagnosticReport (never cached)

Authentication: bearer

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yes

Responses

CodeDescriptionMedia type
200OK
404Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
503Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error

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

NameInTypeRequiredDescription
idpathstring (uuid)yes
Idempotency-Keyheaderstringyes

Request body (required)

Responses

CodeDescriptionMedia type
200Committed
403Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
404Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
409Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
422Field validation
application/json: Error
503Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
POST/api/ohn/v1/orders/{id}/placePlace a draft (ordering_clinician)

Authentication: bearer

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yes
Idempotency-Keyheaderstringyes

Request body (required)

Responses

CodeDescriptionMedia type
200Committed
403Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
404Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
409Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
422Field validation
application/json: Error
503Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
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

NameInTypeRequiredDescription
idpathstring (uuid)yes
Idempotency-Keyheaderstringyes

Request body (required)

Responses

CodeDescriptionMedia type
200Committed
403Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
404Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
409Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
422Field validation
application/json: Error
503Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
POST/api/ohn/v1/orders/{id}/acceptAccept (performer)

Authentication: bearer

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yes
Idempotency-Keyheaderstringyes

Request body (required)

Responses

CodeDescriptionMedia type
200Committed
403Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
404Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
409Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
422Field validation
application/json: Error
503Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
POST/api/ohn/v1/orders/{id}/rejectReject with a configured rejection_reason (performer)

Authentication: bearer

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yes
Idempotency-Keyheaderstringyes

Request body (required)

Responses

CodeDescriptionMedia type
200Committed
403Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
404Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
409Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
422Field validation
application/json: Error
503Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
POST/api/ohn/v1/orders/{id}/specimensRecord specimen collection (lab)

Authentication: bearer

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yes
Idempotency-Keyheaderstringyes

Request body (required)

Responses

CodeDescriptionMedia type
200Committed
403Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
404Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
409Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
422Field validation
application/json: Error
503Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
POST/api/ohn/v1/orders/{id}/startMark in progress (lab)

Authentication: bearer

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yes
Idempotency-Keyheaderstringyes

Request body (required)

Responses

CodeDescriptionMedia type
200Committed
403Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
404Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
409Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
422Field validation
application/json: Error
503Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
POST/api/ohn/v1/orders/{id}/scheduleSchedule or reschedule (imaging_technologist)

Authentication: bearer

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yes
Idempotency-Keyheaderstringyes

Request body (required)

Responses

CodeDescriptionMedia type
200Committed
403Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
404Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
409Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
422Field validation
application/json: Error
503Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
POST/api/ohn/v1/orders/{id}/protocolProtocol (radiologist); screening_reviewed required when screening flagged review

Authentication: bearer

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yes
Idempotency-Keyheaderstringyes

Request body (required)

Responses

CodeDescriptionMedia type
200Committed
403Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
404Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
409Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
422Field validation
application/json: Error
503Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
POST/api/ohn/v1/orders/{id}/performedMark performed (imaging_technologist)

Authentication: bearer

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yes
Idempotency-Keyheaderstringyes

Request body (required)

Responses

CodeDescriptionMedia type
200Committed
403Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
404Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
409Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
422Field validation
application/json: Error
503Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
POST/api/ohn/v1/orders/{id}/result-linkLink an existing OHN-11 report (same patient and source facility)

Authentication: bearer

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yes
Idempotency-Keyheaderstringyes

Request body (required)

Responses

CodeDescriptionMedia type
200Committed
403Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
404Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
409Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
422Field validation
application/json: Error
503Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
POST/api/ohn/v1/orders/{id}/reviewOrderer review; refused (409 result_not_final) unless the result is final/amended/corrected

Authentication: bearer

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yes
Idempotency-Keyheaderstringyes

Request body (required)

Responses

CodeDescriptionMedia type
200Committed
403Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
404Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
409Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
422Field validation
application/json: Error
503Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
POST/api/ohn/v1/orders/{id}/cancelCancel with a configured cancel_reason (orderer any open state; performer after accept)

Authentication: bearer

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yes
Idempotency-Keyheaderstringyes

Request body (required)

Responses

CodeDescriptionMedia type
200Committed
403Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
404Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
409Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
422Field validation
application/json: Error
503Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error

config

GET/api/ohn/v1/orders/configConfiguration and readiness (missing[] lists what blocks ordering)

Authentication: bearer

Responses

CodeDescriptionMedia type
200OK—
POST/api/ohn/v1/orders/config/code-listsUpsert a code (orders_admin)

Authentication: bearer

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstringyes

Request body (required)

Responses

CodeDescriptionMedia type
201Saved—
403Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
422Field validation
application/json: Error
POST/api/ohn/v1/orders/config/priority-targetsUpsert a turnaround target (orders_admin)

Authentication: bearer

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstringyes

Request body (required)

Responses

CodeDescriptionMedia type
201Saved—
422Field validation
application/json: Error
503Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
POST/api/ohn/v1/orders/config/screening-questionsUpsert a screening question (orders_admin)

Authentication: bearer

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstringyes

Request body (required)

Responses

CodeDescriptionMedia type
201Saved—
POST/api/ohn/v1/orders/config/settingsCreate (expected_version 0) or update settings (orders_admin)

Authentication: bearer

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstringyes

Request body (required)

Responses

CodeDescriptionMedia type
200Saved—
409Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error

reports

GET/api/ohn/v1/orders/reportsReport catalogue with metric definitions

Authentication: bearer

Responses

CodeDescriptionMedia type
200OK—
GET/api/ohn/v1/orders/reports/{rid}Run OHN-49-R001 (turnaround) or OHN-49-R002 (rejected)

Authentication: bearer

Parameters

NameInTypeRequiredDescription
ridpath"OHN-49-R001" | "OHN-49-R002"yes
fromquerystring (date)no
toquerystring (date)no
kindqueryOrderKindno
priorityquerystringno
reason_codequerystringno

Responses

CodeDescriptionMedia type
200Report
application/json: Report
POST/api/ohn/v1/orders/reports/{rid}/exportCreate a signed CSV/PDF export (HMAC-SHA256 with OHN49_EXPORT_SIGNING_KEY)

Authentication: bearer

Parameters

NameInTypeRequiredDescription
ridpath"OHN-49-R001" | "OHN-49-R002"yes
Idempotency-Keyheaderstringyes

Request body (required)

Responses

CodeDescriptionMedia type
201download_token, retrieval.path, signature—
503Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error
GET/api/ohn/v1/orders/exports/{token}One-time download by the same principal before expiry; X-OHN49-Signature header

Authentication: bearer

Parameters

NameInTypeRequiredDescription
tokenpathstringyes

Responses

CodeDescriptionMedia type
200File—
404Expired—

ops

GET/health/ohn-49Health and dependency modes

Responses

CodeDescriptionMedia type
200OK
application/json: Health
503Database unavailable—
GET/api/ohn/v1/orders/auditAudit receipts for the caller organization (orders_admin)

Authentication: bearer

Responses

CodeDescriptionMedia type
200OK—
GET/api/ohn/v1/orders/outboxOutbox delivery state (orders_admin)

Authentication: bearer

Responses

CodeDescriptionMedia type
200OK—
POST/api/ohn/v1/orders/outbox/dispatchRelay pending events to OHN-24 (orders_admin)

Authentication: bearer

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstringyes

Responses

CodeDescriptionMedia type
200delivered, failed, pending_after—
503Typed error (error, message, guard?, setting?, dependency?, receipt?)
application/json: Error

Schemas

Code

string

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

NameTypeRequiredDescription
principal_idstring (uuid)yes
roleRoleyes
jurisdictionstring (uuid)yes
organization_idstring (uuid)yes
purposePurposeyes

OrderContent

lab requires specimen_type + tests and forbids imaging fields; imaging requires modality, body_site, contrast, procedure_code, screening and forbids lab fields

NameTypeRequiredDescription
order_kindOrderKindyes
patient_refstring (uuid)yesOHN-03 patient id
performer_orgstring (uuid)yesOHN-05 facility id of the performing lab or imaging centre
priorityCodeyes
clinical_indicationstringyes
specimen_typeCodeno
testsarray of OrderContent.tests.itemno
modalityModalityno
body_siteCodeno
contrastContrastno
procedure_codestringno
procedure_displaystringno
screeningarray of OrderContent.screening.itemno

OrderCreate

NameTypeRequiredDescription
order_kindOrderKindyes
patient_refstring (uuid)yesOHN-03 patient id
performer_orgstring (uuid)yesOHN-05 facility id of the performing lab or imaging centre
priorityCodeyes
clinical_indicationstringyes
specimen_typeCodeno
testsarray of OrderCreate.tests.itemno
modalityModalityno
body_siteCodeno
contrastContrastno
procedure_codestringno
procedure_displaystringno
screeningarray of OrderCreate.screening.itemno
submitbooleanno

OrderAmend

NameTypeRequiredDescription
order_kindOrderKindyes
patient_refstring (uuid)yesOHN-03 patient id
performer_orgstring (uuid)yesOHN-05 facility id of the performing lab or imaging centre
priorityCodeyes
clinical_indicationstringyes
specimen_typeCodeno
testsarray of OrderAmend.tests.itemno
modalityModalityno
body_siteCodeno
contrastContrastno
procedure_codestringno
procedure_displaystringno
screeningarray of OrderAmend.screening.itemno
expected_versionintegeryes
reasonstringyes

Specimen

NameTypeRequiredDescription
expected_versionintegeryes
specimen_typeCodeyes
accession_numberstringyes
collected_atstring (date-time)yes
notestringno

Schedule

NameTypeRequiredDescription
expected_versionintegeryes
slot_startstring (date-time)yes
slot_endstring (date-time)yes
locationstringyes

Protocol

NameTypeRequiredDescription
expected_versionintegeryes
protocolstringyes
contrastContrastyes
screening_reviewedbooleanno

Performed

NameTypeRequiredDescription
expected_versionintegeryes
performed_atstring (date-time)no
notestringno

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.

NameTypeRequiredDescription
expected_versionintegeryes
report_status"preliminary" | "final" | "amended" | "corrected"yes
issued_atstring (date-time)yes
file_or_payloadstring (uuid)yes
payload_sha256stringno
source_interpretationstringno
critical_declaredbooleanno
observationsarray of objectno
imaging_studiesarray of objectno

CodeListCommand

NameTypeRequiredDescription
list_name"priority" | "specimen_type" | "body_site" | "rejection_reason" | "cancel_reason"yes
codeCodeyes
label_enstringyes
label_frstringyes
activebooleanno

PriorityTargetCommand

NameTypeRequiredDescription
order_kindOrderKindyes
priorityCodeyes
target_minutesintegeryes

ScreeningQuestionCommand

NameTypeRequiredDescription
modalityModalityyes
codeCodeyes
label_enstringyes
label_frstringyes
requiredbooleanno
review_onarray of "yes" | "no" | "unknown"no
activebooleanno

SettingsCommand

NameTypeRequiredDescription
expected_versionintegeryes
lab_code_systemstring (uri)yes
imaging_code_systemstring (uri)yes
lab_report_typeCodeyes
imaging_report_typeCodeyes
consent_check_requiredbooleanyes
consent_resource_classCodeno
consent_purposeCodeno

Order

NameTypeRequiredDescription
idstring (uuid)no
order_numberstringno
order_kindOrderKindno
statusOrderStatusno
versionintegerno
jurisdiction_idstringno
ordering_orgstringno
performer_orgstringno
patient_refstringno
prioritystringno
target_minutesinteger | nullno
due_atstring | null (date-time)no
overduebooleanno
result_refstring | nullnoOHN-11 DiagnosticReport id
result_statusstring | nullno
screening_review_requiredbooleanno

OrderDetail

NameTypeRequiredDescription
orderOrderno
testsarray of objectno
screeningarray of objectno
specimensarray of objectno
historyarray of objectno
allowed_actionsarray of stringno
lifecyclearray of stringno

Report

NameTypeRequiredDescription
report_idstringno
titlestringno
columnsarray of stringno
metricsobjectno
metric_definitionsobjectno
dataarray of objectno
provenanceobjectno

Receipt

NameTypeRequiredDescription
receipt_idstring (uuid)no
committed_atstring (date-time)no
aggregate_idstring | nullno
aggregate_typestringno
versionintegerno
status"committed" | "denied" | "refused"no

Error

NameTypeRequiredDescription
errorstringyes
messagestringno
guardstringno
settingstringno
dependencystringno
detailsobjectno
receiptReceiptno

Health

NameTypeRequiredDescription
statusstringno
module"OHN-49"no
dependenciesHealth.dependenciesno
writes_enabledbooleanno
export_signing_configuredbooleanno
jwt_configuredbooleanno
synthetic_authbooleanno

DepMode

"live" | "unconfigured" | "test_fake" | "test_failing"

get-api-ohn-v1-orders.response-200 defined inline

NameTypeRequiredDescription
dataarray of Orderno
totalintegerno
limitintegerno
offsetintegerno

post-api-ohn-v1-orders.response-201 defined inline

NameTypeRequiredDescription
orderOrderno
receiptReceiptno
eventsarray of post-api-ohn-v1-orders.response-201.events.itemno

post-api-ohn-v1-orders.response-201.events.item defined inline

NameTypeRequiredDescription
event_idstringno
event_typestringno
delivery"pending_downstream_confirmation"no

get-api-ohn-v1-orders-worklist.response-200 defined inline

NameTypeRequiredDescription
dataarray of Orderno
totalintegerno
limitintegerno
offsetintegerno

get-api-ohn-v1-orders-dashboard.response-200 defined inline

NameTypeRequiredDescription
by_statusobjectno
kpisget-api-ohn-v1-orders-dashboard.response-200.kpisno

get-api-ohn-v1-orders-dashboard.response-200.kpis defined inline

NameTypeRequiredDescription
openintegerno
awaiting_reviewintegerno
overdueintegerno
draftsintegerno

get-api-ohn-v1-orders-id-result.response-200 defined inline

NameTypeRequiredDescription
order_idstringno
result_refstringno
source"OHN-11"no
reportobjectnoOHN-11 reportView

post-api-ohn-v1-orders-id-result.response-200 defined inline

NameTypeRequiredDescription
orderOrderno
receiptReceiptno
eventsarray of post-api-ohn-v1-orders-id-result.response-200.events.itemno

post-api-ohn-v1-orders-id-result.response-200.events.item defined inline

NameTypeRequiredDescription
event_idstringno
event_typestringno
delivery"pending_downstream_confirmation"no

post-api-ohn-v1-orders-id-place.request defined inline

NameTypeRequiredDescription
expected_versionintegeryes
notestringno

post-api-ohn-v1-orders-id-place.response-200 defined inline

NameTypeRequiredDescription
orderOrderno
receiptReceiptno
eventsarray of post-api-ohn-v1-orders-id-place.response-200.events.itemno

post-api-ohn-v1-orders-id-place.response-200.events.item defined inline

NameTypeRequiredDescription
event_idstringno
event_typestringno
delivery"pending_downstream_confirmation"no

post-api-ohn-v1-orders-id-amend.response-200 defined inline

NameTypeRequiredDescription
orderOrderno
receiptReceiptno
eventsarray of post-api-ohn-v1-orders-id-amend.response-200.events.itemno

post-api-ohn-v1-orders-id-amend.response-200.events.item defined inline

NameTypeRequiredDescription
event_idstringno
event_typestringno
delivery"pending_downstream_confirmation"no

post-api-ohn-v1-orders-id-accept.request defined inline

NameTypeRequiredDescription
expected_versionintegeryes
notestringno

post-api-ohn-v1-orders-id-accept.response-200 defined inline

NameTypeRequiredDescription
orderOrderno
receiptReceiptno
eventsarray of post-api-ohn-v1-orders-id-accept.response-200.events.itemno

post-api-ohn-v1-orders-id-accept.response-200.events.item defined inline

NameTypeRequiredDescription
event_idstringno
event_typestringno
delivery"pending_downstream_confirmation"no

post-api-ohn-v1-orders-id-reject.request defined inline

NameTypeRequiredDescription
expected_versionintegeryes
reason_codeCodeyes
reasonstringyes

post-api-ohn-v1-orders-id-reject.response-200 defined inline

NameTypeRequiredDescription
orderOrderno
receiptReceiptno
eventsarray of post-api-ohn-v1-orders-id-reject.response-200.events.itemno

post-api-ohn-v1-orders-id-reject.response-200.events.item defined inline

NameTypeRequiredDescription
event_idstringno
event_typestringno
delivery"pending_downstream_confirmation"no

post-api-ohn-v1-orders-id-specimens.response-200 defined inline

NameTypeRequiredDescription
orderOrderno
receiptReceiptno
eventsarray of post-api-ohn-v1-orders-id-specimens.response-200.events.itemno

post-api-ohn-v1-orders-id-specimens.response-200.events.item defined inline

NameTypeRequiredDescription
event_idstringno
event_typestringno
delivery"pending_downstream_confirmation"no

post-api-ohn-v1-orders-id-start.request defined inline

NameTypeRequiredDescription
expected_versionintegeryes
notestringno

post-api-ohn-v1-orders-id-start.response-200 defined inline

NameTypeRequiredDescription
orderOrderno
receiptReceiptno
eventsarray of post-api-ohn-v1-orders-id-start.response-200.events.itemno

post-api-ohn-v1-orders-id-start.response-200.events.item defined inline

NameTypeRequiredDescription
event_idstringno
event_typestringno
delivery"pending_downstream_confirmation"no

post-api-ohn-v1-orders-id-schedule.response-200 defined inline

NameTypeRequiredDescription
orderOrderno
receiptReceiptno
eventsarray of post-api-ohn-v1-orders-id-schedule.response-200.events.itemno

post-api-ohn-v1-orders-id-schedule.response-200.events.item defined inline

NameTypeRequiredDescription
event_idstringno
event_typestringno
delivery"pending_downstream_confirmation"no

post-api-ohn-v1-orders-id-protocol.response-200 defined inline

NameTypeRequiredDescription
orderOrderno
receiptReceiptno
eventsarray of post-api-ohn-v1-orders-id-protocol.response-200.events.itemno

post-api-ohn-v1-orders-id-protocol.response-200.events.item defined inline

NameTypeRequiredDescription
event_idstringno
event_typestringno
delivery"pending_downstream_confirmation"no

post-api-ohn-v1-orders-id-performed.response-200 defined inline

NameTypeRequiredDescription
orderOrderno
receiptReceiptno
eventsarray of post-api-ohn-v1-orders-id-performed.response-200.events.itemno

post-api-ohn-v1-orders-id-performed.response-200.events.item defined inline

NameTypeRequiredDescription
event_idstringno
event_typestringno
delivery"pending_downstream_confirmation"no

post-api-ohn-v1-orders-id-result-link.request defined inline

NameTypeRequiredDescription
expected_versionintegeryes
ohn11_report_idstring (uuid)yes

post-api-ohn-v1-orders-id-result-link.response-200 defined inline

NameTypeRequiredDescription
orderOrderno
receiptReceiptno
eventsarray of post-api-ohn-v1-orders-id-result-link.response-200.events.itemno

post-api-ohn-v1-orders-id-result-link.response-200.events.item defined inline

NameTypeRequiredDescription
event_idstringno
event_typestringno
delivery"pending_downstream_confirmation"no

post-api-ohn-v1-orders-id-review.request defined inline

NameTypeRequiredDescription
expected_versionintegeryes
notestringno

post-api-ohn-v1-orders-id-review.response-200 defined inline

NameTypeRequiredDescription
orderOrderno
receiptReceiptno
eventsarray of post-api-ohn-v1-orders-id-review.response-200.events.itemno

post-api-ohn-v1-orders-id-review.response-200.events.item defined inline

NameTypeRequiredDescription
event_idstringno
event_typestringno
delivery"pending_downstream_confirmation"no

post-api-ohn-v1-orders-id-cancel.request defined inline

NameTypeRequiredDescription
expected_versionintegeryes
reason_codeCodeyes
reasonstringyes

post-api-ohn-v1-orders-id-cancel.response-200 defined inline

NameTypeRequiredDescription
orderOrderno
receiptReceiptno
eventsarray of post-api-ohn-v1-orders-id-cancel.response-200.events.itemno

post-api-ohn-v1-orders-id-cancel.response-200.events.item defined inline

NameTypeRequiredDescription
event_idstringno
event_typestringno
delivery"pending_downstream_confirmation"no

post-api-ohn-v1-orders-reports-rid-export.request defined inline

NameTypeRequiredDescription
format"csv" | "pdf"yes
filtersobjectno

OrderContent.tests.item defined inline

NameTypeRequiredDescription
codestringyes
displaystringno

OrderContent.screening.item defined inline

NameTypeRequiredDescription
question_codeCodeyes
answer"yes" | "no" | "unknown"yes
notestringno

OrderCreate.tests.item defined inline

NameTypeRequiredDescription
codestringyes
displaystringno

OrderCreate.screening.item defined inline

NameTypeRequiredDescription
question_codeCodeyes
answer"yes" | "no" | "unknown"yes
notestringno

OrderAmend.tests.item defined inline

NameTypeRequiredDescription
codestringyes
displaystringno

OrderAmend.screening.item defined inline

NameTypeRequiredDescription
question_codeCodeyes
answer"yes" | "no" | "unknown"yes
notestringno

Health.dependencies defined inline

NameTypeRequiredDescription
OHN-03DepModeno
OHN-05DepModeno
OHN-11DepModeno
OHN-15DepModeno
OHN-23DepModeno
OHN-24DepModeno