Skip to content

updates for API Reference / $bulk-member-match page#3

Merged
Seryiza merged 11 commits into
mainfrom
bulk-member-match-improvements
May 22, 2026
Merged

updates for API Reference / $bulk-member-match page#3
Seryiza merged 11 commits into
mainfrom
bulk-member-match-improvements

Conversation

@Seryiza
Copy link
Copy Markdown
Member

@Seryiza Seryiza commented May 19, 2026

No description provided.

Seryiza added 9 commits May 19, 2026 11:34
The 30-day validity window, hourly sweep, and 90-day hard-delete were never implemented. Replace with reality-aligned note: Groups remain active indefinitely until cancellation, which sweeps Task.output.
Admin sessions (Aidbox Console, no client NPI) derive the requesting payer from Coverage.payor[0]. Extend Auth section and adjust 403/422 error rows accordingly.
Payer-Org lookup rejects ambiguity (more than one Organization registered against the requesting payer's NPI) with 409 Conflict.
A later run landing the same (patient, payer) in ConsentConstrainedMembers flips the prior persisted Consent to status=inactive so $davinci-data-export?exportType=payertopayer does not honor stale rows.
The active provider-access deny-Consent test is structurally a fifth consent check. Move it from a separate paragraph into the consent-check table and keep a one-line note on the underlying Aidbox query.
A hard-deleted Task returns Aidbox 410 Gone on read; the operation maps that to 404 so clients stop polling/cancelling without retrying. Update both status-polling and cancel response tables.
Identifier-AND is bulk-only. $provider-member-match ignores submitted Patient.identifier entries to tolerate provider-side MRNs the payer does not store. Add a one-clause contrast in Demographic match.
Consent.organization is a 0..* array; the rewrite step today writes exactly one element.
…ncel rows

The 410 Gone code is internal to the storage backend; integrators only see 404. Reword to "hard-deleted" so the table conveys the integrator-facing contract without exposing implementation plumbing.
@Seryiza Seryiza self-assigned this May 19, 2026
@Seryiza Seryiza marked this pull request as draft May 20, 2026 06:11
Seryiza added 2 commits May 22, 2026 13:53
…th + add 409 example

- Opt-out search line said decision=deny; code uses provision-type=deny (R4 Consent.provision.type). Aligned with $provider-member-match doc.
- Auth admin-session paragraph: spelled out the actual flow (Coverage.payor[0].reference must be Organization/<id>; Org is read; us-npi identifier becomes payer NPI) and the admin-client-ids allowlist gate.
- Added a 409 response tab so integrators see the OperationOutcome shape for the new duplicate-NPI error.
Drop the internal :admin-client-ids / INTEROP_ADMIN_CLIENT_IDS detail — it is a deploy/ops knob, not integrator-facing — and shrink the explanation of how Coverage.payor[0] resolves.
@Seryiza Seryiza marked this pull request as ready for review May 22, 2026 08:01
@Seryiza Seryiza merged commit 960e26c into main May 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant