OHN-51 Claims and Pre-authorisation
- Version
- 1.0.1
- OpenAPI
- 3.1.0
- Source dans le dépôt
modules/OHN-51/api/openapi.yaml- Serveurs
https://opeshealthnetwork.com- Authentification
bearer: http bearer (JWT)
Les contrats sont rédigés en anglais.
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.
Opérations
- preauthorizations (7)
- claims (12)
- payer (9)
- reports (2)
- operations (2)
preauthorizations
GET/api/ohn/v1/preauthorizations
Identifiant d’opération: listPreauthorizations
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
state | query | PreauthState | non |
Réponses
| Code | Description | Type de média |
|---|---|---|
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).
Identifiant d’opération: createPreauthorization
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/json:PreauthCreate
Réponses
GET/api/ohn/v1/preauthorizations/{id}
Identifiant d’opération: getPreauthorization
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string (uuid) | oui |
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | Detail with decisions | application/json: PreauthorizationDetail |
404 | Error | application/json: Error |
POST/api/ohn/v1/preauthorizations/{id}/respond
provider_billing; pended -> submitted.
Identifiant d’opération: respondPreauthorization
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/json:post-api-ohn-v1-preauthorizations-id-respond.request
Réponses
| Code | Description | Type de média |
|---|---|---|
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`.
Identifiant d’opération: pendPreauthorization
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/json:post-api-ohn-v1-preauthorizations-id-pend.request
Réponses
| Code | Description | Type de média |
|---|---|---|
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.
Identifiant d’opération: decidePreauthorization
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/json:PreauthDecision
Réponses
| Code | Description | Type de média |
|---|---|---|
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.
Identifiant d’opération: appealPreauthorization
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/json:AppealCreate
Réponses
| Code | Description | Type de média |
|---|---|---|
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.
Identifiant d’opération: listClaims
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
state | query | ClaimState | non |
Réponses
| Code | Description | Type de média |
|---|---|---|
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.
Identifiant d’opération: createClaim
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/json:ClaimCreate
Réponses
| Code | Description | Type de média |
|---|---|---|
201 | Committed | application/json: post-api-ohn-v1-claims.response-201 |
422 | Error | application/json: Error |
GET/api/ohn/v1/claims/{id}
Identifiant d’opération: getClaim
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string (uuid) | oui |
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | Detail | application/json: ClaimDetail |
404 | Error | application/json: Error |
PUT/api/ohn/v1/claims/{id}
Identifiant d’opération: updateClaimDraft
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/json:ClaimLinesCommand
Réponses
| Code | Description | Type de média |
|---|---|---|
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.
Identifiant d’opération: submitClaim
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/json:VersionOnly
Réponses
| Code | Description | Type de média |
|---|---|---|
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).
Identifiant d’opération: resubmitClaim
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/json:ClaimLinesCommand
Réponses
| Code | Description | Type de média |
|---|---|---|
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
Identifiant d’opération: acknowledgeClaim
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/json:VersionOnly
Réponses
| Code | Description | Type de média |
|---|---|---|
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.
Identifiant d’opération: adjudicateClaimLines
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/json:LineAdjudication
Réponses
| Code | Description | Type de média |
|---|---|---|
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.
Identifiant d’opération: finalizeClaim
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/json:VersionOnly
Réponses
| Code | Description | Type de média |
|---|---|---|
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.
Identifiant d’opération: appealClaim
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/json:AppealCreate
Réponses
| Code | Description | Type de média |
|---|---|---|
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
Identifiant d’opération: listAppeals
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
state | query | "open" | "upheld" | "overturned" | non |
Réponses
| Code | Description | Type de média |
|---|---|---|
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.
Identifiant d’opération: decideAppeal
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/json:AppealDecision
Réponses
| Code | Description | Type de média |
|---|---|---|
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.
Identifiant d’opération: getPayerConfig
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
payer_org_id | query | string (uuid) | non |
Réponses
| Code | Description | Type de média |
|---|---|---|
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.
Identifiant d’opération: putPayerPolicy
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/json:PayerPolicy
Réponses
POST/api/ohn/v1/claims/config/reason-codes
Identifiant d’opération: upsertReasonCode
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/json:ReasonCode
Réponses
| Code | Description | Type de média |
|---|---|---|
201 | Upserted | — |
POST/api/ohn/v1/claims/config/tariffs
GET/api/ohn/v1/claims/payment-batches
Identifiant d’opération: listPaymentBatches
Authentification: bearer
Réponses
| Code | Description | Type de média |
|---|---|---|
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.
Identifiant d’opération: createPaymentBatch
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/json:post-api-ohn-v1-claims-payment-batches.request
Réponses
GET/api/ohn/v1/claims/payment-batches/{id}
Identifiant d’opération: getPaymentBatch
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string (uuid) | oui |
Réponses
| Code | Description | Type de média |
|---|---|---|
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.
Identifiant d’opération: releasePaymentBatch
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/json:post-api-ohn-v1-claims-payment-batches-id-release.request
Réponses
GET/api/ohn/v1/claims/remittances
provider_billing sees remittances to its organisation; payer roles see what they paid.
Identifiant d’opération: listRemittances
Authentification: bearer
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | Remittances with line breakdown | application/json: get-api-ohn-v1-claims-remittances.response-200 |
reports
GET/api/ohn/v1/claims/reports/{reportId}
Identifiant d’opération: runReport
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
reportId | path | "OHN-51-R001" | "OHN-51-R002" | "OHN-51-R003" | oui | |
from | query | string (date) | non | |
to | query | string (date) | non |
Réponses
GET/api/ohn/v1/claims/reports/{reportId}/export
Identifiant d’opération: exportReport
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
reportId | path | "OHN-51-R001" | "OHN-51-R002" | "OHN-51-R003" | oui | |
from | query | string (date) | non | |
to | query | string (date) | non |
Réponses
| Code | Description | Type de média |
|---|---|---|
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.
Identifiant d’opération: relayOutbox
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
Idempotency-Key | header | string | oui |
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | Result | application/json: post-api-ohn-v1-claims-maintenance-relay-outbox.response-200 |
Schémas
Error
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
error | string | oui | 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 | non | |
details | object | non | |
setting | string | non | |
dependency | "OHN-03" | "OHN-05" | "OHN-13" | "OHN-23" | "OHN-24" | "OHN-30" | non | |
configured | boolean | non | |
duplicate_of | string (uuid) | non | |
line_no | integer | non |
Health
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
status | "ok" | "unavailable" | non | |
module | "OHN-51" | non | |
database | "ok" | "unavailable" | non | |
dependencies | object | non | |
writes_enabled | boolean | non | |
export_signing_configured | boolean | non | |
synthetic_auth | boolean | non | |
jwt_configured | boolean | non |
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
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
receipt_id | string (uuid) | non | |
committed_at | string (date-time) | non | |
aggregate_id | string | null | non | |
aggregate_type | string | non | |
version | integer | non | |
status | "committed" | "refused" | non |
EventRef
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
event_id | string (uuid) | non | |
event_type | string | non | |
delivery | "pending_downstream_confirmation" | non |
VersionOnly
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
expected_version | integer | oui |
PreauthCreate
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
payer_org_id | string (uuid) | oui | |
facility_id | string (uuid) | oui | |
patient_ref | string (uuid) | oui | |
eligibility_inquiry_ref | string (uuid) | oui | |
code_system | string | oui | |
service_code | string | oui | |
requested_units | integer | oui | |
requested_amount_minor | integer | non | |
clinical_justification | string | oui | |
attachment_refs | Attachments | non | OHN-13 document ids (must be indexed) |
PreauthDecision
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
expected_version | integer | oui | |
decision | "approve" | "partial" | "deny" | oui | |
reason_code | string | non | |
note | string | oui | |
approved_units | integer | non | |
approved_amount_minor | integer | non | |
valid_from | string (date) | non | |
valid_to | string (date) | non |
ClaimLineInput
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
code_system | string | oui | |
service_code | string | oui | |
quantity | integer | oui | |
unit_price_minor | integer | oui | |
preauth_id | string (uuid) | non |
ClaimCreate
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
payer_org_id | string (uuid) | oui | |
facility_id | string (uuid) | oui | |
patient_ref | string (uuid) | oui | |
encounter_ref | string (uuid) | oui | |
eligibility_inquiry_ref | string (uuid) | oui | |
service_date | string (date) | oui | |
lines | array of ClaimLineInput | oui | |
attachment_refs | Attachments | non | OHN-13 document ids (must be indexed) |
ClaimLinesCommand
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
expected_version | integer | oui | |
lines | array of ClaimLineInput | oui | |
attachment_refs | Attachments | non | OHN-13 document ids (must be indexed) |
LineAdjudication
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
expected_version | integer | oui | |
decisions | array of LineAdjudication.decisions.item | oui |
Claim
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
id | string (uuid) | non | |
claim_number | string | non | |
provider_org_id | string (uuid) | non | |
payer_org_id | string (uuid) | non | |
facility_id | string (uuid) | non | |
patient_ref | string (uuid) | non | |
encounter_ref | string (uuid) | non | |
eligibility_inquiry_ref | string (uuid) | non | |
eligibility_outcome | string | null | non | |
service_date | string (date) | non | |
currency | string | null | non | |
billed_total_minor | integer | non | |
allowed_total_minor | integer | null | non | |
paid_total_minor | integer | non | |
state | ClaimState | non | |
duplicate_suspect_of | string | null (uuid) | non | |
replaces_claim_id | string | null (uuid) | non | |
replaced_by_claim_id | string | null (uuid) | non | |
adjudication_round | integer | non | |
submitted_at | string | null (date-time) | non | |
acknowledged_at | string | null (date-time) | non | |
adjudicated_at | string | null (date-time) | non | |
paid_at | string | null (date-time) | non | |
appeal_count | integer | non | |
version | integer | non | |
next_actions | array of string | non |
ClaimDetail
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
id | string (uuid) | non | |
claim_number | string | non | |
provider_org_id | string (uuid) | non | |
payer_org_id | string (uuid) | non | |
facility_id | string (uuid) | non | |
patient_ref | string (uuid) | non | |
encounter_ref | string (uuid) | non | |
eligibility_inquiry_ref | string (uuid) | non | |
eligibility_outcome | string | null | non | |
service_date | string (date) | non | |
currency | string | null | non | |
billed_total_minor | integer | non | |
allowed_total_minor | integer | null | non | |
paid_total_minor | integer | non | |
state | ClaimState | non | |
duplicate_suspect_of | string | null (uuid) | non | |
replaces_claim_id | string | null (uuid) | non | |
replaced_by_claim_id | string | null (uuid) | non | |
adjudication_round | integer | non | |
submitted_at | string | null (date-time) | non | |
acknowledged_at | string | null (date-time) | non | |
adjudicated_at | string | null (date-time) | non | |
paid_at | string | null (date-time) | non | |
appeal_count | integer | non | |
version | integer | non | |
next_actions | array of string | non | |
lines | array of ClaimDetail.lines.item | non | |
adjudications | array of object | non | |
timeline | array of HistoryEntry | non | |
appeals | array of Appeal | non | |
remittances | array of Remittance | non | |
medical_review_threshold_minor | integer | null | non |
HistoryEntry
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
id | string | non | |
from_state | string | null | non | |
to_state | string | non | |
action | string | non | |
version | integer | non | |
actor_role | string | non | |
reason | string | null | non | |
created_at | string (date-time) | non |
AppealCreate
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
expected_version | integer | oui | |
reason | string | oui | |
attachment_refs | Attachments | non | OHN-13 document ids (must be indexed) |
AppealDecision
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
expected_version | integer | oui | |
outcome | "upheld" | "overturned" | oui | |
reason_code | string | oui | |
note | string | oui | |
approved_units | integer | non | |
approved_amount_minor | integer | non | |
valid_from | string (date) | non | |
valid_to | string (date) | non |
Appeal
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
id | string | non | |
subject_type | "claim" | "preauth" | non | |
subject_id | string | non | |
provider_org_id | string | non | |
payer_org_id | string | non | |
prior_state | string | non | |
reason | string | non | |
attachment_refs | Attachments | non | OHN-13 document ids (must be indexed) |
state | "open" | "upheld" | "overturned" | non | |
version | integer | non | |
decision | object | null | non |
PayerPolicy
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
currency | string | oui | |
medical_review_threshold_minor | integer | null | oui | |
duplicate_window_days | integer | null | oui | |
appeal_window_days | integer | null | oui | |
preauth_max_validity_days | integer | null | oui | |
expected_version | integer | non |
ReasonCode
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
category | "claim_line_adjust" | "claim_line_deny" | "preauth_partial" | "preauth_deny" | "pend" | "appeal" | oui | |
code | string | oui | |
label_en | string | oui | |
label_fr | string | oui | |
active | boolean | non |
Tariff
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
code_system | string | oui | |
service_code | string | oui | |
unit_price_minor | integer | oui | |
requires_preauth | boolean | oui | |
max_units_per_line | integer | null | oui | |
effective_from | string (date) | oui | |
effective_to | string | null (date) | oui | |
active | boolean | non |
PayerConfig
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
payer_org_id | string | non | |
configured | boolean | non | |
policy | PayerPolicy | null | non | |
reason_codes | array of ReasonCode | non | |
tariffs | array of Tariff | non |
Remittance
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
id | string | non | |
batch_id | string | non | |
claim_id | string | non | |
claim_number | string | non | |
provider_org_id | string | non | |
payer_org_id | string | non | |
amount_minor | integer | non | |
currency | string | non | |
payment_reference | string | non | |
lines | array of object | non | |
created_at | string (date-time) | non |
Report
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
report_id | string | non | |
title | string | non | |
columns | array of string | non | |
rows | array of object | non | |
period | Report.period | non | |
generated_at | string (date-time) | non |
get-api-ohn-v1-claims.response-200 défini sur place
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
data | array of Claim | non |
post-api-ohn-v1-claims.response-201 défini sur place
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
claim | ClaimDetail | non | |
receipt | Receipt | non | |
event | EventRef | non |
put-api-ohn-v1-claims-id.response-200 défini sur place
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
claim | ClaimDetail | non | |
receipt | Receipt | non | |
event | EventRef | non |
post-api-ohn-v1-claims-id-submit.response-200 défini sur place
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
claim | ClaimDetail | non | |
receipt | Receipt | non | |
event | EventRef | non |
post-api-ohn-v1-claims-id-resubmit.response-201 défini sur place
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
claim | ClaimDetail | non | |
receipt | Receipt | non | |
event | EventRef | non |
post-api-ohn-v1-claims-id-acknowledge.response-200 défini sur place
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
claim | ClaimDetail | non | |
receipt | Receipt | non | |
event | EventRef | non |
post-api-ohn-v1-claims-id-adjudications.response-200 défini sur place
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
claim | ClaimDetail | non | |
receipt | Receipt | non | |
event | EventRef | non |
post-api-ohn-v1-claims-id-finalize.response-200 défini sur place
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
claim | ClaimDetail | non | |
receipt | Receipt | non | |
event | EventRef | non |
post-api-ohn-v1-claims-id-appeal.response-201 défini sur place
get-api-ohn-v1-claims-appeals.response-200 défini sur place
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
data | array of Appeal | non |
post-api-ohn-v1-claims-appeals-id-decision.response-200 défini sur place
post-api-ohn-v1-claims-payment-batches.request défini sur place
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
claim_ids | array of string (uuid) | oui |
post-api-ohn-v1-claims-payment-batches-id-release.request défini sur place
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
expected_version | integer | oui | |
payment_reference | string | oui |
get-api-ohn-v1-claims-remittances.response-200 défini sur place
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
data | array of Remittance | non |
post-api-ohn-v1-claims-maintenance-relay-outbox.response-200 défini sur place
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
delivered | integer | non | |
failed | integer | non | |
pending_after | integer | non |
LineAdjudication.decisions.item défini sur place
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
line_id | string (uuid) | oui | |
decision | "accept" | "adjust" | "deny" | oui | |
allowed_amount_minor | integer | non | |
reason_code | string | non | |
note | string | non |
ClaimDetail.lines.item défini sur place
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
id | string | non | |
line_no | integer | non | |
code_system | string | non | |
service_code | string | non | |
service_display | string | null | non | |
quantity | integer | non | |
unit_price_minor | integer | non | |
billed_amount_minor | integer | non | |
preauth_id | string | null | non | |
decision | string | null | non | |
allowed_amount_minor | integer | null | non | |
reason_code | string | null | non | |
requires_medical_review | boolean | null | non |
Report.period défini sur place
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
from | string (date) | non | |
to | string (date) | non |