Collect Flat Datasets
Changed onFilter Options:
By Domain: Add the domain name directly as a query parameter (no value needed). You can combine multiple domains. For example:
- ?ALLERGIES - Filter for allergies only
- ?ENCOUNTERS&MEDICATIONS - Filter for encounters and medications
Available domains: AI_CITATIONS, AI_OUTPUTS, ALLERGIES, COVERAGES, DOCUMENT_REFERENCES, ENCOUNTERS, FAMILY_MEMBER_HISTORIES, IMMUNIZATIONS, LABS, LOCATIONS, MED_FILLS, MEDICATIONS, ORGANIZATIONS, PATIENTS, PRACTITIONERS, PROBLEMS, PROCEDURES, RECORD_SOURCES, SOCIAL_HISTORIES, SOURCES, TRANSITIONS, VITAL_SIGNS
License Requirements: AI_OUTPUTS and AI_CITATIONS require a Particle Snapshot license. MED_FILLS requires a Surescripts license.
By Specific Resource: Use the resource_type and resource_id parameters together to retrieve a single resource by ID (documented below).
Request
- Base URLhttps://sandbox.particlehealth.com
- URLhttps://sandbox.particlehealth.com/api/v2/patients/{particle_patient_id}/flat
- AuthAPI key in header Authorization
Path parameters
Particle Patient ID
Query parameters
Dataset filter. Pass dataset names as bare flags with no value, for example ?ALLERGIES; combine several to select multiple datasets, for example ?ALLERGIES&VITAL_SIGNS. Omit all dataset flags to return every dataset. Valid datasets: ALLERGIES, AI_OUTPUTS, AI_CITATIONS, COVERAGES, DOCUMENT_REFERENCES, ENCOUNTERS, FAMILY_MEMBER_HISTORIES, IMMUNIZATIONS, LABS, LOCATIONS, MEDICATIONS, MED_FILLS, ORGANIZATIONS, PRACTITIONERS, PATIENTS, PROBLEMS, PROCEDURES, SOCIAL_HISTORIES, TRANSITIONS, VITAL_SIGNS, RECORD_SOURCES, SOURCES. Only ALLERGIES is listed as a field here, as an example for the Try It console; every other dataset is passed the same way.
Return only data that Particle created or updated at or after this time, rather than filtering on clinical documentation dates. Accepts an ISO 8601 timestamp or date (e.g. 2024-01-01), or lastQuery to return data since the patient's latest completed query.
Filter by resource type. Must be used together with resource_id. When both resource_id and resource_type are given, dataset flags are ignored.
Filter by specific resource ID. Must be used together with resource_type. When both resource_id and resource_type are given, dataset flags are ignored.
Response
OK
Example response
{
"labs": [
{
"lab_value_boolean": "True"
}
]
}Changes
- breaking
removed the enum value
COMPOSITIONSfrom thequeryrequest parameterresource_type - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became optional for the status - breaking
the response property
//became optional for the status - breaking
the response property
//became optional for the status - breaking
the response property
//became optional for the status - breaking
the response property
//became optional for the status - breaking
the response property
//became optional for the status - breaking
the response property
//became optional for the status - breaking
removed the required property
//from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
added the new optional
queryrequest parameterALLERGIES - info
added the new enum value
AI_CITATIONSto thequeryrequest parameterresource_type - info
added the new enum value
AI_OUTPUTSto thequeryrequest parameterresource_type - info
added the new enum value
MED_FILLSto thequeryrequest parameterresource_type - info
added the new enum value
RECORD_SOURCESto thequeryrequest parameterresource_type - info
added the new enum value
SOURCESto thequeryrequest parameterresource_type - info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- breaking