feat(gynecology): add m0042_ct0091-ct0102 templates and link other diseases

This commit is contained in:
ShivaniKhaire 2026-11-05 14:54:55 +05:30
parent 277e6dc876
commit ff59ee9c62
15 changed files with 4214 additions and 1354 deletions

File diff suppressed because it is too large Load Diff

View File

@ -402,6 +402,90 @@
"code": "m0042_ct0084",
"data_path": "data/diseases_after_childbirth/urinary_difficulty/list.json",
"template_path": "templates/m0042_ct0084.json"
},
{
"name": "abdominal_masses_list_content",
"description": "",
"code": "m0042_ct0091",
"data_path": "data/other/abdominal_masses/list.json",
"template_path": "templates/m0042_ct0091.json"
},
{
"name": "breast_lumps_list_content",
"description": "",
"code": "m0042_ct0092",
"data_path": "data/other/breast_lumps/list.json",
"template_path": "templates/m0042_ct0092.json"
},
{
"name": "endometriosis_list_content",
"description": "",
"code": "m0042_ct0093",
"data_path": "data/other/endometriosis/list.json",
"template_path": "templates/m0042_ct0093.json"
},
{
"name": "excessive_vaginal_discharge_list_content",
"description": "",
"code": "m0042_ct0094",
"data_path": "data/other/excessive_vaginal_discharge/list.json",
"template_path": "templates/m0042_ct0094.json"
},
{
"name": "genital_eczema_list_content",
"description": "",
"code": "m0042_ct0095",
"data_path": "data/other/genital_eczema/list.json",
"template_path": "templates/m0042_ct0095.json"
},
{
"name": "infertility_list_content",
"description": "",
"code": "m0042_ct0096",
"data_path": "data/other/infertility/list.json",
"template_path": "templates/m0042_ct0096.json"
},
{
"name": "menopausal_syndrome_list_content",
"description": "",
"code": "m0042_ct0097",
"data_path": "data/other/menopausal_syndrome/list.json",
"template_path": "templates/m0042_ct0097.json"
},
{
"name": "myoma_list_content",
"description": "",
"code": "m0042_ct0098",
"data_path": "data/other/myoma/list.json",
"template_path": "templates/m0042_ct0098.json"
},
{
"name": "pcos_list_content",
"description": "",
"code": "m0042_ct0099",
"data_path": "data/other/pcos/list.json",
"template_path": "templates/m0042_ct0099.json"
},
{
"name": "prolapse_of_uterus_list_content",
"description": "",
"code": "m0042_ct0100",
"data_path": "data/other/prolapse_of_uterus/list.json",
"template_path": "templates/m0042_ct0100.json"
},
{
"name": "vaginal_itching_list_content",
"description": "",
"code": "m0042_ct0101",
"data_path": "data/other/vaginal_itching/list.json",
"template_path": "templates/m0042_ct0101.json"
},
{
"name": "vulvar_sores_list_content",
"description": "",
"code": "m0042_ct0102",
"data_path": "data/other/vulvar_sores/list.json",
"template_path": "templates/m0042_ct0102.json"
}
]
}

View File

@ -206,68 +206,6 @@
}
}
}
},
{
"name": "Patterns",
"code": "pattern_codes",
"data_type": "json",
"multivalue": true,
"default": [],
"definition_kind": "scalar",
"is_multivalue": true,
"metadata": {
"value_contract": {
"kind": "content_ref",
"contract_version": "1.0",
"reference_type": "content_ref",
"target_module_code": "m0042",
"target_template_code": "m0042_ct0005",
"cardinality": "many",
"authoring_identity": "source_code",
"persisted_identity": "source_key",
"runtime_identity": "content_id",
"resolution_pipeline": "source_code -> source_key -> content_id",
"rules": {
"explicit_reference_required_when_value_present": true,
"plain_text_allowed": false,
"source_code_authoring_only": true,
"source_key_persisted_only": true,
"content_id_runtime_only": true,
"do_not_infer_reference_from_label": true
}
}
}
},
{
"name": "Points",
"code": "point_codes",
"data_type": "json",
"multivalue": true,
"default": [],
"definition_kind": "scalar",
"is_multivalue": true,
"metadata": {
"value_contract": {
"kind": "content_ref",
"contract_version": "1.0",
"reference_type": "content_ref",
"target_module_code": "m0042",
"target_template_code": "m0042_ct0005",
"cardinality": "many",
"authoring_identity": "source_code",
"persisted_identity": "source_key",
"runtime_identity": "content_id",
"resolution_pipeline": "source_code -> source_key -> content_id",
"rules": {
"explicit_reference_required_when_value_present": true,
"plain_text_allowed": false,
"source_code_authoring_only": true,
"source_key_persisted_only": true,
"content_id_runtime_only": true,
"do_not_infer_reference_from_label": true
}
}
}
}
],
"presentation_contracts": [
@ -354,18 +292,6 @@
"attribute_key": "m0042_ct0007.link.target.content_id",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0042_ct0007.pattern_codes",
"empty_behavior": "hide",
"visibility": "show",
"display_order": 20
},
{
"attribute_key": "m0042_ct0007.point_codes",
"empty_behavior": "hide",
"visibility": "show",
"display_order": 20
}
],
"metadata": {
@ -408,4 +334,4 @@
}
}
}
}
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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