Interface: EncounterSyncResourceAttribution
Defined in: packages/sdk/src/types/fhir-connection-types.ts:375
Request cross-tab for one normalized FHIR resource type.
Scoped to the run's final activity attempt (request telemetry is per
attempt), whereas collection outcomes describe the whole logical run.
statusClassCounts is what distinguishes rate limiting from server errors
for a specific resource.
PHI-safe: normalized resource-type labels, coarse HTTP status classes, sanitized reason-code tokens, and integers only.
Properties
errorCount
errorCount:
number
Defined in: packages/sdk/src/types/fhir-connection-types.ts:379
reasonCodeCounts
reasonCodeCounts:
Record<string,number>
Defined in: packages/sdk/src/types/fhir-connection-types.ts:396
recoveredRequestCount
recoveredRequestCount:
number
Defined in: packages/sdk/src/types/fhir-connection-types.ts:393
Subset of errorCount: requests whose recognised vendor failure the
connector actually recovered from — today only the eCW patient+page 400
pagination quirk (patient_page_400) recovered by the encounter-scoped
MedicationRequest fallback.
Additive and never a deduction, so errorCount keeps its exact meaning:
a patient_page_400 error count that is not fully recovered is a real
data gap. Recognition alone does not count — a walk with no quirk
callback (Observation, Encounter) truncates silently and reports nothing
here, which is why this can legitimately be 0 beside a non-zero
errorCount.
requestCount
requestCount:
number
Defined in: packages/sdk/src/types/fhir-connection-types.ts:378
resourceType
resourceType:
string
Defined in: packages/sdk/src/types/fhir-connection-types.ts:377
Normalized FHIR resource type, e.g. "Observation", or "Unknown".
statusClassCounts
statusClassCounts:
Record<string,number>
Defined in: packages/sdk/src/types/fhir-connection-types.ts:395
"2xx" | "3xx" | "4xx" | "5xx" | "none" | "unknown" -> count.