![]() ![]() |
Reference Type: Supported, Category: Toolkit—Data Standardization, ICR#: 5078
The $$RPLCTRL^XTIDTRM extrinsic function traverses the REPLACED BY VHA STANDARD TERM (#99.97) field forwards and backwards to find all terms that are replacement terms for the input entry and all terms for which the input entry is a replacement. This is recursively done so that each potential branch of replacement terms forwards and backwards is traversed.
NOTE: For an overview of the Data Standardization API set, read
Data Standardization APIs.
For a chart mapping the Data Standardization API set in context, read
Replacement Relationships.
$$RPLCTRL^XTIDTRM(file,ien,drctn,outarr)
file: |
(required) File number. |
ien: |
(required) Internal Entry Number (IEN). |
drctn: |
(optional) Flags denoting which directions to follow the trail of replacement terms. Possible flag values are:
|
outarr: |
I: (required) Array to put trail of replacement terms into (closed root)
|
The $$RPLCTRL^XTIDTRM extrinsic function sets X to IEN_";"_FileNumber of entry that replaces the input entry:
>S X=$$RPLCTRL^XTIDTRM(file,ien,drctn,outarr) |
NOTE: