Circle V2 API Docs
Preparing search index...
@repo/db
auditResponsesRepo
Variable auditResponsesRepo
Const
auditResponsesRepo
:
DbRepo
<
{
getDetailById
:
(
params
:
{
entityId
:
EntityId
;
profileIds
:
ProfileId
[]
|
null
;
responseId
:
AuditResponseId
;
}
,
)
=>
Promise
<
{
assignee_id
:
ProfileId
|
ContactId
|
null
;
assignee_name
:
string
|
null
;
assignee_type
:
"contact"
|
"profile"
|
null
;
next_step
:
|
"to_do"
|
"sent_to_clinician"
|
"resolved"
|
"no_action_needed"
|
"needs_clarification"
;
reason
:
string
[]
|
null
;
recommendation
:
string
|
null
;
response
:
string
|
null
;
response_id
:
AuditResponseId
;
short_form_response
:
string
|
null
;
status
:
string
|
null
;
}
,
>
;
saveQuestionResponse
:
(
params
:
SaveQuestionResponseParams
,
)
=>
Promise
<
{
audit_question_id
:
AuditQuestionId
|
null
;
audit_run_id
:
string
&
{
__brand
:
"AuditRunId"
}
|
null
;
context_sources
:
unknown
[]
|
null
;
created_at
:
DbDate
;
created_by
:
string
&
{
__brand
:
"UserId"
}
|
null
;
icd_code
:
unknown
[]
|
null
;
id
:
AuditResponseId
;
manual
:
boolean
;
question
:
string
|
null
;
question_type
:
"summary"
|
"pass_fail"
|
null
;
question_ui
:
string
|
null
;
reason
:
string
[]
|
null
;
recommendation
:
string
|
null
;
response
:
string
|
null
;
sessionId
:
string
&
{
__brand
:
"SessionId"
}
|
null
;
short_form_response
:
string
|
null
;
sources
:
unknown
[]
|
null
;
status
:
string
|
null
;
user_action_status
:
string
|
null
;
}
,
>
;
}
,
>
= ...
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Circle V2 API Docs
Loading...