Circle V2 API Docs
Preparing search index...
@repo/db
patientInsurancesRepo
Variable patientInsurancesRepo
Const
patientInsurancesRepo
:
DbRepo
<
{
getAllForPatient
:
(
patientId
:
PatientId
,
)
=>
Promise
<
{
created_at
:
DbDate
;
effective_date
:
string
|
null
;
group_id
:
string
|
null
;
id
:
PatientInsuranceId
;
notes
:
string
|
null
;
patient_id
:
string
&
{
__brand
:
"PatientId"
}
;
payor_id
:
number
&
{
__brand
:
"PayorId"
}
;
plan_type
:
string
|
null
;
policy_number
:
string
|
null
;
priority
:
number
|
null
;
status
:
"active"
|
"inactive"
;
subscriber_address_city
:
string
|
null
;
subscriber_address_country
:
string
|
null
;
subscriber_address_state
:
string
|
null
;
subscriber_address_street
:
string
|
null
;
subscriber_address_street2
:
string
|
null
;
subscriber_address_zip
:
string
|
null
;
subscriber_dob
:
string
|
null
;
subscriber_first_name
:
string
|
null
;
subscriber_gender
:
string
|
null
;
subscriber_last_name
:
string
|
null
;
subscriber_relationship
:
string
|
null
;
termination_date
:
string
|
null
;
}
[]
,
>
;
listForPatientWithPayorName
:
(
patientId
:
PatientId
,
)
=>
Promise
<
{
created_at
:
DbDate
;
effective_date
:
string
|
null
;
group_id
:
string
|
null
;
id
:
PatientInsuranceId
;
notes
:
string
|
null
;
patient_id
:
string
&
{
__brand
:
"PatientId"
}
;
payor_id
:
number
&
{
__brand
:
"PayorId"
}
;
payor_name
:
string
|
null
;
plan_type
:
string
|
null
;
policy_number
:
string
|
null
;
priority
:
number
|
null
;
status
:
"active"
|
"inactive"
;
subscriber_address_city
:
string
|
null
;
subscriber_address_country
:
string
|
null
;
subscriber_address_state
:
string
|
null
;
subscriber_address_street
:
string
|
null
;
subscriber_address_street2
:
string
|
null
;
subscriber_address_zip
:
string
|
null
;
subscriber_dob
:
string
|
null
;
subscriber_first_name
:
string
|
null
;
subscriber_gender
:
string
|
null
;
subscriber_last_name
:
string
|
null
;
subscriber_relationship
:
string
|
null
;
termination_date
:
string
|
null
;
}
[]
,
>
;
upsertPatientInsuranceInformation
:
(
rows
:
(
{
patient_id
:
string
&
{
__brand
:
"PatientId"
}
;
payor_id
:
number
&
{
__brand
:
"PayorId"
}
;
status
:
"active"
|
"inactive"
;
}
&
{
created_at
?:
DbDate
;
effective_date
?:
string
|
null
;
group_id
?:
string
|
null
;
id
?:
PatientInsuranceId
;
notes
?:
string
|
null
;
plan_type
?:
string
|
null
;
policy_number
?:
string
|
null
;
priority
?:
number
|
null
;
subscriber_address_city
?:
string
|
null
;
subscriber_address_country
?:
string
|
null
;
subscriber_address_state
?:
string
|
null
;
subscriber_address_street
?:
string
|
null
;
subscriber_address_street2
?:
string
|
null
;
subscriber_address_zip
?:
string
|
null
;
subscriber_dob
?:
string
|
null
;
subscriber_first_name
?:
string
|
null
;
subscriber_gender
?:
string
|
null
;
subscriber_last_name
?:
string
|
null
;
subscriber_relationship
?:
string
|
null
;
termination_date
?:
string
|
null
;
}
)
[]
,
)
=>
Promise
<
{
created_at
:
DbDate
;
effective_date
:
string
|
null
;
group_id
:
string
|
null
;
id
:
PatientInsuranceId
;
notes
:
string
|
null
;
patient_id
:
string
&
{
__brand
:
"PatientId"
}
;
payor_id
:
number
&
{
__brand
:
"PayorId"
}
;
plan_type
:
string
|
null
;
policy_number
:
string
|
null
;
priority
:
number
|
null
;
status
:
"active"
|
"inactive"
;
subscriber_address_city
:
string
|
null
;
subscriber_address_country
:
string
|
null
;
subscriber_address_state
:
string
|
null
;
subscriber_address_street
:
string
|
null
;
subscriber_address_street2
:
string
|
null
;
subscriber_address_zip
:
string
|
null
;
subscriber_dob
:
string
|
null
;
subscriber_first_name
:
string
|
null
;
subscriber_gender
:
string
|
null
;
subscriber_last_name
:
string
|
null
;
subscriber_relationship
:
string
|
null
;
termination_date
:
string
|
null
;
}
[]
,
>
;
}
,
>
= ...
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Circle V2 API Docs
Loading...