An individual patient is always advised to consult their own physician. All I can find is that it is has something to do with the breakdown of hemoglobin.
Porphyria is an inherited disorder of hemo biosynthetic pathways.
They are loosely classified into hepatic or erythropoietic. Urine for coproporphyrins, ALA levels, and uroporphyrins are the usual tests. The difficult part is to suspect it in the first place and do the correct tests while the patient is having symptoms. I know that some drugs and hormones can aggravate porphyria and we are having difficulty finding information about this regarding the family of serotonin related antidepressants. I do not want to worsen my porphyria, the attacks are painful, problematic and take a long time to heal.