Fig. 1From: KAMPNet: multi-source medical knowledge augmented medication prediction network with multi-level graph contrastive learningIllustration of Medical ontology graph: ICD-9 ontology for diagnosis and ATC ontology for medications. For each diagnosis or medication, we can obtain a unique parent path containing hierarchical ontology concepts from the root to the leaf levels. The ontology graph will be utilized to cultivate the inherent relations of homogeneous codesBack to article page