Skip to content

Main content

Handoff Source Support Share Tool

Calculate handoff source support share from explicit caller-supplied inputs.

Loading tool…

Description

Count exact nonempty source IDs and those also present in verifiedSources; return requiredFieldsCount, fieldsWithSource, verifiedFields, and share=verifiedFields/requiredCount when positive, otherwise zero with defined=false.

Care and training records use task identifiers, source labels, counts, time intervals, observations, and accounting bases. Documentation support, actual delivery, and clinical quality are different questions. A local record rule or budget should be interpreted according to its explicit inclusion and denominator conventions.

Count exact nonempty source IDs and those also present in verifiedSources; return requiredFieldsCount, fieldsWithSource, verifiedFields, and share=verifiedFields/requiredCount when positive, otherwise zero with defined=false.

When to use this tool

Use Handoff Source Support Share when you need this care-record, observation, training, supply, time, or accounting component.

How to use the tool and how it works

  1. Enter requiredFields, fieldSources, verifiedSources. 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 requiredFieldsCount, fieldsWithSource, verifiedFields, share, defined. Inspect defined before interpreting the associated values.

Require unique requiredFields aligned with fieldSources. Count exact nonempty source IDs and those also present in verifiedSources; return requiredFieldsCount, fieldsWithSource, verifiedFields, and share=verifiedFields/requiredCount when positive, otherwise zero with defined=false.1

Input fieldMeaning and unitsAccepted input
requiredFieldsRequired FieldsRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
fieldSourcesField SourcesRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
verifiedSourcesVerified SourcesRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
Output fieldInterpretationReturned shape
requiredFieldsCountRequired Fields CountRequired. Safe integer.
fieldsWithSourceFields With SourceRequired. Safe integer.
verifiedFieldsVerified FieldsRequired. Safe integer.
shareDimensionless share using the stated denominator, not a percentage numeral.Required. Finite number.
definedWhether the stated denominator or quantity is defined; inspect before using a placeholder.Required. Boolean.
json
{
  "input": {
    "requiredFields": [
      "a",
      "b"
    ],
    "fieldSources": [
      "s1",
      "s2"
    ],
    "verifiedSources": [
      "s1"
    ]
  },
  "output": {
    "requiredFieldsCount": 2,
    "fieldsWithSource": 2,
    "verifiedFields": 1,
    "share": 0.5,
    "defined": true
  }
}

Limitations and assumptions

  • Whitespace-only IDs count as present. The verification list is supplied, and support coverage does not establish source reliability, handoff completeness, a clinical finding, or safe transfer of care.
  • 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 authenticated records and the intended care, inventory, or training protocol for a full assessment. Verify source support, counting rules, time bases, and any contractual or consent conditions independently.

References

  1. Calculation and input contract: nursing/handoff-source-support-share — tool.io

Similar or alternative tools