AD421 Programmable current source/sink

Hi

I have a question about Figure 18 in AD421 datasheet.

Q1. Could you recommend me how to integrate selectable source and sink current schematic?

Q2. Can it be applicable for AD5421 or other recent device as well? If so, let me know how to apply it.