Skip to content

Main content

Formulary Reference Version Token Tool

Split an opaque supplied reference token without consulting or interpreting a formulary.

Loading tool…

Description

Split a formulary reference and version at its final separator.

Pharmacy administration distinguishes medicine and document identifiers, service records, stock balances and payment conventions from decisions about care. Literal labels and supplied status flags help reconcile records, while medicine identity, appropriate treatment and actual availability require independent verification.

Split a formulary reference and version at its final separator.

When to use this tool

Use Formulary Reference Version Token when reconciling the stated pharmacy record, inventory, timing or financial convention.

How to use the tool and how it works

  1. Enter reference, separator. 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 document, version. Use the output convention below.

Split a formulary reference and version at its final separator. Require nonempty separator and nonempty text on both sides; return document and version literally.1

Input fieldMeaning and unitsAccepted input
referenceReferenceRequired. Text; maximum UTF-16 length 8192.
separatorSeparatorRequired. Text; maximum UTF-16 length 8192.
Output fieldInterpretationReturned shape
documentDocumentRequired. Text; maximum UTF-16 length 8192.
versionVersionRequired. Text; maximum UTF-16 length 8192.
json
{
  "input": {
    "reference": "formulary@v2",
    "separator": "@"
  },
  "output": {
    "document": "formulary",
    "version": "v2"
  }
}

Limitations and assumptions

  • No actual formulary, edition currency, medicine recommendation or prescribing authority is 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.

Alternative or Complementary methods

Inspect verified medicine and service records and the applicable professional procedures; use appropriate clinical systems and qualified professional judgment for care or supply decisions.

References

  1. Calculation and input contract: clinical-pharmacy/formulary-reference-version-token — tool.io

Similar or alternative tools