[R][SQL][Adherence]다중 처방에서 복약 순응도,Multiple Medication Adherence
1. Adherence, Method (MPR, PDC) 2. Multiple Medication 3. Code (R, SQL) 1. Adherence, Method (MPR, PDC) Adherence, 복약순응도, 치료지속도, 관련 자강두천 Method MPR, Medication Possession Ratio 겹치는 기간 고려 상관없이 모든 약물 처방일 수를 분자로 사용 PDC, Proportion of Days Covered 겹치는 기간을 shift 해서 일수를 보장해줌 분모는 설정하기 나름으로 보임 끝나는 날짜를 커스텀 study end date나 exposure 또는 era end date등으로 설정 ex) drug_era로 하면 MPR = sum(days supply) / end_date -..
2023. 10. 17.