OHN-06 Health Worker Registry
- Version
- 1.1.0
- OpenAPI
- 3.1.0
- Source dans le dépôt
modules/OHN-06/api/openapi.json- Serveurs
https://opeshealthnetwork.com/api/ohn/v1- Authentification
bearer: http bearer
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 (practitioner_registry for staff, practitioner_standing for the standing_reader service role). Deployment note: in the Java registries-trust service this module is served under the alias prefix /api/ohn/x/ohn-06 (OHN-05 owns /api/ohn/v1/registry/*), as the TypeScript platform did. Manual licence confirmation (1.1.0, owner decision 2026-11-30, mirroring OHN-05 1.4.0): while no professional-council (issuer) integration is configured, a credential_reviewer records the council's confirmation_reference on the licence decision; the licence is recorded as confirmation unconfirmed_manual ("manually confirmed") and the licence and practitioner views carry license_confirmation {method issuer|manual|none, label, reference, confirmed_by, confirmed_at}.
Opérations
- OHN-06 (27)
OHN-06
GET/practitionersget /practitioners
Identifiant d’opération: listPractitioners
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
profession | query | string | non | |
state | query | string | non | |
q | query | string | non | |
facility | query | string (uuid) | non | |
open | query | "true" | "false" | non | |
cursor | query | string | non |
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | OK | application/json: object |
400 | Malformed request / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or domain denial (separation of duties, role required) | — |
404 | Not found / out of scope (non-disclosing) | — |
409 | Version conflict, illegal transition or idempotency mismatch | application/json: Error |
422 | Validation or domain refusal (code list not configured, issuer match required, ...) | application/json: Error |
429 | Rate limited | — |
503 | Dependency unavailable; nothing stored | — |
POST/practitionersEnroll a practitioner (API-001; F001)
Identifiant d’opération: enrollPractitioner
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/json:Enroll
Réponses
| Code | Description | Type de média |
|---|---|---|
201 | OK | application/json: object |
400 | Malformed request / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or domain denial (separation of duties, role required) | — |
404 | Not found / out of scope (non-disclosing) | — |
409 | Version conflict, illegal transition or idempotency mismatch | application/json: Error |
422 | Validation or domain refusal (code list not configured, issuer match required, ...) | application/json: Error |
429 | Rate limited | — |
503 | Dependency unavailable; nothing stored | — |
GET/practitioners/{id}Read a practitioner with licences, affiliations, suspensions, checks and history (API-002)
Identifiant d’opération: getPractitioner
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string | oui |
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | OK | application/json: object |
400 | Malformed request / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or domain denial (separation of duties, role required) | — |
404 | Not found / out of scope (non-disclosing) | — |
409 | Version conflict, illegal transition or idempotency mismatch | application/json: Error |
422 | Validation or domain refusal (code list not configured, issuer match required, ...) | application/json: Error |
429 | Rate limited | — |
503 | Dependency unavailable; nothing stored | — |
POST/practitioners/{id}/issuer-checkpost /practitioners/{id}/issuer-check
Identifiant d’opération: issuerCheck
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string | oui | |
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/json:ExpectedVersion
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | OK | application/json: object |
400 | Malformed request / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or domain denial (separation of duties, role required) | — |
404 | Not found / out of scope (non-disclosing) | — |
409 | Version conflict, illegal transition or idempotency mismatch | application/json: Error |
422 | Validation or domain refusal (code list not configured, issuer match required, ...) | application/json: Error |
429 | Rate limited | — |
503 | Dependency unavailable; nothing stored | — |
POST/practitioners/{id}/licensesRecord a licence verification decision (API-003; F002)
1.1.0: manual licence confirmation (confirmation_reference) while no issuer integration exists; the licence view carries confirmation and license_confirmation {method issuer|manual|none, label, reference, confirmed_by, confirmed_at}, and the practitioner view carries the license_confirmation of its latest licence decision.
Identifiant d’opération: decideLicense
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string | oui | |
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/json:LicenseDecision
Réponses
| Code | Description | Type de média |
|---|---|---|
201 | OK | application/json: object |
400 | Malformed request / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or domain denial (separation of duties, role required) | — |
404 | Not found / out of scope (non-disclosing) | — |
409 | Version conflict, illegal transition or idempotency mismatch | application/json: Error |
422 | Validation or domain refusal (code list not configured, issuer match required, ...) | application/json: Error |
429 | Rate limited | — |
503 | Dependency unavailable; nothing stored | — |
POST/practitioners/{id}/affiliationsRequest an affiliation (F003)
Identifiant d’opération: requestAffiliation
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string | oui | |
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/json:AffiliationRequest
Réponses
| Code | Description | Type de média |
|---|---|---|
201 | OK | application/json: object |
400 | Malformed request / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or domain denial (separation of duties, role required) | — |
404 | Not found / out of scope (non-disclosing) | — |
409 | Version conflict, illegal transition or idempotency mismatch | application/json: Error |
422 | Validation or domain refusal (code list not configured, issuer match required, ...) | application/json: Error |
429 | Rate limited | — |
503 | Dependency unavailable; nothing stored | — |
POST/practitioners/{id}/suspensionsSuspend a practitioner (F004; W003)
Identifiant d’opération: imposeSuspension
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string | oui | |
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/json:Suspension
Réponses
| Code | Description | Type de média |
|---|---|---|
201 | OK | application/json: object |
400 | Malformed request / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or domain denial (separation of duties, role required) | — |
404 | Not found / out of scope (non-disclosing) | — |
409 | Version conflict, illegal transition or idempotency mismatch | application/json: Error |
422 | Validation or domain refusal (code list not configured, issuer match required, ...) | application/json: Error |
429 | Rate limited | — |
503 | Dependency unavailable; nothing stored | — |
GET/affiliationsget /affiliations
Identifiant d’opération: listAffiliations
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
profession | query | string | non | |
state | query | string | non | |
q | query | string | non | |
facility | query | string (uuid) | non | |
open | query | "true" | "false" | non | |
cursor | query | string | non |
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | OK | application/json: object |
400 | Malformed request / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or domain denial (separation of duties, role required) | — |
404 | Not found / out of scope (non-disclosing) | — |
409 | Version conflict, illegal transition or idempotency mismatch | application/json: Error |
422 | Validation or domain refusal (code list not configured, issuer match required, ...) | application/json: Error |
429 | Rate limited | — |
503 | Dependency unavailable; nothing stored | — |
POST/affiliations/{id}/approveApprove or activate an affiliation (API-004; F003 second half)
Identifiant d’opération: approveAffiliation
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string | oui | |
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/json:OptionalReasonStep
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | OK | application/json: object |
400 | Malformed request / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or domain denial (separation of duties, role required) | — |
404 | Not found / out of scope (non-disclosing) | — |
409 | Version conflict, illegal transition or idempotency mismatch | application/json: Error |
422 | Validation or domain refusal (code list not configured, issuer match required, ...) | application/json: Error |
429 | Rate limited | — |
503 | Dependency unavailable; nothing stored | — |
POST/affiliations/{id}/endpost /affiliations/{id}/end
Identifiant d’opération: endAffiliation
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string | oui | |
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/json:ReasonedStep
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | OK | application/json: object |
400 | Malformed request / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or domain denial (separation of duties, role required) | — |
404 | Not found / out of scope (non-disclosing) | — |
409 | Version conflict, illegal transition or idempotency mismatch | application/json: Error |
422 | Validation or domain refusal (code list not configured, issuer match required, ...) | application/json: Error |
429 | Rate limited | — |
503 | Dependency unavailable; nothing stored | — |
GET/suspensionsget /suspensions
Identifiant d’opération: listSuspensions
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
profession | query | string | non | |
state | query | string | non | |
q | query | string | non | |
facility | query | string (uuid) | non | |
open | query | "true" | "false" | non | |
cursor | query | string | non |
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | OK | application/json: object |
400 | Malformed request / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or domain denial (separation of duties, role required) | — |
404 | Not found / out of scope (non-disclosing) | — |
409 | Version conflict, illegal transition or idempotency mismatch | application/json: Error |
422 | Validation or domain refusal (code list not configured, issuer match required, ...) | application/json: Error |
429 | Rate limited | — |
503 | Dependency unavailable; nothing stored | — |
POST/suspensions/{id}/acknowledgepost /suspensions/{id}/acknowledge
Identifiant d’opération: acknowledgeSuspension
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string | oui | |
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/json:OptionalReasonStep
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | OK | application/json: object |
400 | Malformed request / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or domain denial (separation of duties, role required) | — |
404 | Not found / out of scope (non-disclosing) | — |
409 | Version conflict, illegal transition or idempotency mismatch | application/json: Error |
422 | Validation or domain refusal (code list not configured, issuer match required, ...) | application/json: Error |
429 | Rate limited | — |
503 | Dependency unavailable; nothing stored | — |
POST/suspensions/{id}/liftpost /suspensions/{id}/lift
Identifiant d’opération: liftSuspension
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string | oui | |
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/json:ReasonedStep
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | OK | application/json: object |
400 | Malformed request / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or domain denial (separation of duties, role required) | — |
404 | Not found / out of scope (non-disclosing) | — |
409 | Version conflict, illegal transition or idempotency mismatch | application/json: Error |
422 | Validation or domain refusal (code list not configured, issuer match required, ...) | application/json: Error |
429 | Rate limited | — |
503 | Dependency unavailable; nothing stored | — |
POST/suspensions/{id}/revoke-sessionspost /suspensions/{id}/revoke-sessions
Identifiant d’opération: revokeSessions
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string | oui | |
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/json:OptionalReasonStep
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | OK | application/json: object |
400 | Malformed request / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or domain denial (separation of duties, role required) | — |
404 | Not found / out of scope (non-disclosing) | — |
409 | Version conflict, illegal transition or idempotency mismatch | application/json: Error |
422 | Validation or domain refusal (code list not configured, issuer match required, ...) | application/json: Error |
429 | Rate limited | — |
503 | Dependency unavailable; nothing stored | — |
GET/health-workers/{id}/standingStanding contract for OHN-17 / OHN-32: licence, membership and affiliation, computed live; non-disclosing 404
Identifiant d’opération: standing
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string | oui | |
jurisdiction | query | string (uuid) | non | |
facility | query | string (uuid) | non |
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | OK | application/json: object |
400 | Malformed request / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or domain denial (separation of duties, role required) | — |
404 | Not found / out of scope (non-disclosing) | — |
409 | Version conflict, illegal transition or idempotency mismatch | application/json: Error |
422 | Validation or domain refusal (code list not configured, issuer match required, ...) | application/json: Error |
429 | Rate limited | — |
503 | Dependency unavailable; nothing stored | — |
GET/registry/policyget /registry/policy
Identifiant d’opération: readPolicy
Authentification: bearer
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | OK | application/json: object |
400 | Malformed request / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or domain denial (separation of duties, role required) | — |
404 | Not found / out of scope (non-disclosing) | — |
409 | Version conflict, illegal transition or idempotency mismatch | application/json: Error |
422 | Validation or domain refusal (code list not configured, issuer match required, ...) | application/json: Error |
429 | Rate limited | — |
503 | Dependency unavailable; nothing stored | — |
POST/registry/policypost /registry/policy
Identifiant d’opération: writePolicy
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/json:Policy
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | OK | application/json: object |
400 | Malformed request / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or domain denial (separation of duties, role required) | — |
404 | Not found / out of scope (non-disclosing) | — |
409 | Version conflict, illegal transition or idempotency mismatch | application/json: Error |
422 | Validation or domain refusal (code list not configured, issuer match required, ...) | application/json: Error |
429 | Rate limited | — |
503 | Dependency unavailable; nothing stored | — |
GET/registry/code-listsget /registry/code-lists
Identifiant d’opération: readCodeLists
Authentification: bearer
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | OK | application/json: object |
400 | Malformed request / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or domain denial (separation of duties, role required) | — |
404 | Not found / out of scope (non-disclosing) | — |
409 | Version conflict, illegal transition or idempotency mismatch | application/json: Error |
422 | Validation or domain refusal (code list not configured, issuer match required, ...) | application/json: Error |
429 | Rate limited | — |
503 | Dependency unavailable; nothing stored | — |
POST/registry/code-lists/{list}post /registry/code-lists/{list}
Identifiant d’opération: writeCodeList
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
list | path | string | oui | |
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/json:CodeList
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | OK | application/json: object |
400 | Malformed request / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or domain denial (separation of duties, role required) | — |
404 | Not found / out of scope (non-disclosing) | — |
409 | Version conflict, illegal transition or idempotency mismatch | application/json: Error |
422 | Validation or domain refusal (code list not configured, issuer match required, ...) | application/json: Error |
429 | Rate limited | — |
503 | Dependency unavailable; nothing stored | — |
GET/registry/expiry-alertsget /registry/expiry-alerts
Identifiant d’opération: expiryAlerts
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
window_days | query | integer | non |
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | OK | application/json: object |
400 | Malformed request / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or domain denial (separation of duties, role required) | — |
404 | Not found / out of scope (non-disclosing) | — |
409 | Version conflict, illegal transition or idempotency mismatch | application/json: Error |
422 | Validation or domain refusal (code list not configured, issuer match required, ...) | application/json: Error |
429 | Rate limited | — |
503 | Dependency unavailable; nothing stored | — |
GET/registry/issuer-healthget /registry/issuer-health
Identifiant d’opération: issuerHealth
Authentification: bearer
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | OK | application/json: object |
400 | Malformed request / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or domain denial (separation of duties, role required) | — |
404 | Not found / out of scope (non-disclosing) | — |
409 | Version conflict, illegal transition or idempotency mismatch | application/json: Error |
422 | Validation or domain refusal (code list not configured, issuer match required, ...) | application/json: Error |
429 | Rate limited | — |
503 | Dependency unavailable; nothing stored | — |
POST/registry/maintenance/expire-sweeppost /registry/maintenance/expire-sweep
Identifiant d’opération: expireSweep
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
Idempotency-Key | header | string | oui |
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | OK | application/json: object |
400 | Malformed request / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or domain denial (separation of duties, role required) | — |
404 | Not found / out of scope (non-disclosing) | — |
409 | Version conflict, illegal transition or idempotency mismatch | application/json: Error |
422 | Validation or domain refusal (code list not configured, issuer match required, ...) | application/json: Error |
429 | Rate limited | — |
503 | Dependency unavailable; nothing stored | — |
POST/registry/maintenance/drain-outboxpost /registry/maintenance/drain-outbox
Identifiant d’opération: drainOutbox
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
Idempotency-Key | header | string | oui |
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | OK | application/json: object |
400 | Malformed request / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or domain denial (separation of duties, role required) | — |
404 | Not found / out of scope (non-disclosing) | — |
409 | Version conflict, illegal transition or idempotency mismatch | application/json: Error |
422 | Validation or domain refusal (code list not configured, issuer match required, ...) | application/json: Error |
429 | Rate limited | — |
503 | Dependency unavailable; nothing stored | — |
GET/registry/report-catalogget /registry/report-catalog
Identifiant d’opération: reportCatalog
Authentification: bearer
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | OK | application/json: object |
400 | Malformed request / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or domain denial (separation of duties, role required) | — |
404 | Not found / out of scope (non-disclosing) | — |
409 | Version conflict, illegal transition or idempotency mismatch | application/json: Error |
422 | Validation or domain refusal (code list not configured, issuer match required, ...) | application/json: Error |
429 | Rate limited | — |
503 | Dependency unavailable; nothing stored | — |
GET/registry/reports/{reportId}get /registry/reports/{reportId}
Identifiant d’opération: runReport
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
reportId | path | string | oui | |
profession | query | string | non | |
status | query | string | non | |
facility | query | string | non | |
expiry_window | query | string | non | |
period_from | query | string | non | |
period_to | query | string | non | |
cursor | query | string | non |
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | OK | application/json: object |
400 | Malformed request / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or domain denial (separation of duties, role required) | — |
404 | Not found / out of scope (non-disclosing) | — |
409 | Version conflict, illegal transition or idempotency mismatch | application/json: Error |
422 | Validation or domain refusal (code list not configured, issuer match required, ...) | application/json: Error |
429 | Rate limited | — |
503 | Dependency unavailable; nothing stored | — |
POST/registry/reports/{reportId}/exportpost /registry/reports/{reportId}/export
Identifiant d’opération: createExport
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
reportId | path | string | oui | |
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/json:ExportCommand
Réponses
| Code | Description | Type de média |
|---|---|---|
201 | OK | application/json: object |
400 | Malformed request / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or domain denial (separation of duties, role required) | — |
404 | Not found / out of scope (non-disclosing) | — |
409 | Version conflict, illegal transition or idempotency mismatch | application/json: Error |
422 | Validation or domain refusal (code list not configured, issuer match required, ...) | application/json: Error |
429 | Rate limited | — |
503 | Dependency unavailable; nothing stored | — |
GET/registry/exports/{token}get /registry/exports/{token}
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 | OK | application/json: object |
400 | Malformed request / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied (default deny) or domain denial (separation of duties, role required) | — |
404 | Not found / out of scope (non-disclosing) | — |
409 | Version conflict, illegal transition or idempotency mismatch | application/json: Error |
410 | Export expired or already downloaded (single use) | — |
422 | Validation or domain refusal (code list not configured, issuer match required, ...) | application/json: Error |
429 | Rate limited | — |
503 | Dependency unavailable; nothing stored | — |
Schémas
Error
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
error | string | oui | |
message | string | non | |
details | any | non |
Receipt
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
receipt_id | string (uuid) | oui | |
committed_at | string (date-time) | non | |
aggregate_id | string (uuid) | non | |
version | integer | non | |
status | "committed" | "denied" | non |
Enroll
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
legal_name | string | oui | |
profession | string | oui | |
license_number | string | oui | |
licensing_body | string (uuid) | oui | |
expiry_date | string (date) | oui | |
evidence | string (uuid) | oui |
ExpectedVersion
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
expected_version | integer | oui |
LicenseDecision
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
credential_ref | string (uuid) | oui | |
issuer_response | string | oui | |
verification_method | string | oui | |
decision | "verified" | "rejected" | oui | |
reviewer | string (uuid) | oui | |
expected_version | integer | oui | |
confirmation_reference | string | non | 1.1.0 (owner decision 2026-11-30): the professional council's confirmation reference an OHN-06 credential reviewer obtained. While no issuer integration is configured, it stands for the issuer check: the decision may be made from license_state submitted or issuer_pending, the licence is recorded as confirmation unconfirmed_manual ("manually confirmed") with the reviewer and the time, and audited. Only a credential_reviewer may give it (403 manual_confirmation_reviewer_only), never the person who enrolled the practitioner nor anyone of the enrolling organisation (403 separation_of_duties). Without it, and no issuer integration, the request answers 503 dependency_unavailable. Once an issuer integration is configured, the issuer decides and a reference is no substitute. |
AffiliationRequest
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
facility_id | string (uuid) | oui | |
role | string | oui | |
start_date | string (date) | oui | |
end_date | string (date) | non | |
approval_evidence | string (uuid) | oui |
ReasonedStep
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
expected_version | integer | oui | |
reason | string | oui |
Suspension
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
reason | string | oui | |
effective_at | string (date-time) | oui | |
issuing_authority | string (uuid) | oui | |
reviewer | string (uuid) | oui |
Policy
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
expiry_warning_days | integer | null | non | |
issuer_stale_hours | integer | null | non | |
approval_reference | string | oui |
CodeList
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
entries | array of CodeList.entries.item | oui |
ExportCommand
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
format | "csv" | "pdf" | oui | |
filters | object | non |
Standing
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
practitioner_id | string (uuid) | non | |
license_active | boolean | oui | |
membership_active | boolean | oui | |
affiliated | boolean | oui | |
suspended | boolean | non | |
expiry_date | string (date) | non | |
profession | string | non | |
reason_codes | array of string | non | |
as_of | string (date-time) | non |
OptionalReasonStep
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
expected_version | integer | oui | |
reason | string | non |
CodeList.entries.item défini sur place
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
code | string | oui | |
label_en | string | oui | |
label_fr | string | oui |