858
edits
(Adding support for 4 parents, pre-test) |
(This might just be one of the hackiest solutions to the problem of newlines possible, but I think this works out) |
||
Line 49: | Line 49: | ||
|colspan=2| | |colspan=2| | ||
===FAMILY MEDICAL HISTORY=== | ===FAMILY MEDICAL HISTORY=== | ||
{{#if: {{{MOTHER MEDICAL HISTORY|}}}{{{PARENT 1|}}}|*'''Parent 1 ({{#if: {{{MOTHER MEDICAL HISTORY|}}}|Mother|{{{PARENT 1|}}}}}):''' {{#if: {{{MOTHER MEDICAL HISTORY|}}}|{{{MOTHER MEDICAL HISTORY|}}}|{{{PARENT 1 MEDICAL HISTORY|}}}}}}} | {{#if: {{{MOTHER MEDICAL HISTORY|}}}{{{PARENT 1|}}}|*'''Parent 1 ({{#if: {{{MOTHER MEDICAL HISTORY|}}}|Mother|{{{PARENT 1|}}}}}):''' {{#if: {{{MOTHER MEDICAL HISTORY|}}}|{{{MOTHER MEDICAL HISTORY|}}}|{{{PARENT 1 MEDICAL HISTORY|}}}}}}}{{#if:|| | ||
{{#if: {{{FATHER MEDICAL HISTORY|}}}{{{PARENT 2|}}}|*'''Parent 2 ({{#if: {{{FATHER MEDICAL HISTORY|}}}|Father|{{{PARENT 2|}}}}}):''' {{#if: {{{FATHER MEDICAL HISTORY|}}}|{{{FATHER MEDICAL HISTORY|}}}|{{{PARENT 2 MEDICAL HISTORY|}}}}}}} | {{#if: {{{FATHER MEDICAL HISTORY|}}}{{{PARENT 2|}}}|*'''Parent 2 ({{#if: {{{FATHER MEDICAL HISTORY|}}}|Father|{{{PARENT 2|}}}}}):''' {{#if: {{{FATHER MEDICAL HISTORY|}}}|{{{FATHER MEDICAL HISTORY|}}}|{{{PARENT 2 MEDICAL HISTORY|}}}}}}}}}{{#if:|| | ||
{{#if: {{{PARENT 3|}}}|*'''Parent 3 ({{{PARENT 3|}}}):''' {{{PARENT 3 MEDICAL HISTORY}}}}} | {{#if: {{{PARENT 3|}}}|*'''Parent 3 ({{{PARENT 3|}}}):''' {{{PARENT 3 MEDICAL HISTORY|}}}}}}}{{#if:|| | ||
{{#if: {{{PARENT 4|}}}|*'''Parent 4 ({{{PARENT 4|}}}):''' {{{PARENT 4 MEDICAL HISTORY}}}}} | {{#if: {{{PARENT 4|}}}|*'''Parent 4 ({{{PARENT 4|}}}):''' {{{PARENT 4 MEDICAL HISTORY|}}}}}}} | ||
*'''Mother:''' {{{MOTHER MEDICAL HISTORY|}}} | *'''Mother:''' {{{MOTHER MEDICAL HISTORY|}}} | ||
*'''Father:''' {{{FATHER MEDICAL HISTORY|}}} | *'''Father:''' {{{FATHER MEDICAL HISTORY|}}} |
edits