← Tous les contrats
OHN-44 Clinical Safety and Information Integrity
- Version
- 1.0.0
- OpenAPI
- 3.1.0
- Source dans le dépôt
modules/OHN-44/api/openapi.json- Serveurs
https://opeshealthnetwork.com/api/ohn/v1/clinical-safety
- Authentification
bearer: http bearer
Télécharger le contrat (JSON)
Les contrats sont rédigés en anglais.
Server paths are under /api/ohn/v1/clinical-safety. Default deny: role AND purpose must match. Inventory paths OHN-44-API-001..003 are mapped to this disjoint prefix (see ADR-0001).
Opérations
OHN-44
GET/hazardsClinical safety board
Identifiant d’opération: listHazards
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
module | query | string | non | |
severity | query | string | non | |
state | query | string | non | |
cursor | query | string | non | |
Réponses
| Code | Description | Type de média |
|---|
200 | OK | application/json: object
|
400 | Malformed request or missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied, separation of duties or role not permitted for the step | — |
404 | Not found / not disclosed | — |
409 | Version conflict, illegal transition, duplicate release or idempotency mismatch | |
422 | Domain validation failed | |
429 | Rate limited | — |
503 | Dependency unavailable (fail closed) | — |
POST/hazardsRegister a clinical hazard (F001, W001)
Identifiant d’opération: registerHazard
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
Idempotency-Key | header | string | oui | |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
201 | OK | application/json: object
|
400 | Malformed request or missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied, separation of duties or role not permitted for the step | — |
404 | Not found / not disclosed | — |
409 | Version conflict, illegal transition, duplicate release or idempotency mismatch | |
422 | Domain validation failed | |
429 | Rate limited | — |
503 | Dependency unavailable (fail closed) | — |
GET/hazards/{id}Hazard case with requirements and evidence
Identifiant d’opération: getHazard
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 request or missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied, separation of duties or role not permitted for the step | — |
404 | Not found / not disclosed | — |
409 | Version conflict, illegal transition, duplicate release or idempotency mismatch | |
422 | Domain validation failed | |
429 | Rate limited | — |
503 | Dependency unavailable (fail closed) | — |
POST/hazards/{id}/transitionsAdvance hazard management; residual-risk decisions by a reviewer who is not owner or registrant
Identifiant d’opération: stepHazard
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)
Réponses
| Code | Description | Type de média |
|---|
200 | OK | application/json: object
|
400 | Malformed request or missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied, separation of duties or role not permitted for the step | — |
404 | Not found / not disclosed | — |
409 | Version conflict, illegal transition, duplicate release or idempotency mismatch | |
422 | Domain validation failed | |
429 | Rate limited | — |
503 | Dependency unavailable (fail closed) | — |
POST/hazards/{id}/requirementsAdd a safety requirement (F002)
Identifiant d’opération: addRequirement
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)
Réponses
| Code | Description | Type de média |
|---|
201 | OK | application/json: object
|
400 | Malformed request or missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied, separation of duties or role not permitted for the step | — |
404 | Not found / not disclosed | — |
409 | Version conflict, illegal transition, duplicate release or idempotency mismatch | |
422 | Domain validation failed | |
429 | Rate limited | — |
503 | Dependency unavailable (fail closed) | — |
POST/requirements/{id}/evidenceRecord a test result reviewed by a clinician other than the author
Identifiant d’opération: addEvidence
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)
Réponses
| Code | Description | Type de média |
|---|
201 | OK | application/json: object
|
400 | Malformed request or missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied, separation of duties or role not permitted for the step | — |
404 | Not found / not disclosed | — |
409 | Version conflict, illegal transition, duplicate release or idempotency mismatch | |
422 | Domain validation failed | |
429 | Rate limited | — |
503 | Dependency unavailable (fail closed) | — |
GET/evidenceSafety evidence register
Identifiant d’opération: listEvidence
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
module | query | string | non | |
hazard_id | query | string (uuid) | non | |
release | query | string | non | |
cursor | query | string | non | |
Réponses
| Code | Description | Type de média |
|---|
200 | OK | application/json: object
|
400 | Malformed request or missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied, separation of duties or role not permitted for the step | — |
404 | Not found / not disclosed | — |
409 | Version conflict, illegal transition, duplicate release or idempotency mismatch | |
422 | Domain validation failed | |
429 | Rate limited | — |
503 | Dependency unavailable (fail closed) | — |
GET/incidentsIncidents
Identifiant d’opération: listIncidents
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
module | query | string | non | |
state | query | string | non | |
severity | query | string | non | |
cursor | query | string | non | |
Réponses
| Code | Description | Type de média |
|---|
200 | OK | application/json: object
|
400 | Malformed request or missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied, separation of duties or role not permitted for the step | — |
404 | Not found / not disclosed | — |
409 | Version conflict, illegal transition, duplicate release or idempotency mismatch | |
422 | Domain validation failed | |
429 | Rate limited | — |
503 | Dependency unavailable (fail closed) | — |
POST/incidentsReport a clinical safety incident (W002)
Identifiant d’opération: reportIncident
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
Idempotency-Key | header | string | oui | |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
201 | OK | application/json: object
|
400 | Malformed request or missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied, separation of duties or role not permitted for the step | — |
404 | Not found / not disclosed | — |
409 | Version conflict, illegal transition, duplicate release or idempotency mismatch | |
422 | Domain validation failed | |
429 | Rate limited | — |
503 | Dependency unavailable (fail closed) | — |
POST/incidents/{id}/transitionsAdvance an incident; remediation verified by a reviewer who is not the reporter
Identifiant d’opération: stepIncident
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)
Réponses
| Code | Description | Type de média |
|---|
200 | OK | application/json: object
|
400 | Malformed request or missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied, separation of duties or role not permitted for the step | — |
404 | Not found / not disclosed | — |
409 | Version conflict, illegal transition, duplicate release or idempotency mismatch | |
422 | Domain validation failed | |
429 | Rate limited | — |
503 | Dependency unavailable (fail closed) | — |
GET/releasesReleases
Identifiant d’opération: listReleases
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
module | query | string | non | |
state | query | string | non | |
cursor | query | string | non | |
Réponses
| Code | Description | Type de média |
|---|
200 | OK | application/json: object
|
400 | Malformed request or missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied, separation of duties or role not permitted for the step | — |
404 | Not found / not disclosed | — |
409 | Version conflict, illegal transition, duplicate release or idempotency mismatch | |
422 | Domain validation failed | |
429 | Rate limited | — |
503 | Dependency unavailable (fail closed) | — |
POST/releasesSubmit a build to the clinical release gate (W003)
Identifiant d’opération: submitRelease
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
Idempotency-Key | header | string | oui | |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
201 | OK | application/json: object
|
400 | Malformed request or missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied, separation of duties or role not permitted for the step | — |
404 | Not found / not disclosed | — |
409 | Version conflict, illegal transition, duplicate release or idempotency mismatch | |
422 | Domain validation failed | |
429 | Rate limited | — |
503 | Dependency unavailable (fail closed) | — |
GET/releases/{id}Release with blockers
Identifiant d’opération: getRelease
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 request or missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied, separation of duties or role not permitted for the step | — |
404 | Not found / not disclosed | — |
409 | Version conflict, illegal transition, duplicate release or idempotency mismatch | |
422 | Domain validation failed | |
429 | Rate limited | — |
503 | Dependency unavailable (fail closed) | — |
POST/releases/{id}/transitionsCheck hazards (computes blockers) or send to clinical review
Identifiant d’opération: stepRelease
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)
Réponses
| Code | Description | Type de média |
|---|
200 | OK | application/json: object
|
400 | Malformed request or missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied, separation of duties or role not permitted for the step | — |
404 | Not found / not disclosed | — |
409 | Version conflict, illegal transition, duplicate release or idempotency mismatch | |
422 | Domain validation failed | |
429 | Rate limited | — |
503 | Dependency unavailable (fail closed) | — |
POST/releases/{id}/approveApprove or block a release (F003); approval with blockers is refused
Identifiant d’opération: decideRelease
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)
Réponses
| Code | Description | Type de média |
|---|
200 | OK | application/json: object
|
400 | Malformed request or missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied, separation of duties or role not permitted for the step | — |
404 | Not found / not disclosed | — |
409 | Version conflict, illegal transition, duplicate release or idempotency mismatch | |
422 | Domain validation failed | |
429 | Rate limited | — |
503 | Dependency unavailable (fail closed) | — |
GET/safety-case/{moduleId}Safety case for a module with a content digest
Identifiant d’opération: exportSafetyCase
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
moduleId | path | string | oui | |
Réponses
| Code | Description | Type de média |
|---|
200 | OK | application/json: object
|
400 | Malformed request or missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied, separation of duties or role not permitted for the step | — |
404 | Not found / not disclosed | — |
409 | Version conflict, illegal transition, duplicate release or idempotency mismatch | |
422 | Domain validation failed | |
429 | Rate limited | — |
503 | Dependency unavailable (fail closed) | — |
GET/code-lists/{list}Controlled list (severity, likelihood, residual_risk)
Identifiant d’opération: getCodeList
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
list | path | "severity" | "likelihood" | "residual_risk" | oui | |
Réponses
| Code | Description | Type de média |
|---|
200 | OK | application/json: object
|
400 | Malformed request or missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied, separation of duties or role not permitted for the step | — |
404 | Not found / not disclosed | — |
409 | Version conflict, illegal transition, duplicate release or idempotency mismatch | |
422 | Domain validation failed | |
429 | Rate limited | — |
503 | Dependency unavailable (fail closed) | — |
POST/code-lists/{list}Upsert controlled list entries
Identifiant d’opération: upsertCodeList
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
list | path | "severity" | "likelihood" | "residual_risk" | oui | |
Idempotency-Key | header | string | oui | |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
200 | OK | application/json: object
|
400 | Malformed request or missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied, separation of duties or role not permitted for the step | — |
404 | Not found / not disclosed | — |
409 | Version conflict, illegal transition, duplicate release or idempotency mismatch | |
422 | Domain validation failed | |
429 | Rate limited | — |
503 | Dependency unavailable (fail closed) | — |
GET/policyRelease-blocking policy
Identifiant d’opération: getPolicy
Authentification: bearer
Réponses
| Code | Description | Type de média |
|---|
200 | OK | application/json: object
|
400 | Malformed request or missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied, separation of duties or role not permitted for the step | — |
404 | Not found / not disclosed | — |
409 | Version conflict, illegal transition, duplicate release or idempotency mismatch | |
422 | Domain validation failed | |
429 | Rate limited | — |
503 | Dependency unavailable (fail closed) | — |
POST/policySet the release-blocking policy
Identifiant d’opération: setPolicy
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
Idempotency-Key | header | string | oui | |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
200 | OK | application/json: object
|
400 | Malformed request or missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied, separation of duties or role not permitted for the step | — |
404 | Not found / not disclosed | — |
409 | Version conflict, illegal transition, duplicate release or idempotency mismatch | |
422 | Domain validation failed | |
429 | Rate limited | — |
503 | Dependency unavailable (fail closed) | — |
POST/maintenance/drain-outboxReport pending outbox events (no sink: nothing claimed delivered)
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 or missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied, separation of duties or role not permitted for the step | — |
404 | Not found / not disclosed | — |
409 | Version conflict, illegal transition, duplicate release or idempotency mismatch | |
422 | Domain validation failed | |
429 | Rate limited | — |
503 | Dependency unavailable (fail closed) | — |
GET/report-catalogAvailable reports
Identifiant d’opération: reportCatalog
Authentification: bearer
Réponses
| Code | Description | Type de média |
|---|
200 | OK | application/json: object
|
400 | Malformed request or missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied, separation of duties or role not permitted for the step | — |
404 | Not found / not disclosed | — |
409 | Version conflict, illegal transition, duplicate release or idempotency mismatch | |
422 | Domain validation failed | |
429 | Rate limited | — |
503 | Dependency unavailable (fail closed) | — |
GET/reports/{reportId}Run report R001..R003
Identifiant d’opération: runReport
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
reportId | path | string | oui | |
module | query | string | non | |
severity | query | string | non | |
release | query | string | non | |
jurisdiction | 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 or missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied, separation of duties or role not permitted for the step | — |
404 | Not found / not disclosed | — |
409 | Version conflict, illegal transition, duplicate release or idempotency mismatch | |
422 | Domain validation failed | |
429 | Rate limited | — |
503 | Dependency unavailable (fail closed) | — |
POST/reports/{reportId}/exportCreate a signed single-use report export
Identifiant d’opération: exportReport
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
reportId | path | string | oui | |
Idempotency-Key | header | string | oui | |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
201 | OK | application/json: object
|
400 | Malformed request or missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied, separation of duties or role not permitted for the step | — |
404 | Not found / not disclosed | — |
409 | Version conflict, illegal transition, duplicate release or idempotency mismatch | |
422 | Domain validation failed | |
429 | Rate limited | — |
503 | Dependency unavailable (fail closed) | — |
GET/report-exports/{token}Download a report export once
Identifiant d’opération: downloadReportExport
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 or missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied, separation of duties or role not permitted for the step | — |
404 | Not found / not disclosed | — |
409 | Version conflict, illegal transition, duplicate release or idempotency mismatch | |
422 | Domain validation failed | |
429 | Rate limited | — |
503 | Dependency unavailable (fail closed) | — |
Schémas
HazardCommand
| Nom | Type | Obligatoire | Description |
|---|
module_id | string | oui | |
hazard_description | string | oui | |
severity | string | oui | |
likelihood | string | oui | |
hazard_owner | string | oui | |
affected_user_story | string | oui | |
HazardStepCommand
| Nom | Type | Obligatoire | Description |
|---|
to_state | "severity_assessed" | "control_defined" | "tested" | "residual_risk_accepted_or_rejected" | oui | |
expected_version | integer | oui | |
reason | string | oui | |
severity | string | non | |
likelihood | string | non | |
residual_risk | string | non | |
decision | "accepted" | "rejected" | non | |
RequirementCommand
| Nom | Type | Obligatoire | Description |
|---|
mitigation_requirement | string | oui | |
residual_risk | string | oui | |
EvidenceCommand
| Nom | Type | Obligatoire | Description |
|---|
test_ref | string | oui | |
result | "pass" | "fail" | oui | |
release_ref | string | non | |
IncidentCommand
| Nom | Type | Obligatoire | Description |
|---|
module_id | string | oui | |
hazard_id | string | non | |
description | string | oui | |
severity | string | oui | |
clinical_impact | string | oui | |
IncidentStepCommand
| Nom | Type | Obligatoire | Description |
|---|
to_state | "clinical_triage" | "containment" | "root_cause" | "verified_remediation" | oui | |
expected_version | integer | oui | |
reason | string | oui | |
containment | string | non | |
root_cause | string | non | |
remediation_ref | string | non | |
ReleaseSubmitCommand
| Nom | Type | Obligatoire | Description |
|---|
module_id | string | oui | |
release_ref | string | oui | |
ReleaseStepCommand
| Nom | Type | Obligatoire | Description |
|---|
to_state | "hazards_checked" | "clinical_review" | oui | |
expected_version | integer | oui | |
reason | string | oui | |
ReleaseDecisionCommand
| Nom | Type | Obligatoire | Description |
|---|
hazard_closure_evidence | string | oui | |
unresolved_issues | string | oui | |
clinical_signoff | string | oui | |
decision | "approve" | "block" | oui | |
expected_version | integer | oui | |
reason | string | oui | |
PolicyCommand
| Nom | Type | Obligatoire | Description |
|---|
blocking_severities | array of string | oui | |
blocking_residual_risks | array of string | oui | |
approval_reference | string | oui | |
expected_version | integer | non | |
Error
| Nom | Type | Obligatoire | Description |
|---|
error | string | non | |
message | string | non | |
details | object | non | |
CodeListBody.entries.item défini sur place
| Nom | Type | Obligatoire | Description |
|---|
code | string | oui | |
label | string | oui | |
rank | integer | oui | |
active | boolean | non | |
ExportCommand.filters défini sur place
| Nom | Type | Obligatoire | Description |
|---|
module | string | non | |
severity | string | non | |
release | string | non | |
jurisdiction | string | non | |
period_from | string | non | |
period_to | string | non | |