I am wondering how to link a parent and their child - here I assume that I am need to use the relationship attribute. However I am wondering how to walk the relationship so what on the child patient page I show a link to the parent, and on the parents page I show a link to all their children
You should be using RelationshipTypes and not attributes, the relationship type allows you to set aIsToB or bIsToA which specify who the parent or child is, so you would have to create a Parent/Child relation type if it doesn’t exist and then on the patient page you fetch and display all relationships of type Parent/Child.
Here’s a thread talking about the same thing:
Thanks will look into that