Here is a design for a 4 bar linkage which opens a door either to the left or to the right. Note the pivot points for the linkage are the circumcenters of the triangles whose vertices are the corresponding ends of the door in the three required positions.