Skip to content

Main content

Simulation Step Anchor Gap Tool

Calculate simulation step anchor gap from explicit caller-supplied inputs.

Loading tool…

Description

Return earliest/latest simulation-step gaps to an anchor.

Anesthesia-related research and training records require explicit clocks, missingness flags, exclusions and measurement references. These tools reconcile benign records, simulations or bench data; an acceptable local overlap or composition sum does not establish clinical adequacy or safe patient care. Censored observations provide bounds rather than observed event times.

Return earliest/latest simulation-step gaps to an anchor.

When to use this tool

Use Simulation Step Anchor Gap when checking the stated benign record, simulation, timing or bench-measurement convention.

How to use the tool and how it works

  1. Enter stepIds, markerTimes, selectedStep, suppliedAnchor. Follow any array-alignment requirements below. 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 occurrences, earliestGap, latestGap, defined. Inspect defined before interpreting the associated values.

Return earliest/latest simulation-step gaps to an anchor. Require aligned step IDs/times; select matching steps, count occurrences, subtract suppliedAnchor from minimum/maximum time, or return zero gaps with defined false when absent.1

Input fieldMeaning and unitsAccepted input
stepIdsStep IdsRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
markerTimesMarker TimesRequired. Array of finite number; maximum items 256.
selectedStepSelected StepRequired. Text; maximum UTF-16 length 8192.
suppliedAnchorSupplied AnchorRequired. Finite number.
Output fieldInterpretationReturned shape
occurrencesOccurrencesRequired. Safe integer.
earliestGapZero placeholder when no selected step occurs and defined=false.Required. Finite number.
latestGapLatest GapRequired. Finite number.
definedWhether the associated denominator or reporting quantity is defined; inspect before interpreting zero placeholders.Required. Boolean.
json
{
  "input": {
    "stepIds": [
      "A",
      "B",
      "A"
    ],
    "markerTimes": [
      10,
      12,
      15
    ],
    "selectedStep": "A",
    "suppliedAnchor": 11
  },
  "output": {
    "occurrences": 2,
    "earliestGap": -1,
    "latestGap": 4,
    "defined": true
  }
}

Limitations and assumptions

  • Missing zero gaps are placeholders; training sequence quality, real event timing and clinical performance are not 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

Use verified source records and appropriate complete analysis for research or quality review; seek qualified medical and engineering assessment for actual clinical care or equipment decisions.

References

  1. Calculation and input contract: anesthesiology/simulation-step-anchor-gap — tool.io

Similar or alternative tools