Skip to content

formHistoriesCount

Total count of form histories owned by a patient and related to a sourceable form (RequestedFormCompletion / OnboardingItem)

Arguments

patient_id · ID · The patient ID who owns the form
sourceable_id · ID · Source object ID

Returns

Int!

Example

query formHistoriesCount(
$patient_id: ID
$sourceable_id: ID
$sourceable_type: FormHistorySourceable
) {
formHistoriesCount(
patient_id: $patient_id
sourceable_id: $sourceable_id
sourceable_type: $sourceable_type
)
}