genogram·McGoldrick 2020·healthcare, clinical·complexity 3/3
Multi-generation medical history
genogram·§ McGoldrick
↘ preview
100%
UTF-8 · LF · 10 lines · 550 chars✓ parsed·12.3 ms·9.7 KB SVG
Scenario
A clinical social worker or genetic counselor captures three generations of family medical history at intake. The conditions() annotation lets each person carry multiple diagnoses simultaneously — and the fill geometry (full, half, quadrant) encodes severity or inheritance proportion at a glance, without cluttering the diagram with text labels.
Annotation key
conditions: X(fill, color)— paints a shape inside the genogram symbol using the named fill zone and hex colorfull— entire symbol filled; indicates fully affectedhalf-left/half-right— left or right half filled; often used for one of two conditions side-by-sidequad-tl/quad-tr— top-left or top-right quadrant; allows up to four distinct conditions per person+ diabetes(...)— chain multiple conditions on the same person with+deceased— draws a diagonal slash through the symbolindex— marks the proband with an arrow
How to read
The grandfather's full red fill (heart disease) and half-orange fill (diabetes) are visually inherited by the father, who carries both — encoded as top-left and top-right quadrant fills. The patient (index) shows only hypertension in the left half, indicating partial inheritance. Tracing any color across generations immediately reveals the inheritance chain.