feat(m0042): structure Menstrual Irregularities into disease catalog with pattern counts and disease templates

This commit is contained in:
ShivaniKhaire 2026-10-30 16:46:01 +05:30
parent dc52078d13
commit 40958239df
25 changed files with 4197 additions and 1170 deletions

View File

@ -2,63 +2,59 @@
"contents": [
{
"name": "Liver- and Kidney-Yin deficiency with Empty-Heat",
"code": "bleeding_between_periods_liver_and_kidney_yin_deficiency_with_empty_heat",
"sort_order": 0,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Liver- and Kidney-Yin deficiency with Empty-Heat",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0049"
"template_code": "m0042_ct0005",
"source_code": "bleeding_between_periods_liver_and_kidney_yin_deficiency_with_empty_heat"
}
},
"code": "liver_and_kidney_yin_deficiency_with_empty_heat"
}
},
{
"name": "Damp-Heat",
"code": "bleeding_between_periods_damp_heat",
"sort_order": 1,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Damp-Heat",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0049"
"template_code": "m0042_ct0005",
"source_code": "bleeding_between_periods_damp_heat"
}
},
"code": "damp_heat"
}
},
{
"name": "Blood stasis",
"code": "bleeding_between_periods_blood_stasis",
"sort_order": 2,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Blood stasis",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0049"
"template_code": "m0042_ct0005",
"source_code": "bleeding_between_periods_blood_stasis"
}
},
"code": "blood_stasis"
}
},
{
"name": "Spleen- and Kidney-Yang deficiency",
"code": "bleeding_between_periods_spleen_and_kidney_yang_deficiency",
"sort_order": 3,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Spleen- and Kidney-Yang deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0049"
"template_code": "m0042_ct0005",
"source_code": "bleeding_between_periods_spleen_and_kidney_yang_deficiency"
}
},
"code": "spleen_and_kidney_yang_deficiency"
}
}
]
}
}

View File

@ -2,81 +2,87 @@
"contents": [
{
"name": "Spleen-Qi deficiency",
"code": "early_periods_spleen_qi_deficiency",
"sort_order": 0,
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Spleen-Qi deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0042"
"template_code": "m0042_ct0005",
"source_code": "early_periods_spleen_qi_deficiency"
}
},
"code": "spleen_qi_deficiency"
}
},
{
"name": "Kidney-Qi not firm",
"code": "early_periods_kidney_qi_not_firm",
"sort_order": 1,
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Kidney-Qi not firm",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0042"
"template_code": "m0042_ct0005",
"source_code": "early_periods_kidney_qi_not_firm"
}
},
"code": "kidney_qi_not_firm"
}
},
{
"name": "Full-Heat: Liver Blood-Heat",
"code": "early_periods_full_heat_liver_blood_heat",
"sort_order": 2,
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Full-Heat: Liver Blood-Heat",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0042"
"template_code": "m0042_ct0005",
"source_code": "early_periods_full_heat_liver_blood_heat"
}
},
"code": "full_heat_liver_blood_heat"
}
},
{
"name": "Full-Heat: Stagnant Liver-Qi turning into Fire with Blood-Heat",
"code": "early_periods_full_heat_stagnant_liver_qi_turning_into_fire_with_blood_heat",
"sort_order": 3,
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Full-Heat: Stagnant Liver-Qi turning into Fire with Blood-Heat",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0042"
"template_code": "m0042_ct0005",
"source_code": "early_periods_full_heat_stagnant_liver_qi_turning_into_fire_with_blood_heat"
}
},
"code": "full_heat_stagnant_liver_qi_turning_into_fire_with_blood_heat"
}
},
{
"name": "Full-Heat: Heart-Fire",
"code": "early_periods_full_heat_heart_fire",
"sort_order": 4,
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Full-Heat: Heart-Fire",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0042"
"template_code": "m0042_ct0005",
"source_code": "early_periods_full_heat_heart_fire"
}
},
"code": "full_heat_heart_fire"
}
},
{
"name": "Liver- and Kidney-Yin deficiency with Empty-Heat",
"code": "early_periods_liver_and_kidney_yin_deficiency_with_empty_heat",
"sort_order": 5,
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Liver- and Kidney-Yin deficiency with Empty-Heat",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0042"
"template_code": "m0042_ct0005",
"source_code": "early_periods_liver_and_kidney_yin_deficiency_with_empty_heat"
}
},
"code": "liver_and_kidney_yin_deficiency_with_empty_heat"
}
}
]
}
}

View File

@ -2,123 +2,115 @@
"contents": [
{
"name": "Blood-Heat",
"code": "flooding_and_trickling_blood_heat",
"sort_order": 0,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Blood-Heat",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0051"
"template_code": "m0042_ct0005",
"source_code": "flooding_and_trickling_metrorrhagia_blood_heat"
}
},
"code": "blood_heat"
}
},
{
"name": "Liver-Qi stagnation turning into Heat",
"code": "flooding_and_trickling_liver_qi_stagnation_turning_into_heat",
"sort_order": 1,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Liver-Qi stagnation turning into Heat",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0051"
"template_code": "m0042_ct0005",
"source_code": "flooding_and_trickling_metrorrhagia_liver_qi_stagnation_turning_into_heat"
}
},
"code": "liver_qi_stagnation_turning_into_heat"
}
},
{
"name": "Blood Empty-Heat",
"code": "flooding_and_trickling_blood_empty_heat",
"sort_order": 2,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Blood Empty-Heat",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0051"
"template_code": "m0042_ct0005",
"source_code": "flooding_and_trickling_metrorrhagia_blood_empty_heat"
}
},
"code": "blood_empty_heat"
}
},
{
"name": "Stasis of Blood",
"code": "flooding_and_trickling_stasis_of_blood",
"sort_order": 3,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Stasis of Blood",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0051"
"template_code": "m0042_ct0005",
"source_code": "flooding_and_trickling_metrorrhagia_stasis_of_blood"
}
},
"code": "stasis_of_blood"
}
},
{
"name": "Damp-Heat in the Uterus",
"code": "flooding_and_trickling_damp_heat_in_the_uterus",
"sort_order": 4,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Damp-Heat in the Uterus",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0051"
"template_code": "m0042_ct0005",
"source_code": "flooding_and_trickling_metrorrhagia_damp_heat_in_the_uterus"
}
},
"code": "damp_heat_in_the_uterus"
}
},
{
"name": "Spleen not holding Blood",
"code": "flooding_and_trickling_spleen_not_holding_blood",
"sort_order": 5,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Spleen not holding Blood",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0051"
"template_code": "m0042_ct0005",
"source_code": "flooding_and_trickling_metrorrhagia_spleen_not_holding_blood"
}
},
"code": "spleen_not_holding_blood"
}
},
{
"name": "Kidney-Yang deficiency",
"code": "flooding_and_trickling_kidney_yang_deficiency",
"sort_order": 6,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Kidney-Yang deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0051"
"template_code": "m0042_ct0005",
"source_code": "flooding_and_trickling_metrorrhagia_kidney_yang_deficiency"
}
},
"code": "kidney_yang_deficiency"
}
},
{
"name": "Kidney-Yin deficiency",
"code": "flooding_and_trickling_kidney_yin_deficiency",
"sort_order": 7,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Kidney-Yin deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0051"
"template_code": "m0042_ct0005",
"source_code": "flooding_and_trickling_metrorrhagia_kidney_yin_deficiency"
}
},
"code": "kidney_yin_deficiency"
}
}
]
}
}

View File

@ -2,48 +2,45 @@
"contents": [
{
"name": "Qi deficiency",
"code": "heavy_periods_qi_deficiency",
"sort_order": 0,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Qi deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0045"
"template_code": "m0042_ct0005",
"source_code": "heavy_periods_qi_deficiency"
}
},
"code": "qi_deficiency"
}
},
{
"name": "Blood-Heat",
"code": "heavy_periods_blood_heat",
"sort_order": 1,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Blood-Heat",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0045"
"template_code": "m0042_ct0005",
"source_code": "heavy_periods_blood_heat"
}
},
"code": "blood_heat"
}
},
{
"name": "Blood stasis",
"code": "heavy_periods_blood_stasis",
"sort_order": 2,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Blood stasis",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0045"
"template_code": "m0042_ct0005",
"source_code": "heavy_periods_blood_stasis"
}
},
"code": "blood_stasis"
}
}
]
}
}

View File

@ -2,48 +2,45 @@
"contents": [
{
"name": "Liver-Qi stagnation",
"code": "irregular_periods_liver_qi_stagnation",
"sort_order": 0,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Liver-Qi stagnation",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0044"
"template_code": "m0042_ct0005",
"source_code": "irregular_periods_liver_qi_stagnation"
}
},
"code": "liver_qi_stagnation"
}
},
{
"name": "Kidney-Yang deficiency",
"code": "irregular_periods_kidney_yang_deficiency",
"sort_order": 1,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Kidney-Yang deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0044"
"template_code": "m0042_ct0005",
"source_code": "irregular_periods_kidney_yang_deficiency"
}
},
"code": "kidney_yang_deficiency"
}
},
{
"name": "Kidney-Yin deficiency",
"code": "irregular_periods_kidney_yin_deficiency",
"sort_order": 2,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Kidney-Yin deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0044"
"template_code": "m0042_ct0005",
"source_code": "irregular_periods_kidney_yin_deficiency"
}
},
"code": "kidney_yin_deficiency"
}
}
]
}
}

View File

@ -2,68 +2,73 @@
"contents": [
{
"name": "Blood deficiency",
"code": "late_periods_blood_deficiency",
"sort_order": 0,
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Blood deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0043"
"template_code": "m0042_ct0005",
"source_code": "late_periods_blood_deficiency"
}
},
"code": "blood_deficiency"
}
},
{
"name": "Cold in the Uterus: Full-Cold",
"code": "late_periods_cold_in_the_uterus_full_cold",
"sort_order": 1,
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Cold in the Uterus: Full-Cold",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0043"
"template_code": "m0042_ct0005",
"source_code": "late_periods_cold_in_the_uterus_full_cold"
}
},
"code": "cold_in_the_uterus_full_cold"
}
},
{
"name": "Cold in the Uterus: Empty-Cold",
"code": "late_periods_cold_in_the_uterus_empty_cold",
"sort_order": 2,
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Cold in the Uterus: Empty-Cold",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0043"
"template_code": "m0042_ct0005",
"source_code": "late_periods_cold_in_the_uterus_empty_cold"
}
},
"code": "cold_in_the_uterus_empty_cold"
}
},
{
"name": "Kidney-Yang deficiency",
"code": "late_periods_kidney_yang_deficiency",
"sort_order": 3,
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Kidney-Yang deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0043"
"template_code": "m0042_ct0005",
"source_code": "late_periods_kidney_yang_deficiency"
}
},
"code": "kidney_yang_deficiency"
}
},
{
"name": "Liver-Qi stagnation",
"code": "late_periods_liver_qi_stagnation",
"sort_order": 4,
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Liver-Qi stagnation",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0043"
"template_code": "m0042_ct0005",
"source_code": "late_periods_liver_qi_stagnation"
}
},
"code": "liver_qi_stagnation"
}
}
]
}
}

View File

@ -1,898 +1,167 @@
{
"contents": [
{
"name": "Early Periods: Spleen-Qi deficiency",
"code": "early_periods_spleen_qi_deficiency",
"name": "Early Periods",
"code": "early_periods",
"content_count": 6,
"content_label": "patterns",
"sort_order": 0,
"link": {
"type": "content_ref",
"label": "Early Periods: Spleen-Qi deficiency",
"type": "template_ref",
"label": "Early Periods",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "early_periods_spleen_qi_deficiency"
"template_code": "m0042_ct0011"
}
}
},
{
"name": "Early Periods: Kidney-Qi not firm",
"code": "early_periods_kidney_qi_not_firm",
"name": "Late Periods",
"code": "late_periods",
"content_count": 5,
"content_label": "patterns",
"sort_order": 1,
"link": {
"type": "content_ref",
"label": "Early Periods: Kidney-Qi not firm",
"type": "template_ref",
"label": "Late Periods",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "early_periods_kidney_qi_not_firm"
"template_code": "m0042_ct0012"
}
}
},
{
"name": "Early Periods: Liver Blood-Heat",
"code": "early_periods_full_heat_liver_blood_heat",
"name": "Irregular Periods",
"code": "irregular_periods",
"content_count": 3,
"content_label": "patterns",
"sort_order": 2,
"link": {
"type": "content_ref",
"label": "Early Periods: Liver Blood-Heat",
"type": "template_ref",
"label": "Irregular Periods",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "early_periods_full_heat_liver_blood_heat"
"template_code": "m0042_ct0013"
}
}
},
{
"name": "Early Periods: Stagnant Liver-Qi turning into Fire with Blood-Heat",
"code": "early_periods_full_heat_stagnant_liver_qi_turning_into_fire_with_blood_heat",
"name": "Heavy Periods",
"code": "heavy_periods",
"content_count": 3,
"content_label": "patterns",
"sort_order": 3,
"link": {
"type": "content_ref",
"label": "Early Periods: Stagnant Liver-Qi turning into Fire with Blood-Heat",
"type": "template_ref",
"label": "Heavy Periods",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "early_periods_full_heat_stagnant_liver_qi_turning_into_fire_with_blood_heat"
"template_code": "m0042_ct0014"
}
}
},
{
"name": "Early Periods: Heart-Fire",
"code": "early_periods_full_heat_heart_fire",
"name": "Scanty Periods",
"code": "scanty_periods",
"content_count": 5,
"content_label": "patterns",
"sort_order": 4,
"link": {
"type": "content_ref",
"label": "Early Periods: Heart-Fire",
"type": "template_ref",
"label": "Scanty Periods",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "early_periods_full_heat_heart_fire"
"template_code": "m0042_ct0015"
}
}
},
{
"name": "Early Periods: Liver- and Kidney-Yin deficiency with Empty-Heat",
"code": "early_periods_liver_and_kidney_yin_deficiency_with_empty_heat",
"name": "Long Periods",
"code": "long_periods",
"content_count": 4,
"content_label": "patterns",
"sort_order": 5,
"link": {
"type": "content_ref",
"label": "Early Periods: Liver- and Kidney-Yin deficiency with Empty-Heat",
"type": "template_ref",
"label": "Long Periods",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "early_periods_liver_and_kidney_yin_deficiency_with_empty_heat"
"template_code": "m0042_ct0016"
}
}
},
{
"name": "Late Periods: Blood deficiency",
"code": "late_periods_blood_deficiency",
"name": "Painful Periods",
"code": "painful_periods",
"content_count": 8,
"content_label": "patterns",
"sort_order": 6,
"link": {
"type": "content_ref",
"label": "Late Periods: Blood deficiency",
"type": "template_ref",
"label": "Painful Periods",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "late_periods_blood_deficiency"
"template_code": "m0042_ct0017"
}
}
},
{
"name": "Late Periods: Cold in the Uterus: Full-Cold",
"code": "late_periods_cold_in_the_uterus_full_cold",
"name": "Bleeding between Periods",
"code": "bleeding_between_periods",
"content_count": 4,
"content_label": "patterns",
"sort_order": 7,
"link": {
"type": "content_ref",
"label": "Late Periods: Cold in the Uterus: Full-Cold",
"type": "template_ref",
"label": "Bleeding between Periods",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "late_periods_cold_in_the_uterus_full_cold"
"template_code": "m0042_ct0018"
}
}
},
{
"name": "Late Periods: Cold in the Uterus: Empty-Cold",
"code": "late_periods_cold_in_the_uterus_empty_cold",
"name": "No Periods (Amenorrhea)",
"code": "no_periods",
"content_count": 9,
"content_label": "patterns",
"sort_order": 8,
"link": {
"type": "content_ref",
"label": "Late Periods: Cold in the Uterus: Empty-Cold",
"type": "template_ref",
"label": "No Periods (Amenorrhea)",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "late_periods_cold_in_the_uterus_empty_cold"
"template_code": "m0042_ct0019"
}
}
},
{
"name": "Late Periods: Kidney-Yang deficiency",
"code": "late_periods_kidney_yang_deficiency",
"name": "Flooding and Trickling (Metrorrhagia)",
"code": "flooding_and_trickling",
"content_count": 8,
"content_label": "patterns",
"sort_order": 9,
"link": {
"type": "content_ref",
"label": "Late Periods: Kidney-Yang deficiency",
"type": "template_ref",
"label": "Flooding and Trickling (Metrorrhagia)",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "late_periods_kidney_yang_deficiency"
"template_code": "m0042_ct0020"
}
}
},
{
"name": "Late Periods: Liver-Qi stagnation",
"code": "late_periods_liver_qi_stagnation",
"name": "Pre-Menstrual Syndrome (PMS)",
"code": "pre_menstrual_syndrome",
"content_count": 9,
"content_label": "patterns",
"sort_order": 10,
"link": {
"type": "content_ref",
"label": "Late Periods: Liver-Qi stagnation",
"type": "template_ref",
"label": "Pre-Menstrual Syndrome (PMS)",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "late_periods_liver_qi_stagnation"
}
}
},
{
"name": "Irregular Periods: Liver-Qi stagnation",
"code": "irregular_periods_liver_qi_stagnation",
"sort_order": 11,
"link": {
"type": "content_ref",
"label": "Irregular Periods: Liver-Qi stagnation",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "irregular_periods_liver_qi_stagnation"
}
}
},
{
"name": "Irregular Periods: Kidney-Yang deficiency",
"code": "irregular_periods_kidney_yang_deficiency",
"sort_order": 12,
"link": {
"type": "content_ref",
"label": "Irregular Periods: Kidney-Yang deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "irregular_periods_kidney_yang_deficiency"
}
}
},
{
"name": "Irregular Periods: Kidney-Yin deficiency",
"code": "irregular_periods_kidney_yin_deficiency",
"sort_order": 13,
"link": {
"type": "content_ref",
"label": "Irregular Periods: Kidney-Yin deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "irregular_periods_kidney_yin_deficiency"
}
}
},
{
"name": "Heavy Periods: Qi deficiency",
"code": "heavy_periods_qi_deficiency",
"sort_order": 14,
"link": {
"type": "content_ref",
"label": "Heavy Periods: Qi deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "heavy_periods_qi_deficiency"
}
}
},
{
"name": "Heavy Periods: Blood-Heat",
"code": "heavy_periods_blood_heat",
"sort_order": 15,
"link": {
"type": "content_ref",
"label": "Heavy Periods: Blood-Heat",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "heavy_periods_blood_heat"
}
}
},
{
"name": "Heavy Periods: Blood stasis",
"code": "heavy_periods_blood_stasis",
"sort_order": 16,
"link": {
"type": "content_ref",
"label": "Heavy Periods: Blood stasis",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "heavy_periods_blood_stasis"
}
}
},
{
"name": "Scanty Periods: Blood deficiency",
"code": "scanty_periods_blood_deficiency",
"sort_order": 17,
"link": {
"type": "content_ref",
"label": "Scanty Periods: Blood deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "scanty_periods_blood_deficiency"
}
}
},
{
"name": "Scanty Periods: Kidney-Yang deficiency",
"code": "scanty_periods_kidney_yang_deficiency",
"sort_order": 18,
"link": {
"type": "content_ref",
"label": "Scanty Periods: Kidney-Yang deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "scanty_periods_kidney_yang_deficiency"
}
}
},
{
"name": "Scanty Periods: Kidney-Yin deficiency",
"code": "scanty_periods_kidney_yin_deficiency",
"sort_order": 19,
"link": {
"type": "content_ref",
"label": "Scanty Periods: Kidney-Yin deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "scanty_periods_kidney_yin_deficiency"
}
}
},
{
"name": "Scanty Periods: Stasis of Blood",
"code": "scanty_periods_stasis_of_blood",
"sort_order": 20,
"link": {
"type": "content_ref",
"label": "Scanty Periods: Stasis of Blood",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "scanty_periods_stasis_of_blood"
}
}
},
{
"name": "Scanty Periods: Phlegm obstructing the Uterus",
"code": "scanty_periods_phlegm_obstructing_the_uterus",
"sort_order": 21,
"link": {
"type": "content_ref",
"label": "Scanty Periods: Phlegm obstructing the Uterus",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "scanty_periods_phlegm_obstructing_the_uterus"
}
}
},
{
"name": "Long Periods: Qi deficiency",
"code": "long_periods_qi_deficiency",
"sort_order": 22,
"link": {
"type": "content_ref",
"label": "Long Periods: Qi deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "long_periods_qi_deficiency"
}
}
},
{
"name": "Long Periods: Blood-Heat",
"code": "long_periods_blood_heat",
"sort_order": 23,
"link": {
"type": "content_ref",
"label": "Long Periods: Blood-Heat",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "long_periods_blood_heat"
}
}
},
{
"name": "Long Periods: Liver-Qi and Liver-Blood stasis",
"code": "long_periods_liver_qi_and_liver_blood_stasis",
"sort_order": 24,
"link": {
"type": "content_ref",
"label": "Long Periods: Liver-Qi and Liver-Blood stasis",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "long_periods_liver_qi_and_liver_blood_stasis"
}
}
},
{
"name": "Long Periods: Kidney-Yin deficiency with Empty-Heat",
"code": "long_periods_kidney_yin_deficiency_with_empty_heat",
"sort_order": 25,
"link": {
"type": "content_ref",
"label": "Long Periods: Kidney-Yin deficiency with Empty-Heat",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "long_periods_kidney_yin_deficiency_with_empty_heat"
}
}
},
{
"name": "Bleeding between Periods: Liver- and Kidney-Yin deficiency with Empty-Heat",
"code": "bleeding_between_periods_liver_and_kidney_yin_deficiency_with_empty_heat",
"sort_order": 26,
"link": {
"type": "content_ref",
"label": "Bleeding between Periods: Liver- and Kidney-Yin deficiency with Empty-Heat",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "bleeding_between_periods_liver_and_kidney_yin_deficiency_with_empty_heat"
}
}
},
{
"name": "Bleeding between Periods: Damp-Heat",
"code": "bleeding_between_periods_damp_heat",
"sort_order": 27,
"link": {
"type": "content_ref",
"label": "Bleeding between Periods: Damp-Heat",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "bleeding_between_periods_damp_heat"
}
}
},
{
"name": "Bleeding between Periods: Blood stasis",
"code": "bleeding_between_periods_blood_stasis",
"sort_order": 28,
"link": {
"type": "content_ref",
"label": "Bleeding between Periods: Blood stasis",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "bleeding_between_periods_blood_stasis"
}
}
},
{
"name": "Bleeding between Periods: Spleen- and Kidney-Yang deficiency",
"code": "bleeding_between_periods_spleen_and_kidney_yang_deficiency",
"sort_order": 29,
"link": {
"type": "content_ref",
"label": "Bleeding between Periods: Spleen- and Kidney-Yang deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "bleeding_between_periods_spleen_and_kidney_yang_deficiency"
}
}
},
{
"name": "No Periods (Amenorrhea): Liver and Kidney deficiency",
"code": "no_periods_amenorrhea_liver_and_kidney_deficiency",
"sort_order": 30,
"link": {
"type": "content_ref",
"label": "No Periods (Amenorrhea): Liver and Kidney deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "no_periods_amenorrhea_liver_and_kidney_deficiency"
}
}
},
{
"name": "No Periods (Amenorrhea): Blood deficiency",
"code": "no_periods_amenorrhea_blood_deficiency",
"sort_order": 31,
"link": {
"type": "content_ref",
"label": "No Periods (Amenorrhea): Blood deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "no_periods_amenorrhea_blood_deficiency"
}
}
},
{
"name": "No Periods (Amenorrhea): Spleen- and Kidney-Yang deficiency",
"code": "no_periods_amenorrhea_spleen_and_kidney_yang_deficiency",
"sort_order": 32,
"link": {
"type": "content_ref",
"label": "No Periods (Amenorrhea): Spleen- and Kidney-Yang deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "no_periods_amenorrhea_spleen_and_kidney_yang_deficiency"
}
}
},
{
"name": "No Periods (Amenorrhea): Liver- and Kidney-Yin deficiency",
"code": "no_periods_amenorrhea_liver_and_kidney_yin_deficiency",
"sort_order": 33,
"link": {
"type": "content_ref",
"label": "No Periods (Amenorrhea): Liver- and Kidney-Yin deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "no_periods_amenorrhea_liver_and_kidney_yin_deficiency"
}
}
},
{
"name": "No Periods (Amenorrhea): Lung-Yin and Blood deficiency",
"code": "no_periods_amenorrhea_lung_yin_and_blood_deficiency",
"sort_order": 34,
"link": {
"type": "content_ref",
"label": "No Periods (Amenorrhea): Lung-Yin and Blood deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "no_periods_amenorrhea_lung_yin_and_blood_deficiency"
}
}
},
{
"name": "No Periods (Amenorrhea): Heart- and Kidney-Yin deficiency",
"code": "no_periods_amenorrhea_heart_and_kidney_yin_deficiency",
"sort_order": 35,
"link": {
"type": "content_ref",
"label": "No Periods (Amenorrhea): Heart- and Kidney-Yin deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "no_periods_amenorrhea_heart_and_kidney_yin_deficiency"
}
}
},
{
"name": "No Periods (Amenorrhea): Heart- and Spleen-Blood deficiency",
"code": "no_periods_amenorrhea_heart_and_spleen_blood_deficiency",
"sort_order": 36,
"link": {
"type": "content_ref",
"label": "No Periods (Amenorrhea): Heart- and Spleen-Blood deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "no_periods_amenorrhea_heart_and_spleen_blood_deficiency"
}
}
},
{
"name": "No Periods (Amenorrhea): Stagnation of Qi and Blood",
"code": "no_periods_amenorrhea_stagnation_of_qi_and_blood",
"sort_order": 37,
"link": {
"type": "content_ref",
"label": "No Periods (Amenorrhea): Stagnation of Qi and Blood",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "no_periods_amenorrhea_stagnation_of_qi_and_blood"
}
}
},
{
"name": "No Periods (Amenorrhea): Damp-Phlegm in the Lower Burner",
"code": "no_periods_amenorrhea_damp_phlegm_in_the_lower_burner",
"sort_order": 38,
"link": {
"type": "content_ref",
"label": "No Periods (Amenorrhea): Damp-Phlegm in the Lower Burner",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "no_periods_amenorrhea_damp_phlegm_in_the_lower_burner"
}
}
},
{
"name": "Painful Periods: Stagnation of Qi",
"code": "painful_periods_stagnation_of_qi",
"sort_order": 39,
"link": {
"type": "content_ref",
"label": "Painful Periods: Stagnation of Qi",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "painful_periods_stagnation_of_qi"
}
}
},
{
"name": "Painful Periods: Stasis of Blood",
"code": "painful_periods_stasis_of_blood",
"sort_order": 40,
"link": {
"type": "content_ref",
"label": "Painful Periods: Stasis of Blood",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "painful_periods_stasis_of_blood"
}
}
},
{
"name": "Painful Periods: Stagnation of Cold",
"code": "painful_periods_stagnation_of_cold",
"sort_order": 41,
"link": {
"type": "content_ref",
"label": "Painful Periods: Stagnation of Cold",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "painful_periods_stagnation_of_cold"
}
}
},
{
"name": "Painful Periods: Damp-Heat",
"code": "painful_periods_damp_heat",
"sort_order": 42,
"link": {
"type": "content_ref",
"label": "Painful Periods: Damp-Heat",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "painful_periods_damp_heat"
}
}
},
{
"name": "Painful Periods: Stagnant Liver-Qi turning into Fire",
"code": "painful_periods_stagnant_liver_qi_turning_into_fire",
"sort_order": 43,
"link": {
"type": "content_ref",
"label": "Painful Periods: Stagnant Liver-Qi turning into Fire",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "painful_periods_stagnant_liver_qi_turning_into_fire"
}
}
},
{
"name": "Painful Periods: Qi and Blood deficiency",
"code": "painful_periods_qi_and_blood_deficiency",
"sort_order": 44,
"link": {
"type": "content_ref",
"label": "Painful Periods: Qi and Blood deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "painful_periods_qi_and_blood_deficiency"
}
}
},
{
"name": "Painful Periods: Yang and Blood deficiency",
"code": "painful_periods_yang_and_blood_deficiency",
"sort_order": 45,
"link": {
"type": "content_ref",
"label": "Painful Periods: Yang and Blood deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "painful_periods_yang_and_blood_deficiency"
}
}
},
{
"name": "Painful Periods: Kidney- and Liver-Yin deficiency",
"code": "painful_periods_kidney_and_liver_yin_deficiency",
"sort_order": 46,
"link": {
"type": "content_ref",
"label": "Painful Periods: Kidney- and Liver-Yin deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "painful_periods_kidney_and_liver_yin_deficiency"
}
}
},
{
"name": "Flooding and Trickling (Metrorrhagia): Blood-Heat",
"code": "flooding_and_trickling_metrorrhagia_blood_heat",
"sort_order": 47,
"link": {
"type": "content_ref",
"label": "Flooding and Trickling (Metrorrhagia): Blood-Heat",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "flooding_and_trickling_metrorrhagia_blood_heat"
}
}
},
{
"name": "Flooding and Trickling (Metrorrhagia): Liver-Qi stagnation turning into Heat",
"code": "flooding_and_trickling_metrorrhagia_liver_qi_stagnation_turning_into_heat",
"sort_order": 48,
"link": {
"type": "content_ref",
"label": "Flooding and Trickling (Metrorrhagia): Liver-Qi stagnation turning into Heat",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "flooding_and_trickling_metrorrhagia_liver_qi_stagnation_turning_into_heat"
}
}
},
{
"name": "Flooding and Trickling (Metrorrhagia): Blood Empty-Heat",
"code": "flooding_and_trickling_metrorrhagia_blood_empty_heat",
"sort_order": 49,
"link": {
"type": "content_ref",
"label": "Flooding and Trickling (Metrorrhagia): Blood Empty-Heat",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "flooding_and_trickling_metrorrhagia_blood_empty_heat"
}
}
},
{
"name": "Flooding and Trickling (Metrorrhagia): Stasis of Blood",
"code": "flooding_and_trickling_metrorrhagia_stasis_of_blood",
"sort_order": 50,
"link": {
"type": "content_ref",
"label": "Flooding and Trickling (Metrorrhagia): Stasis of Blood",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "flooding_and_trickling_metrorrhagia_stasis_of_blood"
}
}
},
{
"name": "Flooding and Trickling (Metrorrhagia): Damp-Heat in the Uterus",
"code": "flooding_and_trickling_metrorrhagia_damp_heat_in_the_uterus",
"sort_order": 51,
"link": {
"type": "content_ref",
"label": "Flooding and Trickling (Metrorrhagia): Damp-Heat in the Uterus",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "flooding_and_trickling_metrorrhagia_damp_heat_in_the_uterus"
}
}
},
{
"name": "Flooding and Trickling (Metrorrhagia): Spleen not holding Blood",
"code": "flooding_and_trickling_metrorrhagia_spleen_not_holding_blood",
"sort_order": 52,
"link": {
"type": "content_ref",
"label": "Flooding and Trickling (Metrorrhagia): Spleen not holding Blood",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "flooding_and_trickling_metrorrhagia_spleen_not_holding_blood"
}
}
},
{
"name": "Flooding and Trickling (Metrorrhagia): Kidney-Yang deficiency",
"code": "flooding_and_trickling_metrorrhagia_kidney_yang_deficiency",
"sort_order": 53,
"link": {
"type": "content_ref",
"label": "Flooding and Trickling (Metrorrhagia): Kidney-Yang deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "flooding_and_trickling_metrorrhagia_kidney_yang_deficiency"
}
}
},
{
"name": "Flooding and Trickling (Metrorrhagia): Kidney-Yin deficiency",
"code": "flooding_and_trickling_metrorrhagia_kidney_yin_deficiency",
"sort_order": 54,
"link": {
"type": "content_ref",
"label": "Flooding and Trickling (Metrorrhagia): Kidney-Yin deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "flooding_and_trickling_metrorrhagia_kidney_yin_deficiency"
}
}
},
{
"name": "Pre-Menstrual Syndrome (PMS): Liver-Qi stagnation",
"code": "pre_menstrual_syndrome_pms_liver_qi_stagnation",
"sort_order": 55,
"link": {
"type": "content_ref",
"label": "Pre-Menstrual Syndrome (PMS): Liver-Qi stagnation",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "pre_menstrual_syndrome_pms_liver_qi_stagnation"
}
}
},
{
"name": "Pre-Menstrual Syndrome (PMS): Liver-Heat",
"code": "pre_menstrual_syndrome_pms_liver_heat",
"sort_order": 56,
"link": {
"type": "content_ref",
"label": "Pre-Menstrual Syndrome (PMS): Liver-Heat",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "pre_menstrual_syndrome_pms_liver_heat"
}
}
},
{
"name": "Pre-Menstrual Syndrome (PMS): Liver-Qi stagnation with Phlegm",
"code": "pre_menstrual_syndrome_pms_liver_qi_stagnation_with_phlegm",
"sort_order": 57,
"link": {
"type": "content_ref",
"label": "Pre-Menstrual Syndrome (PMS): Liver-Qi stagnation with Phlegm",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "pre_menstrual_syndrome_pms_liver_qi_stagnation_with_phlegm"
}
}
},
{
"name": "Pre-Menstrual Syndrome (PMS): Lung-Qi stagnation with Phlegm",
"code": "pre_menstrual_syndrome_pms_lung_qi_stagnation_with_phlegm",
"sort_order": 58,
"link": {
"type": "content_ref",
"label": "Pre-Menstrual Syndrome (PMS): Lung-Qi stagnation with Phlegm",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "pre_menstrual_syndrome_pms_lung_qi_stagnation_with_phlegm"
}
}
},
{
"name": "Pre-Menstrual Syndrome (PMS): Heart-Heat",
"code": "pre_menstrual_syndrome_pms_heart_heat",
"sort_order": 59,
"link": {
"type": "content_ref",
"label": "Pre-Menstrual Syndrome (PMS): Heart-Heat",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "pre_menstrual_syndrome_pms_heart_heat"
}
}
},
{
"name": "Pre-Menstrual Syndrome (PMS): Phlegm-Fire harassing upwards",
"code": "pre_menstrual_syndrome_pms_phlegm_fire_harassing_upwards",
"sort_order": 60,
"link": {
"type": "content_ref",
"label": "Pre-Menstrual Syndrome (PMS): Phlegm-Fire harassing upwards",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "pre_menstrual_syndrome_pms_phlegm_fire_harassing_upwards"
}
}
},
{
"name": "Pre-Menstrual Syndrome (PMS): Liver-Blood deficiency",
"code": "pre_menstrual_syndrome_pms_liver_blood_deficiency",
"sort_order": 61,
"link": {
"type": "content_ref",
"label": "Pre-Menstrual Syndrome (PMS): Liver-Blood deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "pre_menstrual_syndrome_pms_liver_blood_deficiency"
}
}
},
{
"name": "Pre-Menstrual Syndrome (PMS): Liver- and Kidney-Yin deficiency",
"code": "pre_menstrual_syndrome_pms_liver_and_kidney_yin_deficiency",
"sort_order": 62,
"link": {
"type": "content_ref",
"label": "Pre-Menstrual Syndrome (PMS): Liver- and Kidney-Yin deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "pre_menstrual_syndrome_pms_liver_and_kidney_yin_deficiency"
}
}
},
{
"name": "Pre-Menstrual Syndrome (PMS): Spleen- and Kidney-Yang deficiency",
"code": "pre_menstrual_syndrome_pms_spleen_and_kidney_yang_deficiency",
"sort_order": 63,
"link": {
"type": "content_ref",
"label": "Pre-Menstrual Syndrome (PMS): Spleen- and Kidney-Yang deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0005",
"source_code": "pre_menstrual_syndrome_pms_spleen_and_kidney_yang_deficiency"
"template_code": "m0042_ct0021"
}
}
}

View File

@ -2,63 +2,59 @@
"contents": [
{
"name": "Qi deficiency",
"code": "long_periods_qi_deficiency",
"sort_order": 0,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Qi deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0047"
"template_code": "m0042_ct0005",
"source_code": "long_periods_qi_deficiency"
}
},
"code": "qi_deficiency"
}
},
{
"name": "Blood-Heat",
"code": "long_periods_blood_heat",
"sort_order": 1,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Blood-Heat",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0047"
"template_code": "m0042_ct0005",
"source_code": "long_periods_blood_heat"
}
},
"code": "blood_heat"
}
},
{
"name": "Liver-Qi and Liver-Blood stasis",
"code": "long_periods_liver_qi_and_liver_blood_stasis",
"sort_order": 2,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Liver-Qi and Liver-Blood stasis",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0047"
"template_code": "m0042_ct0005",
"source_code": "long_periods_liver_qi_and_liver_blood_stasis"
}
},
"code": "liver_qi_and_liver_blood_stasis"
}
},
{
"name": "Kidney-Yin deficiency with Empty-Heat",
"code": "long_periods_kidney_yin_deficiency_with_empty_heat",
"sort_order": 3,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Kidney-Yin deficiency with Empty-Heat",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0047"
"template_code": "m0042_ct0005",
"source_code": "long_periods_kidney_yin_deficiency_with_empty_heat"
}
},
"code": "kidney_yin_deficiency_with_empty_heat"
}
}
]
}
}

View File

@ -2,138 +2,129 @@
"contents": [
{
"name": "Liver and Kidney deficiency",
"code": "no_periods_liver_and_kidney_deficiency",
"sort_order": 0,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Liver and Kidney deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0050"
"template_code": "m0042_ct0005",
"source_code": "no_periods_amenorrhea_liver_and_kidney_deficiency"
}
},
"code": "liver_and_kidney_deficiency"
}
},
{
"name": "Blood deficiency",
"code": "no_periods_blood_deficiency",
"sort_order": 1,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Blood deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0050"
"template_code": "m0042_ct0005",
"source_code": "no_periods_amenorrhea_blood_deficiency"
}
},
"code": "blood_deficiency"
}
},
{
"name": "Spleen- and Kidney-Yang deficiency",
"code": "no_periods_spleen_and_kidney_yang_deficiency",
"sort_order": 2,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Spleen- and Kidney-Yang deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0050"
"template_code": "m0042_ct0005",
"source_code": "no_periods_amenorrhea_spleen_and_kidney_yang_deficiency"
}
},
"code": "spleen_and_kidney_yang_deficiency"
}
},
{
"name": "Liver- and Kidney-Yin deficiency",
"code": "no_periods_liver_and_kidney_yin_deficiency",
"sort_order": 3,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Liver- and Kidney-Yin deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0050"
"template_code": "m0042_ct0005",
"source_code": "no_periods_amenorrhea_liver_and_kidney_yin_deficiency"
}
},
"code": "liver_and_kidney_yin_deficiency"
}
},
{
"name": "Lung-Yin and Blood deficiency",
"code": "no_periods_lung_yin_and_blood_deficiency",
"sort_order": 4,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Lung-Yin and Blood deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0050"
"template_code": "m0042_ct0005",
"source_code": "no_periods_amenorrhea_lung_yin_and_blood_deficiency"
}
},
"code": "lung_yin_and_blood_deficiency"
}
},
{
"name": "Heart- and Kidney-Yin deficiency",
"code": "no_periods_heart_and_kidney_yin_deficiency",
"sort_order": 5,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Heart- and Kidney-Yin deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0050"
"template_code": "m0042_ct0005",
"source_code": "no_periods_amenorrhea_heart_and_kidney_yin_deficiency"
}
},
"code": "heart_and_kidney_yin_deficiency"
}
},
{
"name": "Heart- and Spleen-Blood deficiency",
"code": "no_periods_heart_and_spleen_blood_deficiency",
"sort_order": 6,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Heart- and Spleen-Blood deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0050"
"template_code": "m0042_ct0005",
"source_code": "no_periods_amenorrhea_heart_and_spleen_blood_deficiency"
}
},
"code": "heart_and_spleen_blood_deficiency"
}
},
{
"name": "Stagnation of Qi and Blood",
"code": "no_periods_stagnation_of_qi_and_blood",
"sort_order": 7,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Stagnation of Qi and Blood",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0050"
"template_code": "m0042_ct0005",
"source_code": "no_periods_amenorrhea_stagnation_of_qi_and_blood"
}
},
"code": "stagnation_of_qi_and_blood"
}
},
{
"name": "Damp-Phlegm in the Lower Burner",
"code": "no_periods_damp_phlegm_in_the_lower_burner",
"sort_order": 8,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Damp-Phlegm in the Lower Burner",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0050"
"template_code": "m0042_ct0005",
"source_code": "no_periods_amenorrhea_damp_phlegm_in_the_lower_burner"
}
},
"code": "damp_phlegm_in_the_lower_burner"
}
}
]
}
}

View File

@ -2,107 +2,115 @@
"contents": [
{
"name": "Stagnation of Qi",
"code": "painful_periods_stagnation_of_qi",
"sort_order": 0,
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Stagnation of Qi",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0048"
"template_code": "m0042_ct0005",
"source_code": "painful_periods_stagnation_of_qi"
}
},
"code": "stagnation_of_qi"
}
},
{
"name": "Stasis of Blood",
"code": "painful_periods_stasis_of_blood",
"sort_order": 1,
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Stasis of Blood",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0048"
"template_code": "m0042_ct0005",
"source_code": "painful_periods_stasis_of_blood"
}
},
"code": "stasis_of_blood"
}
},
{
"name": "Stagnation of Cold",
"code": "painful_periods_stagnation_of_cold",
"sort_order": 2,
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Stagnation of Cold",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0048"
"template_code": "m0042_ct0005",
"source_code": "painful_periods_stagnation_of_cold"
}
},
"code": "stagnation_of_cold"
}
},
{
"name": "Damp-Heat",
"code": "painful_periods_damp_heat",
"sort_order": 3,
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Damp-Heat",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0048"
"template_code": "m0042_ct0005",
"source_code": "painful_periods_damp_heat"
}
},
"code": "damp_heat"
}
},
{
"name": "Stagnant Liver-Qi turning into Fire",
"code": "painful_periods_stagnant_liver_qi_turning_into_fire",
"sort_order": 4,
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Stagnant Liver-Qi turning into Fire",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0048"
"template_code": "m0042_ct0005",
"source_code": "painful_periods_stagnant_liver_qi_turning_into_fire"
}
},
"code": "stagnant_liver_qi_turning_into_fire"
}
},
{
"name": "Qi and Blood deficiency",
"code": "painful_periods_qi_and_blood_deficiency",
"sort_order": 5,
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Qi and Blood deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0048"
"template_code": "m0042_ct0005",
"source_code": "painful_periods_qi_and_blood_deficiency"
}
},
"code": "qi_and_blood_deficiency"
}
},
{
"name": "Yang and Blood deficiency",
"code": "painful_periods_yang_and_blood_deficiency",
"sort_order": 6,
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Yang and Blood deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0048"
"template_code": "m0042_ct0005",
"source_code": "painful_periods_yang_and_blood_deficiency"
}
},
"code": "yang_and_blood_deficiency"
}
},
{
"name": "Kidney- and Liver-Yin deficiency",
"code": "painful_periods_kidney_and_liver_yin_deficiency",
"sort_order": 7,
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Kidney- and Liver-Yin deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0048"
"template_code": "m0042_ct0005",
"source_code": "painful_periods_kidney_and_liver_yin_deficiency"
}
},
"code": "kidney_and_liver_yin_deficiency"
}
}
]
}
}

View File

@ -2,138 +2,129 @@
"contents": [
{
"name": "Liver-Qi stagnation",
"code": "pre_menstrual_syndrome_liver_qi_stagnation",
"sort_order": 0,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Liver-Qi stagnation",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0052"
"template_code": "m0042_ct0005",
"source_code": "pre_menstrual_syndrome_pms_liver_qi_stagnation"
}
},
"code": "liver_qi_stagnation"
}
},
{
"name": "Liver-Heat",
"code": "pre_menstrual_syndrome_liver_heat",
"sort_order": 1,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Liver-Heat",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0052"
"template_code": "m0042_ct0005",
"source_code": "pre_menstrual_syndrome_pms_liver_heat"
}
},
"code": "liver_heat"
}
},
{
"name": "Liver-Qi stagnation with Phlegm",
"code": "pre_menstrual_syndrome_liver_qi_stagnation_with_phlegm",
"sort_order": 2,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Liver-Qi stagnation with Phlegm",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0052"
"template_code": "m0042_ct0005",
"source_code": "pre_menstrual_syndrome_pms_liver_qi_stagnation_with_phlegm"
}
},
"code": "liver_qi_stagnation_with_phlegm"
}
},
{
"name": "Lung-Qi stagnation with Phlegm",
"code": "pre_menstrual_syndrome_lung_qi_stagnation_with_phlegm",
"sort_order": 3,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Lung-Qi stagnation with Phlegm",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0052"
"template_code": "m0042_ct0005",
"source_code": "pre_menstrual_syndrome_pms_lung_qi_stagnation_with_phlegm"
}
},
"code": "lung_qi_stagnation_with_phlegm"
}
},
{
"name": "Heart-Heat",
"code": "pre_menstrual_syndrome_heart_heat",
"sort_order": 4,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Heart-Heat",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0052"
"template_code": "m0042_ct0005",
"source_code": "pre_menstrual_syndrome_pms_heart_heat"
}
},
"code": "heart_heat"
}
},
{
"name": "Phlegm-Fire harassing upwards",
"code": "pre_menstrual_syndrome_phlegm_fire_harassing_upwards",
"sort_order": 5,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Phlegm-Fire harassing upwards",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0052"
"template_code": "m0042_ct0005",
"source_code": "pre_menstrual_syndrome_pms_phlegm_fire_harassing_upwards"
}
},
"code": "phlegm_fire_harassing_upwards"
}
},
{
"name": "Liver-Blood deficiency",
"code": "pre_menstrual_syndrome_liver_blood_deficiency",
"sort_order": 6,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Liver-Blood deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0052"
"template_code": "m0042_ct0005",
"source_code": "pre_menstrual_syndrome_pms_liver_blood_deficiency"
}
},
"code": "liver_blood_deficiency"
}
},
{
"name": "Liver- and Kidney-Yin deficiency",
"code": "pre_menstrual_syndrome_liver_and_kidney_yin_deficiency",
"sort_order": 7,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Liver- and Kidney-Yin deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0052"
"template_code": "m0042_ct0005",
"source_code": "pre_menstrual_syndrome_pms_liver_and_kidney_yin_deficiency"
}
},
"code": "liver_and_kidney_yin_deficiency"
}
},
{
"name": "Spleen- and Kidney-Yang deficiency",
"code": "pre_menstrual_syndrome_spleen_and_kidney_yang_deficiency",
"sort_order": 8,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Spleen- and Kidney-Yang deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0052"
"template_code": "m0042_ct0005",
"source_code": "pre_menstrual_syndrome_pms_spleen_and_kidney_yang_deficiency"
}
},
"code": "spleen_and_kidney_yang_deficiency"
}
}
]
}
}

View File

@ -2,78 +2,73 @@
"contents": [
{
"name": "Blood deficiency",
"code": "scanty_periods_blood_deficiency",
"sort_order": 0,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Blood deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0046"
"template_code": "m0042_ct0005",
"source_code": "scanty_periods_blood_deficiency"
}
},
"code": "blood_deficiency"
}
},
{
"name": "Kidney-Yang deficiency",
"code": "scanty_periods_kidney_yang_deficiency",
"sort_order": 1,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Kidney-Yang deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0046"
"template_code": "m0042_ct0005",
"source_code": "scanty_periods_kidney_yang_deficiency"
}
},
"code": "kidney_yang_deficiency"
}
},
{
"name": "Kidney-Yin deficiency",
"code": "scanty_periods_kidney_yin_deficiency",
"sort_order": 2,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Kidney-Yin deficiency",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0046"
"template_code": "m0042_ct0005",
"source_code": "scanty_periods_kidney_yin_deficiency"
}
},
"code": "kidney_yin_deficiency"
}
},
{
"name": "Stasis of Blood",
"code": "scanty_periods_stasis_of_blood",
"sort_order": 3,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Stasis of Blood",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0046"
"template_code": "m0042_ct0005",
"source_code": "scanty_periods_stasis_of_blood"
}
},
"code": "stasis_of_blood"
}
},
{
"name": "Phlegm obstructing the Uterus",
"code": "scanty_periods_phlegm_obstructing_the_uterus",
"sort_order": 4,
"content_count": 1,
"content_label": "categories",
"link": {
"type": "template_ref",
"type": "content_ref",
"label": "Phlegm obstructing the Uterus",
"target": {
"module_code": "m0042",
"template_code": "m0042_ct0046"
"template_code": "m0042_ct0005",
"source_code": "scanty_periods_phlegm_obstructing_the_uterus"
}
},
"code": "phlegm_obstructing_the_uterus"
}
}
]
}
}

View File

@ -59,6 +59,83 @@
"code": "m0042_ct0007",
"data_path": "data/other/list.json",
"template_path": "templates/m0042_ct0007.json"
},
{
"name": "early_periods_list_content",
"description": "",
"code": "m0042_ct0011",
"data_path": "data/menstrual_irregularities/early_periods/list.json",
"template_path": "templates/m0042_ct0011.json"
},
{
"name": "late_periods_list_content",
"description": "",
"code": "m0042_ct0012",
"data_path": "data/menstrual_irregularities/late_periods/list.json",
"template_path": "templates/m0042_ct0012.json"
},
{
"name": "irregular_periods_list_content",
"description": "",
"code": "m0042_ct0013",
"data_path": "data/menstrual_irregularities/irregular_periods/list.json",
"template_path": "templates/m0042_ct0013.json"
},
{
"name": "heavy_periods_list_content",
"description": "",
"code": "m0042_ct0014",
"data_path": "data/menstrual_irregularities/heavy_periods/list.json",
"template_path": "templates/m0042_ct0014.json"
},
{
"name": "scanty_periods_list_content",
"description": "",
"code": "m0042_ct0015",
"data_path": "data/menstrual_irregularities/scanty_periods/list.json",
"template_path": "templates/m0042_ct0015.json"
},
{
"name": "long_periods_list_content",
"description": "",
"code": "m0042_ct0016",
"data_path": "data/menstrual_irregularities/long_periods/list.json",
"template_path": "templates/m0042_ct0016.json"
},
{
"name": "painful_periods_list_content",
"description": "",
"code": "m0042_ct0017",
"data_path": "data/menstrual_irregularities/painful_periods/list.json",
"template_path": "templates/m0042_ct0017.json"
},
{
"name": "bleeding_between_periods_list_content",
"description": "",
"code": "m0042_ct0018",
"data_path": "data/menstrual_irregularities/bleeding_between_periods/list.json",
"template_path": "templates/m0042_ct0018.json"
},
{
"name": "no_periods_list_content",
"description": "",
"code": "m0042_ct0019",
"data_path": "data/menstrual_irregularities/no_periods/list.json",
"template_path": "templates/m0042_ct0019.json"
},
{
"name": "flooding_and_trickling_list_content",
"description": "",
"code": "m0042_ct0020",
"data_path": "data/menstrual_irregularities/flooding_and_trickling/list.json",
"template_path": "templates/m0042_ct0020.json"
},
{
"name": "pre_menstrual_syndrome_list_content",
"description": "",
"code": "m0042_ct0021",
"data_path": "data/menstrual_irregularities/pre-menstrual_syndrome/list.json",
"template_path": "templates/m0042_ct0021.json"
}
]
}

View File

@ -4,7 +4,7 @@
"code": "m0042_ct0002",
"content_kind": "therapeutic",
"is_searchable": true,
"is_filterable": true,
"is_filterable": true,
"attribute_prefix_code": "m0042_ct0002",
"attribute_prefix_name": "menstrual_irregularities_list_content",
"attribute_defs": [
@ -31,7 +31,7 @@
"code": "content_label",
"data_type": "text",
"default": ""
},
},
{
"name": "Sort Order",
"code": "sort_order",
@ -215,8 +215,8 @@
"is_active": true,
"mode": "collection",
"renderers": {
"collection": "m0042_ct0002_collection",
"collection_item": "m0042_ct0002_card",
"collection": "module_catalog_collection",
"collection_item": "module_catalog_card",
"detail": "m0042_ct0002_detail"
},
"link": {
@ -242,7 +242,7 @@
"attribute_key": "m0042_ct0002.content_label",
"empty_behavior": "hide",
"visibility": "show"
},
},
{
"attribute_key": "m0042_ct0002.sort_order",
"empty_behavior": "hide",

View File

@ -0,0 +1,337 @@
{
"name": "early_periods_list_content",
"description": "",
"code": "m0042_ct0011",
"content_kind": "therapeutic",
"is_searchable": true,
"is_filterable": true,
"attribute_prefix_code": "m0042_ct0011",
"attribute_prefix_name": "early_periods_list_content",
"attribute_defs": [
{
"name": "Name",
"code": "name",
"data_type": "text",
"default": ""
},
{
"name": "Code",
"code": "code",
"data_type": "text",
"default": ""
},
{
"name": "Count",
"code": "content_count",
"data_type": "number",
"default": 0
},
{
"name": "Label",
"code": "content_label",
"data_type": "text",
"default": ""
},
{
"name": "Sort Order",
"code": "sort_order",
"data_type": "number",
"default": 0
},
{
"name": "Content Link",
"code": "link",
"definition_kind": "object",
"is_multivalue": false,
"is_required": false,
"is_searchable": false,
"is_filterable": false,
"children": [
{
"name": "Type",
"code": "type",
"data_type": "text",
"definition_kind": "scalar",
"is_required": true,
"default": "template_ref",
"allowed_values": [
"template_ref",
"content_ref"
]
},
{
"name": "Label",
"code": "label",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false
},
{
"name": "Target",
"code": "target",
"definition_kind": "object",
"is_required": true,
"children": [
{
"name": "Module Code",
"code": "module_code",
"data_type": "text",
"definition_kind": "scalar",
"is_required": true
},
{
"name": "Template Code",
"code": "template_code",
"data_type": "text",
"definition_kind": "scalar",
"is_required": true
},
{
"name": "Source Code",
"code": "source_code",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false,
"is_searchable": false,
"is_filterable": false,
"metadata": {
"lifecycle": "authoring_only",
"description": "Canonical target content code used in source/seed JSON. Seeder resolves it to source_key before persistence.",
"applies_to": [
"content_ref"
],
"not_used_by": [
"template_ref"
]
}
},
{
"name": "Source Key",
"code": "source_key",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false,
"metadata": {
"lifecycle": "persisted",
"description": "Stable target identity derived from template_code and source_code.",
"applies_to": [
"content_ref"
],
"not_used_by": [
"template_ref"
]
}
},
{
"name": "Content ID",
"code": "content_id",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false,
"metadata": {
"lifecycle": "runtime_hydrated",
"description": "Target content UUID hydrated by the backend for client navigation.",
"applies_to": [
"content_ref"
],
"not_used_by": [
"template_ref"
]
}
}
],
"metadata": {
"identity_contract": {
"template_ref": {
"authoring": [
"module_code",
"template_code"
],
"persisted": [
"module_code",
"template_code"
],
"runtime": [
"module_code",
"template_code"
]
},
"content_ref": {
"authoring": "source_code",
"persisted": "source_key",
"runtime": "content_id"
}
}
}
}
],
"metadata": {
"value_contract": {
"kind": "navigation_ref",
"contract_version": "1.0",
"allowed_reference_types": [
"template_ref",
"content_ref"
],
"default_reference_type": "template_ref",
"contracts": {
"template_ref": {
"purpose": "Navigate from the module root/index to another template collection.",
"required_target_fields": [
"module_code",
"template_code"
],
"forbidden_source_fields": [
"source_key",
"content_id"
],
"source_code_required": false
},
"content_ref": {
"purpose": "Navigate to a specific content item.",
"required_target_fields": [
"module_code",
"template_code",
"source_code"
],
"authoring_identity": "source_code",
"persisted_identity": "source_key",
"runtime_identity": "content_id",
"resolution_pipeline": "source_code -> source_key -> content_id"
}
},
"rules": {
"do_not_infer_reference_from_label": true,
"do_not_infer_reference_from_plain_text": true
}
}
}
}
],
"presentation_contracts": [
{
"client_type": "mobile",
"version_no": 1,
"is_active": true,
"mode": "collection",
"renderers": {
"collection": "m0042_ct0011_collection",
"collection_item": "m0042_ct0011_card",
"detail": "m0042_ct0011_detail"
},
"link": {
"renderer": "content_link"
},
"attributes": [
{
"attribute_key": "m0042_ct0011.name",
"empty_behavior": "hide",
"visibility": "show"
},
{
"attribute_key": "m0042_ct0011.code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0011.content_count",
"empty_behavior": "hide",
"visibility": "show"
},
{
"attribute_key": "m0042_ct0011.content_label",
"empty_behavior": "hide",
"visibility": "show"
},
{
"attribute_key": "m0042_ct0011.sort_order",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0011.link",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0011.link.type",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0011.link.label",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0011.link.target",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0011.link.target.module_code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0011.link.target.template_code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0011.link.target.source_code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0011.link.target.source_key",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0011.link.target.content_id",
"empty_behavior": "hide",
"visibility": "hide"
}
],
"metadata": {
"content_ref_contract_version": "1.0",
"authoring_identity": "source_code",
"navigation_identity": "content_id",
"navigation_ref_contract_version": "1.0",
"allowed_reference_types": [
"template_ref",
"content_ref"
],
"default_reference_type": "template_ref"
}
}
],
"metadata": {
"navigation_reference_policy": {
"contract_version": "1.0",
"default_reference_type": "template_ref",
"allowed_reference_types": [
"template_ref",
"content_ref"
],
"template_ref_shape": {
"type": "template_ref",
"label": "<display label>",
"target": {
"module_code": "<module code>",
"template_code": "<template code>"
}
},
"content_ref_shape": {
"type": "content_ref",
"label": "<display label>",
"target": {
"module_code": "<module code>",
"template_code": "<template code>",
"source_code": "<canonical source code>"
}
}
}
}
}

View File

@ -0,0 +1,337 @@
{
"name": "late_periods_list_content",
"description": "",
"code": "m0042_ct0012",
"content_kind": "therapeutic",
"is_searchable": true,
"is_filterable": true,
"attribute_prefix_code": "m0042_ct0012",
"attribute_prefix_name": "late_periods_list_content",
"attribute_defs": [
{
"name": "Name",
"code": "name",
"data_type": "text",
"default": ""
},
{
"name": "Code",
"code": "code",
"data_type": "text",
"default": ""
},
{
"name": "Count",
"code": "content_count",
"data_type": "number",
"default": 0
},
{
"name": "Label",
"code": "content_label",
"data_type": "text",
"default": ""
},
{
"name": "Sort Order",
"code": "sort_order",
"data_type": "number",
"default": 0
},
{
"name": "Content Link",
"code": "link",
"definition_kind": "object",
"is_multivalue": false,
"is_required": false,
"is_searchable": false,
"is_filterable": false,
"children": [
{
"name": "Type",
"code": "type",
"data_type": "text",
"definition_kind": "scalar",
"is_required": true,
"default": "template_ref",
"allowed_values": [
"template_ref",
"content_ref"
]
},
{
"name": "Label",
"code": "label",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false
},
{
"name": "Target",
"code": "target",
"definition_kind": "object",
"is_required": true,
"children": [
{
"name": "Module Code",
"code": "module_code",
"data_type": "text",
"definition_kind": "scalar",
"is_required": true
},
{
"name": "Template Code",
"code": "template_code",
"data_type": "text",
"definition_kind": "scalar",
"is_required": true
},
{
"name": "Source Code",
"code": "source_code",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false,
"is_searchable": false,
"is_filterable": false,
"metadata": {
"lifecycle": "authoring_only",
"description": "Canonical target content code used in source/seed JSON. Seeder resolves it to source_key before persistence.",
"applies_to": [
"content_ref"
],
"not_used_by": [
"template_ref"
]
}
},
{
"name": "Source Key",
"code": "source_key",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false,
"metadata": {
"lifecycle": "persisted",
"description": "Stable target identity derived from template_code and source_code.",
"applies_to": [
"content_ref"
],
"not_used_by": [
"template_ref"
]
}
},
{
"name": "Content ID",
"code": "content_id",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false,
"metadata": {
"lifecycle": "runtime_hydrated",
"description": "Target content UUID hydrated by the backend for client navigation.",
"applies_to": [
"content_ref"
],
"not_used_by": [
"template_ref"
]
}
}
],
"metadata": {
"identity_contract": {
"template_ref": {
"authoring": [
"module_code",
"template_code"
],
"persisted": [
"module_code",
"template_code"
],
"runtime": [
"module_code",
"template_code"
]
},
"content_ref": {
"authoring": "source_code",
"persisted": "source_key",
"runtime": "content_id"
}
}
}
}
],
"metadata": {
"value_contract": {
"kind": "navigation_ref",
"contract_version": "1.0",
"allowed_reference_types": [
"template_ref",
"content_ref"
],
"default_reference_type": "template_ref",
"contracts": {
"template_ref": {
"purpose": "Navigate from the module root/index to another template collection.",
"required_target_fields": [
"module_code",
"template_code"
],
"forbidden_source_fields": [
"source_key",
"content_id"
],
"source_code_required": false
},
"content_ref": {
"purpose": "Navigate to a specific content item.",
"required_target_fields": [
"module_code",
"template_code",
"source_code"
],
"authoring_identity": "source_code",
"persisted_identity": "source_key",
"runtime_identity": "content_id",
"resolution_pipeline": "source_code -> source_key -> content_id"
}
},
"rules": {
"do_not_infer_reference_from_label": true,
"do_not_infer_reference_from_plain_text": true
}
}
}
}
],
"presentation_contracts": [
{
"client_type": "mobile",
"version_no": 1,
"is_active": true,
"mode": "collection",
"renderers": {
"collection": "m0042_ct0012_collection",
"collection_item": "m0042_ct0012_card",
"detail": "m0042_ct0012_detail"
},
"link": {
"renderer": "content_link"
},
"attributes": [
{
"attribute_key": "m0042_ct0012.name",
"empty_behavior": "hide",
"visibility": "show"
},
{
"attribute_key": "m0042_ct0012.code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0012.content_count",
"empty_behavior": "hide",
"visibility": "show"
},
{
"attribute_key": "m0042_ct0012.content_label",
"empty_behavior": "hide",
"visibility": "show"
},
{
"attribute_key": "m0042_ct0012.sort_order",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0012.link",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0012.link.type",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0012.link.label",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0012.link.target",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0012.link.target.module_code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0012.link.target.template_code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0012.link.target.source_code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0012.link.target.source_key",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0012.link.target.content_id",
"empty_behavior": "hide",
"visibility": "hide"
}
],
"metadata": {
"content_ref_contract_version": "1.0",
"authoring_identity": "source_code",
"navigation_identity": "content_id",
"navigation_ref_contract_version": "1.0",
"allowed_reference_types": [
"template_ref",
"content_ref"
],
"default_reference_type": "template_ref"
}
}
],
"metadata": {
"navigation_reference_policy": {
"contract_version": "1.0",
"default_reference_type": "template_ref",
"allowed_reference_types": [
"template_ref",
"content_ref"
],
"template_ref_shape": {
"type": "template_ref",
"label": "<display label>",
"target": {
"module_code": "<module code>",
"template_code": "<template code>"
}
},
"content_ref_shape": {
"type": "content_ref",
"label": "<display label>",
"target": {
"module_code": "<module code>",
"template_code": "<template code>",
"source_code": "<canonical source code>"
}
}
}
}
}

View File

@ -0,0 +1,337 @@
{
"name": "irregular_periods_list_content",
"description": "",
"code": "m0042_ct0013",
"content_kind": "therapeutic",
"is_searchable": true,
"is_filterable": true,
"attribute_prefix_code": "m0042_ct0013",
"attribute_prefix_name": "irregular_periods_list_content",
"attribute_defs": [
{
"name": "Name",
"code": "name",
"data_type": "text",
"default": ""
},
{
"name": "Code",
"code": "code",
"data_type": "text",
"default": ""
},
{
"name": "Count",
"code": "content_count",
"data_type": "number",
"default": 0
},
{
"name": "Label",
"code": "content_label",
"data_type": "text",
"default": ""
},
{
"name": "Sort Order",
"code": "sort_order",
"data_type": "number",
"default": 0
},
{
"name": "Content Link",
"code": "link",
"definition_kind": "object",
"is_multivalue": false,
"is_required": false,
"is_searchable": false,
"is_filterable": false,
"children": [
{
"name": "Type",
"code": "type",
"data_type": "text",
"definition_kind": "scalar",
"is_required": true,
"default": "template_ref",
"allowed_values": [
"template_ref",
"content_ref"
]
},
{
"name": "Label",
"code": "label",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false
},
{
"name": "Target",
"code": "target",
"definition_kind": "object",
"is_required": true,
"children": [
{
"name": "Module Code",
"code": "module_code",
"data_type": "text",
"definition_kind": "scalar",
"is_required": true
},
{
"name": "Template Code",
"code": "template_code",
"data_type": "text",
"definition_kind": "scalar",
"is_required": true
},
{
"name": "Source Code",
"code": "source_code",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false,
"is_searchable": false,
"is_filterable": false,
"metadata": {
"lifecycle": "authoring_only",
"description": "Canonical target content code used in source/seed JSON. Seeder resolves it to source_key before persistence.",
"applies_to": [
"content_ref"
],
"not_used_by": [
"template_ref"
]
}
},
{
"name": "Source Key",
"code": "source_key",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false,
"metadata": {
"lifecycle": "persisted",
"description": "Stable target identity derived from template_code and source_code.",
"applies_to": [
"content_ref"
],
"not_used_by": [
"template_ref"
]
}
},
{
"name": "Content ID",
"code": "content_id",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false,
"metadata": {
"lifecycle": "runtime_hydrated",
"description": "Target content UUID hydrated by the backend for client navigation.",
"applies_to": [
"content_ref"
],
"not_used_by": [
"template_ref"
]
}
}
],
"metadata": {
"identity_contract": {
"template_ref": {
"authoring": [
"module_code",
"template_code"
],
"persisted": [
"module_code",
"template_code"
],
"runtime": [
"module_code",
"template_code"
]
},
"content_ref": {
"authoring": "source_code",
"persisted": "source_key",
"runtime": "content_id"
}
}
}
}
],
"metadata": {
"value_contract": {
"kind": "navigation_ref",
"contract_version": "1.0",
"allowed_reference_types": [
"template_ref",
"content_ref"
],
"default_reference_type": "template_ref",
"contracts": {
"template_ref": {
"purpose": "Navigate from the module root/index to another template collection.",
"required_target_fields": [
"module_code",
"template_code"
],
"forbidden_source_fields": [
"source_key",
"content_id"
],
"source_code_required": false
},
"content_ref": {
"purpose": "Navigate to a specific content item.",
"required_target_fields": [
"module_code",
"template_code",
"source_code"
],
"authoring_identity": "source_code",
"persisted_identity": "source_key",
"runtime_identity": "content_id",
"resolution_pipeline": "source_code -> source_key -> content_id"
}
},
"rules": {
"do_not_infer_reference_from_label": true,
"do_not_infer_reference_from_plain_text": true
}
}
}
}
],
"presentation_contracts": [
{
"client_type": "mobile",
"version_no": 1,
"is_active": true,
"mode": "collection",
"renderers": {
"collection": "m0042_ct0013_collection",
"collection_item": "m0042_ct0013_card",
"detail": "m0042_ct0013_detail"
},
"link": {
"renderer": "content_link"
},
"attributes": [
{
"attribute_key": "m0042_ct0013.name",
"empty_behavior": "hide",
"visibility": "show"
},
{
"attribute_key": "m0042_ct0013.code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0013.content_count",
"empty_behavior": "hide",
"visibility": "show"
},
{
"attribute_key": "m0042_ct0013.content_label",
"empty_behavior": "hide",
"visibility": "show"
},
{
"attribute_key": "m0042_ct0013.sort_order",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0013.link",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0013.link.type",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0013.link.label",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0013.link.target",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0013.link.target.module_code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0013.link.target.template_code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0013.link.target.source_code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0013.link.target.source_key",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0013.link.target.content_id",
"empty_behavior": "hide",
"visibility": "hide"
}
],
"metadata": {
"content_ref_contract_version": "1.0",
"authoring_identity": "source_code",
"navigation_identity": "content_id",
"navigation_ref_contract_version": "1.0",
"allowed_reference_types": [
"template_ref",
"content_ref"
],
"default_reference_type": "template_ref"
}
}
],
"metadata": {
"navigation_reference_policy": {
"contract_version": "1.0",
"default_reference_type": "template_ref",
"allowed_reference_types": [
"template_ref",
"content_ref"
],
"template_ref_shape": {
"type": "template_ref",
"label": "<display label>",
"target": {
"module_code": "<module code>",
"template_code": "<template code>"
}
},
"content_ref_shape": {
"type": "content_ref",
"label": "<display label>",
"target": {
"module_code": "<module code>",
"template_code": "<template code>",
"source_code": "<canonical source code>"
}
}
}
}
}

View File

@ -0,0 +1,337 @@
{
"name": "heavy_periods_list_content",
"description": "",
"code": "m0042_ct0014",
"content_kind": "therapeutic",
"is_searchable": true,
"is_filterable": true,
"attribute_prefix_code": "m0042_ct0014",
"attribute_prefix_name": "heavy_periods_list_content",
"attribute_defs": [
{
"name": "Name",
"code": "name",
"data_type": "text",
"default": ""
},
{
"name": "Code",
"code": "code",
"data_type": "text",
"default": ""
},
{
"name": "Count",
"code": "content_count",
"data_type": "number",
"default": 0
},
{
"name": "Label",
"code": "content_label",
"data_type": "text",
"default": ""
},
{
"name": "Sort Order",
"code": "sort_order",
"data_type": "number",
"default": 0
},
{
"name": "Content Link",
"code": "link",
"definition_kind": "object",
"is_multivalue": false,
"is_required": false,
"is_searchable": false,
"is_filterable": false,
"children": [
{
"name": "Type",
"code": "type",
"data_type": "text",
"definition_kind": "scalar",
"is_required": true,
"default": "template_ref",
"allowed_values": [
"template_ref",
"content_ref"
]
},
{
"name": "Label",
"code": "label",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false
},
{
"name": "Target",
"code": "target",
"definition_kind": "object",
"is_required": true,
"children": [
{
"name": "Module Code",
"code": "module_code",
"data_type": "text",
"definition_kind": "scalar",
"is_required": true
},
{
"name": "Template Code",
"code": "template_code",
"data_type": "text",
"definition_kind": "scalar",
"is_required": true
},
{
"name": "Source Code",
"code": "source_code",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false,
"is_searchable": false,
"is_filterable": false,
"metadata": {
"lifecycle": "authoring_only",
"description": "Canonical target content code used in source/seed JSON. Seeder resolves it to source_key before persistence.",
"applies_to": [
"content_ref"
],
"not_used_by": [
"template_ref"
]
}
},
{
"name": "Source Key",
"code": "source_key",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false,
"metadata": {
"lifecycle": "persisted",
"description": "Stable target identity derived from template_code and source_code.",
"applies_to": [
"content_ref"
],
"not_used_by": [
"template_ref"
]
}
},
{
"name": "Content ID",
"code": "content_id",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false,
"metadata": {
"lifecycle": "runtime_hydrated",
"description": "Target content UUID hydrated by the backend for client navigation.",
"applies_to": [
"content_ref"
],
"not_used_by": [
"template_ref"
]
}
}
],
"metadata": {
"identity_contract": {
"template_ref": {
"authoring": [
"module_code",
"template_code"
],
"persisted": [
"module_code",
"template_code"
],
"runtime": [
"module_code",
"template_code"
]
},
"content_ref": {
"authoring": "source_code",
"persisted": "source_key",
"runtime": "content_id"
}
}
}
}
],
"metadata": {
"value_contract": {
"kind": "navigation_ref",
"contract_version": "1.0",
"allowed_reference_types": [
"template_ref",
"content_ref"
],
"default_reference_type": "template_ref",
"contracts": {
"template_ref": {
"purpose": "Navigate from the module root/index to another template collection.",
"required_target_fields": [
"module_code",
"template_code"
],
"forbidden_source_fields": [
"source_key",
"content_id"
],
"source_code_required": false
},
"content_ref": {
"purpose": "Navigate to a specific content item.",
"required_target_fields": [
"module_code",
"template_code",
"source_code"
],
"authoring_identity": "source_code",
"persisted_identity": "source_key",
"runtime_identity": "content_id",
"resolution_pipeline": "source_code -> source_key -> content_id"
}
},
"rules": {
"do_not_infer_reference_from_label": true,
"do_not_infer_reference_from_plain_text": true
}
}
}
}
],
"presentation_contracts": [
{
"client_type": "mobile",
"version_no": 1,
"is_active": true,
"mode": "collection",
"renderers": {
"collection": "m0042_ct0014_collection",
"collection_item": "m0042_ct0014_card",
"detail": "m0042_ct0014_detail"
},
"link": {
"renderer": "content_link"
},
"attributes": [
{
"attribute_key": "m0042_ct0014.name",
"empty_behavior": "hide",
"visibility": "show"
},
{
"attribute_key": "m0042_ct0014.code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0014.content_count",
"empty_behavior": "hide",
"visibility": "show"
},
{
"attribute_key": "m0042_ct0014.content_label",
"empty_behavior": "hide",
"visibility": "show"
},
{
"attribute_key": "m0042_ct0014.sort_order",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0014.link",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0014.link.type",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0014.link.label",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0014.link.target",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0014.link.target.module_code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0014.link.target.template_code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0014.link.target.source_code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0014.link.target.source_key",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0014.link.target.content_id",
"empty_behavior": "hide",
"visibility": "hide"
}
],
"metadata": {
"content_ref_contract_version": "1.0",
"authoring_identity": "source_code",
"navigation_identity": "content_id",
"navigation_ref_contract_version": "1.0",
"allowed_reference_types": [
"template_ref",
"content_ref"
],
"default_reference_type": "template_ref"
}
}
],
"metadata": {
"navigation_reference_policy": {
"contract_version": "1.0",
"default_reference_type": "template_ref",
"allowed_reference_types": [
"template_ref",
"content_ref"
],
"template_ref_shape": {
"type": "template_ref",
"label": "<display label>",
"target": {
"module_code": "<module code>",
"template_code": "<template code>"
}
},
"content_ref_shape": {
"type": "content_ref",
"label": "<display label>",
"target": {
"module_code": "<module code>",
"template_code": "<template code>",
"source_code": "<canonical source code>"
}
}
}
}
}

View File

@ -0,0 +1,337 @@
{
"name": "scanty_periods_list_content",
"description": "",
"code": "m0042_ct0015",
"content_kind": "therapeutic",
"is_searchable": true,
"is_filterable": true,
"attribute_prefix_code": "m0042_ct0015",
"attribute_prefix_name": "scanty_periods_list_content",
"attribute_defs": [
{
"name": "Name",
"code": "name",
"data_type": "text",
"default": ""
},
{
"name": "Code",
"code": "code",
"data_type": "text",
"default": ""
},
{
"name": "Count",
"code": "content_count",
"data_type": "number",
"default": 0
},
{
"name": "Label",
"code": "content_label",
"data_type": "text",
"default": ""
},
{
"name": "Sort Order",
"code": "sort_order",
"data_type": "number",
"default": 0
},
{
"name": "Content Link",
"code": "link",
"definition_kind": "object",
"is_multivalue": false,
"is_required": false,
"is_searchable": false,
"is_filterable": false,
"children": [
{
"name": "Type",
"code": "type",
"data_type": "text",
"definition_kind": "scalar",
"is_required": true,
"default": "template_ref",
"allowed_values": [
"template_ref",
"content_ref"
]
},
{
"name": "Label",
"code": "label",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false
},
{
"name": "Target",
"code": "target",
"definition_kind": "object",
"is_required": true,
"children": [
{
"name": "Module Code",
"code": "module_code",
"data_type": "text",
"definition_kind": "scalar",
"is_required": true
},
{
"name": "Template Code",
"code": "template_code",
"data_type": "text",
"definition_kind": "scalar",
"is_required": true
},
{
"name": "Source Code",
"code": "source_code",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false,
"is_searchable": false,
"is_filterable": false,
"metadata": {
"lifecycle": "authoring_only",
"description": "Canonical target content code used in source/seed JSON. Seeder resolves it to source_key before persistence.",
"applies_to": [
"content_ref"
],
"not_used_by": [
"template_ref"
]
}
},
{
"name": "Source Key",
"code": "source_key",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false,
"metadata": {
"lifecycle": "persisted",
"description": "Stable target identity derived from template_code and source_code.",
"applies_to": [
"content_ref"
],
"not_used_by": [
"template_ref"
]
}
},
{
"name": "Content ID",
"code": "content_id",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false,
"metadata": {
"lifecycle": "runtime_hydrated",
"description": "Target content UUID hydrated by the backend for client navigation.",
"applies_to": [
"content_ref"
],
"not_used_by": [
"template_ref"
]
}
}
],
"metadata": {
"identity_contract": {
"template_ref": {
"authoring": [
"module_code",
"template_code"
],
"persisted": [
"module_code",
"template_code"
],
"runtime": [
"module_code",
"template_code"
]
},
"content_ref": {
"authoring": "source_code",
"persisted": "source_key",
"runtime": "content_id"
}
}
}
}
],
"metadata": {
"value_contract": {
"kind": "navigation_ref",
"contract_version": "1.0",
"allowed_reference_types": [
"template_ref",
"content_ref"
],
"default_reference_type": "template_ref",
"contracts": {
"template_ref": {
"purpose": "Navigate from the module root/index to another template collection.",
"required_target_fields": [
"module_code",
"template_code"
],
"forbidden_source_fields": [
"source_key",
"content_id"
],
"source_code_required": false
},
"content_ref": {
"purpose": "Navigate to a specific content item.",
"required_target_fields": [
"module_code",
"template_code",
"source_code"
],
"authoring_identity": "source_code",
"persisted_identity": "source_key",
"runtime_identity": "content_id",
"resolution_pipeline": "source_code -> source_key -> content_id"
}
},
"rules": {
"do_not_infer_reference_from_label": true,
"do_not_infer_reference_from_plain_text": true
}
}
}
}
],
"presentation_contracts": [
{
"client_type": "mobile",
"version_no": 1,
"is_active": true,
"mode": "collection",
"renderers": {
"collection": "m0042_ct0015_collection",
"collection_item": "m0042_ct0015_card",
"detail": "m0042_ct0015_detail"
},
"link": {
"renderer": "content_link"
},
"attributes": [
{
"attribute_key": "m0042_ct0015.name",
"empty_behavior": "hide",
"visibility": "show"
},
{
"attribute_key": "m0042_ct0015.code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0015.content_count",
"empty_behavior": "hide",
"visibility": "show"
},
{
"attribute_key": "m0042_ct0015.content_label",
"empty_behavior": "hide",
"visibility": "show"
},
{
"attribute_key": "m0042_ct0015.sort_order",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0015.link",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0015.link.type",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0015.link.label",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0015.link.target",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0015.link.target.module_code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0015.link.target.template_code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0015.link.target.source_code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0015.link.target.source_key",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0015.link.target.content_id",
"empty_behavior": "hide",
"visibility": "hide"
}
],
"metadata": {
"content_ref_contract_version": "1.0",
"authoring_identity": "source_code",
"navigation_identity": "content_id",
"navigation_ref_contract_version": "1.0",
"allowed_reference_types": [
"template_ref",
"content_ref"
],
"default_reference_type": "template_ref"
}
}
],
"metadata": {
"navigation_reference_policy": {
"contract_version": "1.0",
"default_reference_type": "template_ref",
"allowed_reference_types": [
"template_ref",
"content_ref"
],
"template_ref_shape": {
"type": "template_ref",
"label": "<display label>",
"target": {
"module_code": "<module code>",
"template_code": "<template code>"
}
},
"content_ref_shape": {
"type": "content_ref",
"label": "<display label>",
"target": {
"module_code": "<module code>",
"template_code": "<template code>",
"source_code": "<canonical source code>"
}
}
}
}
}

View File

@ -0,0 +1,337 @@
{
"name": "long_periods_list_content",
"description": "",
"code": "m0042_ct0016",
"content_kind": "therapeutic",
"is_searchable": true,
"is_filterable": true,
"attribute_prefix_code": "m0042_ct0016",
"attribute_prefix_name": "long_periods_list_content",
"attribute_defs": [
{
"name": "Name",
"code": "name",
"data_type": "text",
"default": ""
},
{
"name": "Code",
"code": "code",
"data_type": "text",
"default": ""
},
{
"name": "Count",
"code": "content_count",
"data_type": "number",
"default": 0
},
{
"name": "Label",
"code": "content_label",
"data_type": "text",
"default": ""
},
{
"name": "Sort Order",
"code": "sort_order",
"data_type": "number",
"default": 0
},
{
"name": "Content Link",
"code": "link",
"definition_kind": "object",
"is_multivalue": false,
"is_required": false,
"is_searchable": false,
"is_filterable": false,
"children": [
{
"name": "Type",
"code": "type",
"data_type": "text",
"definition_kind": "scalar",
"is_required": true,
"default": "template_ref",
"allowed_values": [
"template_ref",
"content_ref"
]
},
{
"name": "Label",
"code": "label",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false
},
{
"name": "Target",
"code": "target",
"definition_kind": "object",
"is_required": true,
"children": [
{
"name": "Module Code",
"code": "module_code",
"data_type": "text",
"definition_kind": "scalar",
"is_required": true
},
{
"name": "Template Code",
"code": "template_code",
"data_type": "text",
"definition_kind": "scalar",
"is_required": true
},
{
"name": "Source Code",
"code": "source_code",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false,
"is_searchable": false,
"is_filterable": false,
"metadata": {
"lifecycle": "authoring_only",
"description": "Canonical target content code used in source/seed JSON. Seeder resolves it to source_key before persistence.",
"applies_to": [
"content_ref"
],
"not_used_by": [
"template_ref"
]
}
},
{
"name": "Source Key",
"code": "source_key",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false,
"metadata": {
"lifecycle": "persisted",
"description": "Stable target identity derived from template_code and source_code.",
"applies_to": [
"content_ref"
],
"not_used_by": [
"template_ref"
]
}
},
{
"name": "Content ID",
"code": "content_id",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false,
"metadata": {
"lifecycle": "runtime_hydrated",
"description": "Target content UUID hydrated by the backend for client navigation.",
"applies_to": [
"content_ref"
],
"not_used_by": [
"template_ref"
]
}
}
],
"metadata": {
"identity_contract": {
"template_ref": {
"authoring": [
"module_code",
"template_code"
],
"persisted": [
"module_code",
"template_code"
],
"runtime": [
"module_code",
"template_code"
]
},
"content_ref": {
"authoring": "source_code",
"persisted": "source_key",
"runtime": "content_id"
}
}
}
}
],
"metadata": {
"value_contract": {
"kind": "navigation_ref",
"contract_version": "1.0",
"allowed_reference_types": [
"template_ref",
"content_ref"
],
"default_reference_type": "template_ref",
"contracts": {
"template_ref": {
"purpose": "Navigate from the module root/index to another template collection.",
"required_target_fields": [
"module_code",
"template_code"
],
"forbidden_source_fields": [
"source_key",
"content_id"
],
"source_code_required": false
},
"content_ref": {
"purpose": "Navigate to a specific content item.",
"required_target_fields": [
"module_code",
"template_code",
"source_code"
],
"authoring_identity": "source_code",
"persisted_identity": "source_key",
"runtime_identity": "content_id",
"resolution_pipeline": "source_code -> source_key -> content_id"
}
},
"rules": {
"do_not_infer_reference_from_label": true,
"do_not_infer_reference_from_plain_text": true
}
}
}
}
],
"presentation_contracts": [
{
"client_type": "mobile",
"version_no": 1,
"is_active": true,
"mode": "collection",
"renderers": {
"collection": "m0042_ct0016_collection",
"collection_item": "m0042_ct0016_card",
"detail": "m0042_ct0016_detail"
},
"link": {
"renderer": "content_link"
},
"attributes": [
{
"attribute_key": "m0042_ct0016.name",
"empty_behavior": "hide",
"visibility": "show"
},
{
"attribute_key": "m0042_ct0016.code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0016.content_count",
"empty_behavior": "hide",
"visibility": "show"
},
{
"attribute_key": "m0042_ct0016.content_label",
"empty_behavior": "hide",
"visibility": "show"
},
{
"attribute_key": "m0042_ct0016.sort_order",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0016.link",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0016.link.type",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0016.link.label",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0016.link.target",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0016.link.target.module_code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0016.link.target.template_code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0016.link.target.source_code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0016.link.target.source_key",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0016.link.target.content_id",
"empty_behavior": "hide",
"visibility": "hide"
}
],
"metadata": {
"content_ref_contract_version": "1.0",
"authoring_identity": "source_code",
"navigation_identity": "content_id",
"navigation_ref_contract_version": "1.0",
"allowed_reference_types": [
"template_ref",
"content_ref"
],
"default_reference_type": "template_ref"
}
}
],
"metadata": {
"navigation_reference_policy": {
"contract_version": "1.0",
"default_reference_type": "template_ref",
"allowed_reference_types": [
"template_ref",
"content_ref"
],
"template_ref_shape": {
"type": "template_ref",
"label": "<display label>",
"target": {
"module_code": "<module code>",
"template_code": "<template code>"
}
},
"content_ref_shape": {
"type": "content_ref",
"label": "<display label>",
"target": {
"module_code": "<module code>",
"template_code": "<template code>",
"source_code": "<canonical source code>"
}
}
}
}
}

View File

@ -0,0 +1,337 @@
{
"name": "painful_periods_list_content",
"description": "",
"code": "m0042_ct0017",
"content_kind": "therapeutic",
"is_searchable": true,
"is_filterable": true,
"attribute_prefix_code": "m0042_ct0017",
"attribute_prefix_name": "painful_periods_list_content",
"attribute_defs": [
{
"name": "Name",
"code": "name",
"data_type": "text",
"default": ""
},
{
"name": "Code",
"code": "code",
"data_type": "text",
"default": ""
},
{
"name": "Count",
"code": "content_count",
"data_type": "number",
"default": 0
},
{
"name": "Label",
"code": "content_label",
"data_type": "text",
"default": ""
},
{
"name": "Sort Order",
"code": "sort_order",
"data_type": "number",
"default": 0
},
{
"name": "Content Link",
"code": "link",
"definition_kind": "object",
"is_multivalue": false,
"is_required": false,
"is_searchable": false,
"is_filterable": false,
"children": [
{
"name": "Type",
"code": "type",
"data_type": "text",
"definition_kind": "scalar",
"is_required": true,
"default": "template_ref",
"allowed_values": [
"template_ref",
"content_ref"
]
},
{
"name": "Label",
"code": "label",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false
},
{
"name": "Target",
"code": "target",
"definition_kind": "object",
"is_required": true,
"children": [
{
"name": "Module Code",
"code": "module_code",
"data_type": "text",
"definition_kind": "scalar",
"is_required": true
},
{
"name": "Template Code",
"code": "template_code",
"data_type": "text",
"definition_kind": "scalar",
"is_required": true
},
{
"name": "Source Code",
"code": "source_code",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false,
"is_searchable": false,
"is_filterable": false,
"metadata": {
"lifecycle": "authoring_only",
"description": "Canonical target content code used in source/seed JSON. Seeder resolves it to source_key before persistence.",
"applies_to": [
"content_ref"
],
"not_used_by": [
"template_ref"
]
}
},
{
"name": "Source Key",
"code": "source_key",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false,
"metadata": {
"lifecycle": "persisted",
"description": "Stable target identity derived from template_code and source_code.",
"applies_to": [
"content_ref"
],
"not_used_by": [
"template_ref"
]
}
},
{
"name": "Content ID",
"code": "content_id",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false,
"metadata": {
"lifecycle": "runtime_hydrated",
"description": "Target content UUID hydrated by the backend for client navigation.",
"applies_to": [
"content_ref"
],
"not_used_by": [
"template_ref"
]
}
}
],
"metadata": {
"identity_contract": {
"template_ref": {
"authoring": [
"module_code",
"template_code"
],
"persisted": [
"module_code",
"template_code"
],
"runtime": [
"module_code",
"template_code"
]
},
"content_ref": {
"authoring": "source_code",
"persisted": "source_key",
"runtime": "content_id"
}
}
}
}
],
"metadata": {
"value_contract": {
"kind": "navigation_ref",
"contract_version": "1.0",
"allowed_reference_types": [
"template_ref",
"content_ref"
],
"default_reference_type": "template_ref",
"contracts": {
"template_ref": {
"purpose": "Navigate from the module root/index to another template collection.",
"required_target_fields": [
"module_code",
"template_code"
],
"forbidden_source_fields": [
"source_key",
"content_id"
],
"source_code_required": false
},
"content_ref": {
"purpose": "Navigate to a specific content item.",
"required_target_fields": [
"module_code",
"template_code",
"source_code"
],
"authoring_identity": "source_code",
"persisted_identity": "source_key",
"runtime_identity": "content_id",
"resolution_pipeline": "source_code -> source_key -> content_id"
}
},
"rules": {
"do_not_infer_reference_from_label": true,
"do_not_infer_reference_from_plain_text": true
}
}
}
}
],
"presentation_contracts": [
{
"client_type": "mobile",
"version_no": 1,
"is_active": true,
"mode": "collection",
"renderers": {
"collection": "m0042_ct0017_collection",
"collection_item": "m0042_ct0017_card",
"detail": "m0042_ct0017_detail"
},
"link": {
"renderer": "content_link"
},
"attributes": [
{
"attribute_key": "m0042_ct0017.name",
"empty_behavior": "hide",
"visibility": "show"
},
{
"attribute_key": "m0042_ct0017.code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0017.content_count",
"empty_behavior": "hide",
"visibility": "show"
},
{
"attribute_key": "m0042_ct0017.content_label",
"empty_behavior": "hide",
"visibility": "show"
},
{
"attribute_key": "m0042_ct0017.sort_order",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0017.link",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0017.link.type",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0017.link.label",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0017.link.target",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0017.link.target.module_code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0017.link.target.template_code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0017.link.target.source_code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0017.link.target.source_key",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0017.link.target.content_id",
"empty_behavior": "hide",
"visibility": "hide"
}
],
"metadata": {
"content_ref_contract_version": "1.0",
"authoring_identity": "source_code",
"navigation_identity": "content_id",
"navigation_ref_contract_version": "1.0",
"allowed_reference_types": [
"template_ref",
"content_ref"
],
"default_reference_type": "template_ref"
}
}
],
"metadata": {
"navigation_reference_policy": {
"contract_version": "1.0",
"default_reference_type": "template_ref",
"allowed_reference_types": [
"template_ref",
"content_ref"
],
"template_ref_shape": {
"type": "template_ref",
"label": "<display label>",
"target": {
"module_code": "<module code>",
"template_code": "<template code>"
}
},
"content_ref_shape": {
"type": "content_ref",
"label": "<display label>",
"target": {
"module_code": "<module code>",
"template_code": "<template code>",
"source_code": "<canonical source code>"
}
}
}
}
}

View File

@ -0,0 +1,337 @@
{
"name": "bleeding_between_periods_list_content",
"description": "",
"code": "m0042_ct0018",
"content_kind": "therapeutic",
"is_searchable": true,
"is_filterable": true,
"attribute_prefix_code": "m0042_ct0018",
"attribute_prefix_name": "bleeding_between_periods_list_content",
"attribute_defs": [
{
"name": "Name",
"code": "name",
"data_type": "text",
"default": ""
},
{
"name": "Code",
"code": "code",
"data_type": "text",
"default": ""
},
{
"name": "Count",
"code": "content_count",
"data_type": "number",
"default": 0
},
{
"name": "Label",
"code": "content_label",
"data_type": "text",
"default": ""
},
{
"name": "Sort Order",
"code": "sort_order",
"data_type": "number",
"default": 0
},
{
"name": "Content Link",
"code": "link",
"definition_kind": "object",
"is_multivalue": false,
"is_required": false,
"is_searchable": false,
"is_filterable": false,
"children": [
{
"name": "Type",
"code": "type",
"data_type": "text",
"definition_kind": "scalar",
"is_required": true,
"default": "template_ref",
"allowed_values": [
"template_ref",
"content_ref"
]
},
{
"name": "Label",
"code": "label",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false
},
{
"name": "Target",
"code": "target",
"definition_kind": "object",
"is_required": true,
"children": [
{
"name": "Module Code",
"code": "module_code",
"data_type": "text",
"definition_kind": "scalar",
"is_required": true
},
{
"name": "Template Code",
"code": "template_code",
"data_type": "text",
"definition_kind": "scalar",
"is_required": true
},
{
"name": "Source Code",
"code": "source_code",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false,
"is_searchable": false,
"is_filterable": false,
"metadata": {
"lifecycle": "authoring_only",
"description": "Canonical target content code used in source/seed JSON. Seeder resolves it to source_key before persistence.",
"applies_to": [
"content_ref"
],
"not_used_by": [
"template_ref"
]
}
},
{
"name": "Source Key",
"code": "source_key",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false,
"metadata": {
"lifecycle": "persisted",
"description": "Stable target identity derived from template_code and source_code.",
"applies_to": [
"content_ref"
],
"not_used_by": [
"template_ref"
]
}
},
{
"name": "Content ID",
"code": "content_id",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false,
"metadata": {
"lifecycle": "runtime_hydrated",
"description": "Target content UUID hydrated by the backend for client navigation.",
"applies_to": [
"content_ref"
],
"not_used_by": [
"template_ref"
]
}
}
],
"metadata": {
"identity_contract": {
"template_ref": {
"authoring": [
"module_code",
"template_code"
],
"persisted": [
"module_code",
"template_code"
],
"runtime": [
"module_code",
"template_code"
]
},
"content_ref": {
"authoring": "source_code",
"persisted": "source_key",
"runtime": "content_id"
}
}
}
}
],
"metadata": {
"value_contract": {
"kind": "navigation_ref",
"contract_version": "1.0",
"allowed_reference_types": [
"template_ref",
"content_ref"
],
"default_reference_type": "template_ref",
"contracts": {
"template_ref": {
"purpose": "Navigate from the module root/index to another template collection.",
"required_target_fields": [
"module_code",
"template_code"
],
"forbidden_source_fields": [
"source_key",
"content_id"
],
"source_code_required": false
},
"content_ref": {
"purpose": "Navigate to a specific content item.",
"required_target_fields": [
"module_code",
"template_code",
"source_code"
],
"authoring_identity": "source_code",
"persisted_identity": "source_key",
"runtime_identity": "content_id",
"resolution_pipeline": "source_code -> source_key -> content_id"
}
},
"rules": {
"do_not_infer_reference_from_label": true,
"do_not_infer_reference_from_plain_text": true
}
}
}
}
],
"presentation_contracts": [
{
"client_type": "mobile",
"version_no": 1,
"is_active": true,
"mode": "collection",
"renderers": {
"collection": "m0042_ct0018_collection",
"collection_item": "m0042_ct0018_card",
"detail": "m0042_ct0018_detail"
},
"link": {
"renderer": "content_link"
},
"attributes": [
{
"attribute_key": "m0042_ct0018.name",
"empty_behavior": "hide",
"visibility": "show"
},
{
"attribute_key": "m0042_ct0018.code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0018.content_count",
"empty_behavior": "hide",
"visibility": "show"
},
{
"attribute_key": "m0042_ct0018.content_label",
"empty_behavior": "hide",
"visibility": "show"
},
{
"attribute_key": "m0042_ct0018.sort_order",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0018.link",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0018.link.type",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0018.link.label",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0018.link.target",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0018.link.target.module_code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0018.link.target.template_code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0018.link.target.source_code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0018.link.target.source_key",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0018.link.target.content_id",
"empty_behavior": "hide",
"visibility": "hide"
}
],
"metadata": {
"content_ref_contract_version": "1.0",
"authoring_identity": "source_code",
"navigation_identity": "content_id",
"navigation_ref_contract_version": "1.0",
"allowed_reference_types": [
"template_ref",
"content_ref"
],
"default_reference_type": "template_ref"
}
}
],
"metadata": {
"navigation_reference_policy": {
"contract_version": "1.0",
"default_reference_type": "template_ref",
"allowed_reference_types": [
"template_ref",
"content_ref"
],
"template_ref_shape": {
"type": "template_ref",
"label": "<display label>",
"target": {
"module_code": "<module code>",
"template_code": "<template code>"
}
},
"content_ref_shape": {
"type": "content_ref",
"label": "<display label>",
"target": {
"module_code": "<module code>",
"template_code": "<template code>",
"source_code": "<canonical source code>"
}
}
}
}
}

View File

@ -0,0 +1,337 @@
{
"name": "no_periods_list_content",
"description": "",
"code": "m0042_ct0019",
"content_kind": "therapeutic",
"is_searchable": true,
"is_filterable": true,
"attribute_prefix_code": "m0042_ct0019",
"attribute_prefix_name": "no_periods_list_content",
"attribute_defs": [
{
"name": "Name",
"code": "name",
"data_type": "text",
"default": ""
},
{
"name": "Code",
"code": "code",
"data_type": "text",
"default": ""
},
{
"name": "Count",
"code": "content_count",
"data_type": "number",
"default": 0
},
{
"name": "Label",
"code": "content_label",
"data_type": "text",
"default": ""
},
{
"name": "Sort Order",
"code": "sort_order",
"data_type": "number",
"default": 0
},
{
"name": "Content Link",
"code": "link",
"definition_kind": "object",
"is_multivalue": false,
"is_required": false,
"is_searchable": false,
"is_filterable": false,
"children": [
{
"name": "Type",
"code": "type",
"data_type": "text",
"definition_kind": "scalar",
"is_required": true,
"default": "template_ref",
"allowed_values": [
"template_ref",
"content_ref"
]
},
{
"name": "Label",
"code": "label",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false
},
{
"name": "Target",
"code": "target",
"definition_kind": "object",
"is_required": true,
"children": [
{
"name": "Module Code",
"code": "module_code",
"data_type": "text",
"definition_kind": "scalar",
"is_required": true
},
{
"name": "Template Code",
"code": "template_code",
"data_type": "text",
"definition_kind": "scalar",
"is_required": true
},
{
"name": "Source Code",
"code": "source_code",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false,
"is_searchable": false,
"is_filterable": false,
"metadata": {
"lifecycle": "authoring_only",
"description": "Canonical target content code used in source/seed JSON. Seeder resolves it to source_key before persistence.",
"applies_to": [
"content_ref"
],
"not_used_by": [
"template_ref"
]
}
},
{
"name": "Source Key",
"code": "source_key",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false,
"metadata": {
"lifecycle": "persisted",
"description": "Stable target identity derived from template_code and source_code.",
"applies_to": [
"content_ref"
],
"not_used_by": [
"template_ref"
]
}
},
{
"name": "Content ID",
"code": "content_id",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false,
"metadata": {
"lifecycle": "runtime_hydrated",
"description": "Target content UUID hydrated by the backend for client navigation.",
"applies_to": [
"content_ref"
],
"not_used_by": [
"template_ref"
]
}
}
],
"metadata": {
"identity_contract": {
"template_ref": {
"authoring": [
"module_code",
"template_code"
],
"persisted": [
"module_code",
"template_code"
],
"runtime": [
"module_code",
"template_code"
]
},
"content_ref": {
"authoring": "source_code",
"persisted": "source_key",
"runtime": "content_id"
}
}
}
}
],
"metadata": {
"value_contract": {
"kind": "navigation_ref",
"contract_version": "1.0",
"allowed_reference_types": [
"template_ref",
"content_ref"
],
"default_reference_type": "template_ref",
"contracts": {
"template_ref": {
"purpose": "Navigate from the module root/index to another template collection.",
"required_target_fields": [
"module_code",
"template_code"
],
"forbidden_source_fields": [
"source_key",
"content_id"
],
"source_code_required": false
},
"content_ref": {
"purpose": "Navigate to a specific content item.",
"required_target_fields": [
"module_code",
"template_code",
"source_code"
],
"authoring_identity": "source_code",
"persisted_identity": "source_key",
"runtime_identity": "content_id",
"resolution_pipeline": "source_code -> source_key -> content_id"
}
},
"rules": {
"do_not_infer_reference_from_label": true,
"do_not_infer_reference_from_plain_text": true
}
}
}
}
],
"presentation_contracts": [
{
"client_type": "mobile",
"version_no": 1,
"is_active": true,
"mode": "collection",
"renderers": {
"collection": "m0042_ct0019_collection",
"collection_item": "m0042_ct0019_card",
"detail": "m0042_ct0019_detail"
},
"link": {
"renderer": "content_link"
},
"attributes": [
{
"attribute_key": "m0042_ct0019.name",
"empty_behavior": "hide",
"visibility": "show"
},
{
"attribute_key": "m0042_ct0019.code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0019.content_count",
"empty_behavior": "hide",
"visibility": "show"
},
{
"attribute_key": "m0042_ct0019.content_label",
"empty_behavior": "hide",
"visibility": "show"
},
{
"attribute_key": "m0042_ct0019.sort_order",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0019.link",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0019.link.type",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0019.link.label",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0019.link.target",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0019.link.target.module_code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0019.link.target.template_code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0019.link.target.source_code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0019.link.target.source_key",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0019.link.target.content_id",
"empty_behavior": "hide",
"visibility": "hide"
}
],
"metadata": {
"content_ref_contract_version": "1.0",
"authoring_identity": "source_code",
"navigation_identity": "content_id",
"navigation_ref_contract_version": "1.0",
"allowed_reference_types": [
"template_ref",
"content_ref"
],
"default_reference_type": "template_ref"
}
}
],
"metadata": {
"navigation_reference_policy": {
"contract_version": "1.0",
"default_reference_type": "template_ref",
"allowed_reference_types": [
"template_ref",
"content_ref"
],
"template_ref_shape": {
"type": "template_ref",
"label": "<display label>",
"target": {
"module_code": "<module code>",
"template_code": "<template code>"
}
},
"content_ref_shape": {
"type": "content_ref",
"label": "<display label>",
"target": {
"module_code": "<module code>",
"template_code": "<template code>",
"source_code": "<canonical source code>"
}
}
}
}
}

View File

@ -0,0 +1,337 @@
{
"name": "flooding_and_trickling_list_content",
"description": "",
"code": "m0042_ct0020",
"content_kind": "therapeutic",
"is_searchable": true,
"is_filterable": true,
"attribute_prefix_code": "m0042_ct0020",
"attribute_prefix_name": "flooding_and_trickling_list_content",
"attribute_defs": [
{
"name": "Name",
"code": "name",
"data_type": "text",
"default": ""
},
{
"name": "Code",
"code": "code",
"data_type": "text",
"default": ""
},
{
"name": "Count",
"code": "content_count",
"data_type": "number",
"default": 0
},
{
"name": "Label",
"code": "content_label",
"data_type": "text",
"default": ""
},
{
"name": "Sort Order",
"code": "sort_order",
"data_type": "number",
"default": 0
},
{
"name": "Content Link",
"code": "link",
"definition_kind": "object",
"is_multivalue": false,
"is_required": false,
"is_searchable": false,
"is_filterable": false,
"children": [
{
"name": "Type",
"code": "type",
"data_type": "text",
"definition_kind": "scalar",
"is_required": true,
"default": "template_ref",
"allowed_values": [
"template_ref",
"content_ref"
]
},
{
"name": "Label",
"code": "label",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false
},
{
"name": "Target",
"code": "target",
"definition_kind": "object",
"is_required": true,
"children": [
{
"name": "Module Code",
"code": "module_code",
"data_type": "text",
"definition_kind": "scalar",
"is_required": true
},
{
"name": "Template Code",
"code": "template_code",
"data_type": "text",
"definition_kind": "scalar",
"is_required": true
},
{
"name": "Source Code",
"code": "source_code",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false,
"is_searchable": false,
"is_filterable": false,
"metadata": {
"lifecycle": "authoring_only",
"description": "Canonical target content code used in source/seed JSON. Seeder resolves it to source_key before persistence.",
"applies_to": [
"content_ref"
],
"not_used_by": [
"template_ref"
]
}
},
{
"name": "Source Key",
"code": "source_key",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false,
"metadata": {
"lifecycle": "persisted",
"description": "Stable target identity derived from template_code and source_code.",
"applies_to": [
"content_ref"
],
"not_used_by": [
"template_ref"
]
}
},
{
"name": "Content ID",
"code": "content_id",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false,
"metadata": {
"lifecycle": "runtime_hydrated",
"description": "Target content UUID hydrated by the backend for client navigation.",
"applies_to": [
"content_ref"
],
"not_used_by": [
"template_ref"
]
}
}
],
"metadata": {
"identity_contract": {
"template_ref": {
"authoring": [
"module_code",
"template_code"
],
"persisted": [
"module_code",
"template_code"
],
"runtime": [
"module_code",
"template_code"
]
},
"content_ref": {
"authoring": "source_code",
"persisted": "source_key",
"runtime": "content_id"
}
}
}
}
],
"metadata": {
"value_contract": {
"kind": "navigation_ref",
"contract_version": "1.0",
"allowed_reference_types": [
"template_ref",
"content_ref"
],
"default_reference_type": "template_ref",
"contracts": {
"template_ref": {
"purpose": "Navigate from the module root/index to another template collection.",
"required_target_fields": [
"module_code",
"template_code"
],
"forbidden_source_fields": [
"source_key",
"content_id"
],
"source_code_required": false
},
"content_ref": {
"purpose": "Navigate to a specific content item.",
"required_target_fields": [
"module_code",
"template_code",
"source_code"
],
"authoring_identity": "source_code",
"persisted_identity": "source_key",
"runtime_identity": "content_id",
"resolution_pipeline": "source_code -> source_key -> content_id"
}
},
"rules": {
"do_not_infer_reference_from_label": true,
"do_not_infer_reference_from_plain_text": true
}
}
}
}
],
"presentation_contracts": [
{
"client_type": "mobile",
"version_no": 1,
"is_active": true,
"mode": "collection",
"renderers": {
"collection": "m0042_ct0020_collection",
"collection_item": "m0042_ct0020_card",
"detail": "m0042_ct0020_detail"
},
"link": {
"renderer": "content_link"
},
"attributes": [
{
"attribute_key": "m0042_ct0020.name",
"empty_behavior": "hide",
"visibility": "show"
},
{
"attribute_key": "m0042_ct0020.code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0020.content_count",
"empty_behavior": "hide",
"visibility": "show"
},
{
"attribute_key": "m0042_ct0020.content_label",
"empty_behavior": "hide",
"visibility": "show"
},
{
"attribute_key": "m0042_ct0020.sort_order",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0020.link",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0020.link.type",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0020.link.label",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0020.link.target",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0020.link.target.module_code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0020.link.target.template_code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0020.link.target.source_code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0020.link.target.source_key",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0020.link.target.content_id",
"empty_behavior": "hide",
"visibility": "hide"
}
],
"metadata": {
"content_ref_contract_version": "1.0",
"authoring_identity": "source_code",
"navigation_identity": "content_id",
"navigation_ref_contract_version": "1.0",
"allowed_reference_types": [
"template_ref",
"content_ref"
],
"default_reference_type": "template_ref"
}
}
],
"metadata": {
"navigation_reference_policy": {
"contract_version": "1.0",
"default_reference_type": "template_ref",
"allowed_reference_types": [
"template_ref",
"content_ref"
],
"template_ref_shape": {
"type": "template_ref",
"label": "<display label>",
"target": {
"module_code": "<module code>",
"template_code": "<template code>"
}
},
"content_ref_shape": {
"type": "content_ref",
"label": "<display label>",
"target": {
"module_code": "<module code>",
"template_code": "<template code>",
"source_code": "<canonical source code>"
}
}
}
}
}

View File

@ -0,0 +1,337 @@
{
"name": "pre_menstrual_syndrome_list_content",
"description": "",
"code": "m0042_ct0021",
"content_kind": "therapeutic",
"is_searchable": true,
"is_filterable": true,
"attribute_prefix_code": "m0042_ct0021",
"attribute_prefix_name": "pre_menstrual_syndrome_list_content",
"attribute_defs": [
{
"name": "Name",
"code": "name",
"data_type": "text",
"default": ""
},
{
"name": "Code",
"code": "code",
"data_type": "text",
"default": ""
},
{
"name": "Count",
"code": "content_count",
"data_type": "number",
"default": 0
},
{
"name": "Label",
"code": "content_label",
"data_type": "text",
"default": ""
},
{
"name": "Sort Order",
"code": "sort_order",
"data_type": "number",
"default": 0
},
{
"name": "Content Link",
"code": "link",
"definition_kind": "object",
"is_multivalue": false,
"is_required": false,
"is_searchable": false,
"is_filterable": false,
"children": [
{
"name": "Type",
"code": "type",
"data_type": "text",
"definition_kind": "scalar",
"is_required": true,
"default": "template_ref",
"allowed_values": [
"template_ref",
"content_ref"
]
},
{
"name": "Label",
"code": "label",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false
},
{
"name": "Target",
"code": "target",
"definition_kind": "object",
"is_required": true,
"children": [
{
"name": "Module Code",
"code": "module_code",
"data_type": "text",
"definition_kind": "scalar",
"is_required": true
},
{
"name": "Template Code",
"code": "template_code",
"data_type": "text",
"definition_kind": "scalar",
"is_required": true
},
{
"name": "Source Code",
"code": "source_code",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false,
"is_searchable": false,
"is_filterable": false,
"metadata": {
"lifecycle": "authoring_only",
"description": "Canonical target content code used in source/seed JSON. Seeder resolves it to source_key before persistence.",
"applies_to": [
"content_ref"
],
"not_used_by": [
"template_ref"
]
}
},
{
"name": "Source Key",
"code": "source_key",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false,
"metadata": {
"lifecycle": "persisted",
"description": "Stable target identity derived from template_code and source_code.",
"applies_to": [
"content_ref"
],
"not_used_by": [
"template_ref"
]
}
},
{
"name": "Content ID",
"code": "content_id",
"data_type": "text",
"definition_kind": "scalar",
"is_required": false,
"metadata": {
"lifecycle": "runtime_hydrated",
"description": "Target content UUID hydrated by the backend for client navigation.",
"applies_to": [
"content_ref"
],
"not_used_by": [
"template_ref"
]
}
}
],
"metadata": {
"identity_contract": {
"template_ref": {
"authoring": [
"module_code",
"template_code"
],
"persisted": [
"module_code",
"template_code"
],
"runtime": [
"module_code",
"template_code"
]
},
"content_ref": {
"authoring": "source_code",
"persisted": "source_key",
"runtime": "content_id"
}
}
}
}
],
"metadata": {
"value_contract": {
"kind": "navigation_ref",
"contract_version": "1.0",
"allowed_reference_types": [
"template_ref",
"content_ref"
],
"default_reference_type": "template_ref",
"contracts": {
"template_ref": {
"purpose": "Navigate from the module root/index to another template collection.",
"required_target_fields": [
"module_code",
"template_code"
],
"forbidden_source_fields": [
"source_key",
"content_id"
],
"source_code_required": false
},
"content_ref": {
"purpose": "Navigate to a specific content item.",
"required_target_fields": [
"module_code",
"template_code",
"source_code"
],
"authoring_identity": "source_code",
"persisted_identity": "source_key",
"runtime_identity": "content_id",
"resolution_pipeline": "source_code -> source_key -> content_id"
}
},
"rules": {
"do_not_infer_reference_from_label": true,
"do_not_infer_reference_from_plain_text": true
}
}
}
}
],
"presentation_contracts": [
{
"client_type": "mobile",
"version_no": 1,
"is_active": true,
"mode": "collection",
"renderers": {
"collection": "m0042_ct0021_collection",
"collection_item": "m0042_ct0021_card",
"detail": "m0042_ct0021_detail"
},
"link": {
"renderer": "content_link"
},
"attributes": [
{
"attribute_key": "m0042_ct0021.name",
"empty_behavior": "hide",
"visibility": "show"
},
{
"attribute_key": "m0042_ct0021.code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0021.content_count",
"empty_behavior": "hide",
"visibility": "show"
},
{
"attribute_key": "m0042_ct0021.content_label",
"empty_behavior": "hide",
"visibility": "show"
},
{
"attribute_key": "m0042_ct0021.sort_order",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0021.link",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0021.link.type",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0021.link.label",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0021.link.target",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0021.link.target.module_code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0021.link.target.template_code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0021.link.target.source_code",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0021.link.target.source_key",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0021.link.target.content_id",
"empty_behavior": "hide",
"visibility": "hide"
}
],
"metadata": {
"content_ref_contract_version": "1.0",
"authoring_identity": "source_code",
"navigation_identity": "content_id",
"navigation_ref_contract_version": "1.0",
"allowed_reference_types": [
"template_ref",
"content_ref"
],
"default_reference_type": "template_ref"
}
}
],
"metadata": {
"navigation_reference_policy": {
"contract_version": "1.0",
"default_reference_type": "template_ref",
"allowed_reference_types": [
"template_ref",
"content_ref"
],
"template_ref_shape": {
"type": "template_ref",
"label": "<display label>",
"target": {
"module_code": "<module code>",
"template_code": "<template code>"
}
},
"content_ref_shape": {
"type": "content_ref",
"label": "<display label>",
"target": {
"module_code": "<module code>",
"template_code": "<template code>",
"source_code": "<canonical source code>"
}
}
}
}
}