329 lines
7.7 KiB
JSON
329 lines
7.7 KiB
JSON
{
|
|
"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": "tcm_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": "tcm_pattern_detail"
|
|
},
|
|
"link": {
|
|
"renderer": "content_link"
|
|
},
|
|
"attributes": [
|
|
{
|
|
"attribute_key": "m0012_ct0014.name",
|
|
"empty_behavior": "hide",
|
|
"visibility": "hide"
|
|
},
|
|
{
|
|
"attribute_key": "m0012_ct0014.code",
|
|
"empty_behavior": "hide",
|
|
"visibility": "hide"
|
|
},
|
|
{
|
|
"attribute_key": "m0012_ct0014.tongue",
|
|
"empty_behavior": "hide",
|
|
"visibility": "show",
|
|
"display_order": 20
|
|
},
|
|
{
|
|
"attribute_key": "m0012_ct0014.pulse",
|
|
"empty_behavior": "hide",
|
|
"visibility": "show",
|
|
"display_order": 30
|
|
},
|
|
{
|
|
"attribute_key": "m0012_ct0014.key_symptoms",
|
|
"empty_behavior": "hide",
|
|
"visibility": "show",
|
|
"display_order": 40
|
|
},
|
|
{
|
|
"attribute_key": "m0012_ct0014.aetiology",
|
|
"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.clinical_manifestations",
|
|
"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"
|
|
}
|
|
}
|
|
]
|
|
}
|