---
title: Shortcodes
slug: shortcodes
docTags: 
createdAt: 2023-07-10T19:18:51.752Z
---

The narrative manager includes the ability to add "shortcodes" to a narrative template. This allows you to make a generic template, however, when you insert a narrative into your report it will automatically replace the following shortcodes with specific attributes for that patient. Below are the current shortcodes.

### Adding Shortcodes

When adding or editing narrative templates inside of the Narrative Manager you will see a dropdown called "Shortcodes" You can insert the shortcodes by selecting the shortcode you want to enter in your template.

::Image[]{src="https://api.archbee.com/api/optimize/0LUOsHuHYN3H9ABM64n0B/MQKqxo3Bg0hZ1xYjFtTMD_image.png" size="50" width="905" height="402" position="center" showCaption="false"}

Below are the current shortcodes that are supported:

1. **\[\[firstName]]** shortcode will automatically insert the patients first name into the template when you add it to a report

2. **\[\[subjective]]** shortcode will automatically insert the patients subjective pronoun into the report narrative (he/she etc)

3. **\[\[subjective-UC]]&#x20;**&#x73;hortcode will add an upper case version of the subjective pronound

4. **\[\[objective]]** shortcode will automatically insert the patients objective pronoun into the report narrative (him/her etc)

5. **\[\[objective-UC]]** shortcode will add an upper case version of the objective pronoun

6. **\[\[possessive]]** shortcode will automatically insert the patients possessive pronoun into the report narrative (his/hers etc)

7. **\[\[possessive-UC]]** shortcode will add an upper case version of the possessive pronoun

### Example Shortcode Usage

Given the following template added inside of the narrative manager

::Image[]{src="https://api.archbee.com/api/optimize/0LUOsHuHYN3H9ABM64n0B/u0JIbzpNjkReeilHRv5RF_image.png" size="50" width="612" height="416" position="center" showCaption="false"}

In the [Report Writer](docId\:Al_MvA9yDkBldPtP4JQ4Q) tab you can select this template as shown above by clicking on the templates for that table and selecting the template you wish to add to the report.

::Image[]{src="https://api.archbee.com/api/optimize/0LUOsHuHYN3H9ABM64n0B/ZWg8cjoHwKOq6GWJPoWC9_image.png" size="70" width="599" height="143" position="center" showCaption="false"}

Upon selecting the template it will automatically insert and replace all the shortcodes with the patient names / pronouns as shown below.

::Image[]{src="https://api.archbee.com/api/optimize/0LUOsHuHYN3H9ABM64n0B/-G_QL9PSzfvKjltYeqqMC_image.png" size="50" width="613" height="302" position="center" showCaption="false"}

