제4장: Phase 1 - 데이터 형식

통합 의학을 위한 표준화된 JSON 스키마

4.1 데이터 표준 개요

WIA-TRADITIONAL-MEDICINE 데이터 형식은 현대 의료 시스템에서 전통 의학 개념을 표현하기 위한 공통 언어를 수립합니다. 형식은 다음과 같이 설계되었습니다:

4.2 체질 프로파일 스키마

체질 프로파일은 여러 전통 의학 시스템에 걸쳐 개인의 체질 평가를 포착하는 핵심 데이터 구조입니다:

{ "$schema": "https://wialive.smilestory.ai/schemas/traditional-medicine/v1.0.0", "constitutional_profile": { "profile_id": "uuid-v4-형식", "patient_id": "환자-참조", "timestamp": "2025-01-15T09:30:00Z", "tcm_constitution": { "primary_type": "담습질", "secondary_types": ["기허질"], "assessment_method": "CCMQ", "score": { "기허질": 0.35, "양허질": 0.25, "음허질": 0.40, "담습질": 0.55, "습열질": 0.20, "혈어질": 0.30, "기울질": 0.45, "특품질": 0.15, "평화질": 0.25 }, "confidence": 0.85 }, "sasang_constitution": { "type": "태음인", "confidence": 0.78, "questionnaire_score": {}, "facial_analysis": { "ai_confidence": 0.82 }, "voice_analysis": { "ai_confidence": 0.75 } }, "genomic_correlates": { "metabolic_genes": { "FTO": "rs9939609-A", "PPARG": "Pro12Ala" }, "pharmacogenomics": { "CYP2D6": "*1/*1" } }, "microbiome_profile": { "enterotype": "Bacteroides", "diversity_index": 3.2 } } }

4.3 전통 진단 스키마

사진(四診 - 望聞問切)은 구조화된 형식으로 포착됩니다:

{ "traditional_diagnosis": { "diagnosis_id": "uuid-v4-형식", "patient_id": "환자-참조", "timestamp": "2025-01-15T09:45:00Z", "four_examinations": { "inspection": { "complexion": "담황색", "tongue": { "body_color": "담백", "body_shape": "치흔", "coating_color": "백", "coating_thickness": "후", "moisture": "윤", "ai_analysis": { "model": "WIA-TM-Tongue-v1", "confidence": 0.89, "findings": ["비기허", "습"] } } }, "inquiry": { "chief_complaint": "피로, 무거운 느낌", "ten_questions": { "한열": "한선호", "한출": "자한", "식욕": "감소", "갈증": "목마름_없음", "수면": "과다_수면", "대변": "묽은_변" } }, "palpation": { "pulse": { "rate": 68, "rhythm": "규칙적", "quality": ["활맥", "연맥"] } } }, "pattern_diagnosis": { "icd11_tm_code": "TM1:SF32.2", "pattern_name": { "en": "Spleen Qi Deficiency with Dampness", "zh": "脾氣虛夾濕", "ko": "비기허협습" } } } }

4.4 약재 데이터베이스 스키마

각 약재는 전통적 속성과 현대 약리학 데이터로 문서화됩니다:

{ "herbal_medicine": { "herb_id": "HB-RenShen-001", "names": { "scientific": "Panax ginseng C.A.Mey.", "chinese": "人參", "korean": "인삼", "common_en": "Asian Ginseng" }, "traditional_properties": { "taste": ["감", "미고"], "temperature": "온", "meridians": ["비경", "폐경", "심경"], "actions": ["보원기", "건비익폐", "생진", "안신"] }, "modern_pharmacology": { "active_compounds": [ { "name": "Ginsenoside Rb1", "targets": ["PPARG", "AMPK"], "pathways": ["insulin_signaling"] } ] }, "safety": { "toxicity_class": "무독", "max_daily_dose_g": 9.0, "drug_interactions": [ { "drug": "Warfarin", "effect": "항응고 효과 감소 가능", "severity": "중등도" } ] } } }
구현 참고: 모든 스키마는 https://wialive.smilestory.ai/schemas/traditional-medicine/ 에 게시되며 표준 JSON 스키마 검증기와 함께 사용할 수 있습니다. TypeScript, Python, Java용 SDK가 제공됩니다.