I'm struggling to figure out the correct syntax for using the DDR FINDER RPC and a compound index. The RPC calls FIND^DIC() via DDR0.m but the documentation for FIND^DIC only shows setting array values as a separate step before calling FIND^DIC which isn't something that can be done (that I know of) via an RPC.
From FM 22.2 DG:
If the lookup index is compound, then lookup values can be provided for each of the data value subscripts in the index. In that case, value is passed by reference as an array where VALUE(n) represents the lookup value to be matched to the nth subscript in the index.
Example:
>K VAL S VAL(1)=“ADD”,VAL(2)=“01/01/69”
>D FIND^DIC(662001,“”,“@;IXIE”,“PK”,.VAL,“”,“”,“”,“”,“OUT”)
So my question is, how do I pass an array for VALUE to DDR FINDER?