From cea360f828d023cf1ecb82cb8d782555b53739c4 Mon Sep 17 00:00:00 2001 From: Spayralbe Date: Wed, 18 Dec 2024 18:41:54 +0100 Subject: [PATCH] Remove relationship to person table --- src/omop_cdm/dynamic/cdm54/health_economics.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/omop_cdm/dynamic/cdm54/health_economics.py b/src/omop_cdm/dynamic/cdm54/health_economics.py index fcae7b7..295f936 100644 --- a/src/omop_cdm/dynamic/cdm54/health_economics.py +++ b/src/omop_cdm/dynamic/cdm54/health_economics.py @@ -37,10 +37,6 @@ class BasePayerPlanPeriodCdm54: def payer_concept(cls) -> Mapped["Concept"]: return relationship("Concept", foreign_keys="PayerPlanPeriod.payer_concept_id") - @declared_attr - def payer_plan_period(cls) -> Mapped["Person"]: - return relationship("Person", foreign_keys="PayerPlanPeriod.payer_plan_period_id") - @declared_attr def payer_source_concept(cls) -> Mapped["Concept"]: return relationship("Concept", foreign_keys="PayerPlanPeriod.payer_source_concept_id")