Aller au contenu

← Tous les contrats

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)

Télécharger le contrat (YAML)

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

GET/casesProofing cases of the caller's jurisdiction and organization, cursor paged.

Identifiant d’opération: listCases

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
page_sizequerystringnon
cursorquerystringnon
statequerystringnon
channelquerystringnon
evidence_typequerystringnon

Réponses

CodeDescriptionType de média
200OK
application/json: object
401Problem document: error, message, details
application/json: Error
403Problem document: error, message, details
application/json: Error
422Problem document: error, message, details
application/json: Error
429Problem 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

NomEmplacementTypeObligatoireDescription
Idempotency-KeyheaderstringouiOne 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)

Réponses

CodeDescriptionType de média
201Created; the body carries the committed receipt
application/json: object
400Problem document: error, message, details
application/json: Error
401Problem document: error, message, details
application/json: Error
403Problem document: error, message, details
application/json: Error
409Problem document: error, message, details
application/json: Error
422Problem document: error, message, details
application/json: Error
429Problem document: error, message, details
application/json: Error
503Problem 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

NomEmplacementTypeObligatoireDescription
idpathstring (uuid)oui
revealquerystringnon

Réponses

CodeDescriptionType de média
200OK
application/json: object
401Problem document: error, message, details
application/json: Error
403Problem document: error, message, details
application/json: Error
404Problem document: error, message, details
application/json: Error
429Problem 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

NomEmplacementTypeObligatoireDescription
idpathstring (uuid)oui
Idempotency-KeyheaderstringouiOne 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)

Réponses

CodeDescriptionType de média
201Created; the body carries the committed receipt
application/json: object
400Problem document: error, message, details
application/json: Error
401Problem document: error, message, details
application/json: Error
403Problem document: error, message, details
application/json: Error
404Problem document: error, message, details
application/json: Error
409Problem document: error, message, details
application/json: Error
422Problem document: error, message, details
application/json: Error
429Problem 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

NomEmplacementTypeObligatoireDescription
idpathstring (uuid)oui
Idempotency-KeyheaderstringouiOne 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)

Réponses

CodeDescriptionType de média
200OK
application/json: object
400Problem document: error, message, details
application/json: Error
401Problem document: error, message, details
application/json: Error
403Problem document: error, message, details
application/json: Error
404Problem document: error, message, details
application/json: Error
409Problem document: error, message, details
application/json: Error
422Problem document: error, message, details
application/json: Error
429Problem 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

NomEmplacementTypeObligatoireDescription
idpathstring (uuid)oui
Idempotency-KeyheaderstringouiOne 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)

Réponses

CodeDescriptionType de média
200OK
application/json: object
400Problem document: error, message, details
application/json: Error
401Problem document: error, message, details
application/json: Error
403Problem document: error, message, details
application/json: Error
404Problem document: error, message, details
application/json: Error
409Problem document: error, message, details
application/json: Error
422Problem document: error, message, details
application/json: Error
429Problem document: error, message, details
application/json: Error
GET/policyThe active assurance policy, or the fail-closed notice (status not_configured, cap claimed).

Identifiant d’opération: getAssurancePolicy

Authentification: bearer

Réponses

CodeDescriptionType de média
200OK
application/json: object
401Problem document: error, message, details
application/json: Error
403Problem document: error, message, details
application/json: Error
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

NomEmplacementTypeObligatoireDescription
revealquerystringnon

Réponses

CodeDescriptionType de média
200OK
application/json: object
401Problem document: error, message, details
application/json: Error
403Problem document: error, message, details
application/json: Error
GET/disputesIdentity disputes of the caller's scope, newest first.

Identifiant d’opération: listDisputes

Authentification: bearer

Réponses

CodeDescriptionType de média
200OK
application/json: object
401Problem document: error, message, details
application/json: Error
403Problem document: error, message, details
application/json: Error
POST/disputesSubmit an identity dispute; fraudulent use opens an impersonation investigation (OHN-37-F003).

Identifiant d’opération: submitDispute

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
Idempotency-KeyheaderstringouiOne 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)

Réponses

CodeDescriptionType de média
201Created; the body carries the committed receipt
application/json: object
400Problem document: error, message, details
application/json: Error
401Problem document: error, message, details
application/json: Error
403Problem document: error, message, details
application/json: Error
422Problem document: error, message, details
application/json: Error
429Problem 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

NomEmplacementTypeObligatoireDescription
idpathstring (uuid)oui

Réponses

CodeDescriptionType de média
200OK
application/json: object
401Problem document: error, message, details
application/json: Error
403Problem document: error, message, details
application/json: Error
404Problem document: error, message, details
application/json: Error
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

NomEmplacementTypeObligatoireDescription
idpathstring (uuid)oui
Idempotency-KeyheaderstringouiOne 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)

Réponses

CodeDescriptionType de média
200OK
application/json: object
400Problem document: error, message, details
application/json: Error
401Problem document: error, message, details
application/json: Error
403Problem document: error, message, details
application/json: Error
404Problem document: error, message, details
application/json: Error
409Problem document: error, message, details
application/json: Error
422Problem document: error, message, details
application/json: Error
429Problem document: error, message, details
application/json: Error
GET/assurance-reviewsAssurance escalation and downgrade reviews, newest first.

Identifiant d’opération: listAssuranceReviews

Authentification: bearer

Réponses

CodeDescriptionType de média
200OK
application/json: object
401Problem document: error, message, details
application/json: Error
403Problem document: error, message, details
application/json: Error
POST/assurance-reviewsRegister an assurance review (identity supervisor only; OHN-37-F004).

Identifiant d’opération: submitAssuranceReview

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
Idempotency-KeyheaderstringouiOne 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)

Réponses

CodeDescriptionType de média
201Created; the body carries the committed receipt
application/json: object
400Problem document: error, message, details
application/json: Error
401Problem document: error, message, details
application/json: Error
403Problem document: error, message, details
application/json: Error
422Problem document: error, message, details
application/json: Error
429Problem document: error, message, details
application/json: Error
GET/assurance-badgesIssued assurance badges, cursor paged.

Identifiant d’opération: listAssuranceBadges

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
page_sizequerystringnon
cursorquerystringnon
assurance_levelquerystringnon
channelquerystringnon

Réponses

CodeDescriptionType de média
200OK
application/json: object
401Problem document: error, message, details
application/json: Error
403Problem document: error, message, details
application/json: Error
422Problem document: error, message, details
application/json: Error
GET/workflowsProofing, impersonation and escalation workflows with the latest 250 history rows.

Identifiant d’opération: listWorkflows

Authentification: bearer

Réponses

CodeDescriptionType de média
200OK
application/json: object
401Problem document: error, message, details
application/json: Error
403Problem document: error, message, details
application/json: Error
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

NomEmplacementTypeObligatoireDescription
idpathstring (uuid)oui
Idempotency-KeyheaderstringouiOne 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)

Réponses

CodeDescriptionType de média
200OK
application/json: object
400Problem document: error, message, details
application/json: Error
401Problem document: error, message, details
application/json: Error
403Problem document: error, message, details
application/json: Error
404Problem document: error, message, details
application/json: Error
409Problem document: error, message, details
application/json: Error
422Problem document: error, message, details
application/json: Error
429Problem 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

NomEmplacementTypeObligatoireDescription
idpathstringoui
period_fromquerystringnon
period_toquerystringnon
channelquerystringnon
evidence_typequerystringnon
severityquerystringnon
sourcequerystringnon

Réponses

CodeDescriptionType de média
200OK
application/json: object
401Problem document: error, message, details
application/json: Error
403Problem document: error, message, details
application/json: Error
404Problem document: error, message, details
application/json: Error
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

NomEmplacementTypeObligatoireDescription
idpathstringoui
Idempotency-KeyheaderstringouiOne 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)

Réponses

CodeDescriptionType de média
201Created; the body carries the committed receipt
application/json: object
400Problem document: error, message, details
application/json: Error
401Problem document: error, message, details
application/json: Error
403Problem document: error, message, details
application/json: Error
404Problem document: error, message, details
application/json: Error
422Problem document: error, message, details
application/json: Error
429Problem document: error, message, details
application/json: Error
503Problem 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

NomEmplacementTypeObligatoireDescription
tokenpathstringoui

Réponses

CodeDescriptionType de média
200The 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)
401Problem document: error, message, details
application/json: Error
403Problem document: error, message, details
application/json: Error
404Problem document: error, message, details
application/json: Error
503Problem document: error, message, details
application/json: Error

Schémas

Error

NomTypeObligatoireDescription
errorstringoui
messagestringnon
detailsanynon

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

NomTypeObligatoireDescription
jurisdiction_idstring (uuid)oui
person_claim_refstring (uuid)oui
proofing_channelProofingChanneloui
evidence_typeEvidenceTypeoui
evidence_referencestring (uuid)oui
assurance_targetAssuranceLeveloui

EvidenceArtifactCommand

NomTypeObligatoireDescription
case_idstring (uuid)oui
document_checksstringoui
biographic_matchBiographicMatchoui
liveness_resultLivenessResultnon
review_decisionReviewDecisionoui
reviewerstring (uuid)oui

DecideCaseCommand

NomTypeObligatoireDescription
expected_versionintegeroui
review_decisionReviewDecisionoui
document_checksstringoui
biographic_matchBiographicMatchoui
liveness_resultLivenessResultnon
reasonstringoui

CaseTransitionCommand

NomTypeObligatoireDescription
expected_versionintegeroui
to_statestringoui
evidence_refstring (uuid)oui
reasonstringoui

DisputeCommand

NomTypeObligatoireDescription
person_refstring (uuid)oui
dispute_type"not_my_record" | "duplicate_record" | "wrong_demographics" | "fraudulent_use" | "other"oui
claim_descriptionstringoui
supporting_evidence_refstring (uuid)oui
contact_channel"phone" | "email" | "sms" | "in_person" | "guardian"oui

DisputeTransitionCommand

NomTypeObligatoireDescription
expected_versionintegeroui
to_state"under_review" | "resolved"oui
reasonstringoui
resolution"upheld_record_corrected" | "upheld_referred" | "not_upheld" | "withdrawn"non

AssuranceReviewCommand

current_assurance and target_assurance must differ (422, detail on target_assurance).

NomTypeObligatoireDescription
patient_refstring (uuid)oui
current_assuranceAssuranceLeveloui
target_assuranceAssuranceLeveloui
evidence_refsstringoui
reviewerstring (uuid)oui

WorkflowTransitionCommand

NomTypeObligatoireDescription
expected_versionintegeroui
to_statestringoui
evidence_refstring (uuid)oui
reasonstringoui
resolution"confirmed_impersonation" | "cleared" | "inconclusive"non

ExportCommand

NomTypeObligatoireDescription
format"csv" | "pdf"oui
period_fromstring (date-time)non
period_tostring (date-time)non
channelProofingChannelnon
countrystring (uuid)non
jurisdiction_idstring (uuid)non
evidence_typeEvidenceTypenon
severity"low" | "medium" | "high" | "critical"non
sourcestringnon