Circle V2 API Docs
Preparing search index...
@repo/trpc
routers/rulebook/findings
toRuleFindingDto
Function toRuleFindingDto
toRuleFindingDto
(
rule
:
RuleWithVersion
,
evaluation
:
{
counted_toward_verdict
:
boolean
;
entity_id
:
number
&
{
__brand
:
"EntityId"
}
;
evaluated_at
:
DbDate
;
evaluator
:
"query"
;
evidence_version
:
string
;
id
:
RuleEvaluationId
;
indeterminate_reason
:
|
"concept_not_configured"
|
"concept_no_longer_exists"
|
"documents_not_ready"
|
"facility_not_resolved"
|
"timestamp_precision_insufficient"
|
"anchor_not_resolved"
|
"episode_scope_required"
|
"evaluation_failed"
|
"signature_data_unavailable"
|
"patient_name_unavailable"
|
"signer_unidentified"
|
"cosigners_not_stored"
|
"credential_not_stated"
|
"author_not_stated"
|
null
;
patient_chart_id
:
PatientChartId
|
null
;
patient_id
:
string
&
{
__brand
:
"PatientId"
}
;
period_end
:
string
|
null
;
period_start
:
string
|
null
;
program_stay_id
:
ProgramStayId
|
null
;
result
:
StoredRuleEvaluationResult
;
rule_id
:
string
&
{
__brand
:
"RuleId"
}
;
rule_version_id
:
string
&
{
__brand
:
"RuleVersionId"
}
;
status
:
CanonicalStatus
;
target_key
:
string
;
target_kind
:
"document"
|
"chart"
|
"period"
;
treatment_episode_id
:
TreatmentEpisodeId
|
null
;
triggered_by
:
UserId
|
null
;
}
,
conceptNames
:
ReadonlyMap
<
DictionaryConceptId
,
string
>
,
band
:
RuleFindingBand
,
existingChartIds
:
ReadonlySet
<
PatientChartId
>
,
)
:
RuleFindingDto
Parameters
rule
:
RuleWithVersion
evaluation
:
{
counted_toward_verdict
:
boolean
;
entity_id
:
number
&
{
__brand
:
"EntityId"
}
;
evaluated_at
:
DbDate
;
evaluator
:
"query"
;
evidence_version
:
string
;
id
:
RuleEvaluationId
;
indeterminate_reason
:
|
"concept_not_configured"
|
"concept_no_longer_exists"
|
"documents_not_ready"
|
"facility_not_resolved"
|
"timestamp_precision_insufficient"
|
"anchor_not_resolved"
|
"episode_scope_required"
|
"evaluation_failed"
|
"signature_data_unavailable"
|
"patient_name_unavailable"
|
"signer_unidentified"
|
"cosigners_not_stored"
|
"credential_not_stated"
|
"author_not_stated"
|
null
;
patient_chart_id
:
PatientChartId
|
null
;
patient_id
:
string
&
{
__brand
:
"PatientId"
}
;
period_end
:
string
|
null
;
period_start
:
string
|
null
;
program_stay_id
:
ProgramStayId
|
null
;
result
:
StoredRuleEvaluationResult
;
rule_id
:
string
&
{
__brand
:
"RuleId"
}
;
rule_version_id
:
string
&
{
__brand
:
"RuleVersionId"
}
;
status
:
CanonicalStatus
;
target_key
:
string
;
target_kind
:
"document"
|
"chart"
|
"period"
;
treatment_episode_id
:
TreatmentEpisodeId
|
null
;
triggered_by
:
UserId
|
null
;
}
conceptNames
:
ReadonlyMap
<
DictionaryConceptId
,
string
>
band
:
RuleFindingBand
existingChartIds
:
ReadonlySet
<
PatientChartId
>
Returns
RuleFindingDto
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Circle V2 API Docs
Loading...