Description
Count domain items and available domain items and divide, otherwise return zero with defined false for no domain items.
Geriatric research summaries organize supplied observations, activities, and support records. Counts and ratios describe that research data; they are not clinical scores unless an independently validated scoring method explicitly defines them.
Count domain items and available domain items and divide, otherwise return zero with defined false for no domain items.
When to use this tool
Use Research Function Item Share when you need a descriptive calculation on supplied geriatric research records.
How to use the tool and how it works
- Enter available, inDomain. Keep parallel arrays aligned. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read domainItems, availableDomainItems, share, defined. Inspect defined before interpreting the associated values.
Require aligned available and inDomain flags. Count domain items and available domain items and divide, otherwise return zero with defined false for no domain items.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| available | Available | Required. Array of boolean; maximum items 256. |
| inDomain | In Domain | Required. Array of boolean; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| domainItems | Domain Items | Required. Safe integer. |
| availableDomainItems | Available Domain Items | Required. Safe integer. |
| share | Dimensionless share on the numerator and denominator basis stated above. | Required. Finite number. |
| defined | Whether the stated denominator or normalization exists; inspect before interpreting a zero placeholder. | Required. Boolean. |
{
"input": {
"available": [
true,
false,
true
],
"inDomain": [
true,
true,
false
]
},
"output": {
"domainItems": 2,
"availableDomainItems": 1,
"share": 0.5,
"defined": true
}
} Limitations and assumptions
- Availability is metadata rather than a clinical score or validated assessment; items, domain validity, missingness, and care needs are not interpreted.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
Alternative or Complementary methods
Use the appropriate validated assessment and professional review when clinical interpretation is required. Check observation scope, missingness, and denominator conventions before comparing research summaries.
References
Similar or alternative tools
- Eldercare Research Complete Case Pair Mask
Return their pairwise conjunction as complete and count true pairs.
- Function Observation Valid Share
Sum scheduled duration and scheduled observed valid duration, dividing or returning zero with defined false for zero scheduled duration.