200
Patient data update status | Schema — OPTIONAL |
|---|
message stringPossible values: [IN_PROGRESS_NO_ACTION_NEEDED, PATIENT_ACTION_NEEDED] Status of the patient data update request | patientActionNeededReason string — OPTIONALPossible values: [CONSENT_EXPIRED, CONSENT_NOT_FOUND, CONSENT_REVOKED, UNLOCKED_OR_NO_TARGETED_LIST, AUTHENTICATION_EXPIRED, AUTHENTICATION_NEEDED_NEW_FACILITY] Reason why patient action is needed | skippedFacilitiesCount numberTotal number of facilities skipped for this update. This is the sum of skipped existing facilities (e.g. locations with expired or revoked authorization) and skipped new facilities (typically those requiring new authorization). | counts objectFacility metrics for this retrieval. skippedExistingFacilities numberNumber of existing (non-new) facilities that were skipped for this retrieval, e.g. because of an unretrievable status or because the row was carried over from the previous batch. | changedExistingFacilities numberNumber of existing facilities for which an updated set of records was fetched. | unchangedExistingFacilities numberNumber of existing facilities that returned the same document set as the previous retrieval. | retrievedNewFacilities numberNumber of facilities new to this retrieval for which documents were fetched. | skippedNewFacilities numberNumber of facilities new to this retrieval for which documents could not be fetched, probably because new authorization is needed. |
| retrievalId string — OPTIONALUnique identifier for the data retrieval that was started. Present only when message is IN_PROGRESS_NO_ACTION_NEEDED. | facilities object[] — OPTIONALPer-facility retrieval status for this update. Omitted when empty. Uses the same shape as the data retrieval status API, including AUTHENTICATION_EXPIRED and AUTHENTICATION_NEEDED_NEW_FACILITY for locations that require patient re-auth. locationId stringThe ID of the healthcare location | locationName objectHuman-readable name of the healthcare location | dataRetrievalStatus stringPossible values: [NOT_STARTED, IN_PROGRESS, COMPLETE, PARTIAL_COMPLETE, SKIPPED, ERROR, AUTHENTICATION_EXPIRED, AUTHENTICATION_NEEDED_NEW_FACILITY] Status of the retrieval for this specific location | locationSource stringPossible values: [TEFCA_DOCUMENT, TEFCA_ENDPOINT, USER_SELECTED, INTERNAL_TEST, HEALTHEX_EPIC] Indicates how this healthcare location was discovered | updatedAt objectThe date and time the location's data was last updated | documentCount numberThe number of documents retrieved from this location |
|
|