OHN-23 Clinical Terminology Service
- Version
- 1.0.0
- OpenAPI
- 3.1.0
- Source dans le dépôt
modules/OHN-23/api/openapi.json- Serveurs
https://opeshealthnetwork.com/api/ohn/v1/terminology- Authentification
bearer: http bearer
Les contrats sont rédigés en anglais.
Code systems, concept maps, value sets, licences, FHIR-style terminology operations and reports. Default deny; bearer authentication; every mutating request needs an Idempotency-Key header. Terminology content is served only for an exact published version whose licence is valid in the caller's country. No licensed terminology content ships with this module.
Opérations
- Autres opérations (27)
Autres opérations
GET/codesBrowse concepts of one exact published version
Identifiant d’opération: ohn-23_get_codes
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
system | query | string | oui | |
version | query | string | non | Required when several versions are published (422 ambiguous_version) |
code | query | string | non | |
q | query | string | non | |
language | query | string | non | |
include_deprecated | query | boolean | non | |
page | query | integer | non |
Réponses
POST/validate-codeValidate a code (and optionally its display)
Identifiant d’opération: ohn-23_post_validate-code
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/json:ValidateCodeCommand
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | result true/false with reason, deprecation and display warnings | — |
400 | Typed error | application/json: Error |
401 | Typed error | application/json: Error |
403 | Typed error | application/json: Error |
404 | Typed error | application/json: Error |
409 | Typed error | application/json: Error |
422 | Typed error | application/json: Error |
429 | Typed error | application/json: Error |
503 | Typed error | application/json: Error |
POST/expandExpand an ACTIVE value set (pinned versions; licence re-checked at serve time)
Identifiant d’opération: ohn-23_post_expand
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/json:ExpandCommand
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | Expansion with hash and drift flag | — |
400 | Typed error | application/json: Error |
401 | Typed error | application/json: Error |
403 | Typed error | application/json: Error |
404 | Typed error | application/json: Error |
409 | Typed error | application/json: Error |
422 | Typed error | application/json: Error |
429 | Typed error | application/json: Error |
503 | Typed error | application/json: Error |
POST/conceptmap/translateTranslate through current, accepted, undisputed mappings only
Identifiant d’opération: ohn-23_post_conceptmap-translate
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/json:TranslateCommand
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | matches, with counts withheld for disputed and licence-restricted targets | — |
400 | Typed error | application/json: Error |
401 | Typed error | application/json: Error |
403 | Typed error | application/json: Error |
404 | Typed error | application/json: Error |
409 | Typed error | application/json: Error |
422 | Typed error | application/json: Error |
429 | Typed error | application/json: Error |
503 | Typed error | application/json: Error |
GET/deprecation-impactDependants of deprecated concepts in one version
Identifiant d’opération: ohn-23_get_deprecation-impact
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
system | query | string | oui | |
version | query | string | non |
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | deprecated codes, value sets, current mappings | — |
401 | Typed error | application/json: Error |
403 | Typed error | application/json: Error |
404 | Typed error | application/json: Error |
422 | Typed error | application/json: Error |
429 | Typed error | application/json: Error |
503 | Typed error | application/json: Error |
POST/artifactsStage a terminology or evidence artifact (malware-scanned, content-referenced)
Identifiant d’opération: ohn-23_post_artifacts
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
Idempotency-Key | header | string | oui |
Réponses
GET/licenses
Identifiant d’opération: ohn-23_get_licenses
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
license_state | query | "valid" | "revoked" | "expired" | "country_out_of_scope" | non | |
page | query | integer | non |
Réponses
POST/licensesRegister licence evidence (F004; steward)
Identifiant d’opération: ohn-23_post_licenses
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/json:LicenseCommand
Réponses
GET/licenses/{id}
Identifiant d’opération: ohn-23_get_licenses-id
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string (uuid) | oui |
Réponses
POST/licenses/{id}/revokeRevoke: content under this licence is withheld immediately
Identifiant d’opération: ohn-23_post_licenses-id-revoke
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui |
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | Revoked | — |
400 | Typed error | application/json: Error |
401 | Typed error | application/json: Error |
403 | Typed error | application/json: Error |
404 | Typed error | application/json: Error |
409 | Typed error | application/json: Error |
422 | Typed error | application/json: Error |
429 | Typed error | application/json: Error |
503 | Typed error | application/json: Error |
POST/licenses/{id}/renew
Identifiant d’opération: ohn-23_post_licenses-id-renew
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui |
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | Renewed | — |
400 | Typed error | application/json: Error |
401 | Typed error | application/json: Error |
403 | Typed error | application/json: Error |
404 | Typed error | application/json: Error |
409 | Typed error | application/json: Error |
422 | Typed error | application/json: Error |
429 | Typed error | application/json: Error |
503 | Typed error | application/json: Error |
GET/code-systems
Identifiant d’opération: ohn-23_get_code-systems
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
status | query | string | non | |
page | query | integer | non |
Réponses
POST/code-systemsRegister a code set import (F001; steward). State: uploaded
Identifiant d’opération: ohn-23_post_code-systems
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/json:CodeSystemImportCommand
Réponses
GET/code-systems/{id}
Identifiant d’opération: ohn-23_get_code-systems-id
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string (uuid) | oui |
Réponses
POST/code-systems/{id}/transitionsW001 one gate at a time: checksum_verified, license_validated, concepts_indexed, published (emits terminology.version.published)
Identifiant d’opération: ohn-23_post_code-systems-id-transitions
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:TransitionCommand
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | Advanced | — |
400 | Typed error | application/json: Error |
401 | Typed error | application/json: Error |
403 | Typed error | application/json: Error |
404 | Typed error | application/json: Error |
409 | Typed error | application/json: Error |
422 | Typed error | application/json: Error |
429 | Typed error | application/json: Error |
503 | Typed error | application/json: Error |
GET/concept-maps
Identifiant d’opération: ohn-23_get_concept-maps
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
status | query | string | non | |
disputed | query | boolean | non | |
page | query | integer | non |
Réponses
POST/concept-mapsPropose a mapping (F002). The reviewer must differ from the proposer
Identifiant d’opération: ohn-23_post_concept-maps
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/json:ConceptMapCommand
Réponses
| Code | Description | Type de média |
|---|---|---|
201 | Candidate | — |
400 | Typed error | application/json: Error |
401 | Typed error | application/json: Error |
403 | Typed error | application/json: Error |
409 | Typed error | application/json: Error |
422 | Typed error | application/json: Error |
429 | Typed error | application/json: Error |
503 | Typed error | application/json: Error |
GET/concept-maps/{id}
Identifiant d’opération: ohn-23_get_concept-maps-id
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string (uuid) | oui |
Réponses
POST/concept-maps/{id}/transitionsW002: clinical_review, accepted_or_rejected (named reviewer only; rejected is final), versioned (supersedes the previous mapping)
Identifiant d’opération: ohn-23_post_concept-maps-id-transitions
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:TransitionCommand
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | Advanced | — |
400 | Typed error | application/json: Error |
401 | Typed error | application/json: Error |
403 | Typed error | application/json: Error |
404 | Typed error | application/json: Error |
409 | Typed error | application/json: Error |
422 | Typed error | application/json: Error |
429 | Typed error | application/json: Error |
503 | Typed error | application/json: Error |
POST/concept-maps/{id}/disputeDispute a versioned mapping (emits terminology.mapping.disputed; withheld from translation)
Identifiant d’opération: ohn-23_post_concept-maps-id-dispute
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui |
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | Disputed | — |
400 | Typed error | application/json: Error |
401 | Typed error | application/json: Error |
403 | Typed error | application/json: Error |
404 | Typed error | application/json: Error |
409 | Typed error | application/json: Error |
422 | Typed error | application/json: Error |
429 | Typed error | application/json: Error |
503 | Typed error | application/json: Error |
GET/value-sets
Identifiant d’opération: ohn-23_get_value-sets
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
status | query | string | non | |
page | query | integer | non |
Réponses
POST/value-setsSubmit a value set (F003; steward). The approver must differ from the author
Identifiant d’opération: ohn-23_post_value-sets
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/json:ValueSetCommand
Réponses
GET/value-sets/{id}
Identifiant d’opération: ohn-23_get_value-sets-id
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string (uuid) | oui |
Réponses
POST/value-sets/{id}/transitionsW003: expanded, tested (drift, empty and deprecated gates), approved (named approver), active
Identifiant d’opération: ohn-23_post_value-sets-id-transitions
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:TransitionCommand
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | Advanced | — |
400 | Typed error | application/json: Error |
401 | Typed error | application/json: Error |
403 | Typed error | application/json: Error |
404 | Typed error | application/json: Error |
409 | Typed error | application/json: Error |
422 | Typed error | application/json: Error |
429 | Typed error | application/json: Error |
503 | Typed error | application/json: Error |
GET/reports/{reportId}
Identifiant d’opération: ohn-23_get_reports-reportid
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
reportId | path | "OHN-23-R001" | "OHN-23-R002" | "OHN-23-R003" | oui |
Réponses
POST/reports/{reportId}/exportSigned, owner-only, single-use, five-minute export (csv|pdf)
Identifiant d’opération: ohn-23_post_reports-reportid-export
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
reportId | path | string | oui | |
Idempotency-Key | header | string | oui |
Réponses
| Code | Description | Type de média |
|---|---|---|
201 | download_path | — |
400 | Typed error | application/json: Error |
401 | Typed error | application/json: Error |
403 | Typed error | application/json: Error |
404 | Typed error | application/json: Error |
409 | Typed error | application/json: Error |
422 | Typed error | application/json: Error |
429 | Typed error | application/json: Error |
503 | Typed error | application/json: Error |
GET/exports/{id}/download
Identifiant d’opération: ohn-23_get_exports-id-download
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string (uuid) | oui |
Réponses
Schémas
Error
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
error | string | oui | e.g. unknown_system, unknown_version, ambiguous_version, license_restricted, checksum_mismatch, expansion_drift, rejected_is_final |
message | string | non | |
fields | object | non | |
form | array of string | non | Validation messages that belong to no single field (unrecognized keys, a body that is not an object). |
current_version | integer | non | On stale_version: the version now stored. |
candidates | array of string | non | On ambiguous_version: the published versions to choose from. |
details | object | non | On expansion refusals: the system, version and unknown codes. |
state | string | non | |
next_state | string | null | non | |
codes | array of string | non | |
type | string | non | |
title | string | non | |
status | integer | non | |
detail | string | non | |
trace_id | string | non |
ValidateCodeCommand
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
system | string (uri) | oui | |
code | string | oui | |
version | string | non | |
display | string | non | |
language | string | non |
ExpandCommand
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
value_set_uri | string (uri) | oui | |
version | string | non | |
filter | string | non | |
offset | integer | non | |
count | integer | non |
TranslateCommand
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
source_system | string (uri) | oui | |
source_code | string | oui | |
source_version | string | non | |
target_system | string (uri) | oui |
LicenseCommand
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
licensor | string (uuid) | oui | |
license_scope | string | oui | |
country_scope | string | oui | ISO 3166-1 alpha-2 codes separated by commas or spaces |
expires_at | string (date) | non | |
evidence | string (uuid) | oui |
CodeSystemImportCommand
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
code_system_uri | string (uri) | oui | |
version | string | oui | |
licensed_source | string (uuid) | oui | |
effective_at | string (date) | oui | |
artifact | string (uuid) | oui | |
checksum | string | oui | SHA-256 hex, optional sha256: prefix |
ConceptMapCommand
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
source_code | string | oui | |
source_system | string (uri) | oui | |
source_version | string | non | |
target_code | string | oui | |
target_system | string (uri) | oui | |
target_version | string | non | |
equivalence | "equivalent" | "equal" | "wider" | "subsumes" | "narrower" | "specializes" | "inexact" | "relatedto" | "disjoint" | oui | |
reviewer | string (uuid) | oui | |
clinical_rationale | string | oui |
ValueSetCommand
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
value_set_uri | string (uri) | oui | |
version | string | oui | |
expansion_policy | "pinned_snapshot" | "pinned_recompute" | oui | |
effective_at | string (date) | oui | |
approver | string (uuid) | oui | |
compose | array of ValueSetCommand.compose.item | oui |
TransitionCommand
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
expected_version | integer | oui | |
to_state | string | oui | |
decision | "accepted" | "rejected" | non | |
reason | string | non |
ArtifactCommand
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
kind | "terminology" | "evidence" | oui | |
media_type | string | oui | |
content_base64 | string | oui |
LicenseRevokeCommand
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
expected_version | integer | oui | |
reason | string | oui |
LicenseRenewCommand
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
expected_version | integer | oui | |
expires_at | string | null (date) | oui | |
evidence | string (uuid) | oui |
DisputeCommand
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
expected_version | integer | oui | |
reason | string | oui |
ExportCommand
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
format | "csv" | "pdf" | oui | |
filters | object | non |
ValueSetCommand.compose.item défini sur place
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
system | string | oui | |
version | string | oui | |
codes | array of string | non | |
descendants_of | string | non |