Circle V2 API Docs
Preparing search index...
@repo/trpc
routers/patient-sessions/get-by-id.query
getById
Variable getById
Const
getById
:
QueryProcedure
<
{
input
:
{
id
:
string
}
;
meta
:
object
;
output
:
{
patientSession
:
{
ai_summarized_note
:
string
|
null
;
audit_run_id
:
string
&
{
__brand
:
"AuditRunId"
}
|
null
;
audit_status
:
|
"error"
|
"pass"
|
"fail"
|
"needs_review"
|
"pending"
|
"in_progress"
|
"not_started"
|
null
;
case_id
:
string
&
{
__brand
:
"CaseId"
}
|
null
;
created_at
:
DbDate
;
created_by
:
string
|
null
;
dsm_code
:
{
code
:
string
;
description
:
string
;
status
:
"suggested"
|
"accepted"
|
"rejected"
;
}
[]
;
end_timestamp
:
DbDate
;
file_url
:
string
|
null
;
icd_code
:
{
code
:
string
;
description
:
string
;
status
:
"suggested"
|
"accepted"
|
"rejected"
;
}
[]
;
id
:
SessionId
;
manual_entry
:
boolean
|
null
;
patient_id
:
string
&
{
__brand
:
"PatientId"
}
|
null
;
private_note
:
string
|
null
;
progress_status
:
|
"initialized"
|
"processing"
|
"transcribing"
|
"complete"
|
"failed"
|
null
;
selected_template
:
|
{
additional_ai_instructions
?:
string
;
check_cpt
?:
boolean
;
check_demo
?:
boolean
;
check_dsm_5
?:
boolean
;
check_icd_10
?:
boolean
;
created_by
?:
UserId
|
null
;
created_by_circle
?:
boolean
;
hidden_instructions
?:
string
|
null
;
id
:
TemplateId
;
is_allow_bullet_points
?:
boolean
;
is_unstructured_narrative
?:
boolean
;
last_updated
?:
string
|
null
;
last_used
?:
string
|
null
;
name
?:
string
;
original_template_id
?:
string
;
sections
:
{
body
:
string
;
bullet_format
?:
boolean
;
id
:
SectionId
;
name
:
string
;
optional
:
boolean
;
order
:
number
;
}
[]
;
selected_audit_template_ids
?:
number
[]
;
shared_with_org_id
?:
string
;
title
:
string
;
[
key
:
string
]:
unknown
;
}
|
null
;
start_timestamp
:
DbDate
;
transcript
:
string
|
null
;
}
;
sessionAuditRunIds
:
AuditRunId
[]
;
}
;
}
,
>
= ...
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Circle V2 API Docs
Loading...