Skip to content

Main content

Respiratory Sample Validity Code

Record an explicit respiratory-sample validity code without deciding sample acceptability.

Loading tool…

Description

Record an explicit respiratory-sample validity code.

Respiratory records distinguish signal markers, gas-reference bases, collection validity codes and selected prediction equations. A supplied interval or zero subtraction is only one part of a measurement workflow. Unit labels and device-use discrepancies do not validate a maneuver, estimate a disease state or determine appropriate medication use.

Record an explicit respiratory-sample validity code.

When to use this tool

Use Respiratory Sample Validity Code when you already have sampleId, recordedCode, codebookSource and need to record an explicit respiratory-sample validity code.

How to use the tool and how it works

  1. Enter sampleId, recordedCode, codebookSource. 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 label. Use the output convention below.

Enter sampleId, recordedCode, codebookSource using the field constraints below. Encode these values, in exactly that order, as a JSON array and return the serialized array as text in label. String values are preserved without trimming or external terminology lookup.1

Input fieldMeaning and unitsAccepted input
sampleIdSample IdRequired. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192.
recordedCodeRecorded CodeRequired. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192.
codebookSourceCodebook SourceRequired. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192.
Output fieldInterpretationReturned shape
labelLabelRequired. Text; maximum UTF-16 length 8192.
json
{
  "input": {
    "sampleId": "S17",
    "recordedCode": "ACCEPTED",
    "codebookSource": "Protocol A"
  },
  "output": {
    "label": "[\"S17\",\"ACCEPTED\",\"Protocol A\"]"
  }
}

Limitations and assumptions

  • The result records supplied values without deciding sample acceptability. Sources and asserted relationships are not independently authenticated.
  • 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 the original respiratory trace, acquisition protocol and reference-equation definition when interpreting a test. Keep gas-reference bases and supplied quality codes explicit; a zero subtraction, interval or counter discrepancy does not validate the complete measurement.

References

  1. Calculation and input contract: pulmonology/respiratory-sample-validity-code — tool.io

Similar or alternative tools