Medical history in a chart
Posted: 04 Oct 2020 19:19
First what I want is to be able to track genetic medical history by changing the characteristics of a box based on a keywords in the note field.
I am able to do this by editing the chart options and select boxes and add the following condition statements:
=ContainsText(%INDI.EVEN-MEDHIST.NOTE2%,"Cancer",EXT) Pink Background color
=ContainsText(%INDI.EVEN-MEDHIST.NOTE2%,"Heart",EXT) Heavier box lines
This is based on a custom fact type called MEDHIST. I place the words Cancer or Heart in the note field for the fact.
All seems to work as planned until I have more than one MEDHIST fact for a person and then the chart seems to ignore my condition statements. when I delete the multiple MEDHIST facts the remaining MEDHIST fact gets treated correctly in the chart. I can place Cancer and Heart in the same MEDHIST note and the condition statements seem to work correctly
Am I doing something wrong or is this correct behavior for FH.
I am using FH 6.2.7
I am able to do this by editing the chart options and select boxes and add the following condition statements:
=ContainsText(%INDI.EVEN-MEDHIST.NOTE2%,"Cancer",EXT) Pink Background color
=ContainsText(%INDI.EVEN-MEDHIST.NOTE2%,"Heart",EXT) Heavier box lines
This is based on a custom fact type called MEDHIST. I place the words Cancer or Heart in the note field for the fact.
All seems to work as planned until I have more than one MEDHIST fact for a person and then the chart seems to ignore my condition statements. when I delete the multiple MEDHIST facts the remaining MEDHIST fact gets treated correctly in the chart. I can place Cancer and Heart in the same MEDHIST note and the condition statements seem to work correctly
Am I doing something wrong or is this correct behavior for FH.
I am using FH 6.2.7