Skip to main content
Version: v0.0.3

Interface: ScriptPosition

Positional context attached to NCPDP SCRIPT warnings and fatal errors.

SCRIPT is XML, so position is an XPath-style location string (e.g. /Message/Body/NewRx/MedicationPrescribed): never a field value. This keeps diagnostics PHI-safe: a consumer learns where a problem is without the library echoing patient data.

Properties

path

readonly path: string

XPath-style location of the element, e.g. /Message/Body/NewRx.