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
- Enter firstText, secondText, ignoreCase. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- 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 field | Meaning and units | Accepted input |
|---|---|---|
| firstText | First Text | Required. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192. |
| secondText | Second Text | Required. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192. |
| ignoreCase | True uses full-string lowercase equality; no trimming, drug-name matching or clinical duplicate detection. | Required. Boolean. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| sameLiteralText | Same Literal Text | Required. Boolean. |
{
"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
Similar or alternative tools
- Medication Record Discontinued Status Date
Record a medication's discontinued-status date as supplied text.
- Geriatric Assessment Language Version Pair Tool
Record an explicit geriatric assessment language and version without selecting or interpreting an instrument.