Description
Separate home-visit kit item shortfall from surplus.
Midwifery records link contact identities, referrals, translated documents, equipment dates and user-preferred formats. A recorded receipt or listed format differs from actual service availability. Calendar margins and kit counts preserve supplied records without establishing readiness, appropriate response time or clinical need.
Separate home-visit kit item shortfall from surplus.
When to use this tool
Use Midwifery Home Visit Kit Shortfall when you already have requiredCount, availableCount and need to separate home-visit kit item shortfall from surplus.
How to use the tool and how it works
- Enter requiredCount, availableCount. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read shortfall, surplus. Use the output convention below.
Require nonnegative safe whole required/available counts; return positive parts of required-available and available-required.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| requiredCount | Required Count | Required. Safe integer; minimum 0. |
| availableCount | Available Count | Required. Safe integer; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| shortfall | Shortfall | Required. Safe integer. |
| surplus | Surplus | Required. Safe integer. |
{
"input": {
"requiredCount": 12,
"availableCount": 10
},
"output": {
"shortfall": 2,
"surplus": 0
}
} Limitations and assumptions
- No item identity, condition, kit adequacy or readiness for clinical care is verified.
- 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.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Review original contact, referral, equipment and education records when actual delivery or readiness matters. Preserve requested language and format preferences; the local count, date or membership check does not verify the broader care workflow.
References
Similar or alternative tools
- Midwifery Equipment Service Due Gap
Measure signed days to a recorded equipment-service due date.
- Midwifery Referral Receipt Tag
Record explicit referral-recipient receipt identifiers.