# GlucoDynamics-Kor 내장 참조 데이터
# 검사 프로토콜, 정상 참고치, 단위 변환 계수.
# van Cauter C-peptide kinetic 파라미터 산출 로직은 deconvolution.py 참조.
# 출처는 README.md 참조.

units:
  glucose:
    # mg/dL <-> mmol/L : 1 mmol/L = 18.0156 mg/dL
    mgdl_per_mmol: 18.0156
    canonical: "mg/dL"
  insulin:
    # uU/mL <-> pmol/L : 1 uU/mL (mIU/L) = 6.945 pmol/L (consensus factor)
    pmol_per_uU: 6.945
    canonical: "uU/mL"
  cpeptide:
    # ng/mL <-> nmol/L : 1 ng/mL = 0.331 nmol/L (MW C-peptide ~3020 Da)
    nmol_per_ngml: 0.331
    canonical: "ng/mL"

protocols:
  OGTT_75g:
    label: "표준 경구당부하검사 (75g OGTT)"
    timepoints_min: [0, 30, 60, 90, 120]
    load_g: 75
    auc_windows: [[0, 120]]
    source: "ADA/WHO standard; KDA 진료지침"
  OGTT_75g_ext:
    label: "확장 OGTT (0-180분)"
    timepoints_min: [0, 30, 60, 90, 120, 150, 180]
    load_g: 75
    auc_windows: [[0, 120], [0, 180]]
    source: "Extended OGTT protocol"
  MMTT:
    label: "혼합식이부하검사 (MMTT)"
    timepoints_min: [0, 15, 30, 60, 90, 120, 180]
    load_g: null
    auc_windows: [[0, 120], [0, 180]]
    source: "Mixed-meal tolerance test"
  CLAMP:
    label: "고인슐린혈증-정상혈당 클램프"
    timepoints_min: [0, 10, 20, 30, 60, 90, 120]
    load_g: null
    auc_windows: []
    steady_state_min: [90, 120]
    source: "DeFronzo 1979 Am J Physiol 237:E214"

reference_ranges:
  FPG_mgdl:         {normal_max: 100, ifg_min: 100, ifg_max: 125, dm_min: 126, source: "ADA/KDA"}
  glucose_120_mgdl: {ngt_max: 140, igt_min: 140, igt_max: 199, dm_min: 200, source: "ADA/WHO OGTT 2h"}
  FPI_uU:           {typical_min: 2, typical_max: 25, source: "general adult fasting"}
  HOMA_IR:          {typical_cutoff: 2.5, source: "population-dependent; 참고용"}
  Matsuda:          {insulin_resistant_below: 2.5, source: "Matsuda-DeFronzo 1999 (참고용)"}

disclaimer: "본 도구는 연구용·교육용·참고용이며 임상 의사결정에 직접 사용을 금지함. 산출값은 입력 데이터·가정·근사식에 의존하며 진단·치료 목적으로 사용할 수 없음."
