Description
Measure signed days to a recorded equipment-service due date.
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.
Measure signed days to a recorded equipment-service due date.
When to use this tool
Use Midwifery Equipment Service Due Gap when you already have recordedDueDate, asOfDate and need to measure signed days to a recorded equipment-service due date.
How to use the tool and how it works
- Enter recordedDueDate, asOfDate. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read signedDaysUntilDue, pastRecordedDueDate. Inspect pastRecordedDueDate before interpreting the associated values.
Parse real UTC dates; return due-asOf and flag the date passed only when the difference is negative.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| recordedDueDate | Recorded Due Date | Required. Text; maximum UTF-16 length 8192. Real proleptic Gregorian YYYY-MM-DD; four-digit years 0000-9999 accepted. |
| asOfDate | As Of Date | Required. Text; maximum UTF-16 length 8192. Real proleptic Gregorian YYYY-MM-DD; four-digit years 0000-9999 accepted. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| signedDaysUntilDue | Signed Days Until Due | Required. Finite number. |
| pastRecordedDueDate | Strictly before asOfDate; equality is not past due. | Required. Boolean. |
{
"input": {
"recordedDueDate": "2026-11-05",
"asOfDate": "2026-11-01"
},
"output": {
"signedDaysUntilDue": 4,
"pastRecordedDueDate": false
}
} Limitations and assumptions
- Equality is not past due; no actual service need, equipment safety or required maintenance schedule is selected.
- 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
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 Home Visit Kit Shortfall
Separate home-visit kit item shortfall from surplus.
- Midwifery Continuity Contact Label
Record explicit provider and continuity-group identifiers for a contact.