![]() ![]() |
Reference Type: Supported, Category: Toolkit—Data Standardization, ICR#: 5078
The $$RPLCLST^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.
REF: 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.
$$RPLCLST^XTIDTRM(file,ien,drctn,statdate,stathst,outarr)
file: |
(required) File number. |
ien: |
(required) Entry number. |
drctn: |
(optional) Flags denoting which directions to follow the trail of replacement terms. Possible flag values are:
|
statdate: | (optional) VA FileMan date/time in which to return term's status. Defaults to current date/time. |
stathst: |
(optional) Flag denoting if a term's full status history should be included in the output:
|
outarr: |
I: (required) Array to put trail of replacement terms into (closed root)
O: The output array contains the list terms to which the input entry is somehow related.
Where:
|
>S X=$$RPLCLST^XTIDTRM(File,IEN,Drctn,StatDate,StatHst,OutArr) |
The $$RPLCLST^XTIDTRM extrinsic function sets X=IEN_";"_FileNumber of the entry that ultimately replaces the input entry:
NOTE: