From 1eb0095e8a6aca3d06f4c43abfe33df75cd429f9 Mon Sep 17 00:00:00 2001 From: ShivaniKhaire Date: Thu, 5 Nov 2026 14:13:39 +0530 Subject: [PATCH] feat(gynecology): enable other category and add disease overviews --- .../collections/GynecologyRenderers.tsx | 65 +++++++++++++++++++ .../collections/ModuleCatalogRenderers.tsx | 4 +- 2 files changed, 66 insertions(+), 3 deletions(-) diff --git a/src/features/content/renderers/collections/GynecologyRenderers.tsx b/src/features/content/renderers/collections/GynecologyRenderers.tsx index 1dd2a4f..b9cda91 100644 --- a/src/features/content/renderers/collections/GynecologyRenderers.tsx +++ b/src/features/content/renderers/collections/GynecologyRenderers.tsx @@ -261,6 +261,71 @@ export const GYNECOLOGY_DISEASE_DATA: Record = { code: "urinary_difficulty_after_childbirth", overview: "Urinary Difficulty after Childbirth includes a range of urinary problems, from difficulty in urination and retention of urine, to their opposites, frequency of urination and incontinence of urine. They can be dealt with together because the cause is always a deficiency occurring after childbirth, and addressing the underlying deficiency cures the urinary problems. The mother\u2019s conditions included under this heading are urinary problems without fever or pain; thus, from a Western point of view, they are urinary problems without a urinary infection. The pathology of Urinary Difficulty after Childbirth, according to the traditional theory, is always one of deficiency and primarily of the Spleen or Kidneys. Deficient Spleen-Qi may cause sinking of the Qi of the Bladder and thus frequent urination or incontinence; or it may fail to transform and transport fluids so that urine is retained. Deficient Kidney-Qi fails to provide Qi to the Bladder for its function of Qi transformation, there is not enough Qi to hold the urine, and frequency and incontinence result. Alternatively, Kidney-Qi may be so deficient that there is no strength to push the urine out and retention of urine ensues. This type of Kidney-Qi deficiency always occurs against a background of Kidney-Yang deficiency.", }, + "abdominal_masses": { + title: "Abdominal Masses", + code: "abdominal_masses", + overview: "In Traditional Chinese Medicine, abdominal masses are categorized as Zheng Jia. Zheng refers to fixed, hard masses with tangible form, primarily associated with Blood stasis and localized in the Yin organs. Jia refers to movable, intangible masses without fixed shape, characterized by pain that comes and goes, primarily associated with Qi stagnation and localized in the Yang organs. As for pathology, abdominal masses are always characterized by either stagnation of Qi or stasis of Blood, the former being non-substantial and the latter substantial masses. In addition to stagnation, there may also be Phlegm. However, in all cases of abdominal masses there is always an underlying deficiency of Qi. Deficient Qi fails to transport and transform and, leading to stagnation of Qi and Blood, it allows masses to form. Masses from stagnation of Qi come and go, are movable on palpation and change location. If there is pain, the pain has no fixed location and is accompanied by a pronounced feeling of distension. Masses from stasis of Blood are fixed in location, they are not movable on palpation and feel quite hard. If there is pain, it is fixed and stabbing in character. Masses from Phlegm feel soft on palpation and have a fixed location. There is usually no pain.", + }, + "breast_lumps": { + title: "Breast Lumps", + code: "breast_lumps", + overview: "In Traditional Chinese Medicine, breast lumps are classified under the category of Ru Pi (Breast Mass/Nodule). The pathology primarily revolves around the Liver, Spleen, and Stomach meridians, alongside the Chong (Penetrating) and Ren (Conception) vessels. Anatomically in TCM, the breast tissue is governed by the Stomach meridian, while the nipple is governed by the Liver meridian. The core mechanism is the stagnation of Qi, which fails to move body fluids, leading to the coagulation of Phlegm. When Qi and Phlegm stagnate in the collateral channels of the breast over time, Blood stasis develops, forming palpable masses.", + }, + "endometriosis": { + title: "Endometriosis", + code: "endometriosis", + overview: "Endometriosis is a condition resulting from the presence of actively growing and functioning endometrial tissue in locations outside the uterus. The areas where endometriosis may occur are widespread and usually multiple. They include ovaries, uterine wall, fallopian tubes, abdominal scars, umbilicus, sigmoid colon, rectum, ureters, bladder, and vagina.", + }, + "excessive_vaginal_discharge": { + title: "Excessive Vaginal Discharge", + code: "excessive_vaginal_discharge", + overview: "In Traditional Chinese Medicine, excessive vaginal discharge is classified as Dai Xia Bing (Disease of the Girdle Vessel). The pathology is centrally rooted in the dysfunction of the Dai (Girdle) and Ren (Conception) vessels. The Dai Mai binds all longitudinal meridians; when its restraining capacity is impaired, coupled with accumulated Dampness in the lower Jiao, pathological fluid leaks downward. The core pathogenic factor is always Dampness, whether generated internally through Zang-Fu organ dysfunction or invading from exogenous sources.", + }, + "genital_eczema": { + title: "Genital Eczema", + code: "genital_eczema", + overview: "Genital eczema in women manifests with a red rash, vesicles or papules around the external genitalia. The vesicles or papules exude a fluid. This problem is due to the downward infusion of Damp-Heat in the genital area or to deficiency and dryness of the Blood.", + }, + "infertility": { + title: "Infertility", + code: "infertility", + overview: "Infertility is defined as the inability to produce offspring in a woman who has been trying for 2 years with a normal sexual life and, of course, the reproductive function of whose partner is normal. Infertility is frequently treated in China according to the four phases of the menstrual cycle, i.e. the period, the postmenstrual, the inter-menstrual and the pre-menstrual phases. The treatment principles in each phase are as follows: Period phase: regulate menstruation (i.e. stop bleeding if period is heavy or invigorate Blood if it is scanty). Post-menstrual phase: nourish Blood and tonify the Kidneys. Inter-menstrual phase: tonify the Kidneys and consolidate the Directing and Penetrating Vessels. If necessary, resolve Dampness or Phlegm. Pre-menstrual phase: tonify Yang and move Liver-Qi. If necessary, resolve Phlegm, invigorate Blood, expel Cold.", + }, + "menopausal_syndrome": { + title: "Menopausal Syndrome", + code: "menopausal_syndrome", + overview: "Menopausal Syndrome indicates the complete or permanent cessation of menstruation: an interval of 6-12 months is usually necessary to establish the diagnosis. The term \u2018climacteric\u2019 is used by gynecologists to indicate the phase in a woman\u2019s life during which she passes from the reproductive to the non-reproductive stage. This phase may last many years: 10, 15, or even 20. The symptoms of menopause may occur before, during, or after the permanent cessation of menstruation. Strictly speaking, since many symptoms occur during the climacteric years and not only when periods stop, it would be more appropriate to call them Climacteric Syndrome rather than Menopausal Syndrome. Menopause usually occurs between the ages of 48 and 55 and the median age in industrialized countries is about 51.", + }, + "myoma": { + title: "Myoma", + code: "myoma", + overview: "Myomas (or \u2018fibroids\u2019) are very common benign uterine tumors in women that grow within the muscle tissue of the uterus. Between 20% and 50% of women of childbearing age have uterine myomas. While many women do not experience any problems, symptoms can be severe enough to require treatment. Myomas range in size from very small to larger than a melon. A very large uterine myoma can cause the uterus to expand to the size of a six- or seven-month pregnancy. There can either be one dominant myoma or a cluster of many small myomas. Sub-serous myomas develop in the outer wall of the uterus and continue to grow outward. Intramural (or interstitial) myomas develop within the uterine wall and expand, making the uterus feel larger than normal. Sub-mucous myomas develop just under the lining of the uterine cavity, often causing heavy menstrual bleeding, infertility, and miscarriage.", + }, + "pcos": { + title: "PCOS", + code: "pcos", + overview: "Polycystic ovary syndrome (PCOS) is a common hormonal disorder that affects women during their reproductive years and beyond. PCOS occurs when inappropriate hormonal signaling leads to higher-than-normal androgen levels and other hormonal imbalances. As a result, women with PCOS may experience irregular or infrequent menstrual periods, pain - including pain with heavy menstrual bleeding, abnormal ovulation, changes in hair, oilier skin, acne and/or cysts in the ovaries. PCOS is a leading cause of irregular menstrual periods and one of the most common causes of infertility. Further, PCOS is a chronic metabolic condition associated with heightened long-term risk for insulin resistance, type 2 diabetes mellitus and obesity.", + }, + "prolapse_of_the_uterus": { + title: "Prolapse of the Uterus", + code: "prolapse_of_the_uterus", + overview: "In Traditional Chinese Medicine, uterine prolapse is classified under the category of Yin Ting (Prolapse of the Uterus / Vaginal Prolapse). The pathology is fundamentally viewed as a failure of the body's lifting and holding mechanisms, governed primarily by the Spleen and the Kidneys. When the supportive structural integrity of the Chong (Penetrating), Ren (Conception), and Dai (Girdle) vessels weakens, the uterus loses its suspension and descends.", + }, + "prolapse_of_uterus": { + title: "Prolapse of the Uterus", + code: "prolapse_of_uterus", + overview: "In Traditional Chinese Medicine, uterine prolapse is classified under the category of Yin Ting (Prolapse of the Uterus / Vaginal Prolapse). The pathology is fundamentally viewed as a failure of the body's lifting and holding mechanisms, governed primarily by the Spleen and the Kidneys. When the supportive structural integrity of the Chong (Penetrating), Ren (Conception), and Dai (Girdle) vessels weakens, the uterus loses its suspension and descends.", + }, + "vaginal_itching": { + title: "Vaginal Itching", + code: "vaginal_itching", + overview: "In Traditional Chinese Medicine, vaginal and vulvar itching is classified as Yin Yang (Itching of the Genitals). The pathology is intimately connected to the Liver meridian, which anatomically curves around the external genitalia. Systemic imbalances affecting the Liver network readily manifest as localized symptoms in the vulvovaginal region. The core mechanisms involve either the downward pouring of pathogenic excess (Damp-Heat) or a lack of nourishment causing internal Wind (Yin and Blood deficiency).", + }, + "vulvar_sores": { + title: "Vulvar Sores", + code: "vulvar_sores", + overview: "Vulvar Sores, called Yin Chuang in Chinese medicine, may manifest with vulvar swelling, pain, itching, erosion, lumps, discharge of pus and excessive vaginal discharge. These local manifestations may be accompanied by systemic symptoms such as shivers, fever, lassitude, abdominal distension, dark urine, thirst, constipation, and a Red tongue with a thick, sticky yellow coating. This Chinese disease category may correspond to various diseases of the genitalia such as vulvitis, vaginitis, boils or ulcers of the external genitalia, inflammation of the Bartholin\u2019s glands, or genital herpes.", + }, }; export function findGynecologyDiseaseInfo( diff --git a/src/features/content/renderers/collections/ModuleCatalogRenderers.tsx b/src/features/content/renderers/collections/ModuleCatalogRenderers.tsx index 8d41e07..85ff904 100644 --- a/src/features/content/renderers/collections/ModuleCatalogRenderers.tsx +++ b/src/features/content/renderers/collections/ModuleCatalogRenderers.tsx @@ -385,9 +385,7 @@ export function ModuleCatalogCardRenderer({ const hasNavigableLink = Boolean( rawLink && typeof rawLink === "object" && rawLink.type && rawLink.target, ); - const isSpecialDisabled = - ["other"].includes(itemCode) || - ["other"].includes(rawTitleLower); + const isSpecialDisabled = false; const isClickable = !isSpecialDisabled && (hasNavigableLink || (count !== null && count > 0) || count === null);