Skip to content

← All contracts

OHN-04 Identifier Crosswalk and Merge Governance

Version
1.0.0
OpenAPI
3.1.0
Source in the repository
modules/OHN-04/api/openapi.json
Servers
https://opeshealthnetwork.com/api/ohn/v1
Authentication
bearer: http bearer (JWT)

Download the contract (JSON)

Contracts are written in English.

Local-identifier crosswalk, dual-control patient merge, reversible unmerge and downstream reconciliation. Generated from the server request schemas; do not edit by hand.

Operations

Other operations

POST/identifier-crosswalksSubmit an identifier crosswalk (F001). Resolves nothing until activated.

Operation ID: submitCrosswalk

Authentication: bearer

Parameters

NameInTypeRequiredDescription
Idempotency-KeyheaderstringyesOne key per user intent. Same key and payload returns the original response; same key with another payload returns 409.

Request body (required)

Responses

CodeDescriptionMedia type
201Created; the body carries the committed receipt
application/json: object
400Malformed request or missing Idempotency-Key
application/json: Error
401Unauthenticated
application/json: Error
403Denied by policy or separation of duties
application/json: Error
404Not found, or a non-disclosing refusal
application/json: Error
409Conflict, stale version, invalid transition, blocked merge or idempotency key reuse
application/json: Error
422Domain validation failed
application/json: Error
429Rate limited
application/json: Error
503A dependency is unavailable; nothing was committed
application/json: Error
GET/identifier-crosswalks/resolveResolve a local identifier to the network identity (inventory form; prefer the body form).

Operation ID: resolveCrosswalk

Authentication: bearer

Parameters

NameInTypeRequiredDescription
assigning_authorityquerystringno
local_idquerystringno
as_ofquerystringno

Responses

CodeDescriptionMedia type
200Success
application/json: object
400Malformed request
application/json: Error
401Unauthenticated
application/json: Error
403Denied by policy or separation of duties
application/json: Error
404Not found, or a non-disclosing refusal
application/json: Error
409Conflict, stale version, invalid transition, blocked merge or idempotency key reuse
application/json: Error
422Domain validation failed
application/json: Error
429Rate limited
application/json: Error
503A dependency is unavailable; nothing was committed
application/json: Error
POST/identifier-crosswalks/resolutionsResolve a local identifier without placing it in a URL.

Operation ID: resolveCrosswalkByBody

Authentication: bearer

Parameters

NameInTypeRequiredDescription
Idempotency-KeyheaderstringyesOne key per user intent. Same key and payload returns the original response; same key with another payload returns 409.

Request body (required)

Responses

CodeDescriptionMedia type
200Success
application/json: object
400Malformed request or missing Idempotency-Key
application/json: Error
401Unauthenticated
application/json: Error
403Denied by policy or separation of duties
application/json: Error
404Not found, or a non-disclosing refusal
application/json: Error
409Conflict, stale version, invalid transition, blocked merge or idempotency key reuse
application/json: Error
422Domain validation failed
application/json: Error
429Rate limited
application/json: Error
503A dependency is unavailable; nothing was committed
application/json: Error
POST/identifier-crosswalks/searchSearch crosswalks of the organisation.

Operation ID: searchCrosswalks

Authentication: bearer

Parameters

NameInTypeRequiredDescription
Idempotency-KeyheaderstringyesOne key per user intent. Same key and payload returns the original response; same key with another payload returns 409.

Request body (required)

Responses

CodeDescriptionMedia type
200Success
application/json: object
400Malformed request or missing Idempotency-Key
application/json: Error
401Unauthenticated
application/json: Error
403Denied by policy or separation of duties
application/json: Error
404Not found, or a non-disclosing refusal
application/json: Error
409Conflict, stale version, invalid transition, blocked merge or idempotency key reuse
application/json: Error
422Domain validation failed
application/json: Error
429Rate limited
application/json: Error
503A dependency is unavailable; nothing was committed
application/json: Error
GET/identifier-crosswalks/{id}Crosswalk detail with workflow history and full lineage.

Operation ID: getCrosswalk

Authentication: bearer

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yes

Responses

CodeDescriptionMedia type
200Success
application/json: object
400Malformed request
application/json: Error
401Unauthenticated
application/json: Error
403Denied by policy or separation of duties
application/json: Error
404Not found, or a non-disclosing refusal
application/json: Error
409Conflict, stale version, invalid transition, blocked merge or idempotency key reuse
application/json: Error
422Domain validation failed
application/json: Error
429Rate limited
application/json: Error
503A dependency is unavailable; nothing was committed
application/json: Error
POST/identifier-crosswalks/{id}/advancePerform one W001 step.

Operation ID: advanceCrosswalk

Authentication: bearer

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yes
Idempotency-KeyheaderstringyesOne key per user intent. Same key and payload returns the original response; same key with another payload returns 409.

Request body (required)

Responses

CodeDescriptionMedia type
200Success
application/json: object
400Malformed request or missing Idempotency-Key
application/json: Error
401Unauthenticated
application/json: Error
403Denied by policy or separation of duties
application/json: Error
404Not found, or a non-disclosing refusal
application/json: Error
409Conflict, stale version, invalid transition, blocked merge or idempotency key reuse
application/json: Error
422Domain validation failed
application/json: Error
429Rate limited
application/json: Error
503A dependency is unavailable; nothing was committed
application/json: Error
POST/identifier-crosswalks/{id}/resolve-conflictReject a held collision or supersede the existing mapping.

Operation ID: resolveCrosswalkConflict

Authentication: bearer

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yes
Idempotency-KeyheaderstringyesOne key per user intent. Same key and payload returns the original response; same key with another payload returns 409.

Request body (required)

Responses

CodeDescriptionMedia type
200Success
application/json: object
400Malformed request or missing Idempotency-Key
application/json: Error
401Unauthenticated
application/json: Error
403Denied by policy or separation of duties
application/json: Error
404Not found, or a non-disclosing refusal
application/json: Error
409Conflict, stale version, invalid transition, blocked merge or idempotency key reuse
application/json: Error
422Domain validation failed
application/json: Error
429Rate limited
application/json: Error
503A dependency is unavailable; nothing was committed
application/json: Error
POST/identifier-crosswalks/{id}/retireClose an active crosswalk with an end date.

Operation ID: retireCrosswalk

Authentication: bearer

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yes
Idempotency-KeyheaderstringyesOne key per user intent. Same key and payload returns the original response; same key with another payload returns 409.

Request body (required)

Responses

CodeDescriptionMedia type
200Success
application/json: object
400Malformed request or missing Idempotency-Key
application/json: Error
401Unauthenticated
application/json: Error
403Denied by policy or separation of duties
application/json: Error
404Not found, or a non-disclosing refusal
application/json: Error
409Conflict, stale version, invalid transition, blocked merge or idempotency key reuse
application/json: Error
422Domain validation failed
application/json: Error
429Rate limited
application/json: Error
503A dependency is unavailable; nothing was committed
application/json: Error
GET/mpi/mergesMerge queue.

Operation ID: listMerges

Authentication: bearer

Parameters

NameInTypeRequiredDescription
statequerystringno
cursorquerystringno

Responses

CodeDescriptionMedia type
200Success
application/json: object
400Malformed request
application/json: Error
401Unauthenticated
application/json: Error
403Denied by policy or separation of duties
application/json: Error
404Not found, or a non-disclosing refusal
application/json: Error
409Conflict, stale version, invalid transition, blocked merge or idempotency key reuse
application/json: Error
422Domain validation failed
application/json: Error
429Rate limited
application/json: Error
503A dependency is unavailable; nothing was committed
application/json: Error
POST/mpi/mergesRequest a patient merge (F002).

Operation ID: requestMerge

Authentication: bearer

Parameters

NameInTypeRequiredDescription
Idempotency-KeyheaderstringyesOne key per user intent. Same key and payload returns the original response; same key with another payload returns 409.

Request body (required)

Responses

CodeDescriptionMedia type
201Created; the body carries the committed receipt
application/json: object
400Malformed request or missing Idempotency-Key
application/json: Error
401Unauthenticated
application/json: Error
403Denied by policy or separation of duties
application/json: Error
404Not found, or a non-disclosing refusal
application/json: Error
409Conflict, stale version, invalid transition, blocked merge or idempotency key reuse
application/json: Error
422Domain validation failed
application/json: Error
429Rate limited
application/json: Error
503A dependency is unavailable; nothing was committed
application/json: Error
POST/mpi/merges/impact-previewWhat a merge would change and what blocks it. Changes nothing.

Operation ID: previewMergeImpact

Authentication: bearer

Parameters

NameInTypeRequiredDescription
Idempotency-KeyheaderstringyesOne key per user intent. Same key and payload returns the original response; same key with another payload returns 409.

Request body (required)

Responses

CodeDescriptionMedia type
200Success
application/json: object
400Malformed request or missing Idempotency-Key
application/json: Error
401Unauthenticated
application/json: Error
403Denied by policy or separation of duties
application/json: Error
404Not found, or a non-disclosing refusal
application/json: Error
409Conflict, stale version, invalid transition, blocked merge or idempotency key reuse
application/json: Error
422Domain validation failed
application/json: Error
429Rate limited
application/json: Error
503A dependency is unavailable; nothing was committed
application/json: Error
POST/mpi/merges/approvalsRecord one supervisor decision (F003). Two different supervisors are required.

Operation ID: recordMergeApproval

Authentication: bearer

Parameters

NameInTypeRequiredDescription
Idempotency-KeyheaderstringyesOne key per user intent. Same key and payload returns the original response; same key with another payload returns 409.

Request body (required)

Responses

CodeDescriptionMedia type
201Created; the body carries the committed receipt
application/json: object
400Malformed request or missing Idempotency-Key
application/json: Error
401Unauthenticated
application/json: Error
403Denied by policy or separation of duties
application/json: Error
404Not found, or a non-disclosing refusal
application/json: Error
409Conflict, stale version, invalid transition, blocked merge or idempotency key reuse
application/json: Error
422Domain validation failed
application/json: Error
429Rate limited
application/json: Error
503A dependency is unavailable; nothing was committed
application/json: Error
GET/mpi/merges/{id}Merge case with approvals, propagation and history.

Operation ID: getMerge

Authentication: bearer

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yes

Responses

CodeDescriptionMedia type
200Success
application/json: object
400Malformed request
application/json: Error
401Unauthenticated
application/json: Error
403Denied by policy or separation of duties
application/json: Error
404Not found, or a non-disclosing refusal
application/json: Error
409Conflict, stale version, invalid transition, blocked merge or idempotency key reuse
application/json: Error
422Domain validation failed
application/json: Error
429Rate limited
application/json: Error
503A dependency is unavailable; nothing was committed
application/json: Error
POST/mpi/merges/{id}/advanceEvidence review, execution or abort (W002).

Operation ID: advanceMerge

Authentication: bearer

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yes
Idempotency-KeyheaderstringyesOne key per user intent. Same key and payload returns the original response; same key with another payload returns 409.

Request body (required)

Responses

CodeDescriptionMedia type
200Success
application/json: object
400Malformed request or missing Idempotency-Key
application/json: Error
401Unauthenticated
application/json: Error
403Denied by policy or separation of duties
application/json: Error
404Not found, or a non-disclosing refusal
application/json: Error
409Conflict, stale version, invalid transition, blocked merge or idempotency key reuse
application/json: Error
422Domain validation failed
application/json: Error
429Rate limited
application/json: Error
503A dependency is unavailable; nothing was committed
application/json: Error
POST/mpi/merges/{id}/disputeRaise or clear a clinical owner dispute; an open dispute blocks execution.

Operation ID: disputeMerge

Authentication: bearer

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yes
Idempotency-KeyheaderstringyesOne key per user intent. Same key and payload returns the original response; same key with another payload returns 409.

Request body (required)

Responses

CodeDescriptionMedia type
200Success
application/json: object
400Malformed request or missing Idempotency-Key
application/json: Error
401Unauthenticated
application/json: Error
403Denied by policy or separation of duties
application/json: Error
404Not found, or a non-disclosing refusal
application/json: Error
409Conflict, stale version, invalid transition, blocked merge or idempotency key reuse
application/json: Error
422Domain validation failed
application/json: Error
429Rate limited
application/json: Error
503A dependency is unavailable; nothing was committed
application/json: Error
GET/mpi/unmergesUnmerge investigations.

Operation ID: listUnmerges

Authentication: bearer

Parameters

NameInTypeRequiredDescription
statequerystringno
cursorquerystringno

Responses

CodeDescriptionMedia type
200Success
application/json: object
400Malformed request
application/json: Error
401Unauthenticated
application/json: Error
403Denied by policy or separation of duties
application/json: Error
404Not found, or a non-disclosing refusal
application/json: Error
409Conflict, stale version, invalid transition, blocked merge or idempotency key reuse
application/json: Error
422Domain validation failed
application/json: Error
429Rate limited
application/json: Error
503A dependency is unavailable; nothing was committed
application/json: Error
POST/mpi/unmergesOpen an unmerge investigation (F004); both identities are frozen at once.

Operation ID: openUnmerge

Authentication: bearer

Parameters

NameInTypeRequiredDescription
Idempotency-KeyheaderstringyesOne key per user intent. Same key and payload returns the original response; same key with another payload returns 409.

Request body (required)

Responses

CodeDescriptionMedia type
201Created; the body carries the committed receipt
application/json: object
400Malformed request or missing Idempotency-Key
application/json: Error
401Unauthenticated
application/json: Error
403Denied by policy or separation of duties
application/json: Error
404Not found, or a non-disclosing refusal
application/json: Error
409Conflict, stale version, invalid transition, blocked merge or idempotency key reuse
application/json: Error
422Domain validation failed
application/json: Error
429Rate limited
application/json: Error
503A dependency is unavailable; nothing was committed
application/json: Error
GET/mpi/unmerges/{id}Unmerge case with the reconstruction plan.

Operation ID: getUnmerge

Authentication: bearer

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yes

Responses

CodeDescriptionMedia type
200Success
application/json: object
400Malformed request
application/json: Error
401Unauthenticated
application/json: Error
403Denied by policy or separation of duties
application/json: Error
404Not found, or a non-disclosing refusal
application/json: Error
409Conflict, stale version, invalid transition, blocked merge or idempotency key reuse
application/json: Error
422Domain validation failed
application/json: Error
429Rate limited
application/json: Error
503A dependency is unavailable; nothing was committed
application/json: Error
POST/mpi/unmerges/{id}/reconstructionAssign every identifier registered since the merge to one of the two people.

Operation ID: reconstructUnmerge

Authentication: bearer

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yes
Idempotency-KeyheaderstringyesOne key per user intent. Same key and payload returns the original response; same key with another payload returns 409.

Request body (required)

Responses

CodeDescriptionMedia type
200Success
application/json: object
400Malformed request or missing Idempotency-Key
application/json: Error
401Unauthenticated
application/json: Error
403Denied by policy or separation of duties
application/json: Error
404Not found, or a non-disclosing refusal
application/json: Error
409Conflict, stale version, invalid transition, blocked merge or idempotency key reuse
application/json: Error
422Domain validation failed
application/json: Error
429Rate limited
application/json: Error
503A dependency is unavailable; nothing was committed
application/json: Error
POST/mpi/unmerges/{id}/advanceApprove, restore, verify or dismiss (W003).

Operation ID: advanceUnmerge

Authentication: bearer

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yes
Idempotency-KeyheaderstringyesOne key per user intent. Same key and payload returns the original response; same key with another payload returns 409.

Request body (required)

Responses

CodeDescriptionMedia type
200Success
application/json: object
400Malformed request or missing Idempotency-Key
application/json: Error
401Unauthenticated
application/json: Error
403Denied by policy or separation of duties
application/json: Error
404Not found, or a non-disclosing refusal
application/json: Error
409Conflict, stale version, invalid transition, blocked merge or idempotency key reuse
application/json: Error
422Domain validation failed
application/json: Error
429Rate limited
application/json: Error
503A dependency is unavailable; nothing was committed
application/json: Error
GET/crosswalk-governance/propagationsDownstream propagation log.

Operation ID: listPropagations

Authentication: bearer

Parameters

NameInTypeRequiredDescription
statequerystringno
cursorquerystringno

Responses

CodeDescriptionMedia type
200Success
application/json: object
400Malformed request
application/json: Error
401Unauthenticated
application/json: Error
403Denied by policy or separation of duties
application/json: Error
404Not found, or a non-disclosing refusal
application/json: Error
409Conflict, stale version, invalid transition, blocked merge or idempotency key reuse
application/json: Error
422Domain validation failed
application/json: Error
429Rate limited
application/json: Error
503A dependency is unavailable; nothing was committed
application/json: Error
POST/crosswalk-governance/propagations/{id}/acknowledgeAcknowledgement or failure reported by the downstream system.

Operation ID: acknowledgePropagation

Authentication: bearer

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yes
Idempotency-KeyheaderstringyesOne key per user intent. Same key and payload returns the original response; same key with another payload returns 409.

Request body (required)

Responses

CodeDescriptionMedia type
200Success
application/json: object
400Malformed request or missing Idempotency-Key
application/json: Error
401Unauthenticated
application/json: Error
403Denied by policy or separation of duties
application/json: Error
404Not found, or a non-disclosing refusal
application/json: Error
409Conflict, stale version, invalid transition, blocked merge or idempotency key reuse
application/json: Error
422Domain validation failed
application/json: Error
429Rate limited
application/json: Error
503A dependency is unavailable; nothing was committed
application/json: Error
POST/crosswalk-governance/propagations/{id}/redriveRe-send the event for a pending or failed propagation.

Operation ID: redrivePropagation

Authentication: bearer

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yes
Idempotency-KeyheaderstringyesOne key per user intent. Same key and payload returns the original response; same key with another payload returns 409.

Request body (required)

Responses

CodeDescriptionMedia type
200Success
application/json: object
400Malformed request or missing Idempotency-Key
application/json: Error
401Unauthenticated
application/json: Error
403Denied by policy or separation of duties
application/json: Error
404Not found, or a non-disclosing refusal
application/json: Error
409Conflict, stale version, invalid transition, blocked merge or idempotency key reuse
application/json: Error
422Domain validation failed
application/json: Error
429Rate limited
application/json: Error
503A dependency is unavailable; nothing was committed
application/json: Error
GET/crosswalk-governance/assigning-authoritiesIssuers of local identifiers.

Operation ID: listAssigningAuthorities

Authentication: bearer

Responses

CodeDescriptionMedia type
200Success
application/json: object
400Malformed request
application/json: Error
401Unauthenticated
application/json: Error
403Denied by policy or separation of duties
application/json: Error
404Not found, or a non-disclosing refusal
application/json: Error
409Conflict, stale version, invalid transition, blocked merge or idempotency key reuse
application/json: Error
422Domain validation failed
application/json: Error
429Rate limited
application/json: Error
503A dependency is unavailable; nothing was committed
application/json: Error
POST/crosswalk-governance/assigning-authoritiesRegister an issuer.

Operation ID: registerAssigningAuthority

Authentication: bearer

Parameters

NameInTypeRequiredDescription
Idempotency-KeyheaderstringyesOne key per user intent. Same key and payload returns the original response; same key with another payload returns 409.

Request body (required)

Responses

CodeDescriptionMedia type
201Created; the body carries the committed receipt
application/json: object
400Malformed request or missing Idempotency-Key
application/json: Error
401Unauthenticated
application/json: Error
403Denied by policy or separation of duties
application/json: Error
404Not found, or a non-disclosing refusal
application/json: Error
409Conflict, stale version, invalid transition, blocked merge or idempotency key reuse
application/json: Error
422Domain validation failed
application/json: Error
429Rate limited
application/json: Error
503A dependency is unavailable; nothing was committed
application/json: Error
POST/crosswalk-governance/assigning-authorities/{id}/retireRetire an issuer.

Operation ID: retireAssigningAuthority

Authentication: bearer

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yes
Idempotency-KeyheaderstringyesOne key per user intent. Same key and payload returns the original response; same key with another payload returns 409.

Request body (required)

Responses

CodeDescriptionMedia type
200Success
application/json: object
400Malformed request or missing Idempotency-Key
application/json: Error
401Unauthenticated
application/json: Error
403Denied by policy or separation of duties
application/json: Error
404Not found, or a non-disclosing refusal
application/json: Error
409Conflict, stale version, invalid transition, blocked merge or idempotency key reuse
application/json: Error
422Domain validation failed
application/json: Error
429Rate limited
application/json: Error
503A dependency is unavailable; nothing was committed
application/json: Error
GET/crosswalk-governance/reports/{reportId}Run report R001, R002 or R003.

Operation ID: runReport

Authentication: bearer

Parameters

NameInTypeRequiredDescription
reportIdpathstringyes
jurisdictionquerystringno
statusquerystringno
issuerquerystringno
systemquerystringno
age_hoursquerystringno
period_fromquerystringno
period_toquerystringno
cursorquerystringno

Responses

CodeDescriptionMedia type
200Success
application/json: object
400Malformed request
application/json: Error
401Unauthenticated
application/json: Error
403Denied by policy or separation of duties
application/json: Error
404Not found, or a non-disclosing refusal
application/json: Error
409Conflict, stale version, invalid transition, blocked merge or idempotency key reuse
application/json: Error
422Domain validation failed
application/json: Error
429Rate limited
application/json: Error
503A dependency is unavailable; nothing was committed
application/json: Error
POST/crosswalk-governance/reports/{reportId}/exportCreate a signed, single-use, five-minute export.

Operation ID: exportReport

Authentication: bearer

Parameters

NameInTypeRequiredDescription
reportIdpathstringyes
Idempotency-KeyheaderstringyesOne key per user intent. Same key and payload returns the original response; same key with another payload returns 409.

Request body (required)

Responses

CodeDescriptionMedia type
201Created; the body carries the committed receipt
application/json: object
400Malformed request or missing Idempotency-Key
application/json: Error
401Unauthenticated
application/json: Error
403Denied by policy or separation of duties
application/json: Error
404Not found, or a non-disclosing refusal
application/json: Error
409Conflict, stale version, invalid transition, blocked merge or idempotency key reuse
application/json: Error
422Domain validation failed
application/json: Error
429Rate limited
application/json: Error
503A dependency is unavailable; nothing was committed
application/json: Error
GET/crosswalk-governance/exports/{token}Download an export once.

Operation ID: downloadExport

Authentication: bearer

Parameters

NameInTypeRequiredDescription
tokenpathstringyes

Responses

CodeDescriptionMedia type
200The export bytes once; Content-Type is text/csv or application/pdf depending on the requested format
application/octet-stream: string (binary)
400Malformed request
application/json: Error
401Unauthenticated
application/json: Error
403Denied by policy or separation of duties
application/json: Error
404Not found, or a non-disclosing refusal
application/json: Error
409Conflict, stale version, invalid transition, blocked merge or idempotency key reuse
application/json: Error
410Export expired or already downloaded
application/json: Error
422Domain validation failed
application/json: Error
429Rate limited
application/json: Error
503A dependency is unavailable; nothing was committed
application/json: Error
GET/crosswalk-governance/policyJurisdiction policy versions.

Operation ID: listPolicies

Authentication: bearer

Responses

CodeDescriptionMedia type
200Success
application/json: object
400Malformed request
application/json: Error
401Unauthenticated
application/json: Error
403Denied by policy or separation of duties
application/json: Error
404Not found, or a non-disclosing refusal
application/json: Error
409Conflict, stale version, invalid transition, blocked merge or idempotency key reuse
application/json: Error
422Domain validation failed
application/json: Error
429Rate limited
application/json: Error
503A dependency is unavailable; nothing was committed
application/json: Error
POST/crosswalk-governance/policyDraft a policy version.

Operation ID: draftPolicy

Authentication: bearer

Parameters

NameInTypeRequiredDescription
Idempotency-KeyheaderstringyesOne key per user intent. Same key and payload returns the original response; same key with another payload returns 409.

Request body (required)

Responses

CodeDescriptionMedia type
201Created; the body carries the committed receipt
application/json: object
400Malformed request or missing Idempotency-Key
application/json: Error
401Unauthenticated
application/json: Error
403Denied by policy or separation of duties
application/json: Error
404Not found, or a non-disclosing refusal
application/json: Error
409Conflict, stale version, invalid transition, blocked merge or idempotency key reuse
application/json: Error
422Domain validation failed
application/json: Error
429Rate limited
application/json: Error
503A dependency is unavailable; nothing was committed
application/json: Error
POST/crosswalk-governance/policy/{version}/activateActivate a draft (not by its author).

Operation ID: activatePolicy

Authentication: bearer

Parameters

NameInTypeRequiredDescription
versionpathintegeryes
Idempotency-KeyheaderstringyesOne key per user intent. Same key and payload returns the original response; same key with another payload returns 409.

Request body (required)

Responses

CodeDescriptionMedia type
200Success
application/json: object
400Malformed request or missing Idempotency-Key
application/json: Error
401Unauthenticated
application/json: Error
403Denied by policy or separation of duties
application/json: Error
404Not found, or a non-disclosing refusal
application/json: Error
409Conflict, stale version, invalid transition, blocked merge or idempotency key reuse
application/json: Error
422Domain validation failed
application/json: Error
429Rate limited
application/json: Error
503A dependency is unavailable; nothing was committed
application/json: Error
POST/crosswalk-governance/maintenance/drain-outboxRelay pending events; reports pending when no bus is configured.

Operation ID: drainOutbox

Authentication: bearer

Parameters

NameInTypeRequiredDescription
Idempotency-KeyheaderstringyesOne key per user intent. Same key and payload returns the original response; same key with another payload returns 409.

Responses

CodeDescriptionMedia type
200Success
application/json: object
400Malformed request or missing Idempotency-Key
application/json: Error
401Unauthenticated
application/json: Error
403Denied by policy or separation of duties
application/json: Error
404Not found, or a non-disclosing refusal
application/json: Error
409Conflict, stale version, invalid transition, blocked merge or idempotency key reuse
application/json: Error
422Domain validation failed
application/json: Error
429Rate limited
application/json: Error
503A dependency is unavailable; nothing was committed
application/json: Error

Schemas

CrosswalkCommand

NameTypeRequiredDescription
health_idstring (uuid)yes
local_idstringyes
assigning_authoritystring (uuid)yes
source_facilitystring (uuid)yes
valid_fromstringyes
identity_evidence_refstring (uuid)yes

CrosswalkAdvanceCommand

NameTypeRequiredDescription
to_state"authority_verified" | "conflict_screened" | "active" | "rejected"yes
expected_versionintegeryes
reasonstringyes

ConflictResolveCommand

NameTypeRequiredDescription
resolution"reject" | "supersede_existing"yes
expected_versionintegeryes
reasonstringyes

CrosswalkRetireCommand

NameTypeRequiredDescription
expected_versionintegeryes
valid_tostringyes
reasonstringyes

ResolveQuery

NameTypeRequiredDescription
assigning_authoritystring (uuid)yes
local_idstringyes
as_ofstringno

SearchCommand

NameTypeRequiredDescription
assigning_authoritystring (uuid)no
local_idstringno
health_idstring (uuid)no
statestringno
cursorstringno

MergeRequestCommand

NameTypeRequiredDescription
survivor_patient_idstring (uuid)yes
retiring_patient_idstring (uuid)yes
evidence_refsarray of string (uuid)yes
clinical_impactstringyes
reasonstringyes
requester_idstring (uuid)yes

ImpactPreviewCommand

NameTypeRequiredDescription
survivor_patient_idstring (uuid)yes
retiring_patient_idstring (uuid)yes

MergeAdvanceCommand

NameTypeRequiredDescription
to_state"evidence_reviewed" | "executed" | "aborted"yes
expected_versionintegeryes
reasonstringyes

MergeApprovalCommand

NameTypeRequiredDescription
merge_case_idstring (uuid)yes
decision"approve" | "reject"yes
risk_reviewstringyes
second_approver_idstring (uuid)yes
reasonstringyes

MergeDisputeCommand

NameTypeRequiredDescription
action"raise" | "clear"yes
expected_versionintegeryes
reasonstringyes

UnmergeCommand

NameTypeRequiredDescription
merge_case_idstring (uuid)yes
affected_recordsstringyes
recovery_planstringyes
patient_safety_reviewstring (uuid)yes
reasonstringyes

ReconstructionCommand

NameTypeRequiredDescription
expected_versionintegeryes
reasonstringyes
assignmentsarray of ReconstructionCommand.assignments.itemyes

UnmergeAdvanceCommand

NameTypeRequiredDescription
to_state"approved" | "restored" | "verified" | "dismissed"yes
expected_versionintegeryes
reasonstringyes

AcknowledgeCommand

NameTypeRequiredDescription
target_systemstringyes
outcome"acknowledged" | "failed"yes
responsestringyes

RedriveCommand

NameTypeRequiredDescription
reasonstringyes

AuthorityCommand

NameTypeRequiredDescription
codestringyes
display_namestringyes
facility_idsarray of string (uuid)no

AuthorityRetireCommand

NameTypeRequiredDescription
expected_versionintegeryes
reasonstringyes

ExportCommand

NameTypeRequiredDescription
format"csv" | "pdf"yes
filtersExportCommand.filtersno

PolicyConfig

NameTypeRequiredDescription
propagation_targetsarray of stringyes
propagation_ack_sla_hoursintegeryes
merge_approvals_required2yes

PolicyDraftCommand

NameTypeRequiredDescription
configPolicyDraftCommand.configyes
reasonstringyes

PolicyActivateCommand

NameTypeRequiredDescription
reasonstringyes

Error

NameTypeRequiredDescription
errorstringyes
messagestringno
detailsobjectno
dependencystringno

Receipt

NameTypeRequiredDescription
receipt_idstring (uuid)yes
committed_atstring (date-time)yes
aggregate_idstring | nullno
versioninteger | nullno
status"committed" | "denied"yes

ReconstructionCommand.assignments.item defined inline

NameTypeRequiredDescription
mapping_idstring (uuid)yes
belongs_to"survivor" | "retiring"yes

ExportCommand.filters defined inline

NameTypeRequiredDescription
jurisdictionstring (uuid)no
statusstringno
issuerstring (uuid)no
systemstringno
age_hoursstringno
period_fromstringno
period_tostringno
cursorstringno

PolicyDraftCommand.config defined inline

NameTypeRequiredDescription
propagation_targetsarray of stringyes
propagation_ack_sla_hoursintegeryes
merge_approvals_required2yes