OHN-51 Claims and Pre-authorisation
- Version
- 1.0.1
- OpenAPI
- 3.1.0
- Source in the repository
modules/OHN-51/api/openapi.yaml- Servers
https://opeshealthnetwork.com- Authentication
bearer: http bearer (JWT)
Contracts are written in English.
Providers request pre-authorisation and submit claims; insurers review, adjudicate line by line, pay and decide appeals. Every write requires `Idempotency-Key` (same key + same body replays the first answer with `Idempotent-Replay: true`; same key + different body = 409 idempotency_conflict). Mutating commands carry `expected_version` (409 version_conflict). Authorisation: bearer token of the OHN gateway (Java service: ES256, iss `ohn-platform-gateway`, aud `ohn-51`; the TypeScript baseline: HS256, iss `ohn-51-claims`, aud `ohn-51-api`), claims sub, role, jurisdiction, organization_id, purpose (subject, jurisdiction and organization must be RFC-4122 uuids, else 401), default-deny route permission table, organisation scope (provider roles: own provider organisation; payer roles: claims addressed to them). Money is integer minor units of the payer's configured currency. Refusals: a route outside the permission table is 404 not_found; a purpose that is not the role's bound purpose or does not cover the action is 403 denied_by_policy; a role without the action is 403 forbidden. claims_oversight (network staff) is jurisdiction-wide, read-only, bound to purpose claims_oversight, sees no clinical or free-text content (`withheld`), and every read and refusal is audited before data is read. 1.0.1: the TypeScript-only synthetic `POST /api/ohn/v1/claims/auth/token` is not served (tokens come from the gateway); a non-JSON content type is 415 unsupported_media_type; a JSON body that is not an object or array is 400 malformed_json.
Operations
- preauthorizations (7)
- claims (12)
- payer (9)
- reports (2)
- operations (2)
preauthorizations
GET/api/ohn/v1/preauthorizations
Operation ID: listPreauthorizations
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
state | query | PreauthState | no |
Responses
| Code | Description | Media type |
|---|---|---|
200 | Latest 200 in scope | application/json: get-api-ohn-v1-preauthorizations.response-200 |
401 | Error | application/json: Error |
403 | Error | application/json: Error |
POST/api/ohn/v1/preauthorizations
provider_billing. Checks payer policy, active tariff, OHN-05 facility (published), OHN-03 patient, OHN-30 inquiry (eligible, same patient and payer), OHN-23 code, OHN-13 attachments (indexed).
Operation ID: createPreauthorization
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
Idempotency-Key | header | string | yes |
Request body (required)
application/json:PreauthCreate
Responses
GET/api/ohn/v1/preauthorizations/{id}
Operation ID: getPreauthorization
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | yes |
Responses
| Code | Description | Media type |
|---|---|---|
200 | Detail with decisions | application/json: PreauthorizationDetail |
404 | Error | application/json: Error |
POST/api/ohn/v1/preauthorizations/{id}/respond
provider_billing; pended -> submitted.
Operation ID: respondPreauthorization
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | yes | |
Idempotency-Key | header | string | yes |
Request body (required)
application/json:post-api-ohn-v1-preauthorizations-id-respond.request
Responses
| Code | Description | Media type |
|---|---|---|
200 | Committed | application/json: post-api-ohn-v1-preauthorizations-id-respond.response-200 |
409 | Error | application/json: Error |
422 | Error | application/json: Error |
POST/api/ohn/v1/preauthorizations/{id}/pend
claims_adjudicator or medical_reviewer; submitted -> pended; reason code in category `pend`.
Operation ID: pendPreauthorization
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | yes | |
Idempotency-Key | header | string | yes |
Request body (required)
application/json:post-api-ohn-v1-preauthorizations-id-pend.request
Responses
| Code | Description | Media type |
|---|---|---|
200 | Committed | application/json: post-api-ohn-v1-preauthorizations-id-pend.response-200 |
409 | Error | application/json: Error |
422 | Error | application/json: Error |
503 | Error | application/json: Error |
POST/api/ohn/v1/preauthorizations/{id}/decision
medical_reviewer only. approve = all requested units; partial = fewer units + preauth_partial reason; deny = preauth_deny reason. Validity <= preauth_max_validity_days.
Operation ID: decidePreauthorization
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | yes | |
Idempotency-Key | header | string | yes |
Request body (required)
application/json:PreauthDecision
Responses
| Code | Description | Media type |
|---|---|---|
200 | Committed | application/json: post-api-ohn-v1-preauthorizations-id-decision.response-200 |
403 | Error | application/json: Error |
409 | Error | application/json: Error |
422 | Error | application/json: Error |
503 | Error | application/json: Error |
POST/api/ohn/v1/preauthorizations/{id}/appeal
provider_billing; denied or partially_approved -> appealed; once; within appeal_window_days of the decision.
Operation ID: appealPreauthorization
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | yes | |
Idempotency-Key | header | string | yes |
Request body (required)
application/json:AppealCreate
Responses
| Code | Description | Media type |
|---|---|---|
201 | Filed | application/json: post-api-ohn-v1-preauthorizations-id-appeal.response-201 |
409 | Error | application/json: Error |
422 | Error | application/json: Error |
503 | Error | application/json: Error |
claims
GET/api/ohn/v1/claims
Payer roles never see drafts.
Operation ID: listClaims
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
state | query | ClaimState | no |
Responses
| Code | Description | Media type |
|---|---|---|
200 | Latest 200 in scope | application/json: get-api-ohn-v1-claims.response-200 |
POST/api/ohn/v1/claims
provider_billing; creates a draft. Nothing is checked against other services until submit.
Operation ID: createClaim
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
Idempotency-Key | header | string | yes |
Request body (required)
application/json:ClaimCreate
Responses
| Code | Description | Media type |
|---|---|---|
201 | Committed | application/json: post-api-ohn-v1-claims.response-201 |
422 | Error | application/json: Error |
GET/api/ohn/v1/claims/{id}
Operation ID: getClaim
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | yes |
Responses
| Code | Description | Media type |
|---|---|---|
200 | Detail | application/json: ClaimDetail |
404 | Error | application/json: Error |
PUT/api/ohn/v1/claims/{id}
Operation ID: updateClaimDraft
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | yes | |
Idempotency-Key | header | string | yes |
Request body (required)
application/json:ClaimLinesCommand
Responses
| Code | Description | Media type |
|---|---|---|
200 | Committed | application/json: put-api-ohn-v1-claims-id.response-200 |
409 | Error | application/json: Error |
POST/api/ohn/v1/claims/{id}/submit
draft -> submitted. Order: payer policy (currency, duplicate_window_days); exact duplicate (409 duplicate_claim, duplicate_of); per line tariff (422 tariff_not_configured), units_exceed_tariff, preauth_required / preauth_not_found / preauth_not_approved / preauth_code_mismatch / preauth_out_of_validity / preauth_units_exhausted; then OHN-05, OHN-03, OHN-30, OHN-23, OHN-13. Near duplicates are accepted and flagged duplicate_suspect_of.
Operation ID: submitClaim
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | yes | |
Idempotency-Key | header | string | yes |
Request body (required)
application/json:VersionOnly
Responses
| Code | Description | Media type |
|---|---|---|
200 | Committed | application/json: post-api-ohn-v1-claims-id-submit.response-200 |
409 | Error | application/json: Error |
422 | Error | application/json: Error |
503 | Error | application/json: Error |
POST/api/ohn/v1/claims/{id}/resubmit
provider_billing; denied -> resubmitted; returns the new corrected draft (replaces_claim_id).
Operation ID: resubmitClaim
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | yes | |
Idempotency-Key | header | string | yes |
Request body (required)
application/json:ClaimLinesCommand
Responses
| Code | Description | Media type |
|---|---|---|
201 | Committed | application/json: post-api-ohn-v1-claims-id-resubmit.response-201 |
409 | Error | application/json: Error |
POST/api/ohn/v1/claims/{id}/acknowledge
Operation ID: acknowledgeClaim
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | yes | |
Idempotency-Key | header | string | yes |
Request body (required)
application/json:VersionOnly
Responses
| Code | Description | Media type |
|---|---|---|
200 | Committed | application/json: post-api-ohn-v1-claims-id-acknowledge.response-200 |
409 | Error | application/json: Error |
POST/api/ohn/v1/claims/{id}/adjudications
acknowledged claims only. Lines billed >= medical_review_threshold_minor need medical_reviewer (403 medical_review_required). accept = ceiling min(billed, qty x tariff); adjust < ceiling with claim_line_adjust reason; deny with claim_line_deny reason.
Operation ID: adjudicateClaimLines
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | yes | |
Idempotency-Key | header | string | yes |
Request body (required)
application/json:LineAdjudication
Responses
| Code | Description | Media type |
|---|---|---|
200 | Committed | application/json: post-api-ohn-v1-claims-id-adjudications.response-200 |
403 | Error | application/json: Error |
409 | Error | application/json: Error |
422 | Error | application/json: Error |
503 | Error | application/json: Error |
POST/api/ohn/v1/claims/{id}/finalize
All lines decided -> adjudicated (allowed total) or denied (every line denied); else 422 lines_not_adjudicated.
Operation ID: finalizeClaim
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | yes | |
Idempotency-Key | header | string | yes |
Request body (required)
application/json:VersionOnly
Responses
| Code | Description | Media type |
|---|---|---|
200 | Committed | application/json: post-api-ohn-v1-claims-id-finalize.response-200 |
422 | Error | application/json: Error |
POST/api/ohn/v1/claims/{id}/appeal
provider_billing; adjudicated, denied or paid -> appealed; once; within appeal_window_days of adjudication.
Operation ID: appealClaim
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | yes | |
Idempotency-Key | header | string | yes |
Request body (required)
application/json:AppealCreate
Responses
| Code | Description | Media type |
|---|---|---|
201 | Filed | application/json: post-api-ohn-v1-claims-id-appeal.response-201 |
409 | Error | application/json: Error |
422 | Error | application/json: Error |
GET/api/ohn/v1/claims/appeals
Operation ID: listAppeals
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
state | query | "open" | "upheld" | "overturned" | no |
Responses
| Code | Description | Media type |
|---|---|---|
200 | Appeals in scope with their decision | application/json: get-api-ohn-v1-claims-appeals.response-200 |
POST/api/ohn/v1/claims/appeals/{id}/decision
claims_adjudicator or medical_reviewer (pre-auth appeals medical_reviewer only); the filer may not decide; reason code category appeal. Overturning a pre-auth requires approved_units, valid_from, valid_to.
Operation ID: decideAppeal
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | yes | |
Idempotency-Key | header | string | yes |
Request body (required)
application/json:AppealDecision
Responses
| Code | Description | Media type |
|---|---|---|
200 | Decided | application/json: post-api-ohn-v1-claims-appeals-id-decision.response-200 |
403 | Error | application/json: Error |
409 | Error | application/json: Error |
422 | Error | application/json: Error |
payer
GET/api/ohn/v1/claims/config
Payer roles read their own organisation's configuration; provider_billing passes payer_org_id.
Operation ID: getPayerConfig
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
payer_org_id | query | string (uuid) | no |
Responses
| Code | Description | Media type |
|---|---|---|
200 | Configuration | application/json: PayerConfig |
422 | Error | application/json: Error |
PUT/api/ohn/v1/claims/config/policy
claims_admin; expected_version required when a policy exists.
Operation ID: putPayerPolicy
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
Idempotency-Key | header | string | yes |
Request body (required)
application/json:PayerPolicy
Responses
POST/api/ohn/v1/claims/config/reason-codes
Operation ID: upsertReasonCode
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
Idempotency-Key | header | string | yes |
Request body (required)
application/json:ReasonCode
Responses
| Code | Description | Media type |
|---|---|---|
201 | Upserted | — |
POST/api/ohn/v1/claims/config/tariffs
GET/api/ohn/v1/claims/payment-batches
Operation ID: listPaymentBatches
Authentication: bearer
Responses
| Code | Description | Media type |
|---|---|---|
200 | Batches of the payer | — |
POST/api/ohn/v1/claims/payment-batches
payer_finance; adjudicated claims of this payer, one currency, not in another open batch, outstanding amount > 0.
Operation ID: createPaymentBatch
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
Idempotency-Key | header | string | yes |
Request body (required)
application/json:post-api-ohn-v1-claims-payment-batches.request
Responses
GET/api/ohn/v1/claims/payment-batches/{id}
Operation ID: getPaymentBatch
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | yes |
Responses
| Code | Description | Media type |
|---|---|---|
200 | Batch with items | — |
404 | Error | application/json: Error |
POST/api/ohn/v1/claims/payment-batches/{id}/release
payer_finance other than the batch creator (403 separation_of_duties). Writes remittances, marks claims paid, emits claims.claim.paid.
Operation ID: releasePaymentBatch
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | yes | |
Idempotency-Key | header | string | yes |
Request body (required)
application/json:post-api-ohn-v1-claims-payment-batches-id-release.request
Responses
GET/api/ohn/v1/claims/remittances
provider_billing sees remittances to its organisation; payer roles see what they paid.
Operation ID: listRemittances
Authentication: bearer
Responses
| Code | Description | Media type |
|---|---|---|
200 | Remittances with line breakdown | application/json: get-api-ohn-v1-claims-remittances.response-200 |
reports
GET/api/ohn/v1/claims/reports/{reportId}
GET/api/ohn/v1/claims/reports/{reportId}/export
Operation ID: exportReport
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
reportId | path | "OHN-51-R001" | "OHN-51-R002" | "OHN-51-R003" | yes | |
from | query | string (date) | no | |
to | query | string (date) | no |
Responses
| Code | Description | Media type |
|---|---|---|
200 | CSV; X-OHN51-Signature = sha256=HMAC-SHA256(OHN51_EXPORT_SIGNING_KEY, body) | text/csv: string |
503 | Error | application/json: Error |
operations
GET/health/ohn-51
POST/api/ohn/v1/claims/maintenance/relay-outbox
claims_admin; delivers pending outbox rows of the caller's jurisdiction to OHN-24.
Operation ID: relayOutbox
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
Idempotency-Key | header | string | yes |
Responses
| Code | Description | Media type |
|---|---|---|
200 | Result | application/json: post-api-ohn-v1-claims-maintenance-relay-outbox.response-200 |
Schemas
Error
| Name | Type | Required | Description |
|---|---|---|---|
error | string | yes | unauthenticated, forbidden, denied_by_policy, not_found, missing_idempotency_key, idempotency_conflict, version_conflict, invalid_transition, duplicate_claim, domain_validation_failed, not_configured, dependency_unavailable, rate_limited, and the named rule codes |
message | string | no | |
details | object | no | |
setting | string | no | |
dependency | "OHN-03" | "OHN-05" | "OHN-13" | "OHN-23" | "OHN-24" | "OHN-30" | no | |
configured | boolean | no | |
duplicate_of | string (uuid) | no | |
line_no | integer | no |
Health
| Name | Type | Required | Description |
|---|---|---|---|
status | "ok" | "unavailable" | no | |
module | "OHN-51" | no | |
database | "ok" | "unavailable" | no | |
dependencies | object | no | |
writes_enabled | boolean | no | |
export_signing_configured | boolean | no | |
synthetic_auth | boolean | no | |
jwt_configured | boolean | no |
Role
"provider_billing" | "claims_adjudicator" | "medical_reviewer" | "payer_finance" | "claims_admin" | "claims_oversight"
PreauthState
"submitted" | "pended" | "approved" | "partially_approved" | "denied" | "appealed" | "final"
ClaimState
"draft" | "submitted" | "acknowledged" | "adjudicated" | "denied" | "paid" | "appealed" | "resubmitted" | "final"
Attachments
OHN-13 document ids (must be indexed)
array of string (uuid)
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" | "refused" | no |
EventRef
| Name | Type | Required | Description |
|---|---|---|---|
event_id | string (uuid) | no | |
event_type | string | no | |
delivery | "pending_downstream_confirmation" | no |
VersionOnly
| Name | Type | Required | Description |
|---|---|---|---|
expected_version | integer | yes |
PreauthCreate
| Name | Type | Required | Description |
|---|---|---|---|
payer_org_id | string (uuid) | yes | |
facility_id | string (uuid) | yes | |
patient_ref | string (uuid) | yes | |
eligibility_inquiry_ref | string (uuid) | yes | |
code_system | string | yes | |
service_code | string | yes | |
requested_units | integer | yes | |
requested_amount_minor | integer | no | |
clinical_justification | string | yes | |
attachment_refs | Attachments | no | OHN-13 document ids (must be indexed) |
PreauthDecision
| Name | Type | Required | Description |
|---|---|---|---|
expected_version | integer | yes | |
decision | "approve" | "partial" | "deny" | yes | |
reason_code | string | no | |
note | string | yes | |
approved_units | integer | no | |
approved_amount_minor | integer | no | |
valid_from | string (date) | no | |
valid_to | string (date) | no |
ClaimLineInput
| Name | Type | Required | Description |
|---|---|---|---|
code_system | string | yes | |
service_code | string | yes | |
quantity | integer | yes | |
unit_price_minor | integer | yes | |
preauth_id | string (uuid) | no |
ClaimCreate
| Name | Type | Required | Description |
|---|---|---|---|
payer_org_id | string (uuid) | yes | |
facility_id | string (uuid) | yes | |
patient_ref | string (uuid) | yes | |
encounter_ref | string (uuid) | yes | |
eligibility_inquiry_ref | string (uuid) | yes | |
service_date | string (date) | yes | |
lines | array of ClaimLineInput | yes | |
attachment_refs | Attachments | no | OHN-13 document ids (must be indexed) |
ClaimLinesCommand
| Name | Type | Required | Description |
|---|---|---|---|
expected_version | integer | yes | |
lines | array of ClaimLineInput | yes | |
attachment_refs | Attachments | no | OHN-13 document ids (must be indexed) |
LineAdjudication
| Name | Type | Required | Description |
|---|---|---|---|
expected_version | integer | yes | |
decisions | array of LineAdjudication.decisions.item | yes |
Claim
| Name | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | no | |
claim_number | string | no | |
provider_org_id | string (uuid) | no | |
payer_org_id | string (uuid) | no | |
facility_id | string (uuid) | no | |
patient_ref | string (uuid) | no | |
encounter_ref | string (uuid) | no | |
eligibility_inquiry_ref | string (uuid) | no | |
eligibility_outcome | string | null | no | |
service_date | string (date) | no | |
currency | string | null | no | |
billed_total_minor | integer | no | |
allowed_total_minor | integer | null | no | |
paid_total_minor | integer | no | |
state | ClaimState | no | |
duplicate_suspect_of | string | null (uuid) | no | |
replaces_claim_id | string | null (uuid) | no | |
replaced_by_claim_id | string | null (uuid) | no | |
adjudication_round | integer | no | |
submitted_at | string | null (date-time) | no | |
acknowledged_at | string | null (date-time) | no | |
adjudicated_at | string | null (date-time) | no | |
paid_at | string | null (date-time) | no | |
appeal_count | integer | no | |
version | integer | no | |
next_actions | array of string | no |
ClaimDetail
| Name | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | no | |
claim_number | string | no | |
provider_org_id | string (uuid) | no | |
payer_org_id | string (uuid) | no | |
facility_id | string (uuid) | no | |
patient_ref | string (uuid) | no | |
encounter_ref | string (uuid) | no | |
eligibility_inquiry_ref | string (uuid) | no | |
eligibility_outcome | string | null | no | |
service_date | string (date) | no | |
currency | string | null | no | |
billed_total_minor | integer | no | |
allowed_total_minor | integer | null | no | |
paid_total_minor | integer | no | |
state | ClaimState | no | |
duplicate_suspect_of | string | null (uuid) | no | |
replaces_claim_id | string | null (uuid) | no | |
replaced_by_claim_id | string | null (uuid) | no | |
adjudication_round | integer | no | |
submitted_at | string | null (date-time) | no | |
acknowledged_at | string | null (date-time) | no | |
adjudicated_at | string | null (date-time) | no | |
paid_at | string | null (date-time) | no | |
appeal_count | integer | no | |
version | integer | no | |
next_actions | array of string | no | |
lines | array of ClaimDetail.lines.item | no | |
adjudications | array of object | no | |
timeline | array of HistoryEntry | no | |
appeals | array of Appeal | no | |
remittances | array of Remittance | no | |
medical_review_threshold_minor | integer | null | no |
HistoryEntry
| Name | Type | Required | Description |
|---|---|---|---|
id | string | no | |
from_state | string | null | no | |
to_state | string | no | |
action | string | no | |
version | integer | no | |
actor_role | string | no | |
reason | string | null | no | |
created_at | string (date-time) | no |
AppealCreate
| Name | Type | Required | Description |
|---|---|---|---|
expected_version | integer | yes | |
reason | string | yes | |
attachment_refs | Attachments | no | OHN-13 document ids (must be indexed) |
AppealDecision
| Name | Type | Required | Description |
|---|---|---|---|
expected_version | integer | yes | |
outcome | "upheld" | "overturned" | yes | |
reason_code | string | yes | |
note | string | yes | |
approved_units | integer | no | |
approved_amount_minor | integer | no | |
valid_from | string (date) | no | |
valid_to | string (date) | no |
Appeal
| Name | Type | Required | Description |
|---|---|---|---|
id | string | no | |
subject_type | "claim" | "preauth" | no | |
subject_id | string | no | |
provider_org_id | string | no | |
payer_org_id | string | no | |
prior_state | string | no | |
reason | string | no | |
attachment_refs | Attachments | no | OHN-13 document ids (must be indexed) |
state | "open" | "upheld" | "overturned" | no | |
version | integer | no | |
decision | object | null | no |
PayerPolicy
| Name | Type | Required | Description |
|---|---|---|---|
currency | string | yes | |
medical_review_threshold_minor | integer | null | yes | |
duplicate_window_days | integer | null | yes | |
appeal_window_days | integer | null | yes | |
preauth_max_validity_days | integer | null | yes | |
expected_version | integer | no |
ReasonCode
| Name | Type | Required | Description |
|---|---|---|---|
category | "claim_line_adjust" | "claim_line_deny" | "preauth_partial" | "preauth_deny" | "pend" | "appeal" | yes | |
code | string | yes | |
label_en | string | yes | |
label_fr | string | yes | |
active | boolean | no |
Tariff
| Name | Type | Required | Description |
|---|---|---|---|
code_system | string | yes | |
service_code | string | yes | |
unit_price_minor | integer | yes | |
requires_preauth | boolean | yes | |
max_units_per_line | integer | null | yes | |
effective_from | string (date) | yes | |
effective_to | string | null (date) | yes | |
active | boolean | no |
PayerConfig
| Name | Type | Required | Description |
|---|---|---|---|
payer_org_id | string | no | |
configured | boolean | no | |
policy | PayerPolicy | null | no | |
reason_codes | array of ReasonCode | no | |
tariffs | array of Tariff | no |
Remittance
| Name | Type | Required | Description |
|---|---|---|---|
id | string | no | |
batch_id | string | no | |
claim_id | string | no | |
claim_number | string | no | |
provider_org_id | string | no | |
payer_org_id | string | no | |
amount_minor | integer | no | |
currency | string | no | |
payment_reference | string | no | |
lines | array of object | no | |
created_at | string (date-time) | no |
Report
| Name | Type | Required | Description |
|---|---|---|---|
report_id | string | no | |
title | string | no | |
columns | array of string | no | |
rows | array of object | no | |
period | Report.period | no | |
generated_at | string (date-time) | no |
get-api-ohn-v1-claims.response-200 defined inline
| Name | Type | Required | Description |
|---|---|---|---|
data | array of Claim | no |
post-api-ohn-v1-claims.response-201 defined inline
| Name | Type | Required | Description |
|---|---|---|---|
claim | ClaimDetail | no | |
receipt | Receipt | no | |
event | EventRef | no |
put-api-ohn-v1-claims-id.response-200 defined inline
| Name | Type | Required | Description |
|---|---|---|---|
claim | ClaimDetail | no | |
receipt | Receipt | no | |
event | EventRef | no |
post-api-ohn-v1-claims-id-submit.response-200 defined inline
| Name | Type | Required | Description |
|---|---|---|---|
claim | ClaimDetail | no | |
receipt | Receipt | no | |
event | EventRef | no |
post-api-ohn-v1-claims-id-resubmit.response-201 defined inline
| Name | Type | Required | Description |
|---|---|---|---|
claim | ClaimDetail | no | |
receipt | Receipt | no | |
event | EventRef | no |
post-api-ohn-v1-claims-id-acknowledge.response-200 defined inline
| Name | Type | Required | Description |
|---|---|---|---|
claim | ClaimDetail | no | |
receipt | Receipt | no | |
event | EventRef | no |
post-api-ohn-v1-claims-id-adjudications.response-200 defined inline
| Name | Type | Required | Description |
|---|---|---|---|
claim | ClaimDetail | no | |
receipt | Receipt | no | |
event | EventRef | no |
post-api-ohn-v1-claims-id-finalize.response-200 defined inline
| Name | Type | Required | Description |
|---|---|---|---|
claim | ClaimDetail | no | |
receipt | Receipt | no | |
event | EventRef | no |
post-api-ohn-v1-claims-id-appeal.response-201 defined inline
get-api-ohn-v1-claims-appeals.response-200 defined inline
| Name | Type | Required | Description |
|---|---|---|---|
data | array of Appeal | no |
post-api-ohn-v1-claims-appeals-id-decision.response-200 defined inline
post-api-ohn-v1-claims-payment-batches.request defined inline
| Name | Type | Required | Description |
|---|---|---|---|
claim_ids | array of string (uuid) | yes |
post-api-ohn-v1-claims-payment-batches-id-release.request defined inline
| Name | Type | Required | Description |
|---|---|---|---|
expected_version | integer | yes | |
payment_reference | string | yes |
get-api-ohn-v1-claims-remittances.response-200 defined inline
| Name | Type | Required | Description |
|---|---|---|---|
data | array of Remittance | no |
post-api-ohn-v1-claims-maintenance-relay-outbox.response-200 defined inline
| Name | Type | Required | Description |
|---|---|---|---|
delivered | integer | no | |
failed | integer | no | |
pending_after | integer | no |
LineAdjudication.decisions.item defined inline
| Name | Type | Required | Description |
|---|---|---|---|
line_id | string (uuid) | yes | |
decision | "accept" | "adjust" | "deny" | yes | |
allowed_amount_minor | integer | no | |
reason_code | string | no | |
note | string | no |
ClaimDetail.lines.item defined inline
| Name | Type | Required | Description |
|---|---|---|---|
id | string | no | |
line_no | integer | no | |
code_system | string | no | |
service_code | string | no | |
service_display | string | null | no | |
quantity | integer | no | |
unit_price_minor | integer | no | |
billed_amount_minor | integer | no | |
preauth_id | string | null | no | |
decision | string | null | no | |
allowed_amount_minor | integer | null | no | |
reason_code | string | null | no | |
requires_medical_review | boolean | null | no |
Report.period defined inline
| Name | Type | Required | Description |
|---|---|---|---|
from | string (date) | no | |
to | string (date) | no |