Circle V2 API Docs
Preparing search index...
@repo/db
utilizationServicesRepo
Variable utilizationServicesRepo
Const
utilizationServicesRepo
:
DbRepo
<
{
findDriftForPatient
:
(
params
:
{
fallbackTimeZone
:
string
;
patientId
:
PatientId
}
,
)
=>
Promise
<
{
drift
:
"missing"
|
"stale"
|
"extra"
;
patient_chart_id
:
PatientChartId
;
}
[]
,
>
;
getCursor
:
()
=>
Promise
<
|
UtilizationServicesCursor
&
{
advancedAt
:
DbDate
;
currentThrough
:
DbDate
|
null
;
}
|
null
,
>
;
getFacilityFreshness
:
(
facilityId
:
FacilityId
,
)
=>
Promise
<
{
as_of
:
DbDate
;
current_through
:
DbDate
|
null
;
last_synced_at
:
string
|
null
;
}
,
>
;
listAllPatientIdsForBackfill
:
(
params
:
{
afterPatientId
:
PatientId
|
null
;
entityId
:
EntityId
}
,
)
=>
Promise
<
PatientId
[]
>
;
syncServicesForPatient
:
(
params
:
{
fallbackTimeZone
:
string
;
patientId
:
PatientId
}
,
)
=>
Promise
<
ServicesSyncCounts
>
;
syncServicesFromChangedCharts
:
(
params
:
SyncChangedChartsParams
,
)
=>
Promise
<
ServicesSyncCounts
&
{
cursor
:
UtilizationServicesCursor
;
initialized
:
boolean
;
}
,
>
;
}
,
>
= ...
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Circle V2 API Docs
Loading...