OHN-21 FHIR Interoperability Gateway
- Version
- 1.0.1
- OpenAPI
- 3.1.0
- Source dans le dépôt
modules/OHN-21/api/openapi.yaml- Serveurs
https://opeshealthnetwork.com- Authentification
bearerAuth: http bearer (JWT)
Les contrats sont rédigés en anglais.
Governed FHIR R4 gateway. All operations need a bearer token carrying role, jurisdiction, organization and purpose of use; default deny. Paths under /R4 answer with FHIR resources (OperationOutcome on every failure). Every POST needs an Idempotency-Key. Synthetic data only until upstream services (OHN-16, 18, 23, 39, 41) are accepted. Tokens come from the platform gateway (ES256, audience ohn-21); the TypeScript-only synthetic sign-in (POST /synthetic-token) is not served by the Java service and is not part of this contract. A query string is strict: an unknown or repeated key, or a bad value, is 422 domain_validation_failed. Error bodies are the platform problem+json superset of {error, message, details}; on /R4 paths every failure is an OperationOutcome whose issue[0].details.coding[0].code is the machine error and whose extension urn:ohn:ohn-21:details carries the details as JSON text.
Opérations
- Autres opérations (28)
Autres opérations
GET/health/ohn-21Liveness and dependency mode
Identifiant d’opération: ohn21_health
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | Healthy | — |
503 | Database unavailable | — |
GET/api/ohn/v1/fhir/R4/metadataPublished CapabilityStatement (FHIR metadata)
Identifiant d’opération: ohn21_metadata
Authentification: bearerAuth
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | Success | application/fhir+json: object |
400 | OperationOutcome | application/fhir+json: OperationOutcome |
401 | OperationOutcome | application/fhir+json: OperationOutcome |
403 | OperationOutcome | application/fhir+json: OperationOutcome |
404 | OperationOutcome | application/fhir+json: OperationOutcome |
409 | OperationOutcome | application/fhir+json: OperationOutcome |
410 | OperationOutcome | application/fhir+json: OperationOutcome |
422 | OperationOutcome | application/fhir+json: OperationOutcome |
429 | OperationOutcome | application/fhir+json: OperationOutcome |
503 | OperationOutcome | application/fhir+json: OperationOutcome |
POST/api/ohn/v1/fhir/R4Process an atomic FHIR transaction Bundle (W001, W002)
Identifiant d’opération: ohn21_transaction
Authentification: bearerAuth
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/fhir+json:FhirBundle
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | Success | application/fhir+json: object |
202 | Held for reconciliation (upstream unavailable) | application/fhir+json: OperationOutcome |
400 | OperationOutcome | application/fhir+json: OperationOutcome |
401 | OperationOutcome | application/fhir+json: OperationOutcome |
403 | OperationOutcome | application/fhir+json: OperationOutcome |
404 | OperationOutcome | application/fhir+json: OperationOutcome |
409 | OperationOutcome | application/fhir+json: OperationOutcome |
410 | OperationOutcome | application/fhir+json: OperationOutcome |
422 | OperationOutcome | application/fhir+json: OperationOutcome |
429 | OperationOutcome | application/fhir+json: OperationOutcome |
503 | OperationOutcome | application/fhir+json: OperationOutcome |
GET/api/ohn/v1/fhir/R4/Patient/{id}Read a Patient after routing and OHN-16 PDP permit
Identifiant d’opération: ohn21_readPatient
Authentification: bearerAuth
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string (uuid) | oui |
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | Success | application/fhir+json: object |
400 | OperationOutcome | application/fhir+json: OperationOutcome |
401 | OperationOutcome | application/fhir+json: OperationOutcome |
403 | OperationOutcome | application/fhir+json: OperationOutcome |
404 | OperationOutcome | application/fhir+json: OperationOutcome |
409 | OperationOutcome | application/fhir+json: OperationOutcome |
410 | OperationOutcome | application/fhir+json: OperationOutcome |
422 | OperationOutcome | application/fhir+json: OperationOutcome |
429 | OperationOutcome | application/fhir+json: OperationOutcome |
503 | OperationOutcome | application/fhir+json: OperationOutcome |
POST/api/ohn/v1/fhir/R4/$validateValidate a resource against a profile pack (OHN-21-F003-SUBMIT)
Identifiant d’opération: ohn21_validate
Authentification: bearerAuth
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/fhir+json:ValidateParameters
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | Success | application/fhir+json: object |
400 | OperationOutcome | application/fhir+json: OperationOutcome |
401 | OperationOutcome | application/fhir+json: OperationOutcome |
403 | OperationOutcome | application/fhir+json: OperationOutcome |
404 | OperationOutcome | application/fhir+json: OperationOutcome |
409 | OperationOutcome | application/fhir+json: OperationOutcome |
410 | OperationOutcome | application/fhir+json: OperationOutcome |
422 | OperationOutcome | application/fhir+json: OperationOutcome |
429 | OperationOutcome | application/fhir+json: OperationOutcome |
503 | OperationOutcome | application/fhir+json: OperationOutcome |
GET/api/ohn/v1/fhir/contextCaller context and capability flags
Identifiant d’opération: ohn21_context
Authentification: bearerAuth
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | Success | application/json: object |
400 | Error | application/json: Error |
401 | Error | application/json: Error |
403 | Error | application/json: Error |
404 | Error | application/json: Error |
409 | Error | application/json: Error |
410 | Error | application/json: Error |
422 | Error | application/json: Error |
429 | Error | application/json: Error |
503 | Error | application/json: Error |
GET/api/ohn/v1/fhir/vocabularyControlled vocabulary
Identifiant d’opération: ohn21_vocabulary
Authentification: bearerAuth
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | Success | application/json: object |
400 | Error | application/json: Error |
401 | Error | application/json: Error |
403 | Error | application/json: Error |
404 | Error | application/json: Error |
409 | Error | application/json: Error |
410 | Error | application/json: Error |
422 | Error | application/json: Error |
429 | Error | application/json: Error |
503 | Error | application/json: Error |
GET/api/ohn/v1/fhir/routesList FHIR routes
Identifiant d’opération: ohn21_listRoutes
Authentification: bearerAuth
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
state | query | RouteState | non | |
organization_id | query | string (uuid) | non |
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | Success | application/json: object |
400 | Error | application/json: Error |
401 | Error | application/json: Error |
403 | Error | application/json: Error |
404 | Error | application/json: Error |
409 | Error | application/json: Error |
410 | Error | application/json: Error |
422 | Error | application/json: Error |
429 | Error | application/json: Error |
503 | Error | application/json: Error |
POST/api/ohn/v1/fhir/routesCreate a FHIR integration route (OHN-21-F001-SUBMIT)
Identifiant d’opération: ohn21_createRoute
Authentification: bearerAuth
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/json:RouteCreate
Réponses
| Code | Description | Type de média |
|---|---|---|
201 | Success | application/json: object |
400 | Error | application/json: Error |
401 | Error | application/json: Error |
403 | Error | application/json: Error |
404 | Error | application/json: Error |
409 | Error | application/json: Error |
410 | Error | application/json: Error |
422 | Error | application/json: Error |
429 | Error | application/json: Error |
503 | Error | application/json: Error |
GET/api/ohn/v1/fhir/routes/{id}Route detail with history, policies and validation runs
Identifiant d’opération: ohn21_getRoute
Authentification: bearerAuth
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string (uuid) | oui |
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | Success | application/json: object |
400 | Error | application/json: Error |
401 | Error | application/json: Error |
403 | Error | application/json: Error |
404 | Error | application/json: Error |
409 | Error | application/json: Error |
410 | Error | application/json: Error |
422 | Error | application/json: Error |
429 | Error | application/json: Error |
503 | Error | application/json: Error |
POST/api/ohn/v1/fhir/routes/{id}/verify-trustW003 partner_trust_verified (OHN-39, separation of duties)
Identifiant d’opération: ohn21_verifyTrust
Authentification: bearerAuth
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:Versioned
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | Success | application/json: object |
400 | Error | application/json: Error |
401 | Error | application/json: Error |
403 | Error | application/json: Error |
404 | Error | application/json: Error |
409 | Error | application/json: Error |
410 | Error | application/json: Error |
422 | Error | application/json: Error |
429 | Error | application/json: Error |
503 | Error | application/json: Error |
POST/api/ohn/v1/fhir/routes/{id}/check-profilesW003 profiles_checked (OHN-41)
Identifiant d’opération: ohn21_checkProfiles
Authentification: bearerAuth
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:Versioned
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | Success | application/json: object |
400 | Error | application/json: Error |
401 | Error | application/json: Error |
403 | Error | application/json: Error |
404 | Error | application/json: Error |
409 | Error | application/json: Error |
410 | Error | application/json: Error |
422 | Error | application/json: Error |
429 | Error | application/json: Error |
503 | Error | application/json: Error |
POST/api/ohn/v1/fhir/routes/{id}/testW003 tested (needs passing strict validation runs)
Identifiant d’opération: ohn21_testRoute
Authentification: bearerAuth
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:Versioned
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | Success | application/json: object |
400 | Error | application/json: Error |
401 | Error | application/json: Error |
403 | Error | application/json: Error |
404 | Error | application/json: Error |
409 | Error | application/json: Error |
410 | Error | application/json: Error |
422 | Error | application/json: Error |
429 | Error | application/json: Error |
503 | Error | application/json: Error |
POST/api/ohn/v1/fhir/routes/{id}/enableW003 enabled (writes routing policy; refuses profile drift)
Identifiant d’opération: ohn21_enableRoute
Authentification: bearerAuth
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:Versioned
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | Success | application/json: object |
400 | Error | application/json: Error |
401 | Error | application/json: Error |
403 | Error | application/json: Error |
404 | Error | application/json: Error |
409 | Error | application/json: Error |
410 | Error | application/json: Error |
422 | Error | application/json: Error |
429 | Error | application/json: Error |
503 | Error | application/json: Error |
POST/api/ohn/v1/fhir/routes/{id}/disableDisable a route and retire its routing policy
Identifiant d’opération: ohn21_disableRoute
Authentification: bearerAuth
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:Disable
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | Success | application/json: object |
400 | Error | application/json: Error |
401 | Error | application/json: Error |
403 | Error | application/json: Error |
404 | Error | application/json: Error |
409 | Error | application/json: Error |
410 | Error | application/json: Error |
422 | Error | application/json: Error |
429 | Error | application/json: Error |
503 | Error | application/json: Error |
GET/api/ohn/v1/fhir/routing-policiesList routing policy snapshots
Identifiant d’opération: ohn21_listRoutingPolicies
Authentification: bearerAuth
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
status | query | "active" | "retired" | non |
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | Success | application/json: object |
400 | Error | application/json: Error |
401 | Error | application/json: Error |
403 | Error | application/json: Error |
404 | Error | application/json: Error |
409 | Error | application/json: Error |
410 | Error | application/json: Error |
422 | Error | application/json: Error |
429 | Error | application/json: Error |
503 | Error | application/json: Error |
GET/api/ohn/v1/fhir/validation-runsList validation runs (content references only)
Identifiant d’opération: ohn21_listValidationRuns
Authentification: bearerAuth
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
route_id | query | string (uuid) | non |
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | Success | application/json: object |
400 | Error | application/json: Error |
401 | Error | application/json: Error |
403 | Error | application/json: Error |
404 | Error | application/json: Error |
409 | Error | application/json: Error |
410 | Error | application/json: Error |
422 | Error | application/json: Error |
429 | Error | application/json: Error |
503 | Error | application/json: Error |
GET/api/ohn/v1/fhir/transactionsList FHIR transactions
Identifiant d’opération: ohn21_listTransactions
Authentification: bearerAuth
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
status | query | TransactionState | non | |
organization_id | query | string (uuid) | non |
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | Success | application/json: object |
400 | Error | application/json: Error |
401 | Error | application/json: Error |
403 | Error | application/json: Error |
404 | Error | application/json: Error |
409 | Error | application/json: Error |
410 | Error | application/json: Error |
422 | Error | application/json: Error |
429 | Error | application/json: Error |
503 | Error | application/json: Error |
GET/api/ohn/v1/fhir/transactions/{id}Transaction detail with retries and rollback evidence
Identifiant d’opération: ohn21_getTransaction
Authentification: bearerAuth
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string (uuid) | oui |
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | Success | application/json: object |
400 | Error | application/json: Error |
401 | Error | application/json: Error |
403 | Error | application/json: Error |
404 | Error | application/json: Error |
409 | Error | application/json: Error |
410 | Error | application/json: Error |
422 | Error | application/json: Error |
429 | Error | application/json: Error |
503 | Error | application/json: Error |
POST/api/ohn/v1/fhir/transactions/{id}/retryRetry a held, rejected or rolled-back transaction (OHN-21-F002-SUBMIT)
Identifiant d’opération: ohn21_retryTransaction
Authentification: bearerAuth
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:Retry
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | Success | application/json: object |
400 | Error | application/json: Error |
401 | Error | application/json: Error |
403 | Error | application/json: Error |
404 | Error | application/json: Error |
409 | Error | application/json: Error |
410 | Error | application/json: Error |
422 | Error | application/json: Error |
429 | Error | application/json: Error |
503 | Error | application/json: Error |
GET/api/ohn/v1/fhir/capability-statementsPublished CapabilityStatement versions
Identifiant d’opération: ohn21_listCapabilityStatements
Authentification: bearerAuth
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | Success | application/json: object |
400 | Error | application/json: Error |
401 | Error | application/json: Error |
403 | Error | application/json: Error |
404 | Error | application/json: Error |
409 | Error | application/json: Error |
410 | Error | application/json: Error |
422 | Error | application/json: Error |
429 | Error | application/json: Error |
503 | Error | application/json: Error |
GET/api/ohn/v1/fhir/capability-statements/previewDraft CapabilityStatement compared with the published one
Identifiant d’opération: ohn21_previewCapabilityStatement
Authentification: bearerAuth
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | Success | application/json: object |
400 | Error | application/json: Error |
401 | Error | application/json: Error |
403 | Error | application/json: Error |
404 | Error | application/json: Error |
409 | Error | application/json: Error |
410 | Error | application/json: Error |
422 | Error | application/json: Error |
429 | Error | application/json: Error |
503 | Error | application/json: Error |
POST/api/ohn/v1/fhir/capability-statements/publishReviewer decision on the draft CapabilityStatement
Identifiant d’opération: ohn21_publishCapabilityStatement
Authentification: bearerAuth
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/json:Publish
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | Success | application/json: object |
400 | Error | application/json: Error |
401 | Error | application/json: Error |
403 | Error | application/json: Error |
404 | Error | application/json: Error |
409 | Error | application/json: Error |
410 | Error | application/json: Error |
422 | Error | application/json: Error |
429 | Error | application/json: Error |
503 | Error | application/json: Error |
GET/api/ohn/v1/fhir/auditAudit trail (history timeline)
Identifiant d’opération: ohn21_audit
Authentification: bearerAuth
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
aggregate_id | query | string (uuid) | non |
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | Success | application/json: object |
400 | Error | application/json: Error |
401 | Error | application/json: Error |
403 | Error | application/json: Error |
404 | Error | application/json: Error |
409 | Error | application/json: Error |
410 | Error | application/json: Error |
422 | Error | application/json: Error |
429 | Error | application/json: Error |
503 | Error | application/json: Error |
GET/api/ohn/v1/fhir/reports/{reportId}Run report OHN-21-R001..R003
Identifiant d’opération: ohn21_runReport
Authentification: bearerAuth
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
partner | query | string (uuid) | non | |
resource | query | string | non | |
rule | query | string | non | |
from | query | string (date-time) | non | |
to | query | string (date-time) | non | |
reportId | path | "OHN-21-R001" | "OHN-21-R002" | "OHN-21-R003" | oui |
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | Success | application/json: object |
400 | Error | application/json: Error |
401 | Error | application/json: Error |
403 | Error | application/json: Error |
404 | Error | application/json: Error |
409 | Error | application/json: Error |
410 | Error | application/json: Error |
422 | Error | application/json: Error |
429 | Error | application/json: Error |
503 | Error | application/json: Error |
POST/api/ohn/v1/fhir/reports/{reportId}/exportCreate an audited CSV/PDF export
Identifiant d’opération: ohn21_exportReport
Authentification: bearerAuth
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
reportId | path | "OHN-21-R001" | "OHN-21-R002" | "OHN-21-R003" | oui | |
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/json:Export
Réponses
| Code | Description | Type de média |
|---|---|---|
201 | Success | application/json: object |
400 | Error | application/json: Error |
401 | Error | application/json: Error |
403 | Error | application/json: Error |
404 | Error | application/json: Error |
409 | Error | application/json: Error |
410 | Error | application/json: Error |
422 | Error | application/json: Error |
429 | Error | application/json: Error |
503 | Error | application/json: Error |
GET/api/ohn/v1/fhir/exports/{token}Download an export (owner only, 15 minutes)
Identifiant d’opération: ohn21_downloadExport
Authentification: bearerAuth
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
token | path | string | oui |
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | The export body (not single use; 15 minutes; owner only) | text/csv: stringapplication/pdf: string (binary) |
400 | Error | application/json: Error |
401 | Error | application/json: Error |
403 | Error | application/json: Error |
404 | Error | application/json: Error |
409 | Error | application/json: Error |
410 | Error | application/json: Error |
422 | Error | application/json: Error |
429 | Error | application/json: Error |
503 | Error | application/json: Error |
POST/api/ohn/v1/fhir/synthetic/fixturesSynthetic mode only: configure test fakes (404 otherwise)
Identifiant d’opération: ohn21_syntheticFixtures
Authentification: bearerAuth
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
Idempotency-Key | header | string | oui |
Corps de la requête (obligatoire)
application/json:SyntheticFixtures
Réponses
| Code | Description | Type de média |
|---|---|---|
201 | Success | application/json: object |
400 | Error | application/json: Error |
401 | Error | application/json: Error |
403 | Error | application/json: Error |
404 | Error | application/json: Error |
409 | Error | application/json: Error |
410 | Error | application/json: Error |
422 | Error | application/json: Error |
429 | Error | application/json: Error |
503 | Error | application/json: Error |
Schémas
FhirVersion
"4.0.1"
ResourceType
"Patient" | "Observation" | "Condition" | "Encounter" | "Bundle"
Operation
"Patient.read" | "Patient.create" | "Patient.update" | "Observation.read" | "Observation.create" | "Observation.update" | "Condition.read" | "Condition.create" | "Condition.update" | "Encounter.read" | "Encounter.create" | "Encounter.update" | …
ConformanceMode
"strict" | "lenient"
ReplayScope
"full_bundle" | "revalidate_only"
RouteState
"route_draft" | "partner_trust_verified" | "profiles_checked" | "tested" | "enabled" | "disabled"
TransactionState
"received" | "rejected" | "committed" | "rolled_back" | "pending_reconciliation"
Error
Platform problem+json superset of the reference's {error, message, details}
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
error | string | non | |
message | string | non | |
details | any | non | validation: {formErrors: [string], fieldErrors: {field: [string]}}; refusals: a small object (missing, trust_status, ...) |
type | string | non | |
title | string | non | |
status | integer | non | |
detail | string | non | |
trace_id | string | non |
OperationOutcome
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
resourceType | "OperationOutcome" | oui | |
id | string | non | |
issue | array of OperationOutcome.issue.item | oui |
FhirBundle
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
resourceType | "Bundle" | oui | |
type | "transaction" | oui | |
entry | array of object | oui |
ValidateParameters
FHIR Parameters with resource, profile (profile pack uuid), ohn-source-endpoint, ohn-resource-type, ohn-conformance-mode. OHN-21-F003-SUBMIT.
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
resourceType | "Parameters" | oui | |
parameter | array of object | oui |
RouteCreate
OHN-21-F001-SUBMIT
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
organization_id | string (uuid) | oui | |
base_url | string (uri) | oui | |
fhir_version | FhirVersion | oui | |
allowed_operations | string | oui | Operation values separated by commas, spaces or new lines; at least one, each from the Operation list |
profile_pack_ref | string (uuid) | oui | |
certificate_ref | string (uuid) | oui |
Retry
OHN-21-F002-SUBMIT
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
transaction_id | string (uuid) | oui | |
retry_reason | string | oui | |
idempotency_key | string | oui | Must equal the Idempotency-Key header |
replay_scope | ReplayScope | oui | |
expected_version | integer | oui |
Versioned
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
expected_version | integer | oui |
Disable
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
expected_version | integer | oui | |
reason | string | oui |
Publish
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
decision | "approve" | "reject" | oui | |
reason | string | oui | |
expected_current_version | integer | oui | |
preview_hash | string | oui |
Export
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
format | "csv" | "pdf" | oui | |
filters | ReportFilters | non | Strict; every value a string of at most 128 characters on the wire, then checked by its own rule |
ReportFilters
Strict; every value a string of at most 128 characters on the wire, then checked by its own rule
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
partner | string (uuid) | non | |
resource | string | non | |
rule | string | non | |
from | string (date-time) | non | |
to | string (date-time) | non |
SyntheticFixtures
Synthetic mode only (ohn.m21.synthetic-gateways=true); 404 otherwise. Strict.
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
certificate | SyntheticFixtures.certificate | non | |
patient_permit | SyntheticFixtures.patient_permit | non | |
outage | SyntheticFixtures.outage | non | |
fail_commit_at | integer | non | |
profile_pack_bump | string (uuid) | non |
OperationOutcome.issue.item défini sur place
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
severity | "error" | "warning" | "information" | non | |
code | string | non | |
diagnostics | string | non | |
expression | array of string | non |
SyntheticFixtures.certificate défini sur place
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
certificate_ref | string (uuid) | oui | |
organization_id | string (uuid) | oui | |
base_url | string (uri) | oui | |
status | "verified" | "unverified" | "revoked" | "expired" | oui |
SyntheticFixtures.patient_permit défini sur place
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
patient_id | string | oui | |
actor_id | string (uuid) | oui | |
purpose | "integration_operations" | "partner_assurance" | "treatment" | oui |
SyntheticFixtures.outage défini sur place
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
port | "pdp" | "audit" | "terminology" | "trust" | "repository" | oui | |
down | boolean | oui |