Skip to content

Main content

Medicine Label Base Salt Source Pair Tool

Retain a supplied base/salt conversion fraction and its explicit attribution.

Loading tool…

Description

Preserve a supplied medicine base/salt fraction with source labels.

A medicine label expresses an amount on a particular mass, volume or other quantity basis. Ratios are meaningful only when numerator, denominator and active-component conventions match; a supplied conversion or fraction does not establish medicine equivalence or an appropriate dose.

Preserve a supplied medicine base/salt fraction with source labels.

When to use this tool

Use Medicine Label Base Salt Source Pair when checking the stated medicine-label amount, unit or component-basis convention.

How to use the tool and how it works

  1. Enter baseName, saltName, sourceId, sourceEdition, suppliedBaseFraction. 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 key, fraction. Use the output convention below.

Preserve a supplied medicine base/salt fraction with source labels. Require nonempty names/source/edition and suppliedBaseFraction in (0,1]; return the fraction and a JSON key of [baseName,saltName,sourceId,sourceEdition].1

Input fieldMeaning and unitsAccepted input
baseNameBase NameRequired. Text; maximum UTF-16 length 8192.
saltNameSalt NameRequired. Text; maximum UTF-16 length 8192.
sourceIdSource IdRequired. Text; maximum UTF-16 length 8192.
sourceEditionSource EditionRequired. Text; maximum UTF-16 length 8192.
suppliedBaseFractionSupplied Base FractionRequired. Finite number; maximum 1; strictly above 0.
Output fieldInterpretationReturned shape
keySerialized literal record key; uniqueness or matching does not authenticate the source.Required. Text; maximum UTF-16 length 8192.
fractionThe supplied fraction returned unchanged; not inferred from chemical composition.Required. Finite number.
json
{
  "input": {
    "baseName": "base-A",
    "saltName": "salt-A",
    "sourceId": "source-A",
    "sourceEdition": "v1",
    "suppliedBaseFraction": 0.8
  },
  "output": {
    "key": "[\"base-A\",\"salt-A\",\"source-A\",\"v1\"]",
    "fraction": 0.8
  }
}

Limitations and assumptions

  • The fraction is not derived from molecular composition or verified against a source; no clinical substitution is authorized.
  • 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

Verify the original label, ingredient identity and source edition with a qualified pharmacist; use verified unit conversion and clinical assessment for any actual medicine decision.

References

  1. Calculation and input contract: clinical-pharmacy/medicine-label-base-salt-source-pair — tool.io

Similar or alternative tools