Aller au contenu

← Tous les contrats

OHN-05 Health Facility Registry

Version
1.4.0
OpenAPI
3.1.0
Source dans le dépôt
modules/OHN-05/api/openapi.json
Serveurs
https://opeshealthnetwork.com/api/ohn/v1
Authentification
bearer: http bearer

Télécharger le contrat (JSON)

Les contrats sont rédigés en anglais.

Base path /api/ohn/v1. Every POST requires Idempotency-Key; mutations use expected_version. Routes default-deny on role AND purpose. Every facility carries a human-readable facility_code (TYPE-CC-RRRRK, e.g. PHA-CM-7K4QX; docs/program/java/facility-codes.md); the UUID id stays the key every module links by. Facility branding (1.2.0): the facility logo (PNG/JPEG/SVG, max 256 KiB, type from the bytes, SVG sanitised) is uploaded by the facility's own administrator (role facility_administrator, purpose facility_branding) and approved or rejected by a registry reviewer who did not upload it; only an approved logo is served (public GET /facilities/{id}/branding and /facilities/{id}/logo). The branding watermark is a facility setting, off by default and forced off without an approved logo.

Opérations

OHN-05

GET/facilitiesList facilities (status, site_type, q, region, code, cursor filters)

Identifiant d’opération: listFacilities

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
statusquerystringnon
site_typequerystringnon
qquerystringnon
regionquerystringnon
codequerystringnon
cursorquerystringnon

Réponses

CodeDescriptionType de média
200OK
application/json: object
400Validation failure
application/json: Error
401Unauthenticated—
403Role/purpose denied (default deny)—
404Not found / out of scope—
422invalid_facility_code (malformed code or wrong check character) or domain validation failure
application/json: Error
429Rate limited—
POST/facilitiesEnrol a facility (OHN-05-API-001)

Identifiant d’opération: enrollFacility

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
Idempotency-Keyheaderstringoui

Corps de la requête (obligatoire)

Réponses

CodeDescriptionType de média
201OK
application/json: object
400Validation failure
application/json: Error
401Unauthenticated—
403Role/purpose denied (default deny)—
404Not found / out of scope—
409Version conflict, illegal transition or idempotency mismatch
application/json: Error
422Domain refusal or dependency unavailable; facility_type_unmapped when the site type has no facility-code prefix
application/json: Error
429Rate limited—
503Domain refusal or dependency unavailable
application/json: Error
GET/facilities/{id}Facility profile

Identifiant d’opération: facilityProfile

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
idpathstring (uuid)oui

Réponses

CodeDescriptionType de média
200OK
application/json: object
400Validation failure
application/json: Error
401Unauthenticated—
403Role/purpose denied (default deny)—
404Not found / out of scope—
429Rate limited—
GET/facilities/{id}/evidenceEvidence references

Identifiant d’opération: facilityEvidence

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
idpathstring (uuid)oui

Réponses

CodeDescriptionType de média
200OK
application/json: object
400Validation failure
application/json: Error
401Unauthenticated—
403Role/purpose denied (default deny)—
404Not found / out of scope—
429Rate limited—
GET/facilities/{id}/hierarchyPublished hierarchy

Identifiant d’opération: facilityHierarchy

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
idpathstring (uuid)oui

Réponses

CodeDescriptionType de média
200OK
application/json: object
400Validation failure
application/json: Error
401Unauthenticated—
403Role/purpose denied (default deny)—
404Not found / out of scope—
429Rate limited—
GET/facilities/{id}/licensesLicences

Identifiant d’opération: listLicenses

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
idpathstring (uuid)oui

Réponses

CodeDescriptionType de média
200OK
application/json: object
400Validation failure
application/json: Error
401Unauthenticated—
403Role/purpose denied (default deny)—
404Not found / out of scope—
429Rate limited—
POST/facilities/{id}/verifyCredential verification

1.4.0: manual licence confirmation (confirmation_reference) while no regulator API exists; the licence view carries license_confirmation {method regulator|manual|none, label, reference, confirmed_by, confirmed_at} and the facility profile lists it per licence.

Identifiant d’opération: verifyFacility

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
idpathstring (uuid)oui
Idempotency-Keyheaderstringoui

Corps de la requête (obligatoire)

Réponses

CodeDescriptionType de média
200OK
application/json: object
400Validation failure
application/json: Error
401Unauthenticated—
403Role/purpose denied (default deny)—
404Not found / out of scope—
409Version conflict, illegal transition or idempotency mismatch
application/json: Error
429Rate limited—
POST/facilities/{id}/suspendSuspend facility

Identifiant d’opération: suspendFacility

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
idpathstring (uuid)oui
Idempotency-Keyheaderstringoui

Corps de la requête (obligatoire)

Réponses

CodeDescriptionType de média
200OK
application/json: object
400Validation failure
application/json: Error
401Unauthenticated—
403Role/purpose denied (default deny)—
404Not found / out of scope—
409Version conflict, illegal transition or idempotency mismatch
application/json: Error
429Rate limited—
POST/facilities/{id}/transitionsFacility workflow transition

Identifiant d’opération: transitionFacility

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
idpathstring (uuid)oui
Idempotency-Keyheaderstringoui

Corps de la requête (obligatoire)

Réponses

CodeDescriptionType de média
200OK
application/json: object
400Validation failure
application/json: Error
401Unauthenticated—
403Role/purpose denied (default deny)—
404Not found / out of scope—
409Version conflict, illegal transition or idempotency mismatch
application/json: Error
429Rate limited—
POST/facilities/{id}/aliasesAdd alias (duplicate detection runs)

Identifiant d’opération: addAlias

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
idpathstring (uuid)oui
Idempotency-Keyheaderstringoui

Corps de la requête (obligatoire)

Réponses

CodeDescriptionType de média
201OK
application/json: object
400Validation failure
application/json: Error
401Unauthenticated—
403Role/purpose denied (default deny)—
404Not found / out of scope—
409Version conflict, illegal transition or idempotency mismatch
application/json: Error
429Rate limited—
POST/facilities/{id}/licenses/{licenseId}/renewRenew licence

1.4.0: manual licence confirmation (confirmation_reference) while no regulator API exists; the licence view carries license_confirmation {method regulator|manual|none, label, reference, confirmed_by, confirmed_at} and the facility profile lists it per licence.

Identifiant d’opération: renewLicense

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
idpathstring (uuid)oui
licenseIdpathstring (uuid)oui
Idempotency-Keyheaderstringoui

Corps de la requête (obligatoire)

Réponses

CodeDescriptionType de média
200OK
application/json: object
400Validation failure
application/json: Error
401Unauthenticated—
403Role/purpose denied (default deny)—
404Not found / out of scope—
409Version conflict, illegal transition or idempotency mismatch
application/json: Error
429Rate limited—
POST/facilities/{id}/licenses/{licenseId}/reverifyRe-verify licence

Identifiant d’opération: reverifyLicense

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
idpathstring (uuid)oui
licenseIdpathstring (uuid)oui
Idempotency-Keyheaderstringoui

Corps de la requête (obligatoire)

Réponses

CodeDescriptionType de média
200OK
application/json: object
400Validation failure
application/json: Error
401Unauthenticated—
403Role/purpose denied (default deny)—
404Not found / out of scope—
409Version conflict, illegal transition or idempotency mismatch
application/json: Error
429Rate limited—
GET/site-relationshipsList site relationships

Identifiant d’opération: listRelationships

Authentification: bearer

Réponses

CodeDescriptionType de média
200OK
application/json: object
400Validation failure
application/json: Error
401Unauthenticated—
403Role/purpose denied (default deny)—
404Not found / out of scope—
429Rate limited—
POST/site-relationshipsRequest site relationship

Identifiant d’opération: requestRelationship

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
Idempotency-Keyheaderstringoui

Corps de la requête (obligatoire)

Réponses

CodeDescriptionType de média
201OK
application/json: object
400Validation failure
application/json: Error
401Unauthenticated—
403Role/purpose denied (default deny)—
404Not found / out of scope—
409Version conflict, illegal transition or idempotency mismatch
application/json: Error
429Rate limited—
POST/site-relationships/{id}/transitionsRelationship workflow transition (cycle check, approval)

Identifiant d’opération: transitionRelationship

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
idpathstring (uuid)oui
Idempotency-Keyheaderstringoui

Corps de la requête (obligatoire)

Réponses

CodeDescriptionType de média
200OK
application/json: object
400Validation failure
application/json: Error
401Unauthenticated—
403Role/purpose denied (default deny)—
404Not found / out of scope—
409Version conflict, illegal transition or idempotency mismatch
application/json: Error
429Rate limited—
GET/duplicatesList duplicate candidates

Identifiant d’opération: listDuplicates

Authentification: bearer

Réponses

CodeDescriptionType de média
200OK
application/json: object
400Validation failure
application/json: Error
401Unauthenticated—
403Role/purpose denied (default deny)—
404Not found / out of scope—
429Rate limited—
POST/duplicates/{id}/resolveResolve duplicate

Identifiant d’opération: resolveDuplicate

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
idpathstring (uuid)oui
Idempotency-Keyheaderstringoui

Corps de la requête (obligatoire)

Réponses

CodeDescriptionType de média
200OK
application/json: object
400Validation failure
application/json: Error
401Unauthenticated—
403Role/purpose denied (default deny)—
404Not found / out of scope—
409Version conflict, illegal transition or idempotency mismatch
application/json: Error
429Rate limited—
GET/code-lists/{list}Read code list

Identifiant d’opération: listCodes

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
listpath"relationship_type" | "site_type" | "specialty"ouisite_type, relationship_type or specialty. Items carry source (jurisdiction or platform_default); site_type items carry facility_code_prefix.

Réponses

CodeDescriptionType de média
200OK
application/json: object
400Validation failure
application/json: Error
401Unauthenticated—
403Role/purpose denied (default deny)—
404Not found / out of scope—
429Rate limited—
POST/code-lists/{list}Upsert code list entries

Identifiant d’opération: upsertCodes

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
listpath"relationship_type" | "site_type" | "specialty"ouisite_type, relationship_type or specialty. Items carry source (jurisdiction or platform_default); site_type items carry facility_code_prefix.
Idempotency-Keyheaderstringoui

Corps de la requête (obligatoire)

Réponses

CodeDescriptionType de média
200OK
application/json: object
400Validation failure
application/json: Error
401Unauthenticated—
403Role/purpose denied (default deny)—
404Not found / out of scope—
409Version conflict, illegal transition or idempotency mismatch
application/json: Error
429Rate limited—
GET/registry-policyRead registry policy (unconfigured = fail closed)

Identifiant d’opération: readPolicy

Authentification: bearer

Réponses

CodeDescriptionType de média
200OK
application/json: object
400Validation failure
application/json: Error
401Unauthenticated—
403Role/purpose denied (default deny)—
404Not found / out of scope—
429Rate limited—
POST/registry-policyWrite registry policy

Identifiant d’opération: writePolicy

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
Idempotency-Keyheaderstringoui

Corps de la requête (obligatoire)

Réponses

CodeDescriptionType de média
200OK
application/json: object
400Validation failure
application/json: Error
401Unauthenticated—
403Role/purpose denied (default deny)—
404Not found / out of scope—
409Version conflict, illegal transition or idempotency mismatch
application/json: Error
429Rate limited—
POST/registry/maintenance/license-sweepLicence expiry sweep (policy-driven)

Identifiant d’opération: licenseSweep

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
Idempotency-Keyheaderstringoui

Réponses

CodeDescriptionType de média
200OK
application/json: object
400Validation failure
application/json: Error
401Unauthenticated—
403Role/purpose denied (default deny)—
404Not found / out of scope—
409Version conflict, illegal transition or idempotency mismatch
application/json: Error
429Rate limited—
POST/registry/maintenance/drain-outboxDrain outbox (no sink => nothing marked delivered)

Identifiant d’opération: drainOutbox

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
Idempotency-Keyheaderstringoui

Réponses

CodeDescriptionType de média
200OK
application/json: object
400Validation failure
application/json: Error
401Unauthenticated—
403Role/purpose denied (default deny)—
404Not found / out of scope—
409Version conflict, illegal transition or idempotency mismatch
application/json: Error
429Rate limited—
GET/registry/reports/{reportId}Run report

Identifiant d’opération: runReport

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
reportIdpath"OHN-05-R001" | "OHN-05-R002" | "OHN-05-R003"oui
jurisdictionquerystringnon
facility_typequerystringnon
period_fromquerystringnon
period_toquerystringnon
countryquerystringnon
expiry_windowquerystringnon
regionquerystringnon
cursorquerystringnon

Réponses

CodeDescriptionType de média
200OK
application/json: object
400Validation failure
application/json: Error
401Unauthenticated—
403Role/purpose denied (default deny)—
404Not found / out of scope—
422Filter failed validation
application/json: Error
429Rate limited—
POST/registry/reports/{reportId}/exportCreate signed single-use export

Identifiant d’opération: createExport

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
reportIdpath"OHN-05-R001" | "OHN-05-R002" | "OHN-05-R003"oui
Idempotency-Keyheaderstringoui

Corps de la requête (obligatoire)

Réponses

CodeDescriptionType de média
201OK
application/json: object
400Validation failure
application/json: Error
401Unauthenticated—
403Role/purpose denied (default deny)—
404Not found / out of scope—
409Version conflict, illegal transition or idempotency mismatch
application/json: Error
429Rate limited—
GET/registry/exports/{token}Download export (owner only, single use, 5 min)

Identifiant d’opération: fetchExport

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
tokenpathstringoui

Réponses

CodeDescriptionType de média
200OK
application/json: object
400Validation failure
application/json: Error
401Unauthenticated—
403Role/purpose denied (default deny)—
404Not found / out of scope—
429Rate limited—
GET/registry/report-catalogReport catalog

Identifiant d’opération: reportCatalog

Authentification: bearer

Réponses

CodeDescriptionType de média
200OK
application/json: object
400Validation failure
application/json: Error
401Unauthenticated—
403Role/purpose denied (default deny)—
404Not found / out of scope—
429Rate limited—
GET/facilities/by-code/{code}Facility profile looked up by facility code

Identifiant d’opération: facilityByCode

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
codepathstringoui

Réponses

CodeDescriptionType de média
200OK
application/json: object
400Validation failure
application/json: Error
401Unauthenticated—
403Role/purpose denied (default deny)—
404Not found / out of scope—
422invalid_facility_code (malformed code or wrong check character) or domain validation failure
application/json: Error
429Rate limited—
POST/facilities/{id}/site-typeChange the facility type (the facility code is kept, not reissued; the change is audited)

Identifiant d’opération: changeSiteType

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
idpathstring (uuid)oui
Idempotency-Keyheaderstringoui

Corps de la requête (obligatoire)

Réponses

CodeDescriptionType de média
200OK
application/json: object
400Validation failure
application/json: Error
401Unauthenticated—
403Role/purpose denied (default deny)—
404Not found / out of scope—
409Version conflict, illegal transition or idempotency mismatch
application/json: Error
422invalid_facility_code (malformed code or wrong check character) or domain validation failure
application/json: Error
429Rate limited—
POST/registry/maintenance/facility-code-backfillIssue facility codes to facilities of the jurisdiction that have none (unmapped types are skipped and listed)

Identifiant d’opération: backfillFacilityCodes

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
Idempotency-Keyheaderstringoui

Réponses

CodeDescriptionType de média
200OK
application/json: object
400Validation failure
application/json: Error
401Unauthenticated—
403Role/purpose denied (default deny)—
404Not found / out of scope—
409Version conflict, illegal transition or idempotency mismatch
application/json: Error
429Rate limited—
503dependency_unavailable (OHN-01 country code unreadable)
application/json: Error

Autres opérations

GET/health/ohn-05Liveness incl. DB and dependency modes

Identifiant d’opération: health

Réponses

CodeDescriptionType de média
200ok—
503unavailable—

Branding

GET/facilities/{id}/logosThe facility's logos with their review state, and its branding setting

Identifiant d’opération: listFacilityLogos

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
idpathstring (uuid)oui

Réponses

CodeDescriptionType de média
200OK
application/json: object
401Unauthenticated—
403Role/purpose denied, not the facility's own administrator, or self-review
application/json: Error
404Not found / out of scope—
409Version conflict or illegal transition
application/json: Error
422Validation failure
application/json: Error
429Rate limited—
POST/facilities/{id}/logosUpload a new facility logo (pending until a registry reviewer approves it)

Identifiant d’opération: uploadFacilityLogo

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
idpathstring (uuid)oui
Idempotency-Keyheaderstringoui

Corps de la requête (obligatoire)

Réponses

CodeDescriptionType de média
201OK
application/json: object
401Unauthenticated—
403Role/purpose denied, not the facility's own administrator, or self-review
application/json: Error
404Not found / out of scope—
409Version conflict or illegal transition
application/json: Error
422Validation failure
application/json: Error
429Rate limited—
GET/facilities/{id}/logos/{logoId}/contentThe stored (cleaned) image of any logo, for review by the facility administrator or a registry reviewer

Identifiant d’opération: facilityLogoContent

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
idpathstring (uuid)oui
logoIdpathstring (uuid)oui

Réponses

CodeDescriptionType de média
200The image; X-Content-Type-Options nosniff and a sandboxing CSP
image/png: string (binary)
image/jpeg: string (binary)
image/svg+xml: string (binary)
401Unauthenticated—
403Denied
application/json: Error
404Not found—
POST/facilities/{id}/logos/{logoId}/approveApprove a pending logo (registry reviewer; never the uploader)

Identifiant d’opération: approveFacilityLogo

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
idpathstring (uuid)oui
logoIdpathstring (uuid)oui
Idempotency-Keyheaderstringoui

Corps de la requête (obligatoire)

Réponses

CodeDescriptionType de média
200OK
application/json: object
401Unauthenticated—
403Role/purpose denied, not the facility's own administrator, or self-review
application/json: Error
404Not found / out of scope—
409Version conflict or illegal transition
application/json: Error
422Validation failure
application/json: Error
429Rate limited—
POST/facilities/{id}/logos/{logoId}/rejectReject a pending logo with a reason (registry reviewer; never the uploader)

Identifiant d’opération: rejectFacilityLogo

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
idpathstring (uuid)oui
logoIdpathstring (uuid)oui
Idempotency-Keyheaderstringoui

Corps de la requête (obligatoire)

Réponses

CodeDescriptionType de média
200OK
application/json: object
401Unauthenticated—
403Role/purpose denied, not the facility's own administrator, or self-review
application/json: Error
404Not found / out of scope—
409Version conflict or illegal transition
application/json: Error
422Validation failure
application/json: Error
429Rate limited—
POST/facilities/{id}/logos/{logoId}/withdrawWithdraw a pending or approved logo (facility administrator)

Identifiant d’opération: withdrawFacilityLogo

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
idpathstring (uuid)oui
logoIdpathstring (uuid)oui
Idempotency-Keyheaderstringoui

Corps de la requête (obligatoire)

Réponses

CodeDescriptionType de média
200OK
application/json: object
401Unauthenticated—
403Role/purpose denied, not the facility's own administrator, or self-review
application/json: Error
404Not found / out of scope—
409Version conflict or illegal transition
application/json: Error
422Validation failure
application/json: Error
429Rate limited—
GET/facilities/{id}/brandingPublic: name, facility code, the APPROVED logo (or null) and whether the branding watermark is on

Identifiant d’opération: facilityBranding

Paramètres

NomEmplacementTypeObligatoireDescription
idpathstring (uuid)oui

Réponses

CodeDescriptionType de média
200OK
application/json: object
404Unknown or retired facility—
429Rate limited—
POST/facilities/{id}/brandingSwitch the branding watermark on or off (facility administrator; on needs an approved logo)

Identifiant d’opération: setFacilityBranding

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
idpathstring (uuid)oui
Idempotency-Keyheaderstringoui

Corps de la requête (obligatoire)

Réponses

CodeDescriptionType de média
200OK
application/json: object
401Unauthenticated—
403Role/purpose denied, not the facility's own administrator, or self-review
application/json: Error
404Not found / out of scope—
409Version conflict or illegal transition
application/json: Error
422Validation failure
application/json: Error
429Rate limited—
GET/logo-reviewsPending logos of the jurisdiction, oldest first (registry reviewer)

Identifiant d’opération: logoReviewQueue

Authentification: bearer

Réponses

CodeDescriptionType de média
200OK
application/json: object
401Unauthenticated—
403Role/purpose denied, not the facility's own administrator, or self-review
application/json: Error
404Not found / out of scope—
409Version conflict or illegal transition
application/json: Error
422Validation failure
application/json: Error
429Rate limited—

Schémas

Error

NomTypeObligatoireDescription
codestringoui
messagestringoui
detailsanynon

FacilityEnrollment

NomTypeObligatoireDescription
legal_namestringoui
countrystring (uuid)oui
site_typestringoui
official_registry_idstringnon
license_refstringnon
geo_coordinatesstringnonlatitude,longitude decimal degrees
operator_orgstring (uuid)oui
evidencestring (uuid)oui
regionstringnon
districtstringnon
specialtystringnonRequired when the site type maps to prefix SPC (specialist centre); code from the 'specialty' code list (defaults: see SpecialtyCode). Refused for any other type.

CredentialVerification

NomTypeObligatoireDescription
facility_idstring (uuid)oui
license_authoritystring (uuid)oui
license_numberstringoui
expiry_datestring (date)oui
verification_evidencestring (uuid)oui
review_decision"approved" | "rejected"oui
expected_versionintegeroui
confirmation_referencestringnon1.4.0 (owner decision 2026-11-29): the regulator's or Ministry's confirmation reference an OHN registry reviewer obtained. While no regulator integration is configured, it stands for the regulator's confirmation: the licence is recorded as authority_confirmation unconfirmed_manual ("manually confirmed"), with the reviewer and the time, and audited. Without it, and no regulator integration, the request answers 503 dependency_unavailable. Once a regulator API is configured, the regulator decides and a reference is no substitute.

Transition

NomTypeObligatoireDescription
to_statestringoui
expected_versionintegeroui
reasonstringoui

Suspend

NomTypeObligatoireDescription
expected_versionintegeroui
reasonstringoui

Alias

NomTypeObligatoireDescription
alias_namestringoui

LicenseRenewal

NomTypeObligatoireDescription
expiry_datestring (date)oui
verification_evidencestring (uuid)oui
expected_versionintegeroui
confirmation_referencestringnon1.4.0 (owner decision 2026-11-29): the regulator's or Ministry's confirmation reference an OHN registry reviewer obtained. While no regulator integration is configured, it stands for the regulator's confirmation: the licence is recorded as authority_confirmation unconfirmed_manual ("manually confirmed"), with the reviewer and the time, and audited. Without it, and no regulator integration, the request answers 503 dependency_unavailable. Once a regulator API is configured, the regulator decides and a reference is no substitute. On renewal only a registry_reviewer may give it (403 manual_confirmation_reviewer_only), never the person who submitted the facility (403 separation_of_duties).

LicenseReverify

NomTypeObligatoireDescription
review_decision"approved" | "rejected"oui
expected_versionintegeroui

SiteRelationship

NomTypeObligatoireDescription
facility_idstring (uuid)oui
parent_site_idstring (uuid)non
child_site_idstring (uuid)oui
relationship_typestringoui
effective_fromstring (date)oui

RelationshipTransition

NomTypeObligatoireDescription
to_state"cycle_checked" | "approved" | "published" | "rejected"oui
expected_versionintegeroui
reasonstringoui

DuplicateResolution

NomTypeObligatoireDescription
resolution"confirmed_duplicate" | "not_duplicate"oui
reasonstringoui
expected_versionintegeroui

CodeListUpsert

NomTypeObligatoireDescription
entriesarray of CodeListUpsert.entries.itemoui

RegistryPolicy

NomTypeObligatoireDescription
expiring_window_daysinteger | nulloui
on_expiry_action"suspend" | "flag_only" | nulloui
cross_country_relationships_allowedboolean | nulloui
approval_referencestringoui

ExportCommand

NomTypeObligatoireDescription
format"csv" | "pdf"oui
filtersobjectnon
columnsarray of stringnon

Report

NomTypeObligatoireDescription
report_id"OHN-05-R001" | "OHN-05-R002" | "OHN-05-R003"non
titlestringnon
columnsarray of anynon
rowsarray of anynon
summaryobjectnon
state"rendered" | "no_authorized_data"non
generated_atstring (date-time)non
next_cursorstring | nullnon

FacilityCode

Display form of the facility code, returned as facility_code on every facility (null only while the type awaits an owner prefix).

string

SiteTypeChange

NomTypeObligatoireDescription
site_typestringoui
expected_versionintegeroui
reasonstringoui
specialtystringnonRequired when the site type maps to prefix SPC (specialist centre); code from the 'specialty' code list (defaults: see SpecialtyCode). Refused for any other type.

FacilityTypeCode

Platform-default site_type codes (EN/FR labels in GET /code-lists/site_type, source platform_default), each with exactly one facility-code prefix in this order: payer_office=INS, hospital=HSP, clinic=CLI, health_centre=HCE, laboratory=LAB, pharmacy=PHA, imaging_centre=DIG, maternity=MAT, health_post=CHS, blood_bank=BLD, dental_clinic=DEN, specialist_centre=SPC, ambulance_service=AMB, medicine_distributor=DIS, nursing_home=HMC, vaccination_centre=VAC, occupational_health=OCC, health_organisation=NGO. A jurisdiction may add its own codes to the site_type list; site_type fields therefore stay open strings validated against the jurisdiction code list.

"payer_office" | "hospital" | "clinic" | "health_centre" | "laboratory" | "pharmacy" | "imaging_centre" | "maternity" | "health_post" | "blood_bank" | "dental_clinic" | "specialist_centre" | …

SpecialtyCode

Platform-default specialty codes (code list 'specialty', configurable per jurisdiction). Required for a specialist_centre (prefix SPC), refused for any other type.

"eye_care" | "dialysis" | "mental_health" | "rehabilitation" | "other"

LogoUpload

NomTypeObligatoireDescription
content_base64stringouiThe file, base64. At most 262144 bytes once decoded; the type is read from the bytes.
file_namestringnon

LogoReview

NomTypeObligatoireDescription
expected_versionintegeroui

LogoRejection

NomTypeObligatoireDescription
expected_versionintegeroui
reasonstringoui

LogoWithdrawal

NomTypeObligatoireDescription
expected_versionintegeroui
reasonstringnon

BrandingSetting

NomTypeObligatoireDescription
branding_watermarkbooleanoui
expected_versionintegernonRequired once the setting exists.

FacilityBranding

NomTypeObligatoireDescription
facility_idstring (uuid)oui
namestring | nulloui
facility_codestring | nulloui
logoFacilityBranding.logooui
branding_watermarkbooleanoui

CodeListUpsert.entries.item défini sur place

NomTypeObligatoireDescription
codestringoui
label_enstringoui
label_frstringoui
activebooleannon
facility_code_prefix"INS" | "HSP" | "CLI" | "HCE" | "LAB" | "PHA" | "DIG" | "MAT" | "CHS" | "BLD" | "DEN" | "SPC" | …nonsite_type list only: the facility-code prefix of this type in the jurisdiction. PENDING = enrol without a code until the owner assigns a prefix.