feat(m0001): update yuan source template and category data structure #63

Merged
amit merged 2 commits from fix-point-categories into main 2026-11-19 10:10:47 +00:00
2 changed files with 432 additions and 281 deletions

View File

@ -3,248 +3,420 @@
{
"name": "Yuan Source",
"code": "yuan_source",
"point_codes": [
{
"type": "content_ref",
"label": "LU-9",
"target": {
"module_code": "m0001",
"template_code": "m0001_ct0003",
"source_code": "LU-9"
}
},
{
"type": "content_ref",
"label": "LI-4",
"target": {
"module_code": "m0001",
"template_code": "m0001_ct0003",
"source_code": "LI-4"
}
},
{
"type": "content_ref",
"label": "ST-42",
"target": {
"module_code": "m0001",
"template_code": "m0001_ct0003",
"source_code": "ST-42"
}
},
{
"type": "content_ref",
"label": "SP-3",
"target": {
"module_code": "m0001",
"template_code": "m0001_ct0003",
"source_code": "SP-3"
}
},
{
"type": "content_ref",
"label": "HT-7",
"target": {
"module_code": "m0001",
"template_code": "m0001_ct0003",
"source_code": "HT-7"
}
},
{
"type": "content_ref",
"label": "SI-4",
"target": {
"module_code": "m0001",
"template_code": "m0001_ct0003",
"source_code": "SI-4"
}
}
"alt_name": [
"Original Qi points"
],
"source_point": [
"description": [
"Yuan Source points = Original Qi points",
"They are located near the wrists and ankles where the body's, primordial Qi (Yuan Qi) pools and surfaces.",
"Each of the 12 meridians has one Yuan Source point used to diagnose, tonify, or regulate the functional activities of the internal organs.",
"They are crucial for treating chronic conditions,",
"Yin Yuan Source Points : Tonify",
"Yang",
"reducing excess in Yang organs."
],
"points": [
{
"meridian": {
"type": "content_ref",
"label": "Lung (LU)",
"target": {
"module_code": "m0001",
"template_code": "m0001_ct0005",
"source_code": "lung"
}
},
"meridian": "Lung",
"point": {
"type": "content_ref",
"label": "LU 9 (Taiyuan)",
"label": "LU 9",
"target": {
"module_code": "m0001",
"template_code": "m0001_ct0003",
"source_code": "LU-9"
}
}
},
"chinese_name": "Taiyuan",
"element": "Earth Point",
"actions": [
"Tonifies Lung Qi and Yin",
"transforms phlegm",
"promotes descending of Lung Qi",
"regulates and harmonizes the blood vessels"
],
"indications": [
"Chronic cough or asthma due to Lung Qi/Yin deficiency",
"weak voice",
"shortness of breath",
"spontaneous sweating",
"pulseless syndrome (Wumai)",
"vascular insufficiency",
"palpitations",
"radial wrist pain"
],
"caution": "",
"location": "LU 9 (Taiyuan) Location"
},
{
"meridian": {
"type": "content_ref",
"label": "Large Intestine (LI)",
"target": {
"module_code": "m0001",
"template_code": "m0001_ct0005",
"source_code": "large_intestine"
}
},
"meridian": "Large Intestine",
"point": {
"type": "content_ref",
"label": "LI 4 (Hegu)",
"label": "LI 4",
"target": {
"module_code": "m0001",
"template_code": "m0001_ct0003",
"source_code": "LI-4"
}
}
},
"chinese_name": "Hegu",
"element": "",
"actions": [
"Expels Wind and releases the exterior",
"regulates Wei Qi and sweating",
"stops pain",
"activates the channel",
"induces labor"
],
"indications": [
"Exterior Wind-Cold or Wind-Heat syndromes",
"frontal headaches",
"toothache (especially lower jaw)",
"facial paralysis (Bell's palsy)",
"trigeminal neuralgia",
"rhinitis",
"epistaxis",
"anhidrosis or excessive sweating (paired with KD 7)",
"dysmenorrhea"
],
"caution": "contraindicated in pregnancy",
"location": "LI 4 (Hegu) Location"
},
{
"meridian": {
"type": "content_ref",
"label": "Stomach (ST)",
"target": {
"module_code": "m0001",
"template_code": "m0001_ct0005",
"source_code": "stomach"
}
},
"meridian": "Stomach",
"point": {
"type": "content_ref",
"label": "ST 42 (Chongyang)",
"label": "ST 42",
"target": {
"module_code": "m0001",
"template_code": "m0001_ct0003",
"source_code": "ST-42"
}
}
},
"chinese_name": "Chongyang",
"element": "",
"actions": [
"Clears Stomach Heat",
"calms the Spirit (Shen) in Yangming excess",
"Harmonizes the Stomach",
"Activates the lower limb channel"
],
"indications": [
"Epigastric pain",
"abdominal distension",
"anorexia",
"upper gum toothache",
"facial swelling",
"deviation of the mouth",
"Deviated eyes",
"manic behavior (Kuang) from Stomach Fire",
"dorsal foot pain",
"foot drop"
],
"caution": "",
"location": "ST 42 (Chongyang) Location:"
},
{
"meridian": {
"type": "content_ref",
"label": "Spleen (SP)",
"target": {
"module_code": "m0001",
"template_code": "m0001_ct0005",
"source_code": "spleen"
}
},
"meridian": "Spleen",
"point": {
"type": "content_ref",
"label": "SP 3 (Taibai)",
"label": "SP 3",
"target": {
"module_code": "m0001",
"template_code": "m0001_ct0003",
"source_code": "SP-3"
}
}
},
"chinese_name": "Taibai",
"element": "Earth Point",
"actions": [
"Strongly tonifies Spleen Qi and Yang",
"resolves Dampness and Damp-Heat",
"harmonizes the Spleen and Stomach",
"regulates the intestines"
],
"indications": [
"Abdominal distension",
"borborygmi",
"chronic diarrhea",
"undigested food in stools",
"dysentery",
"constipation",
"sluggish digestion",
"heaviness of the body and limbs from Dampness",
"lethargy",
"localized hallux/metatarsophalangeal joint pain (bunion/gout)"
],
"caution": "",
"location": "SP 3 (Taibai) Location:"
},
{
"meridian": {
"type": "content_ref",
"label": "Heart (HT)",
"target": {
"module_code": "m0001",
"template_code": "m0001_ct0005",
"source_code": "heart"
}
},
"meridian": "Heart",
"point": {
"type": "content_ref",
"label": "HT 7 (Shenmen)",
"label": "HT 7",
"target": {
"module_code": "m0001",
"template_code": "m0001_ct0003",
"source_code": "HT-7"
}
}
},
"chinese_name": "Shenmen",
"element": "Earth Point",
"actions": [
"Tonifies and nourishes Heart Blood and Yin",
"clears Heart Fire",
"powerfully calms the Shen"
],
"indications": [
"Insomnia",
"vivid dream-disturbed sleep",
"poor memory",
"anxiety",
"palpitations",
"fright",
"manic-depressive disorders",
"cardiac pain",
"angina pectoris",
"ulnar wrist pain"
],
"caution": "",
"location": "HT 7 (Shenmen) Location:"
},
{
"meridian": {
"type": "content_ref",
"label": "Small Intestine (SI)",
"target": {
"module_code": "m0001",
"template_code": "m0001_ct0005",
"source_code": "small_intestine"
}
},
"meridian": "Small Intestine",
"point": {
"type": "content_ref",
"label": "SI 4 (Wangu)",
"label": "SI 4",
"target": {
"module_code": "m0001",
"template_code": "m0001_ct0003",
"source_code": "SI-4"
}
}
},
{
"meridian": "Urinary Bladder (UB)",
"point": "UB 64 (Jinggu)"
},
{
"meridian": "Kidney (KD)",
"point": "KD 3 (Taixi)"
},
{
"meridian": {
"type": "content_ref",
"label": "Pericardium (PC)",
"target": {
"module_code": "m0001",
"template_code": "m0001_ct0005",
"source_code": "pericardium"
}
},
"chinese_name": "Wangu",
"element": "",
"actions": [
"Clears Damp-Heat from the Small Intestine and Gallbladder",
"clears Taiyang channel heat",
"relaxes sinews along the ulnar aspect"
],
"indications": [
"Jaundice",
"febrile diseases without sweating",
"occipital headache",
"neck rigidity",
"tinnitus",
"writer's cramp",
"pain in little finger"
],
"caution": "",
"location": "SI 4 (Wangu)Location:"
},
{
"meridian": "Urinary Bladder",
"point": {
"type": "content_ref",
"label": "PC 7 (Daling)",
"label": "UB 64",
"target": {
"module_code": "m0001",
"template_code": "m0001_ct0003",
"source_code": "BL-64"
}
},
"chinese_name": "Jinggu",
"element": "",
"actions": [
"Expels exterior Wind",
"clears heat and calms the Shen",
"removes obstructions from the Taiyang channel"
],
"indications": [
"Occipital stiffness and headache",
"lower back and hip pain",
"epilepsy",
"palpitations",
"mania",
"meningitis-like neck rigidity",
"pterygium",
"pain along the lateral border of the foot"
],
"caution": "",
"location": "UB 64 (Jinggu) Location:"
},
{
"meridian": "Kidney",
"point": {
"type": "content_ref",
"label": "KI 3",
"target": {
"module_code": "m0001",
"template_code": "m0001_ct0003",
"source_code": "KI-3"
}
},
"chinese_name": "Taixi",
"element": "Earth Point",
"actions": [
"Nourishes Kidney Yin",
"tonifies Kidney Yang and Yuan Qi",
"anchors the Qi to relieve wheezing",
"strengthens the lumbar spine and knees",
"benefits the uterus"
],
"indications": [
"Tinnitus",
"deafness",
"vertigo",
"chronic sore throat",
"toothache",
"chronic asthma",
"nocturnal emissions",
"impotence",
"irregular menstruation",
"insomnia",
"frequent urination",
"chronic lumbar soreness"
],
"caution": "",
"location": "KI 3 (Taixi) Location:"
},
{
"meridian": "Pericardium",
"point": {
"type": "content_ref",
"label": "PC 7",
"target": {
"module_code": "m0001",
"template_code": "m0001_ct0003",
"source_code": "PC-7"
}
}
},
"chinese_name": "Daling",
"element": "Earth Point",
"actions": [
"Clears Heat from the Pericardium and Heart (Ying and Xue levels)",
"calms the Shen",
"unbinds the chest",
"cools Blood"
],
"indications": [
"palpitations",
"chest oppression",
"mania",
"hysteria",
"insomnia from excess Heat",
"foul breath",
"epigastric pain",
"vomiting",
"carpal tunnel syndrome"
],
"caution": "",
"location": "PC 7 (Daling) Location:"
},
{
"meridian": "Triple Heater (TH/SJ)",
"point": "TH 4 (Yangchi)"
},
{
"meridian": "Gallbladder (GB)",
"meridian": "Triple Heater",
"point": {
"type": "content_ref",
"label": "GB 40 (Qiuxu)",
"label": "TE 4",
"target": {
"module_code": "m0001",
"template_code": "m0001_ct0003",
"source_code": "TE-4"
}
},
"chinese_name": "Yangchi",
"element": "",
"actions": [
"Regulates the San Jiao and water passages",
"relaxes the sinews",
"clears Shaoyang heat",
"supports the transformation of Yuan Qi alongside the Chong and Ren vessels"
],
"indications": [
"Diabetes mellitus",
"malaria-like alternating chills and fever",
"deafness",
"tinnitus",
"throat swelling",
"Dorsal wrist pain"
],
"caution": "",
"location": "TE 4 (Yangchi) Location:"
},
{
"meridian": "Gallbladder",
"point": {
"type": "content_ref",
"label": "GB 40",
"target": {
"module_code": "m0001",
"template_code": "m0001_ct0003",
"source_code": "GB-40"
}
}
},
"chinese_name": "Qiuxu",
"element": "",
"actions": [
"Spreads Liver Qi",
"clears Gallbladder Damp-Heat",
"resolves Shaoyang pathogens",
"strengthens Zhi (decision-making capacity)",
"benefits the joints"
],
"indications": [
"Hypochondriac pain and distension",
"sighing",
"bitter taste in the mouth",
"cholecystitis",
"herpes zoster along the flank",
"temporal/migraine headache",
"indecisiveness or timidity",
"sciatica",
"lateral ankle sprains"
],
"caution": "",
"location": "GB 40 (Qiuxu)Location:"
},
{
"meridian": "Liver (LV)",
"point": "LV 3 (Taichong)"
"meridian": "Liver",
"point": {
"type": "content_ref",
"label": "LR 3",
"target": {
"module_code": "m0001",
"template_code": "m0001_ct0003",
"source_code": "LR-3"
}
},
"chinese_name": "Taichong",
"element": "Earth Point",
"actions": [
"Spreads stagnant Liver Qi",
"subdues rebellious Liver Yang",
"extinguishes Internal Wind",
"nourishes Liver Blood and Yin",
"regulates menstruation"
],
"indications": [
"Hypertension",
"vertex or temporal headache",
"dizziness",
"irritability",
"plum-pit Qi (Mei He Qi)",
"costal/hypochondriac distension",
"dysmenorrhea",
"amenorrhea",
"uterine bleeding",
"hernia (Shan Qi)",
"eye redness/swelling",
"facial spasm",
"epilepsy"
],
"caution": "",
"location": "Location:"
}
],
"key_clinical_feature": [
"Always located at or near the wrist or ankle joints, which is where the meridian Qi is dynamic."
],
"yin_vs_yang": "On Yin meridians, the Yuan Source point is the same as the Shu-Stream point. On Yang meridians, the Yuan Source point is a separate point, often the 4th or 5th point on the channel.",
"functions": [
"Used to treat disorders of their related organs.",
"Frequently paired with the Luo-Connecting point of the coupled meridian (e.g., LU9 with LI6) to treat interior-exterior pairings.",
"Yuan Source points (Original Qi points) are specialized acupuncture points located near the wrists and ankles where the body's primordial Qi (Yuan Qi) pools and surfaces.",
"Each of the 12 meridians has one Yuan Source point used to diagnose, tonify, or regulate the functional activities of the internal organs.",
"Crucial for treating chronic conditions, particularly in tonifying Yin organs or reducing excess in Yang organs."
],
"diagnostic_utility": [
"These points often become painful or show physical changes (hardness, depressions) when the associated organ has a significant energy imbalance."
],
"title": "Yuan Source points",
"link": {
"type": "content_ref",
"label": "Yuan Source",
@ -256,4 +428,4 @@
}
}
]
}
}

View File

@ -21,82 +21,34 @@
"default": ""
},
{
"name": "Title",
"code": "title",
"name": "Alternate Names",
"code": "alt_name",
"data_type": "text",
"default": ""
},
{
"name": "point_codes",
"code": "point_codes",
"data_type": "json",
"multivalue": true,
"default": [],
"definition_kind": "scalar",
"is_multivalue": true,
"metadata": {
"value_contract": {
"kind": "content_ref",
"contract_version": "1.0",
"reference_type": "content_ref",
"target_module_code": "m0001",
"target_template_code": "m0001_ct0003",
"cardinality": "many",
"authoring_identity": "source_code",
"persisted_identity": "source_key",
"runtime_identity": "content_id",
"resolution_pipeline": "source_code -> source_key -> content_id",
"rules": {
"explicit_reference_required_when_value_present": true,
"plain_text_allowed": false,
"source_code_authoring_only": true,
"source_key_persisted_only": true,
"content_id_runtime_only": true,
"do_not_infer_reference_from_label": true
}
}
}
"default": []
},
{
"name": "source_point",
"code": "source_point",
"name": "Description",
"code": "description",
"data_type": "text",
"multivalue": true,
"default": []
},
{
"name": "Points",
"code": "points",
"definition_kind": "object",
"multivalue": true,
"children": [
{
"name": "meridian",
"name": "Meridian",
"code": "meridian",
"data_type": "json",
"data_type": "text",
"definition_kind": "scalar",
"required": true,
"default": null,
"is_multivalue": false,
"metadata": {
"value_contract": {
"kind": "content_ref",
"contract_version": "1.0",
"reference_type": "content_ref",
"target_module_code": "m0001",
"target_template_code": "m0001_ct0005",
"cardinality": "one",
"authoring_identity": "source_code",
"persisted_identity": "source_key",
"runtime_identity": "content_id",
"resolution_pipeline": "source_code -> source_key -> content_id",
"rules": {
"explicit_reference_required_when_value_present": true,
"plain_text_allowed": true,
"source_code_authoring_only": true,
"source_key_persisted_only": true,
"content_id_runtime_only": true,
"do_not_infer_reference_from_label": true
},
"notes": "Normalize legacy meridian labels to canonical ct0005 source_code during data migration."
}
}
"default": ""
},
{
"name": "point",
"name": "Point",
"code": "point",
"data_type": "json",
"definition_kind": "scalar",
@ -123,39 +75,54 @@
"content_id_runtime_only": true,
"do_not_infer_reference_from_label": true
},
"notes": "Normalize legacy point labels to canonical ct0003 source_code during data migration."
"notes": "Normalize point labels to canonical ct0003 source_code during data migration."
}
}
},
{
"name": "Chinese Name",
"code": "chinese_name",
"data_type": "text",
"definition_kind": "scalar",
"default": ""
},
{
"name": "Element",
"code": "element",
"data_type": "text",
"definition_kind": "scalar",
"default": ""
},
{
"name": "Actions",
"code": "actions",
"data_type": "text",
"multivalue": true,
"default": []
},
{
"name": "Indications",
"code": "indications",
"data_type": "text",
"multivalue": true,
"default": []
},
{
"name": "Caution",
"code": "caution",
"data_type": "text",
"definition_kind": "scalar",
"default": ""
},
{
"name": "Location",
"code": "location",
"data_type": "text",
"definition_kind": "scalar",
"default": ""
}
]
},
{
"name": "key_clinical_feature",
"code": "key_clinical_feature",
"data_type": "text",
"multivalue": true,
"default": []
},
{
"name": "yin_vs_yang",
"code": "yin_vs_yang",
"data_type": "text",
"default": ""
},
{
"name": "functions",
"code": "functions",
"data_type": "text",
"multivalue": true,
"default": []
},
{
"name": "diagnostic_utility",
"code": "diagnostic_utility",
"data_type": "text",
"multivalue": true,
"default": []
},
{
"name": "Content Link",
"code": "link",
@ -295,58 +262,70 @@
"visibility": "hide"
},
{
"attribute_key": "m0001_ct0009.title",
"attribute_key": "m0001_ct0009.alt_name",
"empty_behavior": "hide",
"visibility": "show",
"display_order": 1
},
{
"attribute_key": "m0001_ct0009.description",
"empty_behavior": "hide",
"visibility": "show",
"display_order": 2
},
{
"attribute_key": "m0001_ct0009.points",
"empty_behavior": "hide",
"visibility": "show",
"display_order": 3
},
{
"attribute_key": "m0001_ct0009.points.meridian",
"empty_behavior": "hide",
"visibility": "show",
"display_order": 0
},
{
"attribute_key": "m0001_ct0009.point_codes",
"attribute_key": "m0001_ct0009.points.point",
"empty_behavior": "hide",
"visibility": "show",
"display_order": 0
"display_order": 1
},
{
"attribute_key": "m0001_ct0009.source_point",
"attribute_key": "m0001_ct0009.points.chinese_name",
"empty_behavior": "hide",
"visibility": "show",
"display_order": 0
"display_order": 2
},
{
"attribute_key": "m0001_ct0009.source_point.meridian",
"attribute_key": "m0001_ct0009.points.element",
"empty_behavior": "hide",
"visibility": "show",
"display_order": 0
"display_order": 3
},
{
"attribute_key": "m0001_ct0009.source_point.point",
"attribute_key": "m0001_ct0009.points.actions",
"empty_behavior": "hide",
"visibility": "show",
"display_order": 0
"display_order": 4
},
{
"attribute_key": "m0001_ct0009.key_clinical_feature",
"attribute_key": "m0001_ct0009.points.indications",
"empty_behavior": "hide",
"visibility": "show",
"display_order": 0
"display_order": 5
},
{
"attribute_key": "m0001_ct0009.yin_vs_yang",
"attribute_key": "m0001_ct0009.points.caution",
"empty_behavior": "hide",
"visibility": "show",
"display_order": 0
"display_order": 6
},
{
"attribute_key": "m0001_ct0009.functions",
"attribute_key": "m0001_ct0009.points.location",
"empty_behavior": "hide",
"visibility": "show",
"display_order": 0
},
{
"attribute_key": "m0001_ct0009.diagnostic_utility",
"empty_behavior": "hide",
"visibility": "show",
"display_order": 0
"display_order": 7
},
{
"attribute_key": "m0001_ct0009.link",