Skip to content

Main content

Medication List Text Duplicate Pair

Compare complete medication-list text fields literally without inferring drug equivalence or duplicate therapy.

Loading tool…

Description

Compare two medication-list entries as literal text with optional case folding.

Older-adult care records combine preferences, respondent roles, assistance, handoffs, services and medication-list text. Recorded coverage hours differ from adequate care, and a textual medication match differs from clinical medication reconciliation. Consent and proxy authority are contextual questions that a supplied flag cannot settle.

Compare two medication-list entries as literal text with optional case folding.

When to use this tool

Use Medication List Text Duplicate Pair when checking the stated older-adult record, assistance, coverage or care-log convention.

How to use the tool and how it works

  1. Enter firstText, secondText, ignoreCase. 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 sameLiteralText. Inspect sameLiteralText before interpreting the associated values.

Require two nonempty medication-list texts. Compare literally, or after full-string lowercasing when ignoreCase=true.1

Input fieldMeaning and unitsAccepted input
firstTextFirst TextRequired. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192.
secondTextSecond TextRequired. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192.
ignoreCaseTrue uses full-string lowercase equality; no trimming, drug-name matching or clinical duplicate detection.Required. Boolean.
Output fieldInterpretationReturned shape
sameLiteralTextSame Literal TextRequired. Boolean.
json
{
  "input": {
    "firstText": "Drug A 5 mg",
    "secondText": "drug a 5 mg",
    "ignoreCase": true
  },
  "output": {
    "sameLiteralText": true
  }
}

Limitations and assumptions

  • Whitespace, spelling variants and coded drug identities are not normalized; equal text does not establish duplicate therapy or medication safety.
  • 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 verified source records and individual needs with qualified medical/care professionals; use appropriate legal and accessibility assessment for actual authority, services and care decisions.

References

  1. Calculation and input contract: geriatrics/medication-list-text-duplicate-pair — tool.io

Similar or alternative tools