Circle V2 API Docs
Preparing search index...
@repo/trpc
routers/action-items/index
actionItemsRouter
Variable actionItemsRouter
Const
actionItemsRouter
:
BuiltRouter
<
{
ctx
:
TRPCContext
;
errorShape
:
DefaultErrorShape
;
meta
:
object
;
transformer
:
false
;
}
,
DecorateCreateRouterOptions
<
{
bulkApply
:
MutationProcedure
<
{
input
:
{
assignee
?:
|
{
id
:
string
;
type
:
"profile"
}
|
{
id
:
string
;
type
:
"contact"
}
|
null
;
items
:
{
auditQuestionId
:
string
;
auditResponseId
:
string
;
patientId
:
string
;
}
[]
;
nextStep
?:
|
"to_do"
|
"sent_to_clinician"
|
"resolved"
|
"no_action_needed"
|
"needs_clarification"
;
status
?:
|
"pass"
|
"fail"
|
"needs_review"
|
"not_applicable"
|
"missing"
|
"late"
|
"not_due_yet"
;
}
;
meta
:
object
;
output
:
void
;
}
,
>
;
getQuestionDetail
:
QueryProcedure
<
{
input
:
{
responseId
:
string
}
;
meta
:
object
;
output
:
{
reason
:
string
[]
|
null
;
recommendation
:
string
|
null
;
response
:
string
|
null
;
response_id
:
AuditResponseId
;
}
;
}
,
>
;
listAssignees
:
QueryProcedure
<
{
input
:
{
search
?:
string
}
;
meta
:
object
;
output
:
ListAssigneesResult
;
}
,
>
;
listQuestions
:
QueryProcedure
<
{
input
:
{
admissionStatus
?:
"all"
|
"active"
|
"discharged"
;
assigneeContactIds
?:
string
[]
;
assigneeIds
?:
string
[]
;
auditTemplateIds
?:
string
[]
;
authEndDateRange
?:
{
from
:
string
;
to
:
string
}
;
cursor
?:
number
;
facilityIds
?:
string
[]
;
facilityIdsForLoc
?:
string
[]
;
facilityIdsForProgram
?:
string
[]
;
facilityIdsForUrLoc
?:
string
[]
;
levelOfCareIds
?:
string
[]
;
limit
?:
number
;
nextSteps
?:
(
|
"to_do"
|
"sent_to_clinician"
|
"resolved"
|
"no_action_needed"
|
"needs_clarification"
)
[]
;
offset
?:
number
;
programIds
?:
string
[]
;
providerIds
?:
string
[]
;
runDateRange
?:
{
from
:
string
;
to
:
string
}
;
search
?:
string
;
sortBy
:
|
"patient"
|
"discharge"
|
"program_start"
|
"facility"
|
"program"
|
"open_items"
|
"provider"
|
"level_of_care"
|
"ur_level_of_care"
|
"auth_end_date"
|
"admitted"
;
sortOrder
:
"asc"
|
"desc"
;
statuses
?:
(
"fail"
|
"needs_review"
|
"missing"
|
"late"
)
[]
;
urLevelOfCareIds
?:
string
[]
;
}
;
meta
:
object
;
output
:
PaginatedResponse
<
{
admission_date
:
string
|
null
;
auth_end_date
:
DbDate
|
null
;
client_name
:
string
;
current_program
:
string
|
null
;
episode_end_date
:
DbDate
|
null
;
facility_name
:
string
;
is_discharged
:
boolean
;
level_of_care
:
string
|
null
;
patient_id
:
PatientId
;
program_stay_start
:
DbDate
|
null
;
provider_name
:
string
;
questions
:
{
assignee_id
:
ProfileId
|
ContactId
|
null
;
assignee_name
:
string
|
null
;
assignee_type
:
"contact"
|
"profile"
|
null
;
audit_template_name
:
string
;
next_step
:
|
"to_do"
|
"sent_to_clinician"
|
"resolved"
|
"no_action_needed"
|
"needs_clarification"
;
question
:
string
|
null
;
question_id
:
AuditQuestionId
;
response_id
:
AuditResponseId
;
run_created_at
:
DbDate
;
short_form_response
:
string
|
null
;
status
:
string
|
null
;
}
[]
;
total_rows
:
string
;
ur_level_of_care
:
string
|
null
;
}
,
>
;
}
,
>
;
updateActionItem
:
MutationProcedure
<
{
input
:
{
assignee
?:
|
{
id
:
string
;
type
:
"profile"
}
|
{
id
:
string
;
type
:
"contact"
}
|
null
;
auditQuestionId
:
string
;
nextStep
?:
|
"to_do"
|
"sent_to_clinician"
|
"resolved"
|
"no_action_needed"
|
"needs_clarification"
;
patientId
:
string
;
}
;
meta
:
object
;
output
:
{
assigned_contact_id
:
ContactId
|
null
;
assigned_to
:
ProfileId
|
null
;
audit_question_id
:
string
&
{
__brand
:
"AuditQuestionId"
}
;
created_at
:
DbDate
;
id
:
PatientActionItemId
;
next_steps
:
|
"to_do"
|
"sent_to_clinician"
|
"resolved"
|
"no_action_needed"
|
"needs_clarification"
;
patient_id
:
string
&
{
__brand
:
"PatientId"
}
;
updated_at
:
DbDate
;
updated_by
:
ProfileId
|
null
;
}
;
}
,
>
;
}
,
>
,
>
= ...
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Circle V2 API Docs
Loading...