Skip to content

fix: 약물 충돌 관련 수정 #71

Description

@neibler

📌 Description

  • 재분석 시 기존 충돌을 skip하지 않고 severity·description을 최신 결과로 갱신(upsert)
  • 충돌 카드 조회 시 제품종류·제품명·처방기관·처방날짜를 medication 조인으로 합성
  • 처방날짜 폴백 적용: prescription_date → 없으면 start_date
  • 조회 시 두 약이 모두 활성(is_active)인 충돌만 반환 (비활성 약 충돌 제외)
  • 약 삭제 시 관련 drug_conflict 선삭제 (FK 제약 위반 방지)
  • item_name 토큰 매칭의 오탐 검증 (2글자 vs 3글자 이상)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions