feat(m0042): full 3-tier catalog structure across all gynecological categories with pattern counts and disease templates
This commit is contained in:
parent
40958239df
commit
0cfc44630b
|
|
@ -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",
|
||||
|
|
@ -49,7 +49,7 @@
|
|||
"name": "Diseases after Childbirth",
|
||||
"sort_order": 3,
|
||||
"content_count": 0,
|
||||
"content_label": "patterns",
|
||||
"content_label": "diseases",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"label": "Diseases after Childbirth",
|
||||
|
|
@ -64,7 +64,7 @@
|
|||
"name": "Other",
|
||||
"sort_order": 4,
|
||||
"content_count": 0,
|
||||
"content_label": "patterns",
|
||||
"content_label": "diseases",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"label": "Other",
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -136,6 +136,174 @@
|
|||
"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",
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
"description": "",
|
||||
"code": "m0042_ct0006",
|
||||
"content_kind": "therapeutic",
|
||||
"is_searchable": true,
|
||||
"is_filterable": true,
|
||||
"is_searchable": true,
|
||||
"is_filterable": true,
|
||||
"attribute_prefix_code": "m0042_ct0006",
|
||||
"attribute_prefix_name": "diseases_after_childbirth_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_ct0006_collection",
|
||||
"collection_item": "m0042_ct0006_card",
|
||||
"collection": "module_catalog_collection",
|
||||
"collection_item": "module_catalog_card",
|
||||
"detail": "m0042_ct0006_detail"
|
||||
},
|
||||
"link": {
|
||||
|
|
@ -242,7 +242,7 @@
|
|||
"attribute_key": "m0042_ct0006.content_label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0006.sort_order",
|
||||
"empty_behavior": "hide",
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
"description": "",
|
||||
"code": "m0042_ct0007",
|
||||
"content_kind": "therapeutic",
|
||||
"is_searchable": true,
|
||||
"is_filterable": true,
|
||||
"is_searchable": true,
|
||||
"is_filterable": true,
|
||||
"attribute_prefix_code": "m0042_ct0007",
|
||||
"attribute_prefix_name": "other_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_ct0007_collection",
|
||||
"collection_item": "m0042_ct0007_card",
|
||||
"collection": "module_catalog_collection",
|
||||
"collection_item": "module_catalog_card",
|
||||
"detail": "m0042_ct0007_detail"
|
||||
},
|
||||
"link": {
|
||||
|
|
@ -242,7 +242,7 @@
|
|||
"attribute_key": "m0042_ct0007.content_label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0042_ct0007.sort_order",
|
||||
"empty_behavior": "hide",
|
||||
|
|
|
|||
|
|
@ -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