A FamilyTree shows the family tree of the patient. Within each node of the tree are basic info of a family member and the member's record(if genotyped).

Resource Profile:
<FamilyTree>
    <patient><!--1..1 Owner of the FamilyTree--></patient>
    <tree><!--1..1 Content of the trees-->
        <self id="[string]"/><!--1..1 Node of the patient-->
        <familyMember id="[string]"><!--0..* Node of the family member-->
            <relationship><!--1..1 CodeableConcept Relationship between this relative and the patient(e.g. mother)--></relationship>
            <record value="[uri]"/><!--0..1 Link to the member's record-->
            <observation><!--0..* CodeableConcept Observation about that member--></observation>
        </familyMember>
        <immediateFamily id="[string]"><!--0..* Edges that describe a immediate -->
            <parent value="[id]"/><!--0..2 id of the husband-->
            <child value="[id]"/><!--0..* id of the child-->
        </immdiateFamily>
    </tree>
</FamilyTree>

Example in XML JSON
XML
<?xml version="1.0" encoding="UTF-8"?>
<FamliyTree>
    <text>
        <status value="generated"/>
        <div xmlns="http://www.w3.org/1999/xhtml">
            <p>Family tree of Rachel Peregrin</p>
        </div>
    </text>
    <contained>
        <type value="Patient"/>
        <url value="../patient/046"/>
        <display value="Rachel Peregrin"/>
    </contained>
    <tree>
        <self id="001"/>
        <familyMember id="002">
            <observation>
                <coding>
                     <system value="http://purl.bioontology.org/ontology/SNOMEDCT">
                     <code value="73211009">
                </coding>
                <text value="Diabetes mellitus">
            </observation>
        </familyMember>
        <familyMember id="003">
                <record value="http://genomics.smartplatforms.org/record/789"/>
        </familyMember>
    <marriage id="1">
        <husband value="003">
        <wife value="001">
    </marriage>
        <child>
            <marriage value="1"/>
            <child value="002"/>
    </tree>
</FamilyTree>
JSON
{
    "text": {
        "status": {
            "value": "generated"
        },
        "div": "<div xmlns='http://www.w3.org/1999/xhtml'><p>Family tree of Rachel Peregrin</p></div>"
    },
    "contained": [
        {
            "type": {
                "value": "Patient"
            },
            "url": {
                "value": ".../patient/046"
            },
            "display": {
                "value": "Rachel Peregrin"
            }
        }
    ],
    "tree": {
        "self": {
            "_id": "001"
        },
        "familyMember": [
            {
                "_id": "002",
                "observation": {
                    "coding": {
                        "system": {
                             "value" : "http://purl.bioontology.org/bioontology/SNOMEDCT"
                        },
                        "code": {
                             "value" : "73211009"
                        }
                    },
                    "text": {
                        "value" : "Diabetes mellitus"
                    }
                }
            },
            {
                "_id": "003",
                "record": {
                    "value": ""http://genomics.smartplatforms.org/record/789/""
                }
            }
        ],
        "marriage": {
            "_id": "1",
            "husband": {
                "value": "003"
            },
            "wife": {
                "value": "001"
            }
        }
        "child": {
            "marriage": {
                "value": "1"
            },
            "child": {
                "value": "002"
            }
        }
    }
}