Looking for a word that shows connection, perhaps medically
https://en.wikipedia.org/wiki/Sequela
sequelae (consequences) - It is different from, but is a consequence of, the first condition.
The phrase status post, abbreviated in writing as s/p, is used to discuss sequelae with reference to their cause.
https://www.lexico.com/en/definition/sequela
usually sequelaeA condition which is the consequence of a previous disease or injury.
‘the long-term sequelae of infection’
Comorbidity.
In medicine, comorbidity is the presence of one or more additional conditions co-occurring with (that is, concomitant or concurrent with) a primary condition; in the countable sense of the term, a comorbidity (plural comorbidities) is each additional condition.
A newer sense of the word - the secondary condition may be caused by the primary:
(2) to indicate a medical condition in a patient that causes, is caused by, or is otherwise related to another condition
Wikipedia.
The word 'contingent' applies here; one thing (B) is contingent upon another (A) if it is necessary that A exists / occurs / is done for B to exist / occur / be done:
contingent adjective ...
1: dependent on or conditioned by something else
- Payment is contingent on fulfillment of certain conditions.
- a plan contingent on the weather
[Merriam-Webster]
- In patients undergoing curative surgical tumor resection for Cushing’s syndrome, the time to recovery of adrenal function is contingent upon the underlying etiology of the disease, according to recent findings.
[Endocrine Today]
[but note that 'contingent' has other sub-senses]