Component Implementation
Extensions in Visiontree let users integrate plugins and functionalities using the "extensions" keyword. This section outlines how to activate plugins by passing specific information.
Enabling Custom Components
The process of enabling custom components involves adding relevant information into the extension section of your configuration. The information typically includes a unique URL and a specific code associated with the component. Below, we provide examples of enabling two such components - the Implant Table and the Spine component.
Implant Table
The Implant Table is a specialized component designed to handle and display information about implants in a structured and user-friendly manner. To enable this component, you need to add the following information to the extension section of your configuration:
"extension": [
{
"url": "https://visiontree.com/fhir/form-controls/implant",
"valueCode": "implant"
}
],By adding this block of code, you instruct the system to include the Implant Table in your application.
Spine Component
The Spine component is a dedicated tool to manage, visualize, and interact with data related to the spine. Like the Implant Table, enabling the Spine component involves adding specific information to the extension section. Here is the necessary code:
"extension": [
{
"url": "https://visiontree.com/fhir/form-controls/spine",
"valueCode": "spine"
}
],This code activates the Spine component within the scope of your application
Additional Information and Components
The examples above illustrate how to enable custom components. However, Visiontree supports a wide variety of other components, both standard and custom. For detailed configuration instructions for these components, please refer to our comprehensive FHIR Renderer Guide. You can access the guide here.
Remember, the power of Visiontree lies in its flexibility and extensibility. Extensions enable you to tailor your application to meet specific needs, enhancing both its functionality and usability.