Description
Measure an assistive device's service-date offset from a supplied date.
Older-adult care records combine preferences, respondent roles, assistance, handoffs, services and medication-list text. Recorded coverage hours differ from adequate care, and a textual medication match differs from clinical medication reconciliation. Consent and proxy authority are contextual questions that a supplied flag cannot settle.
Measure an assistive device's service-date offset from a supplied date.
When to use this tool
Use Assistive Device Service Date Offset when checking the stated older-adult record, assistance, coverage or care-log convention.
How to use the tool and how it works
- Enter lastServiceDate, asOfDate. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read signedCalendarDays. Use the output convention below.
Parse real as-of and last-service YYYY-MM-DD dates at UTC midnight. Return asOf-lastService calendar days, retaining negative values.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| lastServiceDate | Last Service Date | Required. Text; maximum UTF-16 length 8192. Real proleptic Gregorian YYYY-MM-DD; four-digit years 0000-9999 accepted. |
| asOfDate | Real YYYY-MM-DD date under the UTC calendar convention specified above. | Required. Text; maximum UTF-16 length 8192. Real proleptic Gregorian YYYY-MM-DD; four-digit years 0000-9999 accepted. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| signedCalendarDays | As-of date minus last-service date; negative when service date is in the future. | Required. Safe integer. |
{
"input": {
"lastServiceDate": "2026-10-28",
"asOfDate": "2026-11-01"
},
"output": {
"signedCalendarDays": 4
}
} Limitations and assumptions
- A service age does not establish device condition, a required maintenance interval or safe use.
- 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 verified source records and individual needs with qualified medical/care professionals; use appropriate legal and accessibility assessment for actual authority, services and care decisions.
References
Similar or alternative tools
- Home Measurement Assistance Label
Record the assistance associated with a home measurement.
- Household Water Filter Service Gap
Measure a household water filter's recorded service-date gap.