OHN-37 Patient Identity Proofing and Assurance
- Version
- 1.1.0
- OpenAPI
- 3.1.0
- Source dans le dépôt
modules/OHN-37/api/openapi.yaml- Serveurs
https://opeshealthnetwork.com/api/ohn/v1/proofing- Authentification
bearer: http bearer (JWT)
Les contrats sont rédigés en anglais.
Identity proofing cases, evidence review, identity disputes, impersonation investigation and assurance management. Reconciled with the observed behaviour of the TypeScript reference (20 operations; the legacy dev token endpoint is not part of the contract). Base path /api/ohn/v1/proofing. Every mutation requires an Idempotency-Key (1-255 characters). Routes default-deny on role. Assurance policy (which evidence and channels may reach which level) is configuration and fails closed to the claimed level. Synthetic-ready; real-patient use requires accepted OHN-01/OHN-38/OHN-45/OHN-16 integrations and legal authorization.
Opérations
- Autres opérations (20)
Autres opérations
GET/casesProofing cases of the caller's jurisdiction and organization, cursor paged.
Identifiant d’opération: listCases
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
page_size | query | string | non | |
cursor | query | string | non | |
state | query | string | non | |
channel | query | string | non | |
evidence_type | query | string | non |
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | OK | application/json: object |
401 | Problem document: error, message, details | application/json: Error |
403 | Problem document: error, message, details | application/json: Error |
422 | Problem document: error, message, details | application/json: Error |
429 | Problem document: error, message, details | application/json: Error |
POST/casesRegister a proofing case (OHN-37-F001, API-001).
Identifiant d’opération: createCase
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
Idempotency-Key | header | string | oui | One key per user intent. Same key and payload replays the original answer; same key with another payload is 409 idempotency_conflict. |
Corps de la requête (obligatoire)
application/json:ProofingCaseCommand
Réponses
| Code | Description | Type de média |
|---|---|---|
201 | Created; the body carries the committed receipt | application/json: object |
400 | Problem document: error, message, details | application/json: Error |
401 | Problem document: error, message, details | application/json: Error |
403 | Problem document: error, message, details | application/json: Error |
409 | Problem document: error, message, details | application/json: Error |
422 | Problem document: error, message, details | application/json: Error |
429 | Problem document: error, message, details | application/json: Error |
503 | Problem document: error, message, details | application/json: Error |
GET/cases/{id}One case with its evidence (redacted unless an identity supervisor reveals it) and history.
Identifiant d’opération: getCase
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string (uuid) | oui | |
reveal | query | string | non |
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | OK | application/json: object |
401 | Problem document: error, message, details | application/json: Error |
403 | Problem document: error, message, details | application/json: Error |
404 | Problem document: error, message, details | application/json: Error |
429 | Problem document: error, message, details | application/json: Error |
POST/cases/{id}/evidenceAdd an evidence artifact to an undecided case (OHN-37-F002).
Identifiant d’opération: submitEvidence
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui | One key per user intent. Same key and payload replays the original answer; same key with another payload is 409 idempotency_conflict. |
Corps de la requête (obligatoire)
application/json:EvidenceArtifactCommand
Réponses
| Code | Description | Type de média |
|---|---|---|
201 | Created; the body carries the committed receipt | application/json: object |
400 | Problem document: error, message, details | application/json: Error |
401 | Problem document: error, message, details | application/json: Error |
403 | Problem document: error, message, details | application/json: Error |
404 | Problem document: error, message, details | application/json: Error |
409 | Problem document: error, message, details | application/json: Error |
422 | Problem document: error, message, details | application/json: Error |
429 | Problem document: error, message, details | application/json: Error |
POST/cases/{id}/decideApprove, reject or send a case to manual review; approval issues the assurance badge and events.
Identifiant d’opération: decideCase
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui | One key per user intent. Same key and payload replays the original answer; same key with another payload is 409 idempotency_conflict. |
Corps de la requête (obligatoire)
application/json:DecideCaseCommand
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | OK | application/json: object |
400 | Problem document: error, message, details | application/json: Error |
401 | Problem document: error, message, details | application/json: Error |
403 | Problem document: error, message, details | application/json: Error |
404 | Problem document: error, message, details | application/json: Error |
409 | Problem document: error, message, details | application/json: Error |
422 | Problem document: error, message, details | application/json: Error |
429 | Problem document: error, message, details | application/json: Error |
POST/cases/{id}/transitionsMove a case one step along its lifecycle (claim_created -> evidence_collected -> fraud_screened -> verified_or_rejected -> assurance_recorded).
Identifiant d’opération: transitionCase
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui | One key per user intent. Same key and payload replays the original answer; same key with another payload is 409 idempotency_conflict. |
Corps de la requête (obligatoire)
application/json:CaseTransitionCommand
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | OK | application/json: object |
400 | Problem document: error, message, details | application/json: Error |
401 | Problem document: error, message, details | application/json: Error |
403 | Problem document: error, message, details | application/json: Error |
404 | Problem document: error, message, details | application/json: Error |
409 | Problem document: error, message, details | application/json: Error |
422 | Problem document: error, message, details | application/json: Error |
429 | Problem document: error, message, details | application/json: Error |
GET/policyThe active assurance policy, or the fail-closed notice (status not_configured, cap claimed).
GET/evidence-reviewUndecided cases with their evidence; text is redacted unless an identity supervisor passes reveal=1.
Identifiant d’opération: evidenceReview
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
reveal | query | string | non |
Réponses
GET/disputesIdentity disputes of the caller's scope, newest first.
POST/disputesSubmit an identity dispute; fraudulent use opens an impersonation investigation (OHN-37-F003).
Identifiant d’opération: submitDispute
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
Idempotency-Key | header | string | oui | One key per user intent. Same key and payload replays the original answer; same key with another payload is 409 idempotency_conflict. |
Corps de la requête (obligatoire)
application/json:DisputeCommand
Réponses
| Code | Description | Type de média |
|---|---|---|
201 | Created; the body carries the committed receipt | application/json: object |
400 | Problem document: error, message, details | application/json: Error |
401 | Problem document: error, message, details | application/json: Error |
403 | Problem document: error, message, details | application/json: Error |
422 | Problem document: error, message, details | application/json: Error |
429 | Problem document: error, message, details | application/json: Error |
GET/disputes/{id}One dispute with its full description, the investigation it opened and its steps.
Identifiant d’opération: getDispute
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string (uuid) | oui |
Réponses
POST/disputes/{id}/transitionsTake a dispute into review (open -> under_review) or resolve it (under_review -> resolved, supervisor only, resolution required).
Identifiant d’opération: transitionDispute
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui | One key per user intent. Same key and payload replays the original answer; same key with another payload is 409 idempotency_conflict. |
Corps de la requête (obligatoire)
application/json:DisputeTransitionCommand
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | OK | application/json: object |
400 | Problem document: error, message, details | application/json: Error |
401 | Problem document: error, message, details | application/json: Error |
403 | Problem document: error, message, details | application/json: Error |
404 | Problem document: error, message, details | application/json: Error |
409 | Problem document: error, message, details | application/json: Error |
422 | Problem document: error, message, details | application/json: Error |
429 | Problem document: error, message, details | application/json: Error |
GET/assurance-reviewsAssurance escalation and downgrade reviews, newest first.
POST/assurance-reviewsRegister an assurance review (identity supervisor only; OHN-37-F004).
Identifiant d’opération: submitAssuranceReview
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
Idempotency-Key | header | string | oui | One key per user intent. Same key and payload replays the original answer; same key with another payload is 409 idempotency_conflict. |
Corps de la requête (obligatoire)
application/json:AssuranceReviewCommand
Réponses
| Code | Description | Type de média |
|---|---|---|
201 | Created; the body carries the committed receipt | application/json: object |
400 | Problem document: error, message, details | application/json: Error |
401 | Problem document: error, message, details | application/json: Error |
403 | Problem document: error, message, details | application/json: Error |
422 | Problem document: error, message, details | application/json: Error |
429 | Problem document: error, message, details | application/json: Error |
GET/assurance-badgesIssued assurance badges, cursor paged.
Identifiant d’opération: listAssuranceBadges
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
page_size | query | string | non | |
cursor | query | string | non | |
assurance_level | query | string | non | |
channel | query | string | non |
Réponses
GET/workflowsProofing, impersonation and escalation workflows with the latest 250 history rows.
POST/workflows/{id}/transitionsMove an impersonation case or an assurance review one step (identity supervisor only).
Identifiant d’opération: transitionWorkflow
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui | One key per user intent. Same key and payload replays the original answer; same key with another payload is 409 idempotency_conflict. |
Corps de la requête (obligatoire)
application/json:WorkflowTransitionCommand
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | OK | application/json: object |
400 | Problem document: error, message, details | application/json: Error |
401 | Problem document: error, message, details | application/json: Error |
403 | Problem document: error, message, details | application/json: Error |
404 | Problem document: error, message, details | application/json: Error |
409 | Problem document: error, message, details | application/json: Error |
422 | Problem document: error, message, details | application/json: Error |
429 | Problem document: error, message, details | application/json: Error |
GET/reports/{id}Run report OHN-37-R001 (proofing outcomes), R002 (impersonation and disputes) or R003 (evidence retention).
Identifiant d’opération: runReport
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string | oui | |
period_from | query | string | non | |
period_to | query | string | non | |
channel | query | string | non | |
evidence_type | query | string | non | |
severity | query | string | non | |
source | query | string | non |
Réponses
POST/reports/{id}/exportExport a report as a signed, single-use, five-minute CSV or PDF.
Identifiant d’opération: exportReport
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
id | path | string | oui | |
Idempotency-Key | header | string | oui | One key per user intent. Same key and payload replays the original answer; same key with another payload is 409 idempotency_conflict. |
Corps de la requête (obligatoire)
application/json:ExportCommand
Réponses
| Code | Description | Type de média |
|---|---|---|
201 | Created; the body carries the committed receipt | application/json: object |
400 | Problem document: error, message, details | application/json: Error |
401 | Problem document: error, message, details | application/json: Error |
403 | Problem document: error, message, details | application/json: Error |
404 | Problem document: error, message, details | application/json: Error |
422 | Problem document: error, message, details | application/json: Error |
429 | Problem document: error, message, details | application/json: Error |
503 | Problem document: error, message, details | application/json: Error |
GET/exports/{token}Download an export once (bound to the requesting principal).
Identifiant d’opération: downloadExport
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
token | path | string | oui |
Réponses
| Code | Description | Type de média |
|---|---|---|
200 | The export bytes once; Content-Type is text/csv or application/pdf, with X-OHN-Export-Signature and X-OHN-Receipt-Id headers | application/octet-stream: string (binary) |
401 | Problem document: error, message, details | application/json: Error |
403 | Problem document: error, message, details | application/json: Error |
404 | Problem document: error, message, details | application/json: Error |
503 | Problem document: error, message, details | application/json: Error |
Schémas
Error
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
error | string | oui | |
message | string | non | |
details | any | non |
ProofingChannel
"in_person" | "remote_video" | "remote_document" | "assisted_enrollment"
EvidenceType
"national_id" | "passport" | "birth_certificate" | "residence_permit" | "driving_license" | "biometric_collection" | "community_attestation" | "guardian_attestation"
AssuranceLevel
"claimed" | "partial" | "verified" | "high"
BiographicMatch
"match" | "partial_match" | "mismatch" | "not_checked"
LivenessResult
"passed" | "failed" | "inconclusive" | "not_performed"
ReviewDecision
"approve" | "reject" | "manual_review"
ProofingCaseCommand
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
jurisdiction_id | string (uuid) | oui | |
person_claim_ref | string (uuid) | oui | |
proofing_channel | ProofingChannel | oui | |
evidence_type | EvidenceType | oui | |
evidence_reference | string (uuid) | oui | |
assurance_target | AssuranceLevel | oui |
EvidenceArtifactCommand
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
case_id | string (uuid) | oui | |
document_checks | string | oui | |
biographic_match | BiographicMatch | oui | |
liveness_result | LivenessResult | non | |
review_decision | ReviewDecision | oui | |
reviewer | string (uuid) | oui |
DecideCaseCommand
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
expected_version | integer | oui | |
review_decision | ReviewDecision | oui | |
document_checks | string | oui | |
biographic_match | BiographicMatch | oui | |
liveness_result | LivenessResult | non | |
reason | string | oui |
CaseTransitionCommand
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
expected_version | integer | oui | |
to_state | string | oui | |
evidence_ref | string (uuid) | oui | |
reason | string | oui |
DisputeCommand
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
person_ref | string (uuid) | oui | |
dispute_type | "not_my_record" | "duplicate_record" | "wrong_demographics" | "fraudulent_use" | "other" | oui | |
claim_description | string | oui | |
supporting_evidence_ref | string (uuid) | oui | |
contact_channel | "phone" | "email" | "sms" | "in_person" | "guardian" | oui |
DisputeTransitionCommand
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
expected_version | integer | oui | |
to_state | "under_review" | "resolved" | oui | |
reason | string | oui | |
resolution | "upheld_record_corrected" | "upheld_referred" | "not_upheld" | "withdrawn" | non |
AssuranceReviewCommand
current_assurance and target_assurance must differ (422, detail on target_assurance).
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
patient_ref | string (uuid) | oui | |
current_assurance | AssuranceLevel | oui | |
target_assurance | AssuranceLevel | oui | |
evidence_refs | string | oui | |
reviewer | string (uuid) | oui |
WorkflowTransitionCommand
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
expected_version | integer | oui | |
to_state | string | oui | |
evidence_ref | string (uuid) | oui | |
reason | string | oui | |
resolution | "confirmed_impersonation" | "cleared" | "inconclusive" | non |
ExportCommand
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
format | "csv" | "pdf" | oui | |
period_from | string (date-time) | non | |
period_to | string (date-time) | non | |
channel | ProofingChannel | non | |
country | string (uuid) | non | |
jurisdiction_id | string (uuid) | non | |
evidence_type | EvidenceType | non | |
severity | "low" | "medium" | "high" | "critical" | non | |
source | string | non |