Circle V2 API Docs
Preparing search index...
@repo/db
facilityLevelsOfCareRepo
Variable facilityLevelsOfCareRepo
Const
facilityLevelsOfCareRepo
:
DbRepo
<
{
ensureLOCExists
:
(
rows
:
(
{
entity_id
:
number
&
{
__brand
:
"EntityId"
}
;
facility_id
:
string
;
name
:
string
;
type
:
"clinical"
|
"ur"
;
}
&
{
created_at
?:
DbDate
;
external_id
?:
string
|
null
;
id
?:
FacilityLevelOfCareId
;
integration_id
?:
string
|
null
;
updated_at
?:
DbDate
;
}
)
[]
,
)
=>
Promise
<
{
created_at
:
DbDate
;
entity_id
:
number
&
{
__brand
:
"EntityId"
}
;
external_id
:
string
|
null
;
facility_id
:
string
;
id
:
FacilityLevelOfCareId
;
integration_id
:
string
|
null
;
name
:
string
;
type
:
"clinical"
|
"ur"
;
updated_at
:
DbDate
;
}
[]
,
>
;
getAllByEntityId
:
(
entityId
:
EntityId
,
)
=>
Promise
<
{
created_at
:
DbDate
;
entity_id
:
number
&
{
__brand
:
"EntityId"
}
;
external_id
:
string
|
null
;
facility_id
:
string
;
id
:
FacilityLevelOfCareId
;
integration_id
:
string
|
null
;
name
:
string
;
type
:
"clinical"
|
"ur"
;
updated_at
:
DbDate
;
}
[]
,
>
;
upsert
:
(
rows
:
(
{
entity_id
:
number
&
{
__brand
:
"EntityId"
}
;
facility_id
:
string
;
name
:
string
;
type
:
"clinical"
|
"ur"
;
}
&
{
created_at
?:
DbDate
;
external_id
?:
string
|
null
;
id
?:
FacilityLevelOfCareId
;
integration_id
?:
string
|
null
;
updated_at
?:
DbDate
;
}
)
[]
,
)
=>
Promise
<
{
created_at
:
DbDate
;
entity_id
:
number
&
{
__brand
:
"EntityId"
}
;
external_id
:
string
|
null
;
facility_id
:
string
;
id
:
FacilityLevelOfCareId
;
integration_id
:
string
|
null
;
name
:
string
;
type
:
"clinical"
|
"ur"
;
updated_at
:
DbDate
;
}
[]
,
>
;
}
,
>
= ...
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Circle V2 API Docs
Loading...