← All contracts
OHN-43 Patient Rights and Record Correction
- Version
- 1.1.0
- OpenAPI
- 3.1.0
- Source in the repository
modules/OHN-43/api/openapi.yaml- Servers
https://opeshealthnetwork.com
- Authentication
bearerAuth: http bearer (JWT)
Download the contract (YAML)
Contracts are written in English.
Patient rights requests (W001), clinical correction disputes that preserve the original (W002) and independent appeals (W003). Every POST requires an Idempotency-Key. Patients act only on their own cases; packages are one-time. 1.1.0 (2026-11-23): a facility's data protection officer works as rights_caseworker with purpose facility_rights_administration or privacy_officer with purpose facility_privacy_oversight. With these purposes every request, correction, appeal and package is scoped to the token's organisation_id (the organisation the request is addressed to): another organisation's is 404 and is not listed; reports and exports (jurisdiction-wide) are 403. The network privacy office keeps its purposes and network scope.
Operations
Health
GET/health/ohn-43Liveness and database check
Operation ID: ohn43_health
Responses
| Code | Description | Media type |
|---|
200 | Success | application/json: object
|
404 | Not found or not disclosed | |
Synthetic
POST/api/ohn/v1/rights-requests/synthetic-tokenIssue a synthetic token (TypeScript baseline, synthetic mode only; the Java module never issues tokens and answers 404)
Operation ID: ohn43_syntheticToken
Request body (required)
Responses
| Code | Description | Media type |
|---|
200 | Success | application/json: object
|
404 | Not found or not disclosed | |
POST/api/ohn/v1/rights-requests/synthetic/setupConfigure synthetic upstream doubles (404 unless synthetic mode; not for production)
Operation ID: ohn43_syntheticSetup
Authentication: bearerAuth
Parameters
| Name | In | Type | Required | Description |
|---|
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
200 | Success | application/json: object
|
400 | Malformed request or missing Idempotency-Key | |
401 | Unauthenticated | |
403 | Denied by policy (audited) | |
404 | Not found or not disclosed | |
409 | Stale version, invalid transition, conflict or reused idempotency key | |
422 | Validation failure or domain refusal | |
429 | Rate limited; see Retry-After | |
503 | Jurisdiction service or another dependency unavailable; nothing changed | |
Requests
GET/api/ohn/v1/rights-requestsRights requests (patients see only their own)
Operation ID: ohn43_listRequests
Authentication: bearerAuth
Parameters
| Name | In | Type | Required | Description |
|---|
state | query | string | no | |
request_type | query | string | no | |
overdue | query | string | no | true or false; any other value is 422. Unknown query keys are refused with 422. |
cursor | query | string | no | |
Responses
| Code | Description | Media type |
|---|
200 | Success | application/json: object
|
401 | Unauthenticated | |
403 | Denied by policy (audited) | |
404 | Not found or not disclosed | |
410 | Gone: link expired or already used | |
422 | Validation failure or domain refusal | |
429 | Rate limited; see Retry-After | |
503 | Jurisdiction service or another dependency unavailable; nothing changed | |
POST/api/ohn/v1/rights-requestsFile a rights request (F001)
Operation ID: ohn43_fileRequest
Authentication: bearerAuth
Parameters
| Name | In | Type | Required | Description |
|---|
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
201 | Success | application/json: object
|
400 | Malformed request or missing Idempotency-Key | |
401 | Unauthenticated | |
403 | Denied by policy (audited) | |
404 | Not found or not disclosed | |
409 | Stale version, invalid transition, conflict or reused idempotency key | |
422 | Validation failure or domain refusal | |
429 | Rate limited; see Retry-After | |
503 | Jurisdiction service or another dependency unavailable; nothing changed | |
GET/api/ohn/v1/rights-requests/contextCaller principal and permitted actions
Operation ID: ohn43_context
Authentication: bearerAuth
Responses
| Code | Description | Media type |
|---|
200 | Success | application/json: object
|
401 | Unauthenticated | |
403 | Denied by policy (audited) | |
404 | Not found or not disclosed | |
410 | Gone: link expired or already used | |
422 | Validation failure or domain refusal | |
429 | Rate limited; see Retry-After | |
503 | Jurisdiction service or another dependency unavailable; nothing changed | |
GET/api/ohn/v1/rights-requests/vocabularyControlled vocabularies
Operation ID: ohn43_vocabulary
Authentication: bearerAuth
Responses
| Code | Description | Media type |
|---|
200 | Success | application/json: object
|
401 | Unauthenticated | |
403 | Denied by policy (audited) | |
404 | Not found or not disclosed | |
410 | Gone: link expired or already used | |
422 | Validation failure or domain refusal | |
429 | Rate limited; see Retry-After | |
503 | Jurisdiction service or another dependency unavailable; nothing changed | |
GET/api/ohn/v1/rights-requests/packages/{token}One-time access package download (secure portal, the patient; other channels, a caseworker)
Operation ID: ohn43_downloadPackage
Authentication: bearerAuth
Parameters
| Name | In | Type | Required | Description |
|---|
token | path | string | yes | |
Responses
| Code | Description | Media type |
|---|
200 | Success; headers Content-Disposition (attachment) and X-Content-SHA256 (digest of the body) | application/json: string (binary)
|
401 | Unauthenticated | |
403 | Denied by policy (audited) | |
404 | Not found or not disclosed | |
410 | Gone: link expired or already used | |
422 | Validation failure or domain refusal | |
429 | Rate limited; see Retry-After | |
503 | Jurisdiction service or another dependency unavailable; nothing changed | |
GET/api/ohn/v1/rights-requests/{id}Request with decisions, corrections, appeals and history
Operation ID: ohn43_getRequest
Authentication: bearerAuth
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Responses
| Code | Description | Media type |
|---|
200 | Success | application/json: object
|
401 | Unauthenticated | |
403 | Denied by policy (audited) | |
404 | Not found or not disclosed | |
410 | Gone: link expired or already used | |
422 | Validation failure or domain refusal | |
429 | Rate limited; see Retry-After | |
503 | Jurisdiction service or another dependency unavailable; nothing changed | |
POST/api/ohn/v1/rights-requests/{id}/packageIssue a one-time link for the access package to its rightful recipient
Operation ID: ohn43_issuePackage
Authentication: bearerAuth
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
201 | Success | application/json: object
|
400 | Malformed request or missing Idempotency-Key | |
401 | Unauthenticated | |
403 | Denied by policy (audited) | |
404 | Not found or not disclosed | |
409 | Stale version, invalid transition, conflict or reused idempotency key | |
422 | Validation failure or domain refusal | |
429 | Rate limited; see Retry-After | |
503 | Jurisdiction service or another dependency unavailable; nothing changed | |
POST/api/ohn/v1/rights-requests/{id}/verify-identityrequest_received -> identity_verified (OHN-37 assurance)
Operation ID: ohn43_verifyIdentity
Authentication: bearerAuth
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
200 | Success | application/json: object
|
400 | Malformed request or missing Idempotency-Key | |
401 | Unauthenticated | |
403 | Denied by policy (audited) | |
404 | Not found or not disclosed | |
409 | Stale version, invalid transition, conflict or reused idempotency key | |
422 | Validation failure or domain refusal | |
429 | Rate limited; see Retry-After | |
503 | Jurisdiction service or another dependency unavailable; nothing changed | |
POST/api/ohn/v1/rights-requests/{id}/decideAdjudicate (F003): identity_verified -> eligibility_evaluated
Operation ID: ohn43_decide
Authentication: bearerAuth
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
200 | Success | application/json: object
|
400 | Malformed request or missing Idempotency-Key | |
401 | Unauthenticated | |
403 | Denied by policy (audited) | |
404 | Not found or not disclosed | |
409 | Stale version, invalid transition, conflict or reused idempotency key | |
422 | Validation failure or domain refusal | |
429 | Rate limited; see Retry-After | |
503 | Jurisdiction service or another dependency unavailable; nothing changed | |
POST/api/ohn/v1/rights-requests/{id}/fulfillfulfilled or denied; issues the access package
Operation ID: ohn43_fulfill
Authentication: bearerAuth
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
200 | Success | application/json: object
|
400 | Malformed request or missing Idempotency-Key | |
401 | Unauthenticated | |
403 | Denied by policy (audited) | |
404 | Not found or not disclosed | |
409 | Stale version, invalid transition, conflict or reused idempotency key | |
422 | Validation failure or domain refusal | |
429 | Rate limited; see Retry-After | |
503 | Jurisdiction service or another dependency unavailable; nothing changed | |
POST/api/ohn/v1/rights-requests/{id}/notifynotified; emits rights.request.closed
Operation ID: ohn43_notify
Authentication: bearerAuth
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
200 | Success | application/json: object
|
400 | Malformed request or missing Idempotency-Key | |
401 | Unauthenticated | |
403 | Denied by policy (audited) | |
404 | Not found or not disclosed | |
409 | Stale version, invalid transition, conflict or reused idempotency key | |
422 | Validation failure or domain refusal | |
429 | Rate limited; see Retry-After | |
503 | Jurisdiction service or another dependency unavailable; nothing changed | |
Corrections
GET/api/ohn/v1/rights-requests/correctionsCorrection disputes
Operation ID: ohn43_listCorrections
Authentication: bearerAuth
Parameters
| Name | In | Type | Required | Description |
|---|
state | query | string | no | |
Responses
| Code | Description | Media type |
|---|
200 | Success | application/json: object
|
401 | Unauthenticated | |
403 | Denied by policy (audited) | |
404 | Not found or not disclosed | |
410 | Gone: link expired or already used | |
422 | Validation failure or domain refusal | |
429 | Rate limited; see Retry-After | |
503 | Jurisdiction service or another dependency unavailable; nothing changed | |
POST/api/ohn/v1/rights-requests/correctionsDispute a clinical assertion (F002)
Operation ID: ohn43_proposeCorrection
Authentication: bearerAuth
Parameters
| Name | In | Type | Required | Description |
|---|
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
201 | Success | application/json: object
|
400 | Malformed request or missing Idempotency-Key | |
401 | Unauthenticated | |
403 | Denied by policy (audited) | |
404 | Not found or not disclosed | |
409 | Stale version, invalid transition, conflict or reused idempotency key | |
422 | Validation failure or domain refusal | |
429 | Rate limited; see Retry-After | |
503 | Jurisdiction service or another dependency unavailable; nothing changed | |
GET/api/ohn/v1/rights-requests/corrections/{id}Correction with history
Operation ID: ohn43_getCorrection
Authentication: bearerAuth
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Responses
| Code | Description | Media type |
|---|
200 | Success | application/json: object
|
401 | Unauthenticated | |
403 | Denied by policy (audited) | |
404 | Not found or not disclosed | |
410 | Gone: link expired or already used | |
422 | Validation failure or domain refusal | |
429 | Rate limited; see Retry-After | |
503 | Jurisdiction service or another dependency unavailable; nothing changed | |
POST/api/ohn/v1/rights-requests/corrections/{id}/identify-sourcepatient_dispute -> source_identified
Operation ID: ohn43_identifySource
Authentication: bearerAuth
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
200 | Success | application/json: object
|
400 | Malformed request or missing Idempotency-Key | |
401 | Unauthenticated | |
403 | Denied by policy (audited) | |
404 | Not found or not disclosed | |
409 | Stale version, invalid transition, conflict or reused idempotency key | |
422 | Validation failure or domain refusal | |
429 | Rate limited; see Retry-After | |
503 | Jurisdiction service or another dependency unavailable; nothing changed | |
POST/api/ohn/v1/rights-requests/corrections/{id}/send-to-sourcesource_identified -> source_review
Operation ID: ohn43_sendToSource
Authentication: bearerAuth
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
200 | Success | application/json: object
|
400 | Malformed request or missing Idempotency-Key | |
401 | Unauthenticated | |
403 | Denied by policy (audited) | |
404 | Not found or not disclosed | |
409 | Stale version, invalid transition, conflict or reused idempotency key | |
422 | Validation failure or domain refusal | |
429 | Rate limited; see Retry-After | |
503 | Jurisdiction service or another dependency unavailable; nothing changed | |
POST/api/ohn/v1/rights-requests/corrections/{id}/respondNamed source amends or attaches the patient statement
Operation ID: ohn43_sourceRespond
Authentication: bearerAuth
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
200 | Success | application/json: object
|
400 | Malformed request or missing Idempotency-Key | |
401 | Unauthenticated | |
403 | Denied by policy (audited) | |
404 | Not found or not disclosed | |
409 | Stale version, invalid transition, conflict or reused idempotency key | |
422 | Validation failure or domain refusal | |
429 | Rate limited; see Retry-After | |
503 | Jurisdiction service or another dependency unavailable; nothing changed | |
POST/api/ohn/v1/rights-requests/corrections/{id}/closeamendment_or_statement -> closed
Operation ID: ohn43_closeCorrection
Authentication: bearerAuth
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
200 | Success | application/json: object
|
400 | Malformed request or missing Idempotency-Key | |
401 | Unauthenticated | |
403 | Denied by policy (audited) | |
404 | Not found or not disclosed | |
409 | Stale version, invalid transition, conflict or reused idempotency key | |
422 | Validation failure or domain refusal | |
429 | Rate limited; see Retry-After | |
503 | Jurisdiction service or another dependency unavailable; nothing changed | |
Appeals
GET/api/ohn/v1/rights-requests/appealsAppeals
Operation ID: ohn43_listAppeals
Authentication: bearerAuth
Parameters
| Name | In | Type | Required | Description |
|---|
state | query | string | no | |
Responses
| Code | Description | Media type |
|---|
200 | Success | application/json: object
|
401 | Unauthenticated | |
403 | Denied by policy (audited) | |
404 | Not found or not disclosed | |
410 | Gone: link expired or already used | |
422 | Validation failure or domain refusal | |
429 | Rate limited; see Retry-After | |
503 | Jurisdiction service or another dependency unavailable; nothing changed | |
POST/api/ohn/v1/rights-requests/appealsAppeal a denial or partial approval (F004)
Operation ID: ohn43_submitAppeal
Authentication: bearerAuth
Parameters
| Name | In | Type | Required | Description |
|---|
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
201 | Success | application/json: object
|
400 | Malformed request or missing Idempotency-Key | |
401 | Unauthenticated | |
403 | Denied by policy (audited) | |
404 | Not found or not disclosed | |
409 | Stale version, invalid transition, conflict or reused idempotency key | |
422 | Validation failure or domain refusal | |
429 | Rate limited; see Retry-After | |
503 | Jurisdiction service or another dependency unavailable; nothing changed | |
GET/api/ohn/v1/rights-requests/appeals/{id}Appeal with history
Operation ID: ohn43_getAppeal
Authentication: bearerAuth
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Responses
| Code | Description | Media type |
|---|
200 | Success | application/json: object
|
401 | Unauthenticated | |
403 | Denied by policy (audited) | |
404 | Not found or not disclosed | |
410 | Gone: link expired or already used | |
422 | Validation failure or domain refusal | |
429 | Rate limited; see Retry-After | |
503 | Jurisdiction service or another dependency unavailable; nothing changed | |
POST/api/ohn/v1/rights-requests/appeals/{id}/start-reviewNamed independent reviewer starts the review
Operation ID: ohn43_startReview
Authentication: bearerAuth
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
200 | Success | application/json: object
|
400 | Malformed request or missing Idempotency-Key | |
401 | Unauthenticated | |
403 | Denied by policy (audited) | |
404 | Not found or not disclosed | |
409 | Stale version, invalid transition, conflict or reused idempotency key | |
422 | Validation failure or domain refusal | |
429 | Rate limited; see Retry-After | |
503 | Jurisdiction service or another dependency unavailable; nothing changed | |
POST/api/ohn/v1/rights-requests/appeals/{id}/decideUphold or overturn (overturn reopens fulfillment)
Operation ID: ohn43_decideAppeal
Authentication: bearerAuth
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
200 | Success | application/json: object
|
400 | Malformed request or missing Idempotency-Key | |
401 | Unauthenticated | |
403 | Denied by policy (audited) | |
404 | Not found or not disclosed | |
409 | Stale version, invalid transition, conflict or reused idempotency key | |
422 | Validation failure or domain refusal | |
429 | Rate limited; see Retry-After | |
503 | Jurisdiction service or another dependency unavailable; nothing changed | |
Reports
GET/api/ohn/v1/rights-requests/reports/{reportId}Run OHN-43-R001..R003
Operation ID: ohn43_runReport
Authentication: bearerAuth
Parameters
| Name | In | Type | Required | Description |
|---|
reportId | path | "OHN-43-R001" | "OHN-43-R002" | "OHN-43-R003" | yes | |
from | query | string | no | ISO 8601 date-time with offset. Declared as a string: a malformed filter is 422 invalid_filter (not a binding error). |
to | query | string | no | ISO 8601 date-time with offset (see from). |
country | query | string | no | uuid; another jurisdiction answers an empty no_authorized_data report. |
jurisdiction | query | string | no | uuid; same as country. |
request_type | query | string | no | |
source | query | string | no | uuid of a source contact (R002). |
status | query | string | no | |
cursor | query | string | no | |
Responses
| Code | Description | Media type |
|---|
200 | Success | application/json: object
|
401 | Unauthenticated | |
403 | Denied by policy (audited) | |
404 | Not found or not disclosed | |
410 | Gone: link expired or already used | |
422 | Validation failure or domain refusal | |
429 | Rate limited; see Retry-After | |
503 | Jurisdiction service or another dependency unavailable; nothing changed | |
POST/api/ohn/v1/rights-requests/reports/{reportId}/exportSigned, 5-minute, owner-only CSV or PDF export
Operation ID: ohn43_exportReport
Authentication: bearerAuth
Parameters
| Name | In | Type | Required | Description |
|---|
reportId | path | "OHN-43-R001" | "OHN-43-R002" | "OHN-43-R003" | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
201 | Success | application/json: object
|
400 | Malformed request or missing Idempotency-Key | |
401 | Unauthenticated | |
403 | Denied by policy (audited) | |
404 | Not found or not disclosed | |
409 | Stale version, invalid transition, conflict or reused idempotency key | |
422 | Validation failure or domain refusal | |
429 | Rate limited; see Retry-After | |
503 | Jurisdiction service or another dependency unavailable; nothing changed | |
GET/api/ohn/v1/rights-requests/exports/{token}Download an export (audited; requester only; valid 5 minutes)
Operation ID: ohn43_downloadExport
Authentication: bearerAuth
Parameters
| Name | In | Type | Required | Description |
|---|
token | path | string | yes | |
Responses
| Code | Description | Media type |
|---|
200 | Success; Content-Disposition attachment with the report id as file name | text/csv: string (binary)
application/pdf: string (binary)
|
401 | Unauthenticated | |
403 | Denied by policy (audited) | |
404 | Not found or not disclosed | |
410 | Gone: link expired or already used | |
422 | Validation failure or domain refusal | |
429 | Rate limited; see Retry-After | |
503 | Jurisdiction service or another dependency unavailable; nothing changed | |
Schemas
Error
| Name | Type | Required | Description |
|---|
error | string | yes | |
message | string | no | |
details | any | no | |
Document
JSON document; shapes are listed in modules/OHN-43/data/schema.md
object
Receipt
| Name | Type | Required | Description |
|---|
receipt_id | string (uuid) | yes | |
committed_at | string (date-time) | yes | |
aggregate_id | string (uuid) | yes | |
aggregate_type | string | yes | |
version | integer | yes | |
status | "committed" | "denied" | "pending" | yes | |
CommandResult
| Name | Type | Required | Description |
|---|
receipt | Receipt | no | |
Versioned
| Name | Type | Required | Description |
|---|
expected_version | integer | yes | |
Export
| Name | Type | Required | Description |
|---|
format | "csv" | "pdf" | yes | |
filters | object | no | |
RightsRequest
OHN-43-F001 Patient rights request
| Name | Type | Required | Description |
|---|
patient_ref | string (uuid) | yes | A patient may only use their own reference |
request_type | "access_copy" | "correction" | "restriction" | "erasure" | "portability" | "accounting_of_disclosures" | yes | |
request_scope | string | yes | |
preferred_response_channel | "secure_portal" | "postal_mail" | "in_person" | yes | |
supporting_evidence_ref | string (uuid) | no | |
Identity
| Name | Type | Required | Description |
|---|
expected_version | integer | yes | |
method | "in_person_document_check" | "national_eid" | "verified_portal_account" | yes | |
evidence_ref | string (uuid) | yes | |
Decide
| Name | Type | Required | Description |
|---|
expected_version | integer | yes | |
legal_basis | "patient_right_of_access" | "clinical_retention_obligation" | "third_party_information" | "risk_of_serious_harm" | "legal_proceedings" | "manifestly_unfounded" | yes | |
decision | "approved" | "partially_approved" | "denied" | yes | |
explanation | string | yes | |
reviewer | string (uuid) | yes | Must be the caller |
due_date | string (date) | yes | |
Notify
| Name | Type | Required | Description |
|---|
expected_version | integer | yes | |
channel | "secure_portal" | "postal_mail" | "in_person" | yes | |
Correction
OHN-43-F002 Record correction proposal
| Name | Type | Required | Description |
|---|
request_id | string (uuid) | yes | |
source_record_ref | string (uuid) | yes | |
patient_statement | string | yes | |
requested_change | string | yes | |
supporting_document_ref | string (uuid) | yes | |
source_contact | string (uuid) | yes | |
SourceResponse
| Name | Type | Required | Description |
|---|
expected_version | integer | yes | |
outcome | "amended" | "statement_attached" | yes | |
response | string | yes | |
amendment_ref | string (uuid) | no | Required when amended |
Appeal
OHN-43-F004 Rights appeal
| Name | Type | Required | Description |
|---|
original_request | string (uuid) | yes | |
appeal_reason | string | yes | |
new_evidence | string (uuid) | yes | |
reviewer | string (uuid) | yes | Must differ from the first reviewer |
AppealDecision
| Name | Type | Required | Description |
|---|
expected_version | integer | yes | |
outcome | "upheld" | "overturned" | yes | |
response | string | yes | |
SyntheticToken
| Name | Type | Required | Description |
|---|
principal_id | string (uuid) | yes | |
role | "rights_caseworker" | "privacy_officer" | "patient" | "records_source" | "unauthorized_viewer" | yes | |
jurisdiction | string (uuid) | yes | |
organization_id | string (uuid) | yes | |
purpose | "rights_administration" | "privacy_oversight" | "patient_self_service" | "record_correction" | "facility_rights_administration" | "facility_privacy_oversight" | yes | |
SyntheticSetup
| Name | Type | Required | Description |
|---|
low_assurance_evidence | array of string (uuid) | no | |
down | array of "OHN-01" | "OHN-37" | no | |
reset | boolean | no | |