{ "name": "tcm_pattern_detail_content", "description": "Detailed TCM pattern content", "code": "m0012_ct0014", "content_kind": "pattern", "is_searchable": true, "is_filterable": true, "attribute_prefix_code": "m0012_ct0014", "attribute_prefix_name": "tcm-pattern-detail", "attribute_defs": [ { "name": "Name", "code": "name", "data_type": "text", "default": "" }, { "name": "Code", "code": "code", "data_type": "text", "default": "" }, { "name": "clinical_manifestations", "code": "clinical_manifestations", "data_type": "json", "default": [] }, { "name": "tongue", "code": "tongue", "data_type": "json", "default": [] }, { "name": "pulse", "code": "pulse", "data_type": "json", "default": [] }, { "name": "key_symptoms", "code": "key_symptoms", "data_type": "json", "default": [] }, { "name": "pathology", "code": "pathology", "data_type": "json", "default": [] }, { "name": "aetiology", "code": "aetiology", "data_type": "json", "default": [] }, { "name": "treatment_principle", "code": "treatment_principle", "data_type": "json", "default": [] }, { "name": "treatment", "code": "treatment", "data_type": "json", "default": {} }, { "name": "explanation", "code": "explanation", "data_type": "json", "default": [] }, { "name": "reference", "code": "reference", "data_type": "text", "default": "" }, { "name": "Additional Details", "code": "additional_details", "data_type": "json", "default": {} }, { "name": "link", "code": "link", "data_type": "text", "default": "" } ], "metadata": { "presentation": { "mode": "single", "renderers": { "detail": "pattern_detail" } }, "search": { "free_text_enabled": true, "default_logic": "and", "fields": [ { "attribute_key": "m0012_ct0014.name", "label": "Name", "operators": [ "contains", "starts_with", "eq" ], "renderer_hint": "text" }, { "attribute_key": "m0012_ct0014.clinical_manifestations", "label": "Clinical Manifestations", "operators": [ "contains" ], "renderer_hint": "text" }, { "attribute_key": "m0012_ct0014.tongue", "label": "Tongue", "operators": [ "contains" ], "renderer_hint": "text" }, { "attribute_key": "m0012_ct0014.pulse", "label": "Pulse", "operators": [ "contains" ], "renderer_hint": "text" }, { "attribute_key": "m0012_ct0014.key_symptoms", "label": "Key Symptoms", "operators": [ "contains" ], "renderer_hint": "text" }, { "attribute_key": "m0012_ct0014.pathology", "label": "Pathology", "operators": [ "contains" ], "renderer_hint": "text" }, { "attribute_key": "m0012_ct0014.aetiology", "label": "Aetiology", "operators": [ "contains" ], "renderer_hint": "text" }, { "attribute_key": "m0012_ct0014.treatment_principle", "label": "Treatment Principle", "operators": [ "contains" ], "renderer_hint": "text" }, { "attribute_key": "m0012_ct0014.treatment", "label": "Treatment", "operators": [ "contains" ], "renderer_hint": "text" }, { "attribute_key": "m0012_ct0014.explanation", "label": "Explanation", "operators": [ "contains" ], "renderer_hint": "text" }, { "attribute_key": "m0012_ct0014.reference", "label": "Reference", "operators": [ "contains" ], "renderer_hint": "text" }, { "attribute_key": "m0012_ct0014.additional_details", "label": "Additional Details", "operators": [ "contains" ], "renderer_hint": "text" } ], "sort_fields": [ { "field": "name", "label": "Name" } ], "default_sort": [ { "field": "name", "direction": "asc" } ] } }, "presentation_contracts": [ { "client_type": "mobile", "version_no": 1, "is_active": true, "mode": "single", "renderers": { "detail": "pattern_detail" }, "link": { "renderer": "content_link" }, "attributes": [ { "attribute_key": "m0012_ct0014.name", "empty_behavior": "hide", "visibility": "show", "display_order": 10 }, { "attribute_key": "m0012_ct0014.code", "empty_behavior": "hide", "visibility": "hide" }, { "attribute_key": "m0012_ct0014.clinical_manifestations", "empty_behavior": "hide", "visibility": "show", "display_order": 20 }, { "attribute_key": "m0012_ct0014.tongue", "empty_behavior": "hide", "visibility": "show", "display_order": 30 }, { "attribute_key": "m0012_ct0014.pulse", "empty_behavior": "hide", "visibility": "show", "display_order": 40 }, { "attribute_key": "m0012_ct0014.key_symptoms", "empty_behavior": "hide", "visibility": "show", "display_order": 50 }, { "attribute_key": "m0012_ct0014.pathology", "empty_behavior": "hide", "visibility": "show", "display_order": 60 }, { "attribute_key": "m0012_ct0014.aetiology", "empty_behavior": "hide", "visibility": "show", "display_order": 70 }, { "attribute_key": "m0012_ct0014.treatment_principle", "empty_behavior": "hide", "visibility": "show", "display_order": 80 }, { "attribute_key": "m0012_ct0014.treatment", "empty_behavior": "hide", "visibility": "show", "display_order": 90 }, { "attribute_key": "m0012_ct0014.explanation", "empty_behavior": "hide", "visibility": "show", "display_order": 100 }, { "attribute_key": "m0012_ct0014.reference", "empty_behavior": "hide", "visibility": "show", "display_order": 110 }, { "attribute_key": "m0012_ct0014.additional_details", "empty_behavior": "hide", "visibility": "show", "display_order": 120 }, { "attribute_key": "m0012_ct0014.link", "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" } } ] }