Get the datasheet for the part, then check, there are two things that need to be checked:
- Pinout
At the end of the day the pins on the part need to match the pins on the PCB (otherwise bad things might happen, like connecting GND to VCC and smoke results), especially for SMT parts. In CAN programs the pins are numbered, and almost everyone follows the same pin numbering in the datasheet.
The order in the schematic doesn't need to match, but the function needs to match.
Check the function against the reference diagram:

Source: https://www.mouser.com/datasheet/2/468/RPX_1_0-1903909.pdf
You are correct that they are not the same, The part in your post has a Vref out- and out+ pins, the RPX-1.0 does not.
You may have to create your own part.
- The other thing that has to match is the foot print, check the dimensions of the part in the datasheet with that of the PCB footprint, they should also match. Sometimes you have to get creative because they only dimension some of the mechanical features, and it's necessary to add and subtract dimensions to come up with the measurements that you need.