From ee3f48f5b6bf7e9b28ec4f9f674bfab23d5499bd Mon Sep 17 00:00:00 2001 From: ShivaniKhaire Date: Tue, 20 Oct 2026 12:14:31 +0530 Subject: [PATCH 1/2] feat(m0020): update extraordinary vessels names to pinyin with english subtitle --- m0020-extra-ordinary-vessels/data/eov.json | 24 ++++++++++++------- .../templates/m0020_ct0001.json | 21 ++++++++++++++++ 2 files changed, 37 insertions(+), 8 deletions(-) diff --git a/m0020-extra-ordinary-vessels/data/eov.json b/m0020-extra-ordinary-vessels/data/eov.json index 8bb88a6..b535532 100644 --- a/m0020-extra-ordinary-vessels/data/eov.json +++ b/m0020-extra-ordinary-vessels/data/eov.json @@ -1,56 +1,64 @@ { "contents": [ { - "name": "Conception Vessel (Ren Mai)", + "name": "Ren Mai", + "sub_title": "Conception Vessel", "code": "conception_vessel_ren_mai", "clinical_manifestation": "Nocturnal emissions, incontinence of urine, retention of urine, vaginal discharge, irregular periods, infertility, pain in the genital region, epigastric and abdominal pain, abdominal masses, menopausal symptoms (night sweating, hot flushes), problems during pregnancy, amenorrhoea, oedema.", "connecting_channel": "Pain and itching of the abdomen.", "treatment": "LU-7 and KI-6." }, { - "name": "Governing Vessel (Du Mai)", + "name": "Du Mai", + "sub_title": "Governing Vessel", "code": "governing_vessel_du_mai", "clinical_manifestation": "Stiffness and pain of the spine, backache, weak back, arching of the back, headache, tremors, convulsions, epilepsy, prolapse of the anus, blood in the stools, incontinence of urine, painful urination, nocturnal emissions, impotence, irregular periods, infertility, dry throat, poor memory, dizziness, tinnitus, depression, chills and fever, manic behaviour.", "connecting_channel": "Stiffness of the back, feeling of heaviness of the head, tremor of the head.", "treatment": "SI-3 and BL-62." }, { - "name": "Penetrating Vessel (Chong Mai)", + "name": "Chong Mai", + "sub_title": "Penetrating Vessel", "code": "penetrating_vessel_chong_mai", "clinical_manifestation": "Irregular periods, infertility, painful periods, vomiting and nausea, feeling of anxiety, breathlessness, abdominal pain and distension, feeling of energy rising from the abdomen to the chest, feeling of tightness and pain of the epigastrium and chest, palpitations, a feeling of obstruction in the throat, a feeling of heat in the face, cold and numb feet with purple colour, umbilical pain, premenstrual tension, breast distension, breast nodules, menopausal symptoms (hot flushes, anxiety, palpitations), morning sickness, spontaneous bruising, nosebleed, fungal infections of the big toe.", "connecting_channel": "", "treatment": "SP-4 and PC-6." }, { - "name": "Girdle Vessel (Dai Mai)", + "name": "Dai Mai", + "sub_title": "Girdle Vessel", "code": "girdle_vessel_dai_mai", "clinical_manifestation": "Feeling of cold and pain of the middle and lower back, mid-back pain radiating to the abdomen, abdominal pain radiating to the mid-back, flaccidity and weakness of the lower back, abdominal distension, chronic vaginal discharge, prolapse of the uterus, weakness and atrophy of the lower limbs, miscarriage, cold feet, amenorrhoea, irregular periods, feeling of cold in the genital area, infertility, nocturnal emissions, umbilical pain, painful periods (from Dampness), a feeling of fullness of the abdomen, back feeling as if sitting in water, a feeling of heaviness of the body, a feeling of heaviness of the abdomen, hernia.", "connecting_channel": "", "treatment": "GB-41 and SJ-5." }, { - "name": "Yin Heel Vessel (Yin Qiao Mai)", + "name": "Yin Qiao Mai", + "sub_title": "Yin Heel Vessel", "code": "yin_heel_vessel_yin_qiao_mai", "clinical_manifestation": "Sleepiness, epilepsy (seizures at night), pain in the back and hip radiating to the groin and genitals, hypogastric pain, tremors of the legs, foot turning inwards, abdominal pain, tightness of the muscles of the inner aspect of the leg and flaccidity of those of the outer aspect, abdominal masses, myomas, difficult delivery, retention of placenta.", "connecting_channel": "", "treatment": "KI-6 and LU-7." }, { - "name": "Yang Heel Vessel (Yang Qiao Mai)", + "name": "Yang Qiao Mai", + "sub_title": "Yang Heel Vessel", "code": "yang_heel_vessel_yang_qiao_mai", "clinical_manifestation": "Insomnia, epilepsy (seizures during the day), pain and redness of the inner corner of the eye, backache, sciatica with pain along the lateral aspect of the leg, tremor of the legs, foot turning outwards, tightness of the muscles of the outer aspect of the leg and flaccidity of those of the inner aspect, Wind-stroke, hemiplegia, aphasia, facial paralysis, severe dizziness, chills and fever, headache, stiff neck, manic behaviour, manic depression, fright, ‘seeing ghosts’, inability to raise the leg when lying down.", "connecting_channel": "", "treatment": "BL-62 and SI-3." }, { - "name": "Yin Linking Vessel (Yin Wei Mai)", + "name": "Yin Wei Mai", + "sub_title": "Yin Linking Vessel", "code": "yin_linking_vessel_yin_wei_mai", "clinical_manifestation": "Pain in the heart region, fullness and pain of the chest and hypochondrium, pain in the kidney region, dryness of the throat, anxiety, insomnia, pensiveness, obsessive thoughts, lack of will-power, loss of self-control, depression, sadness, a feeling of knot in the chest which feels tight and full on palpation, melancholy, crying, forgetfulness, mental cloudiness, palpitations, shock.", "connecting_channel": "", "treatment": "PC-6 and SP-4." }, { - "name": "Yang Linking Vessel (Yang Wei Mai)", + "name": "Yang Wei Mai", + "sub_title": "Yang Linking Vessel", "code": "yang_linking_vessel_yang_wei_mai", "clinical_manifestation": "Alternations of chills and fevers, weakness of the limbs, dizziness on eye movement, earache, stiff neck, hypochondrial pain, pain in the lateral side of the leg, tinnitus, deafness, sweating.", "connecting_channel": "", diff --git a/m0020-extra-ordinary-vessels/templates/m0020_ct0001.json b/m0020-extra-ordinary-vessels/templates/m0020_ct0001.json index fefeda5..2a59f43 100644 --- a/m0020-extra-ordinary-vessels/templates/m0020_ct0001.json +++ b/m0020-extra-ordinary-vessels/templates/m0020_ct0001.json @@ -20,6 +20,12 @@ "data_type": "text", "default": "" }, + { + "name": "Sub Title", + "code": "sub_title", + "data_type": "text", + "default": "" + }, { "name": "Code", "code": "code", @@ -254,6 +260,12 @@ "visibility": "show", "display_order": 20 }, + { + "attribute_key": "m0020_ct0001.sub_title", + "empty_behavior": "hide", + "visibility": "show", + "display_order": 21 + }, { "attribute_key": "m0020_ct0001.code", "empty_behavior": "hide", @@ -388,6 +400,15 @@ ], "renderer_hint": "text" }, + { + "attribute_key": "m0020_ct0001.sub_title", + "label": "Sub Title", + "operators": [ + "contains", + "starts_with" + ], + "renderer_hint": "text" + }, { "attribute_key": "m0020_ct0001.clinical_manifestations", "label": "Clinical Manifestations", From 87fd5a94f92732c768a47ac51a3121ef1934c687 Mon Sep 17 00:00:00 2001 From: ShivaniKhaire Date: Tue, 20 Oct 2026 12:23:21 +0530 Subject: [PATCH 2/2] feat(m0020): use extra_ordinary_vessel_detail renderer for leaf node --- m0020-extra-ordinary-vessels/templates/m0020_ct0001.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m0020-extra-ordinary-vessels/templates/m0020_ct0001.json b/m0020-extra-ordinary-vessels/templates/m0020_ct0001.json index 2a59f43..d7b412b 100644 --- a/m0020-extra-ordinary-vessels/templates/m0020_ct0001.json +++ b/m0020-extra-ordinary-vessels/templates/m0020_ct0001.json @@ -242,7 +242,7 @@ "renderers": { "collection": "module_catalog_collection", "collection_item": "module_catalog_card", - "detail": "module_catalog_detail" + "detail": "extra_ordinary_vessel_detail" }, "link": { "renderer": "content_link"