documents
Fetch paginated documents collection
Arguments
consolidated_user_id
· String · The ID of a patient or client whose documents a provider wants to view. file_types
· [String] · (DEPRECATED) for_template_use
· Boolean · When true, returns only provider-level documents with no associated patient or client, for use in templates. private_user_id
· String · The ID of the user whose private documents to fetch. provider_id
· ID · The ID of the provider whose documents to fetch. Defaults to the current user. viewable_user_id
· String · The ID of a viewable user whose documents to fetch. order_by
· DocumentOrderKeys · Sort order key for the returned documents. Returns
DocumentPaginationConnection Example
query documents( $consolidated_user_id: String $file_type: String $file_types: [String] $filter: String $folder_id: String $for_template_use: Boolean $keywords: String $private_user_id: String $provider_id: ID $viewable_user_id: String $sort_by: String $order_by: DocumentOrderKeys $after: String $before: String $first: Int $last: Int) { documents( consolidated_user_id: $consolidated_user_id file_type: $file_type file_types: $file_types filter: $filter folder_id: $folder_id for_template_use: $for_template_use keywords: $keywords private_user_id: $private_user_id provider_id: $provider_id viewable_user_id: $viewable_user_id sort_by: $sort_by order_by: $order_by after: $after before: $before first: $first last: $last ) { edges nodes page_info total_count }}