Description
Return completion share of required review items.
Pharmacy administration separates inventory, document identity, authorization, service timing and financial records from clinical decisions. Matching labels or a positive local predicate can reconcile supplied metadata without authenticating medicine, establishing lawful supply or determining appropriate care.
Return completion share of required review items.
When to use this tool
Use Review Item Completion Share when checking the stated pharmacy record, inventory, timing, coverage or cost convention.
How to use the tool and how it works
- Enter completed, required. 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 completedRequired, requiredCount, share, defined. Inspect defined before interpreting the associated values.
Return completion share of required review items. Require aligned completed/required flags; count required and completed-required positions, divide or return zero with defined false when none required.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| completed | Completed | Required. Array of boolean; maximum items 256. |
| required | Required | Required. Array of boolean; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| completedRequired | Completed Required | Required. Safe integer. |
| requiredCount | Required Count | Required. Safe integer. |
| share | Dimensionless numerator/denominator ratio under the explicit basis above. | Required. Finite number. |
| defined | Whether the stated denominator or information basis permits interpretation of the associated value; inspect before using a placeholder. | Required. Boolean. |
{
"input": {
"completed": [
true,
false
],
"required": [
true,
true
]
},
"output": {
"completedRequired": 1,
"requiredCount": 2,
"share": 0.5,
"defined": true
}
} Limitations and assumptions
- Completion flags do not verify evidence quality, clinical appropriateness, professional review or patient safety.
- 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 verified medicine/service records and applicable professional procedures; consult a qualified pharmacist or other appropriate professional for clinical, legal or safe-supply decisions.
References
Similar or alternative tools
- Review Evidence Support Share
Return applicable review-item support from supplied evidence IDs.
- Community Pharmacy Recall Contact Count Gap
Return contact gaps among unique affected recall IDs.