This invention discloses a method, apparatus, device, and storage medium for
medication risk assessment during
pregnancy, relating to the interdisciplinary fields of
medical information technology and
clinical pharmacy. The method includes: receiving
patient information and proposed
medication regimen information, whereby the
patient information includes
gestational age and information on multiple comorbidities; calling the corresponding
gestational age adaptive risk weight matrix based on
gestational age, weighting the patient features to generate a weighted
feature vector, and inputting this vector into a
machine learning model to obtain an initial
medication risk score; based on a constructed heterogeneous
knowledge graph, using entities corresponding to multiple comorbidities and
medication regimen information as query starting points, performing multi-hop reasoning to determine the existence and severity of conflicting paths; if a conflicting path is detected, revising the initial
medication risk score according to the severity of the conflict to generate a final risk
score. This application enables individualized, interpretable, and evidence-based intelligent
risk assessment of proposed medication regimens for pregnant women with multiple comorbidities.