Skip to content

Main content

Handoff Field Presence Count Tool

Count caller-supplied handoff field presence without evaluating clinical adequacy.

Loading tool…

Description

Count distinct required handoff fields as present or missing in supplied records.

Handoff and equipment records can contain required fields, expiry labels and capacity budgets. A local consistency check can expose missing or negative entries without verifying contents, equipment condition or readiness for emergency use.

Count distinct required handoff fields as present or missing in supplied records.

When to use this tool

Use Handoff Field Presence Count when checking a supplied training or equipment-record rule.

How to use the tool and how it works

  1. Enter requiredFields, presentFields. Keep parallel arrays aligned. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read presentRequired, missingRequired. Use the output convention below.

Count distinct requiredFields present in presentFields as presentRequired and distinct required fields absent from it as missingRequired, using exact string matching.1

Input fieldMeaning and unitsAccepted input
requiredFieldsRequired FieldsRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
presentFieldsPresent FieldsRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
Output fieldInterpretationReturned shape
presentRequiredPresent RequiredRequired. Safe integer.
missingRequiredMissing RequiredRequired. Safe integer.
json
{
  "input": {
    "requiredFields": [
      "id",
      "time"
    ],
    "presentFields": [
      "id"
    ]
  },
  "output": {
    "presentRequired": 1,
    "missingRequired": 1
  }
}

Limitations and assumptions

  • Duplicate required labels count once and unrelated present fields do not add credit. Presence does not verify content, valid handoff, consent or clinical completeness.
  • 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

Inspect actual equipment and authoritative documentation; use professional emergency and maintenance procedures when operational readiness matters.

References

  1. Calculation and input contract: emergency-medicine/handoff-field-presence-count — tool.io

Similar or alternative tools