291 lines
6.6 KiB
JSON
291 lines
6.6 KiB
JSON
{
|
|
"name": "tcm_pattern_detail_content",
|
|
"description": "Detailed TCM pattern content",
|
|
"code": "M0012_CT0014",
|
|
"content_kind": "pattern",
|
|
"attribute_prefix_code": "M0012_CT0014",
|
|
"attribute_prefix_name": "tcm-pattern-detail",
|
|
|
|
"attribute_defs": [
|
|
{
|
|
"name": "name",
|
|
"code": "name",
|
|
"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": "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"
|
|
}
|
|
],
|
|
|
|
"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"
|
|
},
|
|
{
|
|
"attribute_key": "M0012_CT0014.clinical_manifestations",
|
|
"empty_behavior": "hide",
|
|
"visibility": "show"
|
|
},
|
|
{
|
|
"attribute_key": "M0012_CT0014.tongue",
|
|
"empty_behavior": "hide",
|
|
"visibility": "show"
|
|
},
|
|
{
|
|
"attribute_key": "M0012_CT0014.pulse",
|
|
"empty_behavior": "hide",
|
|
"visibility": "show"
|
|
},
|
|
{
|
|
"attribute_key": "M0012_CT0014.key_symptoms",
|
|
"empty_behavior": "hide",
|
|
"visibility": "show"
|
|
},
|
|
{
|
|
"attribute_key": "M0012_CT0014.pathology",
|
|
"empty_behavior": "hide",
|
|
"visibility": "show"
|
|
},
|
|
{
|
|
"attribute_key": "M0012_CT0014.aetiology",
|
|
"empty_behavior": "hide",
|
|
"visibility": "show"
|
|
},
|
|
{
|
|
"attribute_key": "M0012_CT0014.treatment_principle",
|
|
"empty_behavior": "hide",
|
|
"visibility": "show"
|
|
},
|
|
{
|
|
"attribute_key": "M0012_CT0014.treatment",
|
|
"empty_behavior": "hide",
|
|
"visibility": "show"
|
|
},
|
|
{
|
|
"attribute_key": "M0012_CT0014.explanation",
|
|
"empty_behavior": "hide",
|
|
"visibility": "show"
|
|
},
|
|
{
|
|
"attribute_key": "M0012_CT0014.reference",
|
|
"empty_behavior": "hide",
|
|
"visibility": "show"
|
|
},
|
|
{
|
|
"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"
|
|
}
|
|
}
|
|
]
|
|
} |