| Schema — OPTIONAL |
|---|
consentStatus stringPossible values: [CONSENTED, NOT_CONSENTED] Indicates whether the patient has consented to share their data | retrieval objectObject containing information on the the patient's most recent data retrieval. Will be null if the patient has not yet consented to share their data. patientId stringThe patient's HealthEx ID | retrievalId stringA unique identifier for the data retrieval request. Will change whenever the user updates their data. | dataRetrievalStatus stringPossible values: [IN_PROGRESS, COMPLETE] Status indicating whether the data retrieval request is in progress or complete | vectorizationStatus stringPossible values: [IN_PROGRESS, COMPLETE, FAILED] Status indicating whether the data has been vectorized and is fully ready for AI-powered queries | createdAt date-timeThe date and time the data retrieval request was created | updatedAt objectThe date and time the data retrieval request was last updated | locations object[]Array of healthcare locations that were or are being retrieved 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 | isNewLocation boolean — OPTIONALWhether this location is new since the prior retrieval (not present in the previous batch). | updatedAt objectThe date and time the location's data was last updated | documentCount numberThe number of documents retrieved from this location |
|
|
|