From 7f9017df7596add94b5e09c5ffbcc70416d7095f Mon Sep 17 00:00:00 2001 From: ShivaniKhaire Date: Sat, 24 Oct 2026 14:52:40 +0530 Subject: [PATCH] feat(three-burners): separate treatment principle and update detail display order --- m0017-three-burners/data/three-burners.json | 54 ++++++++++++++++--- .../templates/m0017_ct0002.json | 19 +++++-- 2 files changed, 62 insertions(+), 11 deletions(-) diff --git a/m0017-three-burners/data/three-burners.json b/m0017-three-burners/data/three-burners.json index 825e56c..9088428 100644 --- a/m0017-three-burners/data/three-burners.json +++ b/m0017-three-burners/data/three-burners.json @@ -15,7 +15,12 @@ "Slight thirst" ], "pathology": "The pathology of this pattern is the same as that for invasion of Wind-Heat at the Defensive Qi Level of the Four Levels. The tongue coating is white because the pathogenic factor is on the Exterior.", - "treatment": "Treatment principle:\nRelease the Exterior\nExpel Wind-Heat,\nRestore the diffusing and descending of Lung-Qi.\nAcupuncture\nLI-4, LI-11, SJ-5, DU-14, BL-12 (with cupping), LU-11", + "treatment_principle": [ + "Release the Exterior", + "Expel Wind-Heat", + "Restore the diffusing and descending of Lung-Qi" + ], + "treatment": "LI-4, LI-11, SJ-5, DU-14, BL-12 (with cupping), LU-11", "link": { "type": "content_ref", "label": "Wind-Heat in the Lungs’ Defensive Qi portion", @@ -38,7 +43,12 @@ "Feeling of oppression and pain of the chest" ], "pathology": "The pathology of this pattern is essentially the same as that for the pattern Heat in the Lungs at the Qi Level of the Four Levels.", - "treatment": "Treatment principle:\nClear Lung-Heat,\nResolve Phlegm,\nRestore the descending of Lung-Qi.\nAcupuncture\nLU-5, LU-10, LU-1, LI-11, BL-13", + "treatment_principle": [ + "Clear Lung-Heat", + "Resolve Phlegm", + "Restore the descending of Lung-Qi" + ], + "treatment": "LU-5, LU-10, LU-1, LI-11, BL-13", "link": { "type": "content_ref", "label": "Heat in the Lungs (Qi level)", @@ -60,7 +70,12 @@ "Aphasia" ], "pathology": "The pathology of this pattern is essentially the same as that for the pattern Heat in the Pericardium at the Nutritive Qi level of the Four Levels.", - "treatment": "Treatment principle:\nClear Heat in the Pericardium\nRestore consciousness\nPromote fluid\nAcupuncture\nPC-9, PC-3, LI-11, PC-8, HT-9, KI-6, Shixuan extra points.", + "treatment_principle": [ + "Clear Heat in the Pericardium", + "Restore consciousness", + "Promote fluid" + ], + "treatment": "PC-9, PC-3, LI-11, PC-8, HT-9, KI-6, Shixuan extra points.", "link": { "type": "content_ref", "label": "Heat in the Pericardium (Nutritive Qi level)", @@ -82,7 +97,11 @@ "Profuse sweating" ], "pathology": "The pathology of this pattern is essentially the same as that for the pattern Stomach-Heat at the Qi level of the Four Levels.", - "treatment": "Treatment principle:\nClear Stomach-Heat Expel Wind-Heat,\nAcupuncture\nST-44, ST-34, ST-21, ST-43, LI-11, ST-25.", + "treatment_principle": [ + "Clear Stomach-Heat", + "Expel Wind-Heat" + ], + "treatment": "ST-44, ST-34, ST-21, ST-43, LI-11, ST-25.", "link": { "type": "content_ref", "label": "Heat in Bright Yang", @@ -104,7 +123,11 @@ "Vomiting" ], "pathology": "The pathology of this pattern is essentially the same as that for the pattern Damp-Heat in Stomach and Spleen from the Qi level of the Four Levels.", - "treatment": "Treatment principle:\nClear Heat\nResolve Dampness in the Spleen\nAcupuncture\nCV-12, SP-9, SP-6, CV-9, ST-36, LI-1, BL-20, BL-2.", + "treatment_principle": [ + "Clear Heat", + "Resolve Dampness in the Spleen" + ], + "treatment": "CV-12, SP-9, SP-6, CV-9, ST-36, LI-1, BL-20, BL-2.", "link": { "type": "content_ref", "label": "Damp-Heat in the Spleen", @@ -127,7 +150,11 @@ "Lassitude" ], "pathology": "The pathology of this pattern is essentially the same as that of the pattern Heat transformation from the Lesser Yin stage of the Six Stages.", - "treatment": "Treatment principle:\nNourish Kidney-Yin\nClear Empty-Heat\nAcupuncture\nKI-3, KI-6, SP-6, KI-2, LI-11.", + "treatment_principle": [ + "Nourish Kidney-Yin", + "Clear Empty-Heat" + ], + "treatment": "KI-3, KI-6, SP-6, KI-2, LI-11.", "link": { "type": "content_ref", "label": "Heat in the Kidneys", @@ -148,7 +175,13 @@ "Clenched teeth" ], "pathology": "The pathology of this pattern is essentially the same as that of the pattern Heat victorious stirring Wind from the Blood level of the Four Levels.", - "treatment": "Treatment principle:\nClear Heat\nExtinguish Wind\nStop convulsions\nRestore consciousness\nAcupuncture\nLR-3, LR-2, GB-20, Du-16, SI-3 and BL-62 in combination, SP-10, LI-11, KI-6, HE-9, Shixuan extra points.", + "treatment_principle": [ + "Clear Heat", + "Extinguish Wind", + "Stop convulsions", + "Restore consciousness" + ], + "treatment": "LR-3, LR-2, GB-20, Du-16, SI-3 and BL-62 in combination, SP-10, LI-11, KI-6, HE-9, Shixuan extra points.", "link": { "type": "content_ref", "label": "Liver-Heat stirs Wind", @@ -171,7 +204,12 @@ "Tremor of limbs" ], "pathology": "The pathology of this pattern is essentially the same as that for the pattern Empty-Wind, agitating the Interior from the Blood level of the Four Levels.", - "treatment": "Treatment principle:\nNourish Yin\nExtinguish Wind\nStop convulsions\nAcupuncture\nLR-3, LR-2, G.B.-20, DU-16, SI-3 and BL-62 in combination, KI-3, KI-6, SP-6, LR-8", + "treatment_principle": [ + "Nourish Yin", + "Extinguish Wind", + "Stop convulsions" + ], + "treatment": "LR-3, LR-2, G.B.-20, DU-16, SI-3 and BL-62 in combination, KI-3, KI-6, SP-6, LR-8", "link": { "type": "content_ref", "label": "Liver Empty-Wind", diff --git a/m0017-three-burners/templates/m0017_ct0002.json b/m0017-three-burners/templates/m0017_ct0002.json index 520674f..278d660 100644 --- a/m0017-three-burners/templates/m0017_ct0002.json +++ b/m0017-three-burners/templates/m0017_ct0002.json @@ -33,6 +33,13 @@ "data_type": "text", "default": "" }, + { + "name": "Treatment Principle", + "code": "treatment_principle", + "data_type": "text", + "is_multivalue": true, + "default": [] + }, { "name": "treatment", "code": "treatment", @@ -439,23 +446,29 @@ "visibility": "hide" }, { - "attribute_key": "m0017_ct0002.clinical menifestation", + "attribute_key": "m0017_ct0002.pathology", "empty_behavior": "hide", "visibility": "show", "display_order": 30 }, { - "attribute_key": "m0017_ct0002.pathology", + "attribute_key": "m0017_ct0002.clinical menifestation", "empty_behavior": "hide", "visibility": "show", "display_order": 40 }, { - "attribute_key": "m0017_ct0002.treatment", + "attribute_key": "m0017_ct0002.treatment_principle", "empty_behavior": "hide", "visibility": "show", "display_order": 50 }, + { + "attribute_key": "m0017_ct0002.treatment", + "empty_behavior": "hide", + "visibility": "show", + "display_order": 60 + }, { "attribute_key": "m0017_ct0002.link", "empty_behavior": "hide",