You can remember the meaning of 法医 with this easy mnemonic:
I love law (法), and I love being a doctor (医), so I decided to be a forensic investigator.
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.