gynecology #58
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"contents": []
|
||||
}
|
||||
|
|
@ -1,64 +1,60 @@
|
|||
{
|
||||
{
|
||||
"contents": [
|
||||
{
|
||||
"name": "Deficiency of Blood",
|
||||
"code": "abdominal_pain_deficiency_of_blood",
|
||||
"sort_order": 0,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Deficiency of Blood",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0064"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "abdominal_pain_during_pregnancy_deficiency_of_blood"
|
||||
}
|
||||
},
|
||||
"code": "deficiency_of_blood"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Stagnation of Qi",
|
||||
"code": "abdominal_pain_stagnation_of_qi",
|
||||
"sort_order": 1,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Stagnation of Qi",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0064"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "abdominal_pain_during_pregnancy_stagnation_of_qi"
|
||||
}
|
||||
},
|
||||
"code": "stagnation_of_qi"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Empty-Cold",
|
||||
"code": "abdominal_pain_empty_cold",
|
||||
"sort_order": 2,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Empty-Cold",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0064"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "abdominal_pain_during_pregnancy_empty_cold"
|
||||
}
|
||||
},
|
||||
"code": "empty_cold"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Blood stasis",
|
||||
"code": "abdominal_pain_blood_stasis",
|
||||
"sort_order": 3,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Blood stasis",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0064"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "abdominal_pain_during_pregnancy_blood_stasis"
|
||||
}
|
||||
},
|
||||
"code": "blood_stasis"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -2,93 +2,87 @@
|
|||
"contents": [
|
||||
{
|
||||
"name": "Heart-Blood deficiency",
|
||||
"code": "anxiety_heart_blood_deficiency",
|
||||
"sort_order": 0,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Heart-Blood deficiency",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0068"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "anxiety_during_pregnancy_heart_blood_deficiency"
|
||||
}
|
||||
},
|
||||
"code": "heart_blood_deficiency"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Lung- and Heart-Qi stagnation",
|
||||
"code": "anxiety_lung_and_heart_qi_stagnation",
|
||||
"sort_order": 1,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Lung- and Heart-Qi stagnation",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0068"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "anxiety_during_pregnancy_lung_and_heart_qi_stagnation"
|
||||
}
|
||||
},
|
||||
"code": "lung_and_heart_qi_stagnation"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Liver-Qi stagnation",
|
||||
"code": "anxiety_liver_qi_stagnation",
|
||||
"sort_order": 2,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Liver-Qi stagnation",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0068"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "anxiety_during_pregnancy_liver_qi_stagnation"
|
||||
}
|
||||
},
|
||||
"code": "liver_qi_stagnation"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Liver-Fire",
|
||||
"code": "anxiety_liver_fire",
|
||||
"sort_order": 3,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Liver-Fire",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0068"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "anxiety_during_pregnancy_liver_fire"
|
||||
}
|
||||
},
|
||||
"code": "liver_fire"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Empty-Heat from Yin deficiency",
|
||||
"code": "anxiety_empty_heat_from_yin_deficiency",
|
||||
"sort_order": 4,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Empty-Heat from Yin deficiency",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0068"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "anxiety_during_pregnancy_empty_heat_from_yin_deficiency"
|
||||
}
|
||||
},
|
||||
"code": "empty_heat_from_yin_deficiency"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Phlegm-Fire harassing the Mind",
|
||||
"code": "anxiety_phlegm_fire_harassing_the_mind",
|
||||
"sort_order": 5,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Phlegm-Fire harassing the Mind",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0068"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "anxiety_during_pregnancy_phlegm_fire_harassing_the_mind"
|
||||
}
|
||||
},
|
||||
"code": "phlegm_fire_harassing_the_mind"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -2,18 +2,17 @@
|
|||
"contents": [
|
||||
{
|
||||
"name": "Kidney-Yin deficiency",
|
||||
"code": "aphonia_kidney_yin_deficiency",
|
||||
"sort_order": 0,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Kidney-Yin deficiency",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0072"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "aphonia_during_pregnancy_kidney_yin_deficiency"
|
||||
}
|
||||
},
|
||||
"code": "kidney_yin_deficiency"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -2,48 +2,45 @@
|
|||
"contents": [
|
||||
{
|
||||
"name": "Liver-Wind agitating within",
|
||||
"code": "convulsions_liver_wind_agitating_within",
|
||||
"sort_order": 0,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Liver-Wind agitating within",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0070"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "convulsions_during_pregnancy_liver_wind_agitating_within"
|
||||
}
|
||||
},
|
||||
"code": "liver_wind_agitating_within"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Phlegm-Fire harassing upwards",
|
||||
"code": "convulsions_phlegm_fire_harassing_upwards",
|
||||
"sort_order": 1,
|
||||
"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_ct0070"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "convulsions_during_pregnancy_phlegm_fire_harassing_upwards"
|
||||
}
|
||||
},
|
||||
"code": "phlegm_fire_harassing_upwards"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Empty-Wind",
|
||||
"code": "convulsions_empty_wind",
|
||||
"sort_order": 2,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Empty-Wind",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0070"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "convulsions_during_pregnancy_empty_wind"
|
||||
}
|
||||
},
|
||||
"code": "empty_wind"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -2,48 +2,45 @@
|
|||
"contents": [
|
||||
{
|
||||
"name": "Lung-Qi deficiency",
|
||||
"code": "cough_lung_qi_deficiency",
|
||||
"sort_order": 0,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Lung-Qi deficiency",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0073"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "cough_during_pregnancy_lung_qi_deficiency"
|
||||
}
|
||||
},
|
||||
"code": "lung_qi_deficiency"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Lung-Yin deficiency",
|
||||
"code": "cough_lung_yin_deficiency",
|
||||
"sort_order": 1,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Lung-Yin deficiency",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0073"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "cough_during_pregnancy_lung_yin_deficiency"
|
||||
}
|
||||
},
|
||||
"code": "lung_yin_deficiency"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Phlegm-Heat in the Lungs",
|
||||
"code": "cough_phlegm_heat_in_the_lungs",
|
||||
"sort_order": 2,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Phlegm-Heat in the Lungs",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0073"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "cough_during_pregnancy_phlegm_heat_in_the_lungs"
|
||||
}
|
||||
},
|
||||
"code": "phlegm_heat_in_the_lungs"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -2,48 +2,45 @@
|
|||
"contents": [
|
||||
{
|
||||
"name": "Liver-Blood deficiency with Liver-Yang rising",
|
||||
"code": "dizziness_liver_blood_deficiency_with_liver_yang_rising",
|
||||
"sort_order": 0,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Liver-Blood deficiency with Liver-Yang rising",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0069"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "dizziness_during_pregnancy_liver_blood_deficiency_with_liver_yang_rising"
|
||||
}
|
||||
},
|
||||
"code": "liver_blood_deficiency_with_liver_yang_rising"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Liver- and Kidney-Yin deficiency with Liver-Yang rising",
|
||||
"code": "dizziness_liver_and_kidney_yin_deficiency_with_liver_yang_rising",
|
||||
"sort_order": 1,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Liver- and Kidney-Yin deficiency with Liver-Yang rising",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0069"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "dizziness_during_pregnancy_liver_and_kidney_yin_deficiency_with_liver_yang_rising"
|
||||
}
|
||||
},
|
||||
"code": "liver_and_kidney_yin_deficiency_with_liver_yang_rising"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Spleen deficiency with Liver-Yang rising and Phlegm",
|
||||
"code": "dizziness_spleen_deficiency_with_liver_yang_rising_and_phlegm",
|
||||
"sort_order": 2,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Spleen deficiency with Liver-Yang rising and Phlegm",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0069"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "dizziness_during_pregnancy_spleen_deficiency_with_liver_yang_rising_and_phlegm"
|
||||
}
|
||||
},
|
||||
"code": "spleen_deficiency_with_liver_yang_rising_and_phlegm"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -2,48 +2,45 @@
|
|||
"contents": [
|
||||
{
|
||||
"name": "Spleen-Yang deficiency",
|
||||
"code": "edema_spleen_yang_deficiency",
|
||||
"sort_order": 0,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Spleen-Yang deficiency",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0067"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "edema_during_pregnancy_spleen_yang_deficiency"
|
||||
}
|
||||
},
|
||||
"code": "spleen_yang_deficiency"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Kidney-Yang deficiency",
|
||||
"code": "edema_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_ct0067"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "edema_during_pregnancy_kidney_yang_deficiency"
|
||||
}
|
||||
},
|
||||
"code": "kidney_yang_deficiency"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Stagnation of Qi",
|
||||
"code": "edema_stagnation_of_qi",
|
||||
"sort_order": 2,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Stagnation of Qi",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0067"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "edema_during_pregnancy_stagnation_of_qi"
|
||||
}
|
||||
},
|
||||
"code": "stagnation_of_qi"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -2,33 +2,31 @@
|
|||
"contents": [
|
||||
{
|
||||
"name": "Stagnation of Qi with disharmony of Liver and Spleen",
|
||||
"code": "feeling_of_suffocation_stagnation_of_qi_with_disharmony_of_liver_and_spleen",
|
||||
"sort_order": 0,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Stagnation of Qi with disharmony of Liver and Spleen",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0071"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "feeling_of_suffocation_during_pregnancy_stagnation_of_qi_with_disharmony_of_liver_and_spleen"
|
||||
}
|
||||
},
|
||||
"code": "stagnation_of_qi_with_disharmony_of_liver_and_spleen"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Stagnation of Qi with deficiency of Blood and Kidneys",
|
||||
"code": "feeling_of_suffocation_stagnation_of_qi_with_deficiency_of_blood_and_kidneys",
|
||||
"sort_order": 1,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Stagnation of Qi with deficiency of Blood and Kidneys",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0071"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "feeling_of_suffocation_during_pregnancy_stagnation_of_qi_with_deficiency_of_blood_and_kidneys"
|
||||
}
|
||||
},
|
||||
"code": "stagnation_of_qi_with_deficiency_of_blood_and_kidneys"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -2,33 +2,31 @@
|
|||
"contents": [
|
||||
{
|
||||
"name": "Qi and Blood deficiency",
|
||||
"code": "fetus_not_growing_qi_and_blood_deficiency",
|
||||
"sort_order": 0,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Qi and Blood deficiency",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0066"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "fetus_not_growing_qi_and_blood_deficiency"
|
||||
}
|
||||
},
|
||||
"code": "qi_and_blood_deficiency"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Spleen- and Kidney-Yang deficiency",
|
||||
"code": "fetus_not_growing_spleen_and_kidney_yang_deficiency",
|
||||
"sort_order": 1,
|
||||
"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_ct0066"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "fetus_not_growing_spleen_and_kidney_yang_deficiency"
|
||||
}
|
||||
},
|
||||
"code": "spleen_and_kidney_yang_deficiency"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -2,93 +2,87 @@
|
|||
"contents": [
|
||||
{
|
||||
"name": "Kidney-Yang deficiency",
|
||||
"code": "habitual_miscarriage_kidney_yang_deficiency",
|
||||
"sort_order": 0,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Kidney-Yang deficiency",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0077"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "habitual_miscarriage_kidney_yang_deficiency"
|
||||
}
|
||||
},
|
||||
"code": "kidney_yang_deficiency"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Kidney-Yin deficiency",
|
||||
"code": "habitual_miscarriage_kidney_yin_deficiency",
|
||||
"sort_order": 1,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Kidney-Yin deficiency",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0077"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "habitual_miscarriage_kidney_yin_deficiency"
|
||||
}
|
||||
},
|
||||
"code": "kidney_yin_deficiency"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Blood-Heat",
|
||||
"code": "habitual_miscarriage_blood_heat",
|
||||
"sort_order": 2,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Blood-Heat",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0077"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "habitual_miscarriage_blood_heat"
|
||||
}
|
||||
},
|
||||
"code": "blood_heat"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Spleen-Qi deficiency",
|
||||
"code": "habitual_miscarriage_spleen_qi_deficiency",
|
||||
"sort_order": 3,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Spleen-Qi deficiency",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0077"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "habitual_miscarriage_spleen_qi_deficiency"
|
||||
}
|
||||
},
|
||||
"code": "spleen_qi_deficiency"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Blood deficiency",
|
||||
"code": "habitual_miscarriage_blood_deficiency",
|
||||
"sort_order": 4,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Blood deficiency",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0077"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "habitual_miscarriage_blood_deficiency"
|
||||
}
|
||||
},
|
||||
"code": "blood_deficiency"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Blood stasis",
|
||||
"code": "habitual_miscarriage_blood_stasis",
|
||||
"sort_order": 5,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Blood stasis",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0077"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "habitual_miscarriage_blood_stasis"
|
||||
}
|
||||
},
|
||||
"code": "blood_stasis"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -1,702 +1,212 @@
|
|||
{
|
||||
"contents": [
|
||||
{
|
||||
"name": "Morning Sickness: Stomach-Qi deficiency with Empty-Cold",
|
||||
"code": "morning_sickness_stomach_qi_deficiency_with_empty_cold",
|
||||
"name": "Morning Sickness",
|
||||
"code": "morning_sickness",
|
||||
"content_count": 7,
|
||||
"content_label": "patterns",
|
||||
"sort_order": 0,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Morning Sickness: Stomach-Qi deficiency with Empty-Cold",
|
||||
"type": "template_ref",
|
||||
"label": "Morning Sickness",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "morning_sickness_stomach_qi_deficiency_with_empty_cold"
|
||||
"template_code": "m0042_ct0051"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Morning Sickness: Stomach-Yin deficiency",
|
||||
"code": "morning_sickness_stomach_yin_deficiency",
|
||||
"name": "Abdominal Pain during Pregnancy",
|
||||
"code": "abdominal_pain",
|
||||
"content_count": 4,
|
||||
"content_label": "patterns",
|
||||
"sort_order": 1,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Morning Sickness: Stomach-Yin deficiency",
|
||||
"type": "template_ref",
|
||||
"label": "Abdominal Pain during Pregnancy",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "morning_sickness_stomach_yin_deficiency"
|
||||
"template_code": "m0042_ct0052"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Morning Sickness: Stagnant Liver-Qi invading the Stomach",
|
||||
"code": "morning_sickness_stagnant_liver_qi_invading_the_stomach",
|
||||
"name": "Fetus not Growing",
|
||||
"code": "fetus_not_growing",
|
||||
"content_count": 2,
|
||||
"content_label": "patterns",
|
||||
"sort_order": 2,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Morning Sickness: Stagnant Liver-Qi invading the Stomach",
|
||||
"type": "template_ref",
|
||||
"label": "Fetus not Growing",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "morning_sickness_stagnant_liver_qi_invading_the_stomach"
|
||||
"template_code": "m0042_ct0053"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Morning Sickness: Stomach-Heat",
|
||||
"code": "morning_sickness_stomach_heat",
|
||||
"name": "Threatened Miscarriage",
|
||||
"code": "threatened_miscarriage",
|
||||
"content_count": 4,
|
||||
"content_label": "patterns",
|
||||
"sort_order": 3,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Morning Sickness: Stomach-Heat",
|
||||
"type": "template_ref",
|
||||
"label": "Threatened Miscarriage",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "morning_sickness_stomach_heat"
|
||||
"template_code": "m0042_ct0054"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Morning Sickness: Accumulation of Phlegm",
|
||||
"code": "morning_sickness_accumulation_of_phlegm",
|
||||
"name": "Habitual Miscarriage",
|
||||
"code": "habitual_miscarriage",
|
||||
"content_count": 6,
|
||||
"content_label": "patterns",
|
||||
"sort_order": 4,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Morning Sickness: Accumulation of Phlegm",
|
||||
"type": "template_ref",
|
||||
"label": "Habitual Miscarriage",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "morning_sickness_accumulation_of_phlegm"
|
||||
"template_code": "m0042_ct0055"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Morning Sickness: Heart-Qi deficiency",
|
||||
"code": "morning_sickness_heart_qi_deficiency",
|
||||
"name": "Feeling of Suffocation during Pregnancy",
|
||||
"code": "feeling_of_suffocation",
|
||||
"content_count": 2,
|
||||
"content_label": "patterns",
|
||||
"sort_order": 5,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Morning Sickness: Heart-Qi deficiency",
|
||||
"type": "template_ref",
|
||||
"label": "Feeling of Suffocation during Pregnancy",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "morning_sickness_heart_qi_deficiency"
|
||||
"template_code": "m0042_ct0056"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Morning Sickness: Heart-Fire",
|
||||
"code": "morning_sickness_heart_fire",
|
||||
"name": "Edema during Pregnancy",
|
||||
"code": "edema",
|
||||
"content_count": 3,
|
||||
"content_label": "patterns",
|
||||
"sort_order": 6,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Morning Sickness: Heart-Fire",
|
||||
"type": "template_ref",
|
||||
"label": "Edema during Pregnancy",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "morning_sickness_heart_fire"
|
||||
"template_code": "m0042_ct0057"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Abdominal Pain during Pregnancy: Deficiency of Blood",
|
||||
"code": "abdominal_pain_during_pregnancy_deficiency_of_blood",
|
||||
"name": "Urinary Syndrome during Pregnancy",
|
||||
"code": "urinary_syndrome",
|
||||
"content_count": 3,
|
||||
"content_label": "patterns",
|
||||
"sort_order": 7,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Abdominal Pain during Pregnancy: Deficiency of Blood",
|
||||
"type": "template_ref",
|
||||
"label": "Urinary Syndrome during Pregnancy",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "abdominal_pain_during_pregnancy_deficiency_of_blood"
|
||||
"template_code": "m0042_ct0058"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Abdominal Pain during Pregnancy: Stagnation of Qi",
|
||||
"code": "abdominal_pain_during_pregnancy_stagnation_of_qi",
|
||||
"name": "Retention of Urine during Pregnancy",
|
||||
"code": "retention_of_urine",
|
||||
"content_count": 3,
|
||||
"content_label": "patterns",
|
||||
"sort_order": 8,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Abdominal Pain during Pregnancy: Stagnation of Qi",
|
||||
"type": "template_ref",
|
||||
"label": "Retention of Urine during Pregnancy",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "abdominal_pain_during_pregnancy_stagnation_of_qi"
|
||||
"template_code": "m0042_ct0059"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Abdominal Pain during Pregnancy: Empty-Cold",
|
||||
"code": "abdominal_pain_during_pregnancy_empty_cold",
|
||||
"name": "Anxiety during Pregnancy",
|
||||
"code": "anxiety",
|
||||
"content_count": 6,
|
||||
"content_label": "patterns",
|
||||
"sort_order": 9,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Abdominal Pain during Pregnancy: Empty-Cold",
|
||||
"type": "template_ref",
|
||||
"label": "Anxiety during Pregnancy",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "abdominal_pain_during_pregnancy_empty_cold"
|
||||
"template_code": "m0042_ct0060"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Abdominal Pain during Pregnancy: Blood stasis",
|
||||
"code": "abdominal_pain_during_pregnancy_blood_stasis",
|
||||
"name": "Dizziness during Pregnancy",
|
||||
"code": "dizziness",
|
||||
"content_count": 3,
|
||||
"content_label": "patterns",
|
||||
"sort_order": 10,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Abdominal Pain during Pregnancy: Blood stasis",
|
||||
"type": "template_ref",
|
||||
"label": "Dizziness during Pregnancy",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "abdominal_pain_during_pregnancy_blood_stasis"
|
||||
"template_code": "m0042_ct0061"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Fetus not Growing: Qi and Blood deficiency",
|
||||
"code": "fetus_not_growing_qi_and_blood_deficiency",
|
||||
"name": "Convulsions during Pregnancy",
|
||||
"code": "convulsions",
|
||||
"content_count": 3,
|
||||
"content_label": "patterns",
|
||||
"sort_order": 11,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Fetus not Growing: Qi and Blood deficiency",
|
||||
"type": "template_ref",
|
||||
"label": "Convulsions during Pregnancy",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "fetus_not_growing_qi_and_blood_deficiency"
|
||||
"template_code": "m0042_ct0062"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Fetus not Growing: Spleen- and Kidney-Yang deficiency",
|
||||
"code": "fetus_not_growing_spleen_and_kidney_yang_deficiency",
|
||||
"name": "Cough during Pregnancy",
|
||||
"code": "cough",
|
||||
"content_count": 3,
|
||||
"content_label": "patterns",
|
||||
"sort_order": 12,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Fetus not Growing: Spleen- and Kidney-Yang deficiency",
|
||||
"type": "template_ref",
|
||||
"label": "Cough during Pregnancy",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "fetus_not_growing_spleen_and_kidney_yang_deficiency"
|
||||
"template_code": "m0042_ct0063"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Threatened Miscarriage: Kidney deficiency",
|
||||
"code": "threatened_miscarriage_kidney_deficiency",
|
||||
"name": "Aphonia during Pregnancy",
|
||||
"code": "aphonia",
|
||||
"content_count": 1,
|
||||
"content_label": "patterns",
|
||||
"sort_order": 13,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Threatened Miscarriage: Kidney deficiency",
|
||||
"type": "template_ref",
|
||||
"label": "Aphonia during Pregnancy",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "threatened_miscarriage_kidney_deficiency"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Threatened Miscarriage: Qi and Blood deficiency",
|
||||
"code": "threatened_miscarriage_qi_and_blood_deficiency",
|
||||
"sort_order": 14,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Threatened Miscarriage: Qi and Blood deficiency",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "threatened_miscarriage_qi_and_blood_deficiency"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Threatened Miscarriage: Blood-Heat",
|
||||
"code": "threatened_miscarriage_blood_heat",
|
||||
"sort_order": 15,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Threatened Miscarriage: Blood-Heat",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "threatened_miscarriage_blood_heat"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Threatened Miscarriage: Falls, traumas",
|
||||
"code": "threatened_miscarriage_falls_traumas",
|
||||
"sort_order": 16,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Threatened Miscarriage: Falls, traumas",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "threatened_miscarriage_falls_traumas"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Habitual Miscarriage: Kidney-Yang deficiency",
|
||||
"code": "habitual_miscarriage_kidney_yang_deficiency",
|
||||
"sort_order": 17,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Habitual Miscarriage: Kidney-Yang deficiency",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "habitual_miscarriage_kidney_yang_deficiency"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Habitual Miscarriage: Kidney-Yin deficiency",
|
||||
"code": "habitual_miscarriage_kidney_yin_deficiency",
|
||||
"sort_order": 18,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Habitual Miscarriage: Kidney-Yin deficiency",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "habitual_miscarriage_kidney_yin_deficiency"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Habitual Miscarriage: Blood-Heat",
|
||||
"code": "habitual_miscarriage_blood_heat",
|
||||
"sort_order": 19,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Habitual Miscarriage: Blood-Heat",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "habitual_miscarriage_blood_heat"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Habitual Miscarriage: Spleen-Qi deficiency",
|
||||
"code": "habitual_miscarriage_spleen_qi_deficiency",
|
||||
"sort_order": 20,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Habitual Miscarriage: Spleen-Qi deficiency",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "habitual_miscarriage_spleen_qi_deficiency"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Habitual Miscarriage: Blood deficiency",
|
||||
"code": "habitual_miscarriage_blood_deficiency",
|
||||
"sort_order": 21,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Habitual Miscarriage: Blood deficiency",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "habitual_miscarriage_blood_deficiency"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Habitual Miscarriage: Blood stasis",
|
||||
"code": "habitual_miscarriage_blood_stasis",
|
||||
"sort_order": 22,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Habitual Miscarriage: Blood stasis",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "habitual_miscarriage_blood_stasis"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Feeling of Suffocation during Pregnancy: Stagnation of Qi with disharmony of Liver and Spleen",
|
||||
"code": "feeling_of_suffocation_during_pregnancy_stagnation_of_qi_with_disharmony_of_liver_and_spleen",
|
||||
"sort_order": 23,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Feeling of Suffocation during Pregnancy: Stagnation of Qi with disharmony of Liver and Spleen",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "feeling_of_suffocation_during_pregnancy_stagnation_of_qi_with_disharmony_of_liver_and_spleen"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Feeling of Suffocation during Pregnancy: Stagnation of Qi with deficiency of Blood and Kidneys",
|
||||
"code": "feeling_of_suffocation_during_pregnancy_stagnation_of_qi_with_deficiency_of_blood_and_kidneys",
|
||||
"sort_order": 24,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Feeling of Suffocation during Pregnancy: Stagnation of Qi with deficiency of Blood and Kidneys",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "feeling_of_suffocation_during_pregnancy_stagnation_of_qi_with_deficiency_of_blood_and_kidneys"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Edema during Pregnancy: Spleen-Yang deficiency",
|
||||
"code": "edema_during_pregnancy_spleen_yang_deficiency",
|
||||
"sort_order": 25,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Edema during Pregnancy: Spleen-Yang deficiency",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "edema_during_pregnancy_spleen_yang_deficiency"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Edema during Pregnancy: Kidney-Yang deficiency",
|
||||
"code": "edema_during_pregnancy_kidney_yang_deficiency",
|
||||
"sort_order": 26,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Edema during Pregnancy: Kidney-Yang deficiency",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "edema_during_pregnancy_kidney_yang_deficiency"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Edema during Pregnancy: Stagnation of Qi",
|
||||
"code": "edema_during_pregnancy_stagnation_of_qi",
|
||||
"sort_order": 27,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Edema during Pregnancy: Stagnation of Qi",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "edema_during_pregnancy_stagnation_of_qi"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Urinary Syndrome during Pregnancy: Heart-Fire",
|
||||
"code": "urinary_syndrome_during_pregnancy_heart_fire",
|
||||
"sort_order": 28,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Urinary Syndrome during Pregnancy: Heart-Fire",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "urinary_syndrome_during_pregnancy_heart_fire"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Urinary Syndrome during Pregnancy: Damp-Heat in the Bladder",
|
||||
"code": "urinary_syndrome_during_pregnancy_damp_heat_in_the_bladder",
|
||||
"sort_order": 29,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Urinary Syndrome during Pregnancy: Damp-Heat in the Bladder",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "urinary_syndrome_during_pregnancy_damp_heat_in_the_bladder"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Urinary Syndrome during Pregnancy: Kidney-Yin deficiency and Empty-Heat",
|
||||
"code": "urinary_syndrome_during_pregnancy_kidney_yin_deficiency_and_empty_heat",
|
||||
"sort_order": 30,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Urinary Syndrome during Pregnancy: Kidney-Yin deficiency and Empty-Heat",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "urinary_syndrome_during_pregnancy_kidney_yin_deficiency_and_empty_heat"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Retention of Urine during Pregnancy: Spleen-Qi deficient and sinking",
|
||||
"code": "retention_of_urine_during_pregnancy_spleen_qi_deficient_and_sinking",
|
||||
"sort_order": 31,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Retention of Urine during Pregnancy: Spleen-Qi deficient and sinking",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "retention_of_urine_during_pregnancy_spleen_qi_deficient_and_sinking"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Retention of Urine during Pregnancy: Kidney-Qi deficient and sinking",
|
||||
"code": "retention_of_urine_during_pregnancy_kidney_qi_deficient_and_sinking",
|
||||
"sort_order": 32,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Retention of Urine during Pregnancy: Kidney-Qi deficient and sinking",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "retention_of_urine_during_pregnancy_kidney_qi_deficient_and_sinking"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Retention of Urine during Pregnancy: Damp-Heat in the Bladder",
|
||||
"code": "retention_of_urine_during_pregnancy_damp_heat_in_the_bladder",
|
||||
"sort_order": 33,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Retention of Urine during Pregnancy: Damp-Heat in the Bladder",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "retention_of_urine_during_pregnancy_damp_heat_in_the_bladder"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Anxiety during Pregnancy: Heart-Blood deficiency",
|
||||
"code": "anxiety_during_pregnancy_heart_blood_deficiency",
|
||||
"sort_order": 34,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Anxiety during Pregnancy: Heart-Blood deficiency",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "anxiety_during_pregnancy_heart_blood_deficiency"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Anxiety during Pregnancy: Lung- and Heart-Qi stagnation",
|
||||
"code": "anxiety_during_pregnancy_lung_and_heart_qi_stagnation",
|
||||
"sort_order": 35,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Anxiety during Pregnancy: Lung- and Heart-Qi stagnation",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "anxiety_during_pregnancy_lung_and_heart_qi_stagnation"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Anxiety during Pregnancy: Liver-Qi stagnation",
|
||||
"code": "anxiety_during_pregnancy_liver_qi_stagnation",
|
||||
"sort_order": 36,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Anxiety during Pregnancy: Liver-Qi stagnation",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "anxiety_during_pregnancy_liver_qi_stagnation"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Anxiety during Pregnancy: Liver-Fire",
|
||||
"code": "anxiety_during_pregnancy_liver_fire",
|
||||
"sort_order": 37,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Anxiety during Pregnancy: Liver-Fire",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "anxiety_during_pregnancy_liver_fire"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Anxiety during Pregnancy: Empty-Heat from Yin deficiency",
|
||||
"code": "anxiety_during_pregnancy_empty_heat_from_yin_deficiency",
|
||||
"sort_order": 38,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Anxiety during Pregnancy: Empty-Heat from Yin deficiency",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "anxiety_during_pregnancy_empty_heat_from_yin_deficiency"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Anxiety during Pregnancy: Phlegm-Fire harassing the Mind",
|
||||
"code": "anxiety_during_pregnancy_phlegm_fire_harassing_the_mind",
|
||||
"sort_order": 39,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Anxiety during Pregnancy: Phlegm-Fire harassing the Mind",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "anxiety_during_pregnancy_phlegm_fire_harassing_the_mind"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Dizziness during Pregnancy: Liver-Blood deficiency with Liver-Yang rising",
|
||||
"code": "dizziness_during_pregnancy_liver_blood_deficiency_with_liver_yang_rising",
|
||||
"sort_order": 40,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Dizziness during Pregnancy: Liver-Blood deficiency with Liver-Yang rising",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "dizziness_during_pregnancy_liver_blood_deficiency_with_liver_yang_rising"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Dizziness during Pregnancy: Liver- and Kidney-Yin deficiency with Liver-Yang rising",
|
||||
"code": "dizziness_during_pregnancy_liver_and_kidney_yin_deficiency_with_liver_yang_rising",
|
||||
"sort_order": 41,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Dizziness during Pregnancy: Liver- and Kidney-Yin deficiency with Liver-Yang rising",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "dizziness_during_pregnancy_liver_and_kidney_yin_deficiency_with_liver_yang_rising"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Dizziness during Pregnancy: Spleen deficiency with Liver-Yang rising and Phlegm",
|
||||
"code": "dizziness_during_pregnancy_spleen_deficiency_with_liver_yang_rising_and_phlegm",
|
||||
"sort_order": 42,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Dizziness during Pregnancy: Spleen deficiency with Liver-Yang rising and Phlegm",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "dizziness_during_pregnancy_spleen_deficiency_with_liver_yang_rising_and_phlegm"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Convulsions during Pregnancy: Liver-Wind agitating within",
|
||||
"code": "convulsions_during_pregnancy_liver_wind_agitating_within",
|
||||
"sort_order": 43,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Convulsions during Pregnancy: Liver-Wind agitating within",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "convulsions_during_pregnancy_liver_wind_agitating_within"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Convulsions during Pregnancy: Phlegm-Fire harassing upwards",
|
||||
"code": "convulsions_during_pregnancy_phlegm_fire_harassing_upwards",
|
||||
"sort_order": 44,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Convulsions during Pregnancy: Phlegm-Fire harassing upwards",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "convulsions_during_pregnancy_phlegm_fire_harassing_upwards"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Convulsions during Pregnancy: Empty-Wind",
|
||||
"code": "convulsions_during_pregnancy_empty_wind",
|
||||
"sort_order": 45,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Convulsions during Pregnancy: Empty-Wind",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "convulsions_during_pregnancy_empty_wind"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Cough during Pregnancy: Lung-Qi deficiency",
|
||||
"code": "cough_during_pregnancy_lung_qi_deficiency",
|
||||
"sort_order": 46,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Cough during Pregnancy: Lung-Qi deficiency",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "cough_during_pregnancy_lung_qi_deficiency"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Cough during Pregnancy: Lung-Yin deficiency",
|
||||
"code": "cough_during_pregnancy_lung_yin_deficiency",
|
||||
"sort_order": 47,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Cough during Pregnancy: Lung-Yin deficiency",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "cough_during_pregnancy_lung_yin_deficiency"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Cough during Pregnancy: Phlegm-Heat in the Lungs",
|
||||
"code": "cough_during_pregnancy_phlegm_heat_in_the_lungs",
|
||||
"sort_order": 48,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Cough during Pregnancy: Phlegm-Heat in the Lungs",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "cough_during_pregnancy_phlegm_heat_in_the_lungs"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Aphonia during Pregnancy: Kidney-Yin deficiency",
|
||||
"code": "aphonia_during_pregnancy_kidney_yin_deficiency",
|
||||
"sort_order": 49,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Aphonia during Pregnancy: Kidney-Yin deficiency",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "aphonia_during_pregnancy_kidney_yin_deficiency"
|
||||
"template_code": "m0042_ct0064"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,108 +2,101 @@
|
|||
"contents": [
|
||||
{
|
||||
"name": "Stomach-Qi deficiency with Empty-Cold",
|
||||
"code": "morning_sickness_stomach_qi_deficiency_with_empty_cold",
|
||||
"sort_order": 0,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Stomach-Qi deficiency with Empty-Cold",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0063"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "morning_sickness_stomach_qi_deficiency_with_empty_cold"
|
||||
}
|
||||
},
|
||||
"code": "stomach_qi_deficiency_with_empty_cold"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Stomach-Yin deficiency",
|
||||
"code": "morning_sickness_stomach_yin_deficiency",
|
||||
"sort_order": 1,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Stomach-Yin deficiency",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0063"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "morning_sickness_stomach_yin_deficiency"
|
||||
}
|
||||
},
|
||||
"code": "stomach_yin_deficiency"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Stagnant Liver-Qi invading the Stomach",
|
||||
"code": "morning_sickness_stagnant_liver_qi_invading_the_stomach",
|
||||
"sort_order": 2,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Stagnant Liver-Qi invading the Stomach",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0063"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "morning_sickness_stagnant_liver_qi_invading_the_stomach"
|
||||
}
|
||||
},
|
||||
"code": "stagnant_liver_qi_invading_the_stomach"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Stomach-Heat",
|
||||
"code": "morning_sickness_stomach_heat",
|
||||
"sort_order": 3,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Stomach-Heat",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0063"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "morning_sickness_stomach_heat"
|
||||
}
|
||||
},
|
||||
"code": "stomach_heat"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Accumulation of Phlegm",
|
||||
"code": "morning_sickness_accumulation_of_phlegm",
|
||||
"sort_order": 4,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Accumulation of Phlegm",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0063"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "morning_sickness_accumulation_of_phlegm"
|
||||
}
|
||||
},
|
||||
"code": "accumulation_of_phlegm"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Heart-Qi deficiency",
|
||||
"code": "morning_sickness_heart_qi_deficiency",
|
||||
"sort_order": 5,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Heart-Qi deficiency",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0063"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "morning_sickness_heart_qi_deficiency"
|
||||
}
|
||||
},
|
||||
"code": "heart_qi_deficiency"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Heart-Fire",
|
||||
"code": "morning_sickness_heart_fire",
|
||||
"sort_order": 6,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Heart-Fire",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0063"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "morning_sickness_heart_fire"
|
||||
}
|
||||
},
|
||||
"code": "heart_fire"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -2,48 +2,45 @@
|
|||
"contents": [
|
||||
{
|
||||
"name": "Spleen-Qi deficient and sinking",
|
||||
"code": "retention_of_urine_spleen_qi_deficient_and_sinking",
|
||||
"sort_order": 0,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Spleen-Qi deficient and sinking",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0075"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "retention_of_urine_during_pregnancy_spleen_qi_deficient_and_sinking"
|
||||
}
|
||||
},
|
||||
"code": "spleen_qi_deficient_and_sinking"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Kidney-Qi deficient and sinking",
|
||||
"code": "retention_of_urine_kidney_qi_deficient_and_sinking",
|
||||
"sort_order": 1,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Kidney-Qi deficient and sinking",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0075"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "retention_of_urine_during_pregnancy_kidney_qi_deficient_and_sinking"
|
||||
}
|
||||
},
|
||||
"code": "kidney_qi_deficient_and_sinking"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Damp-Heat in the Bladder",
|
||||
"code": "retention_of_urine_damp_heat_in_the_bladder",
|
||||
"sort_order": 2,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Damp-Heat in the Bladder",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0075"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "retention_of_urine_during_pregnancy_damp_heat_in_the_bladder"
|
||||
}
|
||||
},
|
||||
"code": "damp_heat_in_the_bladder"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -2,63 +2,59 @@
|
|||
"contents": [
|
||||
{
|
||||
"name": "Kidney deficiency",
|
||||
"code": "threatened_miscarriage_kidney_deficiency",
|
||||
"sort_order": 0,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Kidney deficiency",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0065"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "threatened_miscarriage_kidney_deficiency"
|
||||
}
|
||||
},
|
||||
"code": "kidney_deficiency"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Qi and Blood deficiency",
|
||||
"code": "threatened_miscarriage_qi_and_blood_deficiency",
|
||||
"sort_order": 1,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Qi and Blood deficiency",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0065"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "threatened_miscarriage_qi_and_blood_deficiency"
|
||||
}
|
||||
},
|
||||
"code": "qi_and_blood_deficiency"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Blood-Heat",
|
||||
"code": "threatened_miscarriage_blood_heat",
|
||||
"sort_order": 2,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Blood-Heat",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0065"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "threatened_miscarriage_blood_heat"
|
||||
}
|
||||
},
|
||||
"code": "blood_heat"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Falls, traumas",
|
||||
"code": "threatened_miscarriage_falls_traumas",
|
||||
"sort_order": 3,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Falls, traumas",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0065"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "threatened_miscarriage_falls_traumas"
|
||||
}
|
||||
},
|
||||
"code": "falls_traumas"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -2,48 +2,45 @@
|
|||
"contents": [
|
||||
{
|
||||
"name": "Heart-Fire",
|
||||
"code": "urinary_syndrome_heart_fire",
|
||||
"sort_order": 0,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Heart-Fire",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0074"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "urinary_syndrome_during_pregnancy_heart_fire"
|
||||
}
|
||||
},
|
||||
"code": "heart_fire"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Damp-Heat in the Bladder",
|
||||
"code": "urinary_syndrome_damp_heat_in_the_bladder",
|
||||
"sort_order": 1,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Damp-Heat in the Bladder",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0074"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "retention_of_urine_during_pregnancy_damp_heat_in_the_bladder"
|
||||
}
|
||||
},
|
||||
"code": "damp_heat_in_the_bladder"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Kidney-Yin deficiency and Empty-Heat",
|
||||
"code": "urinary_syndrome_kidney_yin_deficiency_and_empty_heat",
|
||||
"sort_order": 2,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Kidney-Yin deficiency and Empty-Heat",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0074"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "urinary_syndrome_during_pregnancy_kidney_yin_deficiency_and_empty_heat"
|
||||
}
|
||||
},
|
||||
"code": "kidney_yin_deficiency_and_empty_heat"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -3,8 +3,8 @@
|
|||
{
|
||||
"name": "Menstrual Irregularities",
|
||||
"sort_order": 0,
|
||||
"content_count": 64,
|
||||
"content_label": "patterns",
|
||||
"content_count": 11,
|
||||
"content_label": "diseases",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"label": "Menstrual Irregularities",
|
||||
|
|
@ -18,8 +18,8 @@
|
|||
{
|
||||
"name": "Problems during Period",
|
||||
"sort_order": 1,
|
||||
"content_count": 34,
|
||||
"content_label": "patterns",
|
||||
"content_count": 10,
|
||||
"content_label": "diseases",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"label": "Problems during Period",
|
||||
|
|
@ -33,8 +33,8 @@
|
|||
{
|
||||
"name": "Diseases of Pregnancy",
|
||||
"sort_order": 2,
|
||||
"content_count": 50,
|
||||
"content_label": "patterns",
|
||||
"content_count": 14,
|
||||
"content_label": "diseases",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"label": "Diseases of Pregnancy",
|
||||
|
|
@ -44,6 +44,36 @@
|
|||
}
|
||||
},
|
||||
"code": "diseases_of_pregnancy"
|
||||
},
|
||||
{
|
||||
"name": "Diseases after Childbirth",
|
||||
"sort_order": 3,
|
||||
"content_count": 0,
|
||||
"content_label": "diseases",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"label": "Diseases after Childbirth",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0006"
|
||||
}
|
||||
},
|
||||
"code": "diseases_after_childbirth"
|
||||
},
|
||||
{
|
||||
"name": "Other",
|
||||
"sort_order": 4,
|
||||
"content_count": 0,
|
||||
"content_label": "diseases",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"label": "Other",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0007"
|
||||
}
|
||||
},
|
||||
"code": "other"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"contents": []
|
||||
}
|
||||
|
|
@ -2,33 +2,31 @@
|
|||
"contents": [
|
||||
{
|
||||
"name": "Blood deficiency (alone or with Yang rising)",
|
||||
"code": "body_aches_blood_deficiency_alone_or_with_yang_rising",
|
||||
"sort_order": 0,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Blood deficiency (alone or with Yang rising)",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0057"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "body_aches_during_period_blood_deficiency_alone_or_with_yang_rising"
|
||||
}
|
||||
},
|
||||
"code": "blood_deficiency_alone_or_with_yang_rising"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Blood stasis",
|
||||
"code": "body_aches_blood_stasis",
|
||||
"sort_order": 1,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Blood stasis",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0057"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "body_aches_during_period_blood_stasis"
|
||||
}
|
||||
},
|
||||
"code": "blood_stasis"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -2,108 +2,101 @@
|
|||
"contents": [
|
||||
{
|
||||
"name": "Liver-Qi stagnation",
|
||||
"code": "breast_distension_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_ct0053"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "pre_menstrual_breast_distension_liver_qi_stagnation"
|
||||
}
|
||||
},
|
||||
"code": "liver_qi_stagnation"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Lung-Qi stagnation",
|
||||
"code": "breast_distension_lung_qi_stagnation",
|
||||
"sort_order": 1,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Lung-Qi stagnation",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0053"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "pre_menstrual_breast_distension_lung_qi_stagnation"
|
||||
}
|
||||
},
|
||||
"code": "lung_qi_stagnation"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Heart-Qi stagnation",
|
||||
"code": "breast_distension_heart_qi_stagnation",
|
||||
"sort_order": 2,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Heart-Qi stagnation",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0053"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "pre_menstrual_breast_distension_heart_qi_stagnation"
|
||||
}
|
||||
},
|
||||
"code": "heart_qi_stagnation"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Liver-Blood stasis",
|
||||
"code": "breast_distension_liver_blood_stasis",
|
||||
"sort_order": 3,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Liver-Blood stasis",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0053"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "pre_menstrual_breast_distension_liver_blood_stasis"
|
||||
}
|
||||
},
|
||||
"code": "liver_blood_stasis"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Damp-Heat",
|
||||
"code": "breast_distension_damp_heat",
|
||||
"sort_order": 4,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Damp-Heat",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0053"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "pre_menstrual_breast_distension_damp_heat"
|
||||
}
|
||||
},
|
||||
"code": "damp_heat"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Phlegm with Qi stagnation",
|
||||
"code": "breast_distension_phlegm_with_qi_stagnation",
|
||||
"sort_order": 5,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Phlegm with Qi stagnation",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0053"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "pre_menstrual_breast_distension_phlegm_with_qi_stagnation"
|
||||
}
|
||||
},
|
||||
"code": "phlegm_with_qi_stagnation"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Kidney- and Liver-Yin deficiency",
|
||||
"code": "breast_distension_kidney_and_liver_yin_deficiency",
|
||||
"sort_order": 6,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Kidney- and Liver-Yin deficiency",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0053"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "pre_menstrual_breast_distension_kidney_and_liver_yin_deficiency"
|
||||
}
|
||||
},
|
||||
"code": "kidney_and_liver_yin_deficiency"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -2,48 +2,45 @@
|
|||
"contents": [
|
||||
{
|
||||
"name": "Spleen-Qi deficiency",
|
||||
"code": "diarrhea_spleen_qi_deficiency",
|
||||
"sort_order": 0,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Spleen-Qi deficiency",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0056"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "diarrhea_during_period_spleen_qi_deficiency"
|
||||
}
|
||||
},
|
||||
"code": "spleen_qi_deficiency"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Liver-Qi stagnant and invading the Spleen",
|
||||
"code": "diarrhea_liver_qi_stagnant_and_invading_the_spleen",
|
||||
"sort_order": 1,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Liver-Qi stagnant and invading the Spleen",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0056"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "diarrhea_during_period_liver_qi_stagnant_and_invading_the_spleen"
|
||||
}
|
||||
},
|
||||
"code": "liver_qi_stagnant_and_invading_the_spleen"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Kidney-Yang deficiency",
|
||||
"code": "diarrhea_kidney_yang_deficiency",
|
||||
"sort_order": 2,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Kidney-Yang deficiency",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0056"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "diarrhea_during_period_kidney_yang_deficiency"
|
||||
}
|
||||
},
|
||||
"code": "kidney_yang_deficiency"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -2,48 +2,45 @@
|
|||
"contents": [
|
||||
{
|
||||
"name": "Blood deficiency",
|
||||
"code": "dizziness_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_ct0062"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "dizziness_during_period_blood_deficiency"
|
||||
}
|
||||
},
|
||||
"code": "blood_deficiency"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Kidney- and Liver-Yin deficiency with Liver-Yang rising",
|
||||
"code": "dizziness_kidney_and_liver_yin_deficiency_with_liver_yang_rising",
|
||||
"sort_order": 1,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Kidney- and Liver-Yin deficiency with Liver-Yang rising",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0062"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "dizziness_during_period_kidney_and_liver_yin_deficiency_with_liver_yang_rising"
|
||||
}
|
||||
},
|
||||
"code": "kidney_and_liver_yin_deficiency_with_liver_yang_rising"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Phlegm with Spleen-Qi deficiency",
|
||||
"code": "dizziness_phlegm_with_spleen_qi_deficiency",
|
||||
"sort_order": 2,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Phlegm with Spleen-Qi deficiency",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0062"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "dizziness_during_period_phlegm_with_spleen_qi_deficiency"
|
||||
}
|
||||
},
|
||||
"code": "phlegm_with_spleen_qi_deficiency"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -2,33 +2,31 @@
|
|||
"contents": [
|
||||
{
|
||||
"name": "Spleen- and Kidney-Yang deficiency",
|
||||
"code": "edema_spleen_and_kidney_yang_deficiency",
|
||||
"sort_order": 0,
|
||||
"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_ct0055"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "edema_during_periods_spleen_and_kidney_yang_deficiency"
|
||||
}
|
||||
},
|
||||
"code": "spleen_and_kidney_yang_deficiency"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Stagnation of Qi",
|
||||
"code": "edema_stagnation_of_qi",
|
||||
"sort_order": 1,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Stagnation of Qi",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0055"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "edema_during_pregnancy_stagnation_of_qi"
|
||||
}
|
||||
},
|
||||
"code": "stagnation_of_qi"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -2,33 +2,31 @@
|
|||
"contents": [
|
||||
{
|
||||
"name": "Stagnant Liver-Qi turning into Fire",
|
||||
"code": "epistaxis_or_hemoptysis_stagnant_liver_qi_turning_into_fire",
|
||||
"sort_order": 0,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Stagnant Liver-Qi turning into Fire",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0059"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "epistaxis_or_hemoptysis_during_period_stagnant_liver_qi_turning_into_fire"
|
||||
}
|
||||
},
|
||||
"code": "stagnant_liver_qi_turning_into_fire"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Lung- and Kidney-Yin deficiency",
|
||||
"code": "epistaxis_or_hemoptysis_lung_and_kidney_yin_deficiency",
|
||||
"sort_order": 1,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Lung- and Kidney-Yin deficiency",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0059"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "epistaxis_or_hemoptysis_during_period_lung_and_kidney_yin_deficiency"
|
||||
}
|
||||
},
|
||||
"code": "lung_and_kidney_yin_deficiency"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -2,63 +2,59 @@
|
|||
"contents": [
|
||||
{
|
||||
"name": "Blood-Heat",
|
||||
"code": "fever_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_ct0058"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "fever_during_period_blood_heat"
|
||||
}
|
||||
},
|
||||
"code": "blood_heat"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Kidney- and Liver-Yin deficiency with Empty-Heat",
|
||||
"code": "fever_kidney_and_liver_yin_deficiency_with_empty_heat",
|
||||
"sort_order": 1,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Kidney- and Liver-Yin deficiency with Empty-Heat",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0058"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "fever_during_period_kidney_and_liver_yin_deficiency_with_empty_heat"
|
||||
}
|
||||
},
|
||||
"code": "kidney_and_liver_yin_deficiency_with_empty_heat"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Qi and Blood deficiency with disharmony of Nutritive and Defensive Qi",
|
||||
"code": "fever_qi_and_blood_deficiency_with_disharmony_of_nutritive_and_defensive_qi",
|
||||
"sort_order": 2,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Qi and Blood deficiency with disharmony of Nutritive and Defensive Qi",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0058"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "fever_during_period_qi_and_blood_deficiency_with_disharmony_of_nutritive_and_defensive_qi"
|
||||
}
|
||||
},
|
||||
"code": "qi_and_blood_deficiency_with_disharmony_of_nutritive_and_defensive_qi"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Blood stasis with Heat",
|
||||
"code": "fever_blood_stasis_with_heat",
|
||||
"sort_order": 3,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Blood stasis with Heat",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0058"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "fever_during_period_blood_stasis_with_heat"
|
||||
}
|
||||
},
|
||||
"code": "blood_stasis_with_heat"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -2,63 +2,59 @@
|
|||
"contents": [
|
||||
{
|
||||
"name": "Blood deficiency",
|
||||
"code": "headaches_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_ct0054"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "headaches_during_periods_blood_deficiency"
|
||||
}
|
||||
},
|
||||
"code": "blood_deficiency"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Liver-Fire blazing",
|
||||
"code": "headaches_liver_fire_blazing",
|
||||
"sort_order": 1,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Liver-Fire blazing",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0054"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "headaches_during_periods_liver_fire_blazing"
|
||||
}
|
||||
},
|
||||
"code": "liver_fire_blazing"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Liver-Yang rising",
|
||||
"code": "headaches_liver_yang_rising",
|
||||
"sort_order": 2,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Liver-Yang rising",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0054"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "headaches_during_periods_liver_yang_rising"
|
||||
}
|
||||
},
|
||||
"code": "liver_yang_rising"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Blood stasis",
|
||||
"code": "headaches_blood_stasis",
|
||||
"sort_order": 3,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Blood stasis",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0054"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "headaches_during_periods_blood_stasis"
|
||||
}
|
||||
},
|
||||
"code": "blood_stasis"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -1,478 +1,152 @@
|
|||
{
|
||||
"contents": [
|
||||
{
|
||||
"name": "Pre-Menstrual Breast Distension: Liver-Qi stagnation",
|
||||
"code": "pre_menstrual_breast_distension_liver_qi_stagnation",
|
||||
"name": "Pre-Menstrual Breast Distension",
|
||||
"code": "breast_distension",
|
||||
"content_count": 7,
|
||||
"content_label": "patterns",
|
||||
"sort_order": 0,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Pre-Menstrual Breast Distension: Liver-Qi stagnation",
|
||||
"type": "template_ref",
|
||||
"label": "Pre-Menstrual Breast Distension",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "pre_menstrual_breast_distension_liver_qi_stagnation"
|
||||
"template_code": "m0042_ct0031"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Pre-Menstrual Breast Distension: Lung-Qi stagnation",
|
||||
"code": "pre_menstrual_breast_distension_lung_qi_stagnation",
|
||||
"name": "Headaches During Periods",
|
||||
"code": "headaches",
|
||||
"content_count": 4,
|
||||
"content_label": "patterns",
|
||||
"sort_order": 1,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Pre-Menstrual Breast Distension: Lung-Qi stagnation",
|
||||
"type": "template_ref",
|
||||
"label": "Headaches During Periods",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "pre_menstrual_breast_distension_lung_qi_stagnation"
|
||||
"template_code": "m0042_ct0032"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Pre-Menstrual Breast Distension: Heart-Qi stagnation",
|
||||
"code": "pre_menstrual_breast_distension_heart_qi_stagnation",
|
||||
"name": "Edema During Periods",
|
||||
"code": "edema",
|
||||
"content_count": 2,
|
||||
"content_label": "patterns",
|
||||
"sort_order": 2,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Pre-Menstrual Breast Distension: Heart-Qi stagnation",
|
||||
"type": "template_ref",
|
||||
"label": "Edema During Periods",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "pre_menstrual_breast_distension_heart_qi_stagnation"
|
||||
"template_code": "m0042_ct0033"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Pre-Menstrual Breast Distension: Liver-Blood stasis",
|
||||
"code": "pre_menstrual_breast_distension_liver_blood_stasis",
|
||||
"name": "Diarrhea During Period",
|
||||
"code": "diarrhea",
|
||||
"content_count": 3,
|
||||
"content_label": "patterns",
|
||||
"sort_order": 3,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Pre-Menstrual Breast Distension: Liver-Blood stasis",
|
||||
"type": "template_ref",
|
||||
"label": "Diarrhea During Period",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "pre_menstrual_breast_distension_liver_blood_stasis"
|
||||
"template_code": "m0042_ct0034"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Pre-Menstrual Breast Distension: Damp-Heat",
|
||||
"code": "pre_menstrual_breast_distension_damp_heat",
|
||||
"name": "Dizziness during Period",
|
||||
"code": "dizziness",
|
||||
"content_count": 3,
|
||||
"content_label": "patterns",
|
||||
"sort_order": 4,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Pre-Menstrual Breast Distension: Damp-Heat",
|
||||
"type": "template_ref",
|
||||
"label": "Dizziness during Period",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "pre_menstrual_breast_distension_damp_heat"
|
||||
"template_code": "m0042_ct0035"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Pre-Menstrual Breast Distension: Phlegm with Qi stagnation",
|
||||
"code": "pre_menstrual_breast_distension_phlegm_with_qi_stagnation",
|
||||
"name": "Body Aches during Period",
|
||||
"code": "body_aches",
|
||||
"content_count": 2,
|
||||
"content_label": "patterns",
|
||||
"sort_order": 5,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Pre-Menstrual Breast Distension: Phlegm with Qi stagnation",
|
||||
"type": "template_ref",
|
||||
"label": "Body Aches during Period",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "pre_menstrual_breast_distension_phlegm_with_qi_stagnation"
|
||||
"template_code": "m0042_ct0036"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Pre-Menstrual Breast Distension: Kidney- and Liver-Yin deficiency",
|
||||
"code": "pre_menstrual_breast_distension_kidney_and_liver_yin_deficiency",
|
||||
"name": "Fever during Period",
|
||||
"code": "fever",
|
||||
"content_count": 4,
|
||||
"content_label": "patterns",
|
||||
"sort_order": 6,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Pre-Menstrual Breast Distension: Kidney- and Liver-Yin deficiency",
|
||||
"type": "template_ref",
|
||||
"label": "Fever during Period",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "pre_menstrual_breast_distension_kidney_and_liver_yin_deficiency"
|
||||
"template_code": "m0042_ct0037"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Headaches During Periods: Blood deficiency",
|
||||
"code": "headaches_during_periods_blood_deficiency",
|
||||
"name": "Mouth Ulcers during Period",
|
||||
"code": "mouth_ulcers",
|
||||
"content_count": 4,
|
||||
"content_label": "patterns",
|
||||
"sort_order": 7,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Headaches During Periods: Blood deficiency",
|
||||
"type": "template_ref",
|
||||
"label": "Mouth Ulcers during Period",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "headaches_during_periods_blood_deficiency"
|
||||
"template_code": "m0042_ct0038"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Headaches During Periods: Liver-Fire blazing",
|
||||
"code": "headaches_during_periods_liver_fire_blazing",
|
||||
"name": "Skin Eruptions during Period",
|
||||
"code": "skin_eruptions",
|
||||
"content_count": 3,
|
||||
"content_label": "patterns",
|
||||
"sort_order": 8,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Headaches During Periods: Liver-Fire blazing",
|
||||
"type": "template_ref",
|
||||
"label": "Skin Eruptions during Period",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "headaches_during_periods_liver_fire_blazing"
|
||||
"template_code": "m0042_ct0039"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Headaches During Periods: Liver-Yang rising",
|
||||
"code": "headaches_during_periods_liver_yang_rising",
|
||||
"name": "Epistaxis or Hemoptysis during Period",
|
||||
"code": "epistaxis_or_hemoptysis",
|
||||
"content_count": 2,
|
||||
"content_label": "patterns",
|
||||
"sort_order": 9,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Headaches During Periods: Liver-Yang rising",
|
||||
"type": "template_ref",
|
||||
"label": "Epistaxis or Hemoptysis during Period",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "headaches_during_periods_liver_yang_rising"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Headaches During Periods: Blood stasis",
|
||||
"code": "headaches_during_periods_blood_stasis",
|
||||
"sort_order": 10,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Headaches During Periods: Blood stasis",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "headaches_during_periods_blood_stasis"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Edema During Periods: Spleen- and Kidney-Yang deficiency",
|
||||
"code": "edema_during_periods_spleen_and_kidney_yang_deficiency",
|
||||
"sort_order": 11,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Edema During Periods: Spleen- and Kidney-Yang deficiency",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "edema_during_periods_spleen_and_kidney_yang_deficiency"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Edema During Periods: Stagnation of Qi",
|
||||
"code": "edema_during_periods_stagnation_of_qi",
|
||||
"sort_order": 12,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Edema During Periods: Stagnation of Qi",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "edema_during_periods_stagnation_of_qi"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Diarrhea During Period: Spleen-Qi deficiency",
|
||||
"code": "diarrhea_during_period_spleen_qi_deficiency",
|
||||
"sort_order": 13,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Diarrhea During Period: Spleen-Qi deficiency",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "diarrhea_during_period_spleen_qi_deficiency"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Diarrhea During Period: Liver-Qi stagnant and invading the Spleen",
|
||||
"code": "diarrhea_during_period_liver_qi_stagnant_and_invading_the_spleen",
|
||||
"sort_order": 14,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Diarrhea During Period: Liver-Qi stagnant and invading the Spleen",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "diarrhea_during_period_liver_qi_stagnant_and_invading_the_spleen"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Diarrhea During Period: Kidney-Yang deficiency",
|
||||
"code": "diarrhea_during_period_kidney_yang_deficiency",
|
||||
"sort_order": 15,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Diarrhea During Period: Kidney-Yang deficiency",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "diarrhea_during_period_kidney_yang_deficiency"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Dizziness during Period: Blood deficiency",
|
||||
"code": "dizziness_during_period_blood_deficiency",
|
||||
"sort_order": 16,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Dizziness during Period: Blood deficiency",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "dizziness_during_period_blood_deficiency"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Dizziness during Period: Kidney- and Liver-Yin deficiency with Liver-Yang rising",
|
||||
"code": "dizziness_during_period_kidney_and_liver_yin_deficiency_with_liver_yang_rising",
|
||||
"sort_order": 17,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Dizziness during Period: Kidney- and Liver-Yin deficiency with Liver-Yang rising",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "dizziness_during_period_kidney_and_liver_yin_deficiency_with_liver_yang_rising"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Dizziness during Period: Phlegm with Spleen-Qi deficiency",
|
||||
"code": "dizziness_during_period_phlegm_with_spleen_qi_deficiency",
|
||||
"sort_order": 18,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Dizziness during Period: Phlegm with Spleen-Qi deficiency",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "dizziness_during_period_phlegm_with_spleen_qi_deficiency"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Body Aches during Period: Blood deficiency (alone or with Yang rising)",
|
||||
"code": "body_aches_during_period_blood_deficiency_alone_or_with_yang_rising",
|
||||
"sort_order": 19,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Body Aches during Period: Blood deficiency (alone or with Yang rising)",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "body_aches_during_period_blood_deficiency_alone_or_with_yang_rising"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Body Aches during Period: Blood stasis",
|
||||
"code": "body_aches_during_period_blood_stasis",
|
||||
"sort_order": 20,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Body Aches during Period: Blood stasis",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "body_aches_during_period_blood_stasis"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Fever during Period: Blood-Heat",
|
||||
"code": "fever_during_period_blood_heat",
|
||||
"sort_order": 21,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Fever during Period: Blood-Heat",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "fever_during_period_blood_heat"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Fever during Period: Kidney- and Liver-Yin deficiency with Empty-Heat",
|
||||
"code": "fever_during_period_kidney_and_liver_yin_deficiency_with_empty_heat",
|
||||
"sort_order": 22,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Fever during Period: Kidney- and Liver-Yin deficiency with Empty-Heat",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "fever_during_period_kidney_and_liver_yin_deficiency_with_empty_heat"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Fever during Period: Qi and Blood deficiency with disharmony of Nutritive and Defensive Qi",
|
||||
"code": "fever_during_period_qi_and_blood_deficiency_with_disharmony_of_nutritive_and_defensive_qi",
|
||||
"sort_order": 23,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Fever during Period: Qi and Blood deficiency with disharmony of Nutritive and Defensive Qi",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "fever_during_period_qi_and_blood_deficiency_with_disharmony_of_nutritive_and_defensive_qi"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Fever during Period: Blood stasis with Heat",
|
||||
"code": "fever_during_period_blood_stasis_with_heat",
|
||||
"sort_order": 24,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Fever during Period: Blood stasis with Heat",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "fever_during_period_blood_stasis_with_heat"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Mouth Ulcers during Period: Heart-Fire",
|
||||
"code": "mouth_ulcers_during_period_heart_fire",
|
||||
"sort_order": 25,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Mouth Ulcers during Period: Heart-Fire",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "mouth_ulcers_during_period_heart_fire"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Mouth Ulcers during Period: Heart- and Kidney-Yin deficiency with Empty-Heat",
|
||||
"code": "mouth_ulcers_during_period_heart_and_kidney_yin_deficiency_with_empty_heat",
|
||||
"sort_order": 26,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Mouth Ulcers during Period: Heart- and Kidney-Yin deficiency with Empty-Heat",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "mouth_ulcers_during_period_heart_and_kidney_yin_deficiency_with_empty_heat"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Mouth Ulcers during Period: Stomach-Fire or Stomach Damp-Heat",
|
||||
"code": "mouth_ulcers_during_period_stomach_fire_or_stomach_damp_heat",
|
||||
"sort_order": 27,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Mouth Ulcers during Period: Stomach-Fire or Stomach Damp-Heat",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "mouth_ulcers_during_period_stomach_fire_or_stomach_damp_heat"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Mouth Ulcers during Period: Stomach Damp-Heat with Spleen deficiency",
|
||||
"code": "mouth_ulcers_during_period_stomach_damp_heat_with_spleen_deficiency",
|
||||
"sort_order": 28,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Mouth Ulcers during Period: Stomach Damp-Heat with Spleen deficiency",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "mouth_ulcers_during_period_stomach_damp_heat_with_spleen_deficiency"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Skin Eruptions during Period: Wind-Heat with Blood deficiency",
|
||||
"code": "skin_eruptions_during_period_wind_heat_with_blood_deficiency",
|
||||
"sort_order": 29,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Skin Eruptions during Period: Wind-Heat with Blood deficiency",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "skin_eruptions_during_period_wind_heat_with_blood_deficiency"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Skin Eruptions during Period: Blood-Heat",
|
||||
"code": "skin_eruptions_during_period_blood_heat",
|
||||
"sort_order": 30,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Skin Eruptions during Period: Blood-Heat",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "skin_eruptions_during_period_blood_heat"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Skin Eruptions during Period: Damp-Heat",
|
||||
"code": "skin_eruptions_during_period_damp_heat",
|
||||
"sort_order": 31,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Skin Eruptions during Period: Damp-Heat",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "skin_eruptions_during_period_damp_heat"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Epistaxis or Hemoptysis during Period: Stagnant Liver-Qi turning into Fire",
|
||||
"code": "epistaxis_or_hemoptysis_during_period_stagnant_liver_qi_turning_into_fire",
|
||||
"sort_order": 32,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Epistaxis or Hemoptysis during Period: Stagnant Liver-Qi turning into Fire",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "epistaxis_or_hemoptysis_during_period_stagnant_liver_qi_turning_into_fire"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Epistaxis or Hemoptysis during Period: Lung- and Kidney-Yin deficiency",
|
||||
"code": "epistaxis_or_hemoptysis_during_period_lung_and_kidney_yin_deficiency",
|
||||
"sort_order": 33,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Epistaxis or Hemoptysis during Period: Lung- and Kidney-Yin deficiency",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "epistaxis_or_hemoptysis_during_period_lung_and_kidney_yin_deficiency"
|
||||
"template_code": "m0042_ct0040"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,60 @@
|
|||
{
|
||||
"contents": [
|
||||
{
|
||||
"name": "Heart-Fire",
|
||||
"code": "mouth_ulcers_heart_fire",
|
||||
"sort_order": 0,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Heart-Fire",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "mouth_ulcers_during_period_heart_fire"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Heart- and Kidney-Yin deficiency with Empty-Heat",
|
||||
"code": "mouth_ulcers_heart_and_kidney_yin_deficiency_with_empty_heat",
|
||||
"sort_order": 1,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Heart- and Kidney-Yin deficiency with Empty-Heat",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "mouth_ulcers_during_period_heart_and_kidney_yin_deficiency_with_empty_heat"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Stomach-Fire or Stomach Damp-Heat",
|
||||
"code": "mouth_ulcers_stomach_fire_or_stomach_damp_heat",
|
||||
"sort_order": 2,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Stomach-Fire or Stomach Damp-Heat",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "mouth_ulcers_during_period_stomach_fire_or_stomach_damp_heat"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Stomach Damp-Heat with Spleen deficiency",
|
||||
"code": "mouth_ulcers_stomach_damp_heat_with_spleen_deficiency",
|
||||
"sort_order": 3,
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Stomach Damp-Heat with Spleen deficiency",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "mouth_ulcers_during_period_stomach_damp_heat_with_spleen_deficiency"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -2,48 +2,45 @@
|
|||
"contents": [
|
||||
{
|
||||
"name": "Wind-Heat with Blood deficiency",
|
||||
"code": "skin_eruptions_wind_heat_with_blood_deficiency",
|
||||
"sort_order": 0,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Wind-Heat with Blood deficiency",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0061"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "skin_eruptions_during_period_wind_heat_with_blood_deficiency"
|
||||
}
|
||||
},
|
||||
"code": "wind_heat_with_blood_deficiency"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Blood-Heat",
|
||||
"code": "skin_eruptions_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_ct0061"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "skin_eruptions_during_period_blood_heat"
|
||||
}
|
||||
},
|
||||
"code": "blood_heat"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Damp-Heat",
|
||||
"code": "skin_eruptions_damp_heat",
|
||||
"sort_order": 2,
|
||||
"content_count": 1,
|
||||
"content_label": "categories",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"type": "content_ref",
|
||||
"label": "Damp-Heat",
|
||||
"target": {
|
||||
"module_code": "m0042",
|
||||
"template_code": "m0042_ct0061"
|
||||
"template_code": "m0042_ct0005",
|
||||
"source_code": "skin_eruptions_during_period_damp_heat"
|
||||
}
|
||||
},
|
||||
"code": "damp_heat"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -31,7 +31,7 @@
|
|||
"code": "m0042_ct0003",
|
||||
"data_path": "data/problems_during_period/list.json",
|
||||
"template_path": "templates/m0042_ct0003.json"
|
||||
},
|
||||
},
|
||||
{
|
||||
"name": "diseases_of_pregnancy_list_content",
|
||||
"description": "",
|
||||
|
|
@ -45,7 +45,265 @@
|
|||
"code": "m0042_ct0005",
|
||||
"data_path": "data/detail_patterns.json",
|
||||
"template_path": "templates/m0042_ct0005.json"
|
||||
},
|
||||
{
|
||||
"name": "diseases_after_childbirth_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0006",
|
||||
"data_path": "data/diseases_after_childbirth/list.json",
|
||||
"template_path": "templates/m0042_ct0006.json"
|
||||
},
|
||||
{
|
||||
"name": "other_list_content",
|
||||
"description": "",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"name": "breast_distension_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0031",
|
||||
"data_path": "data/problems_during_period/breast_distension/list.json",
|
||||
"template_path": "templates/m0042_ct0031.json"
|
||||
},
|
||||
{
|
||||
"name": "headaches_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0032",
|
||||
"data_path": "data/problems_during_period/headaches/list.json",
|
||||
"template_path": "templates/m0042_ct0032.json"
|
||||
},
|
||||
{
|
||||
"name": "edema_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0033",
|
||||
"data_path": "data/problems_during_period/edema/list.json",
|
||||
"template_path": "templates/m0042_ct0033.json"
|
||||
},
|
||||
{
|
||||
"name": "diarrhea_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0034",
|
||||
"data_path": "data/problems_during_period/diarrhea/list.json",
|
||||
"template_path": "templates/m0042_ct0034.json"
|
||||
},
|
||||
{
|
||||
"name": "dizziness_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0035",
|
||||
"data_path": "data/problems_during_period/dizziness/list.json",
|
||||
"template_path": "templates/m0042_ct0035.json"
|
||||
},
|
||||
{
|
||||
"name": "body_aches_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0036",
|
||||
"data_path": "data/problems_during_period/body_aches/list.json",
|
||||
"template_path": "templates/m0042_ct0036.json"
|
||||
},
|
||||
{
|
||||
"name": "fever_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0037",
|
||||
"data_path": "data/problems_during_period/fever/list.json",
|
||||
"template_path": "templates/m0042_ct0037.json"
|
||||
},
|
||||
{
|
||||
"name": "mouth_ulcers_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0038",
|
||||
"data_path": "data/problems_during_period/mouth_ulcers/list.json",
|
||||
"template_path": "templates/m0042_ct0038.json"
|
||||
},
|
||||
{
|
||||
"name": "skin_eruptions_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0039",
|
||||
"data_path": "data/problems_during_period/skin_eruptions/list.json",
|
||||
"template_path": "templates/m0042_ct0039.json"
|
||||
},
|
||||
{
|
||||
"name": "epistaxis_or_hemoptysis_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0040",
|
||||
"data_path": "data/problems_during_period/epistaxis_or_hemoptysis/list.json",
|
||||
"template_path": "templates/m0042_ct0040.json"
|
||||
},
|
||||
{
|
||||
"name": "morning_sickness_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0051",
|
||||
"data_path": "data/diseases_of_pregnancy/morning_sickness/list.json",
|
||||
"template_path": "templates/m0042_ct0051.json"
|
||||
},
|
||||
{
|
||||
"name": "abdominal_pain_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0052",
|
||||
"data_path": "data/diseases_of_pregnancy/abdominal_pain/list.json",
|
||||
"template_path": "templates/m0042_ct0052.json"
|
||||
},
|
||||
{
|
||||
"name": "fetus_not_growing_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0053",
|
||||
"data_path": "data/diseases_of_pregnancy/fetus_not_growing/list.json",
|
||||
"template_path": "templates/m0042_ct0053.json"
|
||||
},
|
||||
{
|
||||
"name": "threatened_miscarriage_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0054",
|
||||
"data_path": "data/diseases_of_pregnancy/threatened_miscarriage/list.json",
|
||||
"template_path": "templates/m0042_ct0054.json"
|
||||
},
|
||||
{
|
||||
"name": "habitual_miscarriage_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0055",
|
||||
"data_path": "data/diseases_of_pregnancy/habitual_miscarriage/list.json",
|
||||
"template_path": "templates/m0042_ct0055.json"
|
||||
},
|
||||
{
|
||||
"name": "feeling_of_suffocation_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0056",
|
||||
"data_path": "data/diseases_of_pregnancy/feeling_of_suffocation/list.json",
|
||||
"template_path": "templates/m0042_ct0056.json"
|
||||
},
|
||||
{
|
||||
"name": "edema_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0057",
|
||||
"data_path": "data/diseases_of_pregnancy/edema/list.json",
|
||||
"template_path": "templates/m0042_ct0057.json"
|
||||
},
|
||||
{
|
||||
"name": "urinary_syndrome_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0058",
|
||||
"data_path": "data/diseases_of_pregnancy/urinary_syndrome/list.json",
|
||||
"template_path": "templates/m0042_ct0058.json"
|
||||
},
|
||||
{
|
||||
"name": "retention_of_urine_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0059",
|
||||
"data_path": "data/diseases_of_pregnancy/retention_of_urine/list.json",
|
||||
"template_path": "templates/m0042_ct0059.json"
|
||||
},
|
||||
{
|
||||
"name": "anxiety_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0060",
|
||||
"data_path": "data/diseases_of_pregnancy/anxiety/list.json",
|
||||
"template_path": "templates/m0042_ct0060.json"
|
||||
},
|
||||
{
|
||||
"name": "dizziness_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0061",
|
||||
"data_path": "data/diseases_of_pregnancy/dizziness/list.json",
|
||||
"template_path": "templates/m0042_ct0061.json"
|
||||
},
|
||||
{
|
||||
"name": "convulsions_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0062",
|
||||
"data_path": "data/diseases_of_pregnancy/convulsions/list.json",
|
||||
"template_path": "templates/m0042_ct0062.json"
|
||||
},
|
||||
{
|
||||
"name": "cough_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0063",
|
||||
"data_path": "data/diseases_of_pregnancy/cough/list.json",
|
||||
"template_path": "templates/m0042_ct0063.json"
|
||||
},
|
||||
{
|
||||
"name": "aphonia_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0064",
|
||||
"data_path": "data/diseases_of_pregnancy/aphonia/list.json",
|
||||
"template_path": "templates/m0042_ct0064.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
"code": "m0042_ct0001",
|
||||
"content_kind": "therapeutic",
|
||||
"is_searchable": false,
|
||||
"is_filterable": false,
|
||||
"is_filterable": false,
|
||||
"attribute_prefix_code": "m0042_ct0001",
|
||||
"attribute_prefix_name": "gynecological_disorders_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_ct0001_collection",
|
||||
"collection_item": "m0042_ct0001_card",
|
||||
"collection": "module_catalog_collection",
|
||||
"collection_item": "module_catalog_card",
|
||||
"detail": "m0042_ct0001_detail"
|
||||
},
|
||||
"link": {
|
||||
|
|
@ -242,7 +242,7 @@
|
|||
"attribute_key": "m0042_ct0001.content_label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0001.sort_order",
|
||||
"empty_behavior": "hide",
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
"description": "",
|
||||
"code": "m0042_ct0003",
|
||||
"content_kind": "therapeutic",
|
||||
"is_searchable": true,
|
||||
"is_filterable": true,
|
||||
"is_searchable": true,
|
||||
"is_filterable": true,
|
||||
"attribute_prefix_code": "m0042_ct0003",
|
||||
"attribute_prefix_name": "problems_during_period_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_ct0003_collection",
|
||||
"collection_item": "m0042_ct0003_card",
|
||||
"collection": "module_catalog_collection",
|
||||
"collection_item": "module_catalog_card",
|
||||
"detail": "m0042_ct0003_detail"
|
||||
},
|
||||
"link": {
|
||||
|
|
@ -242,7 +242,7 @@
|
|||
"attribute_key": "m0042_ct0003.content_label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0003.sort_order",
|
||||
"empty_behavior": "hide",
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
"description": "",
|
||||
"code": "m0042_ct0004",
|
||||
"content_kind": "therapeutic",
|
||||
"is_searchable": true,
|
||||
"is_filterable": true,
|
||||
"is_searchable": true,
|
||||
"is_filterable": true,
|
||||
"attribute_prefix_code": "m0042_ct0004",
|
||||
"attribute_prefix_name": "diseases_of_pregnancy_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_ct0004_collection",
|
||||
"collection_item": "m0042_ct0004_card",
|
||||
"collection": "module_catalog_collection",
|
||||
"collection_item": "module_catalog_card",
|
||||
"detail": "m0042_ct0004_detail"
|
||||
},
|
||||
"link": {
|
||||
|
|
@ -242,7 +242,7 @@
|
|||
"attribute_key": "m0042_ct0004.content_label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0004.sort_order",
|
||||
"empty_behavior": "hide",
|
||||
|
|
|
|||
|
|
@ -55,7 +55,8 @@
|
|||
"name": "Treatment Principle",
|
||||
"code": "treatment_principle",
|
||||
"data_type": "text",
|
||||
"default": ""
|
||||
"is_multivalue": true,
|
||||
"default": []
|
||||
},
|
||||
{
|
||||
"name": "Sort Order",
|
||||
|
|
|
|||
|
|
@ -0,0 +1,337 @@
|
|||
{
|
||||
"name": "diseases_after_childbirth_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0006",
|
||||
"content_kind": "therapeutic",
|
||||
"is_searchable": true,
|
||||
"is_filterable": true,
|
||||
"attribute_prefix_code": "m0042_ct0006",
|
||||
"attribute_prefix_name": "diseases_after_childbirth_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": "module_catalog_collection",
|
||||
"collection_item": "module_catalog_card",
|
||||
"detail": "m0042_ct0006_detail"
|
||||
},
|
||||
"link": {
|
||||
"renderer": "content_link"
|
||||
},
|
||||
"attributes": [
|
||||
{
|
||||
"attribute_key": "m0042_ct0006.name",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0006.code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0006.content_count",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0006.content_label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0006.sort_order",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0006.link",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0006.link.type",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0006.link.label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0006.link.target",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0006.link.target.module_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0006.link.target.template_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0006.link.target.source_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0006.link.target.source_key",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0006.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>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,337 @@
|
|||
{
|
||||
"name": "other_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0007",
|
||||
"content_kind": "therapeutic",
|
||||
"is_searchable": true,
|
||||
"is_filterable": true,
|
||||
"attribute_prefix_code": "m0042_ct0007",
|
||||
"attribute_prefix_name": "other_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": "module_catalog_collection",
|
||||
"collection_item": "module_catalog_card",
|
||||
"detail": "m0042_ct0007_detail"
|
||||
},
|
||||
"link": {
|
||||
"renderer": "content_link"
|
||||
},
|
||||
"attributes": [
|
||||
{
|
||||
"attribute_key": "m0042_ct0007.name",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0007.code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0007.content_count",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0007.content_label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0007.sort_order",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0007.link",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0007.link.type",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0007.link.label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0007.link.target",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0007.link.target.module_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0007.link.target.template_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0007.link.target.source_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0007.link.target.source_key",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0007.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>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -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>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -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>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -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>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -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>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -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>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -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>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -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>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -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>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -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>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -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>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -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>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,337 @@
|
|||
{
|
||||
"name": "breast_distension_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0031",
|
||||
"content_kind": "therapeutic",
|
||||
"is_searchable": true,
|
||||
"is_filterable": true,
|
||||
"attribute_prefix_code": "m0042_ct0031",
|
||||
"attribute_prefix_name": "breast_distension_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": "module_catalog_collection",
|
||||
"collection_item": "module_catalog_card",
|
||||
"detail": "m0042_ct0031_detail"
|
||||
},
|
||||
"link": {
|
||||
"renderer": "content_link"
|
||||
},
|
||||
"attributes": [
|
||||
{
|
||||
"attribute_key": "m0042_ct0031.name",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0031.code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0031.content_count",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0031.content_label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0031.sort_order",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0031.link",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0031.link.type",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0031.link.label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0031.link.target",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0031.link.target.module_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0031.link.target.template_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0031.link.target.source_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0031.link.target.source_key",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0031.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>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,337 @@
|
|||
{
|
||||
"name": "headaches_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0032",
|
||||
"content_kind": "therapeutic",
|
||||
"is_searchable": true,
|
||||
"is_filterable": true,
|
||||
"attribute_prefix_code": "m0042_ct0032",
|
||||
"attribute_prefix_name": "headaches_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": "module_catalog_collection",
|
||||
"collection_item": "module_catalog_card",
|
||||
"detail": "m0042_ct0032_detail"
|
||||
},
|
||||
"link": {
|
||||
"renderer": "content_link"
|
||||
},
|
||||
"attributes": [
|
||||
{
|
||||
"attribute_key": "m0042_ct0032.name",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0032.code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0032.content_count",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0032.content_label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0032.sort_order",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0032.link",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0032.link.type",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0032.link.label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0032.link.target",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0032.link.target.module_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0032.link.target.template_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0032.link.target.source_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0032.link.target.source_key",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0032.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>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,337 @@
|
|||
{
|
||||
"name": "edema_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0033",
|
||||
"content_kind": "therapeutic",
|
||||
"is_searchable": true,
|
||||
"is_filterable": true,
|
||||
"attribute_prefix_code": "m0042_ct0033",
|
||||
"attribute_prefix_name": "edema_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": "module_catalog_collection",
|
||||
"collection_item": "module_catalog_card",
|
||||
"detail": "m0042_ct0033_detail"
|
||||
},
|
||||
"link": {
|
||||
"renderer": "content_link"
|
||||
},
|
||||
"attributes": [
|
||||
{
|
||||
"attribute_key": "m0042_ct0033.name",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0033.code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0033.content_count",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0033.content_label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0033.sort_order",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0033.link",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0033.link.type",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0033.link.label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0033.link.target",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0033.link.target.module_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0033.link.target.template_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0033.link.target.source_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0033.link.target.source_key",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0033.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>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,337 @@
|
|||
{
|
||||
"name": "diarrhea_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0034",
|
||||
"content_kind": "therapeutic",
|
||||
"is_searchable": true,
|
||||
"is_filterable": true,
|
||||
"attribute_prefix_code": "m0042_ct0034",
|
||||
"attribute_prefix_name": "diarrhea_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": "module_catalog_collection",
|
||||
"collection_item": "module_catalog_card",
|
||||
"detail": "m0042_ct0034_detail"
|
||||
},
|
||||
"link": {
|
||||
"renderer": "content_link"
|
||||
},
|
||||
"attributes": [
|
||||
{
|
||||
"attribute_key": "m0042_ct0034.name",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0034.code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0034.content_count",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0034.content_label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0034.sort_order",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0034.link",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0034.link.type",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0034.link.label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0034.link.target",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0034.link.target.module_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0034.link.target.template_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0034.link.target.source_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0034.link.target.source_key",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0034.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>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,337 @@
|
|||
{
|
||||
"name": "dizziness_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0035",
|
||||
"content_kind": "therapeutic",
|
||||
"is_searchable": true,
|
||||
"is_filterable": true,
|
||||
"attribute_prefix_code": "m0042_ct0035",
|
||||
"attribute_prefix_name": "dizziness_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": "module_catalog_collection",
|
||||
"collection_item": "module_catalog_card",
|
||||
"detail": "m0042_ct0035_detail"
|
||||
},
|
||||
"link": {
|
||||
"renderer": "content_link"
|
||||
},
|
||||
"attributes": [
|
||||
{
|
||||
"attribute_key": "m0042_ct0035.name",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0035.code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0035.content_count",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0035.content_label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0035.sort_order",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0035.link",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0035.link.type",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0035.link.label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0035.link.target",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0035.link.target.module_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0035.link.target.template_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0035.link.target.source_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0035.link.target.source_key",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0035.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>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,337 @@
|
|||
{
|
||||
"name": "body_aches_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0036",
|
||||
"content_kind": "therapeutic",
|
||||
"is_searchable": true,
|
||||
"is_filterable": true,
|
||||
"attribute_prefix_code": "m0042_ct0036",
|
||||
"attribute_prefix_name": "body_aches_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": "module_catalog_collection",
|
||||
"collection_item": "module_catalog_card",
|
||||
"detail": "m0042_ct0036_detail"
|
||||
},
|
||||
"link": {
|
||||
"renderer": "content_link"
|
||||
},
|
||||
"attributes": [
|
||||
{
|
||||
"attribute_key": "m0042_ct0036.name",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0036.code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0036.content_count",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0036.content_label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0036.sort_order",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0036.link",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0036.link.type",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0036.link.label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0036.link.target",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0036.link.target.module_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0036.link.target.template_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0036.link.target.source_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0036.link.target.source_key",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0036.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>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,337 @@
|
|||
{
|
||||
"name": "fever_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0037",
|
||||
"content_kind": "therapeutic",
|
||||
"is_searchable": true,
|
||||
"is_filterable": true,
|
||||
"attribute_prefix_code": "m0042_ct0037",
|
||||
"attribute_prefix_name": "fever_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": "module_catalog_collection",
|
||||
"collection_item": "module_catalog_card",
|
||||
"detail": "m0042_ct0037_detail"
|
||||
},
|
||||
"link": {
|
||||
"renderer": "content_link"
|
||||
},
|
||||
"attributes": [
|
||||
{
|
||||
"attribute_key": "m0042_ct0037.name",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0037.code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0037.content_count",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0037.content_label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0037.sort_order",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0037.link",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0037.link.type",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0037.link.label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0037.link.target",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0037.link.target.module_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0037.link.target.template_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0037.link.target.source_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0037.link.target.source_key",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0037.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>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,337 @@
|
|||
{
|
||||
"name": "mouth_ulcers_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0038",
|
||||
"content_kind": "therapeutic",
|
||||
"is_searchable": true,
|
||||
"is_filterable": true,
|
||||
"attribute_prefix_code": "m0042_ct0038",
|
||||
"attribute_prefix_name": "mouth_ulcers_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": "module_catalog_collection",
|
||||
"collection_item": "module_catalog_card",
|
||||
"detail": "m0042_ct0038_detail"
|
||||
},
|
||||
"link": {
|
||||
"renderer": "content_link"
|
||||
},
|
||||
"attributes": [
|
||||
{
|
||||
"attribute_key": "m0042_ct0038.name",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0038.code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0038.content_count",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0038.content_label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0038.sort_order",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0038.link",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0038.link.type",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0038.link.label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0038.link.target",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0038.link.target.module_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0038.link.target.template_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0038.link.target.source_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0038.link.target.source_key",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0038.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>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,337 @@
|
|||
{
|
||||
"name": "skin_eruptions_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0039",
|
||||
"content_kind": "therapeutic",
|
||||
"is_searchable": true,
|
||||
"is_filterable": true,
|
||||
"attribute_prefix_code": "m0042_ct0039",
|
||||
"attribute_prefix_name": "skin_eruptions_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": "module_catalog_collection",
|
||||
"collection_item": "module_catalog_card",
|
||||
"detail": "m0042_ct0039_detail"
|
||||
},
|
||||
"link": {
|
||||
"renderer": "content_link"
|
||||
},
|
||||
"attributes": [
|
||||
{
|
||||
"attribute_key": "m0042_ct0039.name",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0039.code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0039.content_count",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0039.content_label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0039.sort_order",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0039.link",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0039.link.type",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0039.link.label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0039.link.target",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0039.link.target.module_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0039.link.target.template_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0039.link.target.source_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0039.link.target.source_key",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0039.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>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,337 @@
|
|||
{
|
||||
"name": "epistaxis_or_hemoptysis_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0040",
|
||||
"content_kind": "therapeutic",
|
||||
"is_searchable": true,
|
||||
"is_filterable": true,
|
||||
"attribute_prefix_code": "m0042_ct0040",
|
||||
"attribute_prefix_name": "epistaxis_or_hemoptysis_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": "module_catalog_collection",
|
||||
"collection_item": "module_catalog_card",
|
||||
"detail": "m0042_ct0040_detail"
|
||||
},
|
||||
"link": {
|
||||
"renderer": "content_link"
|
||||
},
|
||||
"attributes": [
|
||||
{
|
||||
"attribute_key": "m0042_ct0040.name",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0040.code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0040.content_count",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0040.content_label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0040.sort_order",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0040.link",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0040.link.type",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0040.link.label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0040.link.target",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0040.link.target.module_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0040.link.target.template_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0040.link.target.source_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0040.link.target.source_key",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0040.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>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,337 @@
|
|||
{
|
||||
"name": "morning_sickness_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0051",
|
||||
"content_kind": "therapeutic",
|
||||
"is_searchable": true,
|
||||
"is_filterable": true,
|
||||
"attribute_prefix_code": "m0042_ct0051",
|
||||
"attribute_prefix_name": "morning_sickness_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": "module_catalog_collection",
|
||||
"collection_item": "module_catalog_card",
|
||||
"detail": "m0042_ct0051_detail"
|
||||
},
|
||||
"link": {
|
||||
"renderer": "content_link"
|
||||
},
|
||||
"attributes": [
|
||||
{
|
||||
"attribute_key": "m0042_ct0051.name",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0051.code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0051.content_count",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0051.content_label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0051.sort_order",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0051.link",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0051.link.type",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0051.link.label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0051.link.target",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0051.link.target.module_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0051.link.target.template_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0051.link.target.source_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0051.link.target.source_key",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0051.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>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,337 @@
|
|||
{
|
||||
"name": "abdominal_pain_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0052",
|
||||
"content_kind": "therapeutic",
|
||||
"is_searchable": true,
|
||||
"is_filterable": true,
|
||||
"attribute_prefix_code": "m0042_ct0052",
|
||||
"attribute_prefix_name": "abdominal_pain_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": "module_catalog_collection",
|
||||
"collection_item": "module_catalog_card",
|
||||
"detail": "m0042_ct0052_detail"
|
||||
},
|
||||
"link": {
|
||||
"renderer": "content_link"
|
||||
},
|
||||
"attributes": [
|
||||
{
|
||||
"attribute_key": "m0042_ct0052.name",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0052.code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0052.content_count",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0052.content_label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0052.sort_order",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0052.link",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0052.link.type",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0052.link.label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0052.link.target",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0052.link.target.module_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0052.link.target.template_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0052.link.target.source_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0052.link.target.source_key",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0052.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>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,337 @@
|
|||
{
|
||||
"name": "fetus_not_growing_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0053",
|
||||
"content_kind": "therapeutic",
|
||||
"is_searchable": true,
|
||||
"is_filterable": true,
|
||||
"attribute_prefix_code": "m0042_ct0053",
|
||||
"attribute_prefix_name": "fetus_not_growing_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": "module_catalog_collection",
|
||||
"collection_item": "module_catalog_card",
|
||||
"detail": "m0042_ct0053_detail"
|
||||
},
|
||||
"link": {
|
||||
"renderer": "content_link"
|
||||
},
|
||||
"attributes": [
|
||||
{
|
||||
"attribute_key": "m0042_ct0053.name",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0053.code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0053.content_count",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0053.content_label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0053.sort_order",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0053.link",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0053.link.type",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0053.link.label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0053.link.target",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0053.link.target.module_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0053.link.target.template_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0053.link.target.source_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0053.link.target.source_key",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0053.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>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,337 @@
|
|||
{
|
||||
"name": "threatened_miscarriage_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0054",
|
||||
"content_kind": "therapeutic",
|
||||
"is_searchable": true,
|
||||
"is_filterable": true,
|
||||
"attribute_prefix_code": "m0042_ct0054",
|
||||
"attribute_prefix_name": "threatened_miscarriage_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": "module_catalog_collection",
|
||||
"collection_item": "module_catalog_card",
|
||||
"detail": "m0042_ct0054_detail"
|
||||
},
|
||||
"link": {
|
||||
"renderer": "content_link"
|
||||
},
|
||||
"attributes": [
|
||||
{
|
||||
"attribute_key": "m0042_ct0054.name",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0054.code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0054.content_count",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0054.content_label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0054.sort_order",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0054.link",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0054.link.type",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0054.link.label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0054.link.target",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0054.link.target.module_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0054.link.target.template_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0054.link.target.source_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0054.link.target.source_key",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0054.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>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,337 @@
|
|||
{
|
||||
"name": "habitual_miscarriage_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0055",
|
||||
"content_kind": "therapeutic",
|
||||
"is_searchable": true,
|
||||
"is_filterable": true,
|
||||
"attribute_prefix_code": "m0042_ct0055",
|
||||
"attribute_prefix_name": "habitual_miscarriage_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": "module_catalog_collection",
|
||||
"collection_item": "module_catalog_card",
|
||||
"detail": "m0042_ct0055_detail"
|
||||
},
|
||||
"link": {
|
||||
"renderer": "content_link"
|
||||
},
|
||||
"attributes": [
|
||||
{
|
||||
"attribute_key": "m0042_ct0055.name",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0055.code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0055.content_count",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0055.content_label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0055.sort_order",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0055.link",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0055.link.type",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0055.link.label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0055.link.target",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0055.link.target.module_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0055.link.target.template_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0055.link.target.source_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0055.link.target.source_key",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0055.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>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,337 @@
|
|||
{
|
||||
"name": "feeling_of_suffocation_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0056",
|
||||
"content_kind": "therapeutic",
|
||||
"is_searchable": true,
|
||||
"is_filterable": true,
|
||||
"attribute_prefix_code": "m0042_ct0056",
|
||||
"attribute_prefix_name": "feeling_of_suffocation_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": "module_catalog_collection",
|
||||
"collection_item": "module_catalog_card",
|
||||
"detail": "m0042_ct0056_detail"
|
||||
},
|
||||
"link": {
|
||||
"renderer": "content_link"
|
||||
},
|
||||
"attributes": [
|
||||
{
|
||||
"attribute_key": "m0042_ct0056.name",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0056.code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0056.content_count",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0056.content_label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0056.sort_order",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0056.link",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0056.link.type",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0056.link.label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0056.link.target",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0056.link.target.module_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0056.link.target.template_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0056.link.target.source_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0056.link.target.source_key",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0056.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>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,337 @@
|
|||
{
|
||||
"name": "edema_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0057",
|
||||
"content_kind": "therapeutic",
|
||||
"is_searchable": true,
|
||||
"is_filterable": true,
|
||||
"attribute_prefix_code": "m0042_ct0057",
|
||||
"attribute_prefix_name": "edema_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": "module_catalog_collection",
|
||||
"collection_item": "module_catalog_card",
|
||||
"detail": "m0042_ct0057_detail"
|
||||
},
|
||||
"link": {
|
||||
"renderer": "content_link"
|
||||
},
|
||||
"attributes": [
|
||||
{
|
||||
"attribute_key": "m0042_ct0057.name",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0057.code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0057.content_count",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0057.content_label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0057.sort_order",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0057.link",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0057.link.type",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0057.link.label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0057.link.target",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0057.link.target.module_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0057.link.target.template_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0057.link.target.source_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0057.link.target.source_key",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0057.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>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,337 @@
|
|||
{
|
||||
"name": "urinary_syndrome_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0058",
|
||||
"content_kind": "therapeutic",
|
||||
"is_searchable": true,
|
||||
"is_filterable": true,
|
||||
"attribute_prefix_code": "m0042_ct0058",
|
||||
"attribute_prefix_name": "urinary_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": "module_catalog_collection",
|
||||
"collection_item": "module_catalog_card",
|
||||
"detail": "m0042_ct0058_detail"
|
||||
},
|
||||
"link": {
|
||||
"renderer": "content_link"
|
||||
},
|
||||
"attributes": [
|
||||
{
|
||||
"attribute_key": "m0042_ct0058.name",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0058.code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0058.content_count",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0058.content_label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0058.sort_order",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0058.link",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0058.link.type",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0058.link.label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0058.link.target",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0058.link.target.module_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0058.link.target.template_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0058.link.target.source_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0058.link.target.source_key",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0058.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>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,337 @@
|
|||
{
|
||||
"name": "retention_of_urine_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0059",
|
||||
"content_kind": "therapeutic",
|
||||
"is_searchable": true,
|
||||
"is_filterable": true,
|
||||
"attribute_prefix_code": "m0042_ct0059",
|
||||
"attribute_prefix_name": "retention_of_urine_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": "module_catalog_collection",
|
||||
"collection_item": "module_catalog_card",
|
||||
"detail": "m0042_ct0059_detail"
|
||||
},
|
||||
"link": {
|
||||
"renderer": "content_link"
|
||||
},
|
||||
"attributes": [
|
||||
{
|
||||
"attribute_key": "m0042_ct0059.name",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0059.code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0059.content_count",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0059.content_label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0059.sort_order",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0059.link",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0059.link.type",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0059.link.label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0059.link.target",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0059.link.target.module_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0059.link.target.template_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0059.link.target.source_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0059.link.target.source_key",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0059.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>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,337 @@
|
|||
{
|
||||
"name": "anxiety_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0060",
|
||||
"content_kind": "therapeutic",
|
||||
"is_searchable": true,
|
||||
"is_filterable": true,
|
||||
"attribute_prefix_code": "m0042_ct0060",
|
||||
"attribute_prefix_name": "anxiety_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": "module_catalog_collection",
|
||||
"collection_item": "module_catalog_card",
|
||||
"detail": "m0042_ct0060_detail"
|
||||
},
|
||||
"link": {
|
||||
"renderer": "content_link"
|
||||
},
|
||||
"attributes": [
|
||||
{
|
||||
"attribute_key": "m0042_ct0060.name",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0060.code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0060.content_count",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0060.content_label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0060.sort_order",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0060.link",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0060.link.type",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0060.link.label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0060.link.target",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0060.link.target.module_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0060.link.target.template_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0060.link.target.source_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0060.link.target.source_key",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0060.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>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,337 @@
|
|||
{
|
||||
"name": "dizziness_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0061",
|
||||
"content_kind": "therapeutic",
|
||||
"is_searchable": true,
|
||||
"is_filterable": true,
|
||||
"attribute_prefix_code": "m0042_ct0061",
|
||||
"attribute_prefix_name": "dizziness_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": "module_catalog_collection",
|
||||
"collection_item": "module_catalog_card",
|
||||
"detail": "m0042_ct0061_detail"
|
||||
},
|
||||
"link": {
|
||||
"renderer": "content_link"
|
||||
},
|
||||
"attributes": [
|
||||
{
|
||||
"attribute_key": "m0042_ct0061.name",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0061.code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0061.content_count",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0061.content_label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0061.sort_order",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0061.link",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0061.link.type",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0061.link.label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0061.link.target",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0061.link.target.module_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0061.link.target.template_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0061.link.target.source_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0061.link.target.source_key",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0061.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>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,337 @@
|
|||
{
|
||||
"name": "convulsions_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0062",
|
||||
"content_kind": "therapeutic",
|
||||
"is_searchable": true,
|
||||
"is_filterable": true,
|
||||
"attribute_prefix_code": "m0042_ct0062",
|
||||
"attribute_prefix_name": "convulsions_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": "module_catalog_collection",
|
||||
"collection_item": "module_catalog_card",
|
||||
"detail": "m0042_ct0062_detail"
|
||||
},
|
||||
"link": {
|
||||
"renderer": "content_link"
|
||||
},
|
||||
"attributes": [
|
||||
{
|
||||
"attribute_key": "m0042_ct0062.name",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0062.code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0062.content_count",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0062.content_label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0062.sort_order",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0062.link",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0062.link.type",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0062.link.label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0062.link.target",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0062.link.target.module_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0062.link.target.template_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0062.link.target.source_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0062.link.target.source_key",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0062.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>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,337 @@
|
|||
{
|
||||
"name": "cough_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0063",
|
||||
"content_kind": "therapeutic",
|
||||
"is_searchable": true,
|
||||
"is_filterable": true,
|
||||
"attribute_prefix_code": "m0042_ct0063",
|
||||
"attribute_prefix_name": "cough_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": "module_catalog_collection",
|
||||
"collection_item": "module_catalog_card",
|
||||
"detail": "m0042_ct0063_detail"
|
||||
},
|
||||
"link": {
|
||||
"renderer": "content_link"
|
||||
},
|
||||
"attributes": [
|
||||
{
|
||||
"attribute_key": "m0042_ct0063.name",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0063.code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0063.content_count",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0063.content_label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0063.sort_order",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0063.link",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0063.link.type",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0063.link.label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0063.link.target",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0063.link.target.module_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0063.link.target.template_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0063.link.target.source_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0063.link.target.source_key",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0063.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>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,337 @@
|
|||
{
|
||||
"name": "aphonia_list_content",
|
||||
"description": "",
|
||||
"code": "m0042_ct0064",
|
||||
"content_kind": "therapeutic",
|
||||
"is_searchable": true,
|
||||
"is_filterable": true,
|
||||
"attribute_prefix_code": "m0042_ct0064",
|
||||
"attribute_prefix_name": "aphonia_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": "module_catalog_collection",
|
||||
"collection_item": "module_catalog_card",
|
||||
"detail": "m0042_ct0064_detail"
|
||||
},
|
||||
"link": {
|
||||
"renderer": "content_link"
|
||||
},
|
||||
"attributes": [
|
||||
{
|
||||
"attribute_key": "m0042_ct0064.name",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0064.code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0064.content_count",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0064.content_label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0064.sort_order",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0064.link",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0064.link.type",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0064.link.label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0064.link.target",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0064.link.target.module_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0064.link.target.template_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0064.link.target.source_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0064.link.target.source_key",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0064.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>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue