The Patient Clinical Timeline enables care managers to track key clinical information such as conditions, episodes of care, procedures, or medications by providing an at-a-glance view via the calendar control.
It also enables the quick creation of events via the control.
One of the key advantages of this control is the ability to extend it to custom tables within your solution.
In this article, we will explain the basics of the configuration of the patient clinical timeline and how to format your configuration schema file properly.
Configuration Schema File
The behaviour of this control is managed through a web resource called the Timeline Schema. You can check which schema is being used by your control by clicking on the Edit properties of the component within the Form Designer window as shown below.
Microsoft provide their own schema within the Cloud for Healthcare solution, it has the file name of msemr_timelinecustomschema.xml and can be found within the solution package: Healthcare – Foundation > Web Resources > Data.
Now let’s take a look at the schema structure itself.
Schema Structure
The schema allows for the quick creation, and card display of records on the timeline control on both a per App and a per Form basis.
At the parent level, we have AppModules where we may specify specific Model Driven Apps in which to apply our settings. There is a Default option which will apply to all applications also.
At the next level we have Forms. Here we may specific forms to apply our configuration, they are identified by their FormID.
Within each Form there exists a CustomJson element, that contains the key configuration data for our control. The options provided are:
In order to add your own custom table to the JSON segment, its best to take a copy of an existing segment and paste. Order is important as it will render in the order in which this is presented. For example:
Tips when Adding a Custom Table to the Schema
When configuring the schema, here are some tips to ensure that all goes smoothly.
This concludes this week’s quick tip on Microsoft Cloud for Healthcare, please let me know if you have any questions or any feedback on this article.
Original Post http://365lyf.com/extending-the-patient-clinical-timeline-on-microsoft-cloud-for-healthcare/