Circle V2 API Docs
Preparing search index...
@repo/db
analytics
metricsAnalytics
Variable metricsAnalytics
Const
metricsAnalytics
:
DbRepo
<
{
criteriaAssistants
:
(
params
:
CriteriaAssistantsParams
,
)
=>
Promise
<
{
audit_template_id
:
string
&
{
__brand
:
"AuditTemplateId"
}
|
null
;
audit_template_name
:
string
|
null
;
}
[]
,
>
;
criteriaDetail
:
(
params
:
CriteriaDetailParams
,
)
=>
Promise
<
{
providers
:
{
provider_name
:
string
;
provider_profile_id
:
ProfileId
}
[]
;
questions
:
{
audit_question_id
:
AuditQuestionId
;
avg_score
:
string
|
null
;
is_scoreable
:
boolean
;
needs_review
:
string
;
passed
:
string
;
pending_count
:
string
;
question
:
string
|
null
;
total_reviews
:
string
;
total_rows
:
string
;
}
[]
;
}
,
>
;
criteriaResponses
:
(
params
:
CriteriaResponsesParams
,
)
=>
Promise
<
{
audit_run_id
:
AuditRunId
;
client_name
:
string
;
facility_name
:
string
;
patient_id
:
PatientId
;
reasoning
:
string
;
response_id
:
AuditResponseId
;
run_created_at
:
string
;
session_id
:
SessionId
|
null
;
sources
:
{
quote
?:
string
|
null
;
source
?:
|
{
name
?:
(...)
|
(...)
|
(...)
;
page
?:
(...)
|
(...)
|
(...)
}
|
null
;
}
[]
;
status
:
"pass"
|
"fail"
|
"needs_review"
;
total_rows
:
string
;
}
[]
,
>
;
metricsFacilities
:
(
params
:
MetricsParams
,
)
=>
Promise
<
{
attention_rate
:
number
;
facility_id
:
FacilityId
|
null
;
facility_name
:
string
;
pass_rate
:
number
;
total_clients
:
number
;
total_criteria
:
number
;
total_pass
:
number
;
}
[]
,
>
;
metricsGrouped
:
(
params
:
MetricsParams
,
dimension
:
"client"
|
"provider"
|
"assistant"
,
)
=>
Promise
<
{
avg_score
:
string
;
id
:
string
|
null
;
name
:
string
;
needs_review
:
string
;
passed
:
string
;
total_reviews
:
string
;
total_rows
:
string
;
}
[]
,
>
;
}
,
>
= ...
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Circle V2 API Docs
Loading...