← Tous les contrats
OHN-22 Legacy Healthcare Integration
- Version
- 1.0.0
- OpenAPI
- 3.1.0
- Source dans le dépôt
modules/OHN-22/api/openapi.json- Serveurs
https://opeshealthnetwork.com/api/ohn/v1
- Authentification
bearer: http bearer
Télécharger le contrat (JSON)
Les contrats sont rédigés en anglais.
Base path /api/ohn/v1. Every POST requires Idempotency-Key; mutations use expected_version. Routes default-deny on role AND purpose (legacy_integration). Request bodies are limited to 256 KB. Dependencies (OHN-23 terminology, OHN-21 contract, OHN-03 identity) are called over their contracts and fail closed with 503 dependency_unavailable. The TypeScript-only synthetic sign-in (POST /legacy/synthetic-token) is not part of this contract; tokens come from the platform gateway (purpose legacy_integration).
Opérations
OHN-22
GET/legacy/adaptersAdapter catalog
Identifiant d’opération: listAdapters
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
standard | query | string | non | |
q | query | string | non | case-insensitive name contains |
cursor | query | string | non | |
Réponses
| Code | Description | Type de média |
|---|
200 | OK | application/json: object
|
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or separation of duties | — |
404 | Not found / out of scope | — |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
POST/legacy/adaptersRegister adapter (API-001; F001)
Identifiant d’opération: registerAdapter
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
Idempotency-Key | header | string | oui | 8 to 128 characters of A-Z a-z 0-9 _ . : -. A 5xx answer releases the key; a replay answers with Idempotent-Replay: true. |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
201 | OK | application/json: object
|
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or separation of duties | — |
404 | Not found / out of scope | — |
409 | Version conflict, illegal transition, already published or idempotency mismatch | |
413 | Request body larger than 256 KB (payload_too_large) | — |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
GET/legacy/adapters/{id}Adapter with mappings
Identifiant d’opération: getAdapter
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
Réponses
| Code | Description | Type de média |
|---|
200 | OK | application/json: object
|
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or separation of duties | — |
404 | Not found / out of scope | — |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
POST/legacy/adapters/{id}/mappingsDraft a mapping version with rules (F002)
Identifiant d’opération: createMapping
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui | 8 to 128 characters of A-Z a-z 0-9 _ . : -. A 5xx answer releases the key; a replay answers with Idempotent-Replay: true. |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
201 | OK | application/json: object
|
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or separation of duties | — |
404 | Not found / out of scope | — |
409 | Version conflict, illegal transition, already published or idempotency mismatch | |
413 | Request body larger than 256 KB (payload_too_large) | — |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
GET/legacy/mappings/{id}Mapping with rules and history
Identifiant d’opération: getMapping
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
Réponses
| Code | Description | Type de média |
|---|
200 | OK | application/json: object
|
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or separation of duties | — |
404 | Not found / out of scope | — |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
POST/legacy/mappings/{id}/rulesAdd a rule to a draft mapping
Identifiant d’opération: addRule
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui | 8 to 128 characters of A-Z a-z 0-9 _ . : -. A 5xx answer releases the key; a replay answers with Idempotent-Replay: true. |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
201 | OK | application/json: object
|
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or separation of duties | — |
404 | Not found / out of scope | — |
409 | Version conflict, illegal transition, already published or idempotency mismatch | |
413 | Request body larger than 256 KB (payload_too_large) | — |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
POST/legacy/mappings/{id}/samplesDry-run a sample message; passing advances draft to sampled
Identifiant d’opération: sampleMapping
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui | 8 to 128 characters of A-Z a-z 0-9 _ . : -. A 5xx answer releases the key; a replay answers with Idempotent-Replay: true. |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
200 | OK | application/json: object
|
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or separation of duties | — |
404 | Not found / out of scope | — |
409 | Version conflict, illegal transition, already published or idempotency mismatch | |
413 | Request body larger than 256 KB (payload_too_large) | — |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
POST/legacy/mappings/{id}/transitionsMapping release transition (W002)
Identifiant d’opération: transitionMapping
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui | 8 to 128 characters of A-Z a-z 0-9 _ . : -. A 5xx answer releases the key; a replay answers with Idempotent-Replay: true. |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
200 | OK | application/json: object
|
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or separation of duties | — |
404 | Not found / out of scope | — |
409 | Version conflict, illegal transition, already published or idempotency mismatch | |
413 | Request body larger than 256 KB (payload_too_large) | — |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
GET/legacy/messagesMessages / dead-letter queue (status, dlq_state, adapter_id)
Identifiant d’opération: listMessages
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
status | query | string | non | |
dlq_state | query | string | non | |
adapter_id | query | string (uuid) | non | |
cursor | query | string | non | |
Réponses
| Code | Description | Type de média |
|---|
200 | OK | application/json: object
|
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or separation of duties | — |
404 | Not found / out of scope | — |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
POST/legacy/messagesIngest a legacy message (API-002; W001). 201 for a new message (published, quarantined or rejected); a duplicate redelivery returns 200 with duplicate=true; same id with other content is 409 message_id_conflict
Identifiant d’opération: ingestMessage
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
Idempotency-Key | header | string | oui | 8 to 128 characters of A-Z a-z 0-9 _ . : -. A 5xx answer releases the key; a replay answers with Idempotent-Replay: true. |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
200 | Duplicate redelivery of the same external_message_id and content: no second result, the attempt is recorded (duplicate=true) | application/json: object
|
201 | OK | application/json: object
|
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or separation of duties | — |
404 | Not found / out of scope | — |
409 | Version conflict, illegal transition, already published or idempotency mismatch | |
413 | Request body larger than 256 KB (payload_too_large) | — |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
GET/legacy/messages/{id}Message with attempts, errors, history (API-003)
Identifiant d’opération: getMessage
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
Réponses
| Code | Description | Type de média |
|---|
200 | OK | application/json: object
|
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or separation of duties | — |
404 | Not found / out of scope | — |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
POST/legacy/messages/{id}/triageTriage a failed message
Identifiant d’opération: triage
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui | 8 to 128 characters of A-Z a-z 0-9 _ . : -. A 5xx answer releases the key; a replay answers with Idempotent-Replay: true. |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
200 | OK | application/json: object
|
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or separation of duties | — |
404 | Not found / out of scope | — |
409 | Version conflict, illegal transition, already published or idempotency mismatch | |
413 | Request body larger than 256 KB (payload_too_large) | — |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
POST/legacy/messages/{id}/correctAttach a corrected payload (clinical_mapper only; original retained)
Identifiant d’opération: correct
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui | 8 to 128 characters of A-Z a-z 0-9 _ . : -. A 5xx answer releases the key; a replay answers with Idempotent-Replay: true. |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
200 | OK | application/json: object
|
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or separation of duties | — |
404 | Not found / out of scope | — |
409 | Version conflict, illegal transition, already published or idempotency mismatch | |
413 | Request body larger than 256 KB (payload_too_large) | — |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
POST/legacy/messages/{id}/retryReplay a failed message (F003; never re-publishes a published one)
Identifiant d’opération: retry
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui | 8 to 128 characters of A-Z a-z 0-9 _ . : -. A 5xx answer releases the key; a replay answers with Idempotent-Replay: true. |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
200 | OK | application/json: object
|
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or separation of duties | — |
404 | Not found / out of scope | — |
409 | Version conflict, illegal transition, already published or idempotency mismatch | |
413 | Request body larger than 256 KB (payload_too_large) | — |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
GET/legacy/unit-conversionsUnit conversions
Identifiant d’opération: listUnits
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
state | query | "proposed" | "approved" | "rejected" | non | |
Réponses
| Code | Description | Type de média |
|---|
200 | OK | application/json: object
|
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or separation of duties | — |
404 | Not found / out of scope | — |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
POST/legacy/unit-conversionsPropose a unit conversion
Identifiant d’opération: proposeUnit
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
Idempotency-Key | header | string | oui | 8 to 128 characters of A-Z a-z 0-9 _ . : -. A 5xx answer releases the key; a replay answers with Idempotent-Replay: true. |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
201 | OK | application/json: object
|
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or separation of duties | — |
404 | Not found / out of scope | — |
409 | Version conflict, illegal transition, already published or idempotency mismatch | |
413 | Request body larger than 256 KB (payload_too_large) | — |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
POST/legacy/unit-conversions/{id}/decisionApprove/reject a unit conversion (proposer cannot decide)
Identifiant d’opération: decideUnit
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui | 8 to 128 characters of A-Z a-z 0-9 _ . : -. A 5xx answer releases the key; a replay answers with Idempotent-Replay: true. |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
200 | OK | application/json: object
|
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or separation of duties | — |
404 | Not found / out of scope | — |
409 | Version conflict, illegal transition, already published or idempotency mismatch | |
413 | Request body larger than 256 KB (payload_too_large) | — |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
GET/legacy/code-lists/{list}Read code list
Identifiant d’opération: listCodes
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
list | path | "message_standard" | "transport" | oui | |
Réponses
| Code | Description | Type de média |
|---|
200 | OK | application/json: object
|
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or separation of duties | — |
404 | Not found / out of scope | — |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
POST/legacy/code-lists/{list}Upsert code list entries
Identifiant d’opération: upsertCodes
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
list | path | "message_standard" | "transport" | oui | |
Idempotency-Key | header | string | oui | 8 to 128 characters of A-Z a-z 0-9 _ . : -. A 5xx answer releases the key; a replay answers with Idempotent-Replay: true. |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
200 | OK | application/json: object
|
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or separation of duties | — |
404 | Not found / out of scope | — |
409 | Version conflict, illegal transition, already published or idempotency mismatch | |
413 | Request body larger than 256 KB (payload_too_large) | — |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
POST/legacy/maintenance/drain-outboxDrain outbox (no sink => nothing marked delivered)
Identifiant d’opération: drainOutbox
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
Idempotency-Key | header | string | oui | 8 to 128 characters of A-Z a-z 0-9 _ . : -. A 5xx answer releases the key; a replay answers with Idempotent-Replay: true. |
Réponses
| Code | Description | Type de média |
|---|
200 | OK | application/json: object
|
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or separation of duties | — |
404 | Not found / out of scope | — |
409 | Version conflict, illegal transition, already published or idempotency mismatch | |
413 | Request body larger than 256 KB (payload_too_large) | — |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
GET/legacy/report-catalogReport catalog
Identifiant d’opération: reportCatalog
Authentification: bearer
Réponses
| Code | Description | Type de média |
|---|
200 | OK | application/json: object
|
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or separation of duties | — |
404 | Not found / out of scope | — |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
GET/legacy/reports/{reportId}Run report
Identifiant d’opération: runReport
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
adapter | query | string (uuid) | non | |
partner | query | string (uuid) | non | |
standard | query | string | non | |
reason | query | string | non | |
status | query | string | non | |
period_from | query | string | non | |
period_to | query | string | non | |
cursor | query | string | non | |
reportId | path | "OHN-22-R001" | "OHN-22-R002" | "OHN-22-R003" | oui | |
Réponses
| Code | Description | Type de média |
|---|
200 | OK | |
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or separation of duties | — |
404 | Not found / out of scope | — |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
POST/legacy/reports/{reportId}/exportCreate signed single-use export
Identifiant d’opération: createExport
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
reportId | path | "OHN-22-R001" | "OHN-22-R002" | "OHN-22-R003" | oui | |
Idempotency-Key | header | string | oui | 8 to 128 characters of A-Z a-z 0-9 _ . : -. A 5xx answer releases the key; a replay answers with Idempotent-Replay: true. |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
201 | OK | application/json: object
|
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or separation of duties | — |
404 | Not found / out of scope | — |
409 | Version conflict, illegal transition, already published or idempotency mismatch | |
413 | Request body larger than 256 KB (payload_too_large) | — |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
GET/legacy/exports/{token}Download export (the requesting principal only, single use, 5 minutes). Any other caller or token is 404
Identifiant d’opération: fetchExport
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
token | path | string | oui | |
Réponses
| Code | Description | Type de média |
|---|
200 | The export file (CSV or PDF), once | text/csv: string
application/pdf: string (binary)
|
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or separation of duties | — |
404 | Not found / out of scope | — |
410 | export_expired (after 5 minutes) or export_consumed (already downloaded) | |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
Autres opérations
GET/health/ohn-22Liveness incl. database ping and dependency modes (public; served at the root, not under /api/ohn/v1)
Identifiant d’opération: health
Réponses
| Code | Description | Type de média |
|---|
200 | ok | |
503 | unavailable | — |
Schémas
Error
| Nom | Type | Obligatoire | Description |
|---|
error | string | oui | |
message | string | non | |
details | any | non | Validation: {field: issue code} (invalid_type, too_small, too_big, invalid_string, invalid_enum_value, unrecognized_keys under "_"), or a domain object |
Adapter
| Nom | Type | Obligatoire | Description |
|---|
adapter_name | string | oui | |
message_standard | string | oui | Must exist in the jurisdiction message_standard code list |
source_org | string (uuid) | oui | |
target_service | string (uuid) | oui | |
transport | string | oui | Must exist in the jurisdiction transport code list |
Rule
| Nom | Type | Obligatoire | Description |
|---|
source_field | string | oui | HL7 v2 address, e.g. PID-5.1 or OBX[2]-5 |
target_fhir_path | string | oui | A path of the canonical FHIR contract, e.g. Patient.identifier; checked against OHN-21 at sign-off |
transform_expression | string | oui | One of: copy, trim, upper, lower, hl7_date, number, code, unit(FROM,TO). Not executable code. |
terminology_ref | string (uuid) | oui | |
fallback_action | "reject" | "quarantine" | "omit" | oui | |
mandatory | boolean | non | A mandatory rule may not use fallback omit |
MappingCreate
| Nom | Type | Obligatoire | Description |
|---|
version_label | string | oui | |
rules | array of Rule | oui | |
AddRule
| Nom | Type | Obligatoire | Description |
|---|
rule | Rule | oui | |
expected_version | integer | oui | |
Sample
| Nom | Type | Obligatoire | Description |
|---|
sample_message | string | oui | |
MappingTransition
| Nom | Type | Obligatoire | Description |
|---|
to_state | "draft" | "clinical_review" | "contract_verified" | "active" | oui | |
expected_version | integer | oui | |
reason | string | oui | |
Message
| Nom | Type | Obligatoire | Description |
|---|
adapter_id | string (uuid) | oui | |
external_message_id | string | oui | |
payload | string | oui | HL7 v2 text. The service accepts request bodies up to 256 KB (413 payload_too_large above that), so the effective limit is lower than maxLength. |
Triage
| Nom | Type | Obligatoire | Description |
|---|
investigated_reason | string | oui | |
expected_version | integer | oui | |
Correct
| Nom | Type | Obligatoire | Description |
|---|
corrected_payload | string | oui | |
reason | string | oui | |
expected_version | integer | oui | |
Retry
| Nom | Type | Obligatoire | Description |
|---|
investigated_reason | string | oui | |
validated_mapping_version | string | oui | Label of the adapter active mapping; any other label is refused (409 mapping_version_mismatch) |
operator_ref | string (uuid) | oui | Must equal the authenticated operator |
expected_version | integer | oui | |
UnitProposal
| Nom | Type | Obligatoire | Description |
|---|
from_unit | string | oui | |
to_unit | string | oui | Must differ from from_unit |
factor_numerator | string | oui | Positive decimal |
factor_denominator | string | oui | Positive decimal |
reference_note | string | oui | |
UnitDecision
| Nom | Type | Obligatoire | Description |
|---|
decision | "approved" | "rejected" | oui | |
reason | string | oui | |
expected_version | integer | oui | |
ExportCommand
| Nom | Type | Obligatoire | Description |
|---|
format | "csv" | "pdf" | oui | |
filters | ReportFilters | non | |
Report
| Nom | Type | Obligatoire | Description |
|---|
report_id | "OHN-22-R001" | "OHN-22-R002" | "OHN-22-R003" | non | |
title | string | non | |
columns | array of any | non | |
rows | array of any | non | |
summary | object | non | |
state | "rendered" | "no_authorized_data" | non | |
generated_at | string (date-time) | non | |
next_cursor | string | null | non | |
ReportFilters
| Nom | Type | Obligatoire | Description |
|---|
adapter | string (uuid) | non | |
partner | string (uuid) | non | source_org of the adapter |
standard | string | non | |
reason | string | non | R002 failure reason code |
status | string | non | R003 outcome |
period_from | string | non | |
period_to | string | non | Not before period_from (422 after_period_to) |
Receipt
| Nom | Type | Obligatoire | Description |
|---|
receipt_id | string (uuid) | non | |
committed_at | string (date-time) | non | |
aggregate_id | string (uuid) | non | |
version | integer | non | |
status | "committed" | "denied" | non | |
get-health-ohn-22.response-200 défini sur place
get-health-ohn-22.response-200.dependencies défini sur place
| Nom | Type | Obligatoire | Description |
|---|
ohn23 | "live" | "unconfigured" | non | |
ohn21 | "live" | "unconfigured" | non | |
identity | "live" | "unconfigured" | non | |
CodeListUpsert.entries.item défini sur place
| Nom | Type | Obligatoire | Description |
|---|
code | string | oui | |
label_en | string | oui | |
label_fr | string | oui | |
active | boolean | non | |