feat: PAAI 분석에 환자 특이사항(CUSETC) 포함
추가: - AI 프롬프트에 '환자 특이사항' 섹션 추가 - 알러지, 기저질환, 주의사항 등 약사가 입력한 메모 활용 - 예: '투석실 환자' → AI가 신장약물 주의사항 안내 변경 파일: - pmr_api.py: patient_note 파라미터 추가, build_paai_prompt 수정 - pmr.html: requestSnapshot에 patient_note 포함 - prescription_trigger.py: cusetc → patient_note 전달 효과: - 환자별 맞춤 복약 안내 품질 향상 - 알러지/금기 정보 반영으로 안전성 강화
This commit is contained in:
@@ -1893,6 +1893,7 @@
|
||||
pre_serial: preSerial,
|
||||
cus_code: currentPrescriptionData.cus_code,
|
||||
patient_name: patientName,
|
||||
patient_note: currentPrescriptionData.cusetc || '', // 환자 특이사항 (알러지, 기저질환 등)
|
||||
disease_info: {
|
||||
code_1: currentPrescriptionData.st1 || '',
|
||||
name_1: currentPrescriptionData.st1_name || '',
|
||||
|
||||
Reference in New Issue
Block a user