# Letter writer template

**URL:** <https://community.open-emr.org/t/letter-writer-template/25926>\
**Category:** Inpatient Development\
**Created:** [July 29, 2025, 5:08am UTC](https://community.open-emr.org/t/letter-writer-template/25926 "2025-07-29T05:08:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jhunyan](https://community.open-emr.org/letter_avatar_proxy/v4/letter/j/7c8e57/32.png) [@jhunyan](https://community.open-emr.org/u/jhunyan)\
**Post date:** [July 29, 2025, 5:08am UTC](https://community.open-emr.org/t/letter-writer-template/25926/1 "2025-07-29T05:08:56Z")

</div>

Hi,

I tried to create a letter writer template with Addressee on it. I noticed there is no way I can make use of the details of the Addressee on in the Address book.

Can anyone advise on how to modify the codes on the EMR to be able to do so?

Attached is the snapshot of the template

 ![EMR](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/3X/9/4/9436d9942dfd5a4faeaf8f42bae5ead20d04f7e7.jpeg)

Here is the snapshot of the address book

 ![Capture](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/3X/6/3/630120ed2fd6868e7f767ab4b58e0fe4d029ca6b.jpeg)

Thank you

---

<div class="post-metadata">

**Author:** ![htuck](https://community.open-emr.org/user_avatar/community.open-emr.org/htuck/32/15185_2.png) [@htuck](https://community.open-emr.org/u/htuck)\
**Post date:** [August 4, 2025, 7:12pm UTC](https://community.open-emr.org/t/letter-writer-template/25926/2 "2025-08-04T19:12:53Z")

</div>

Hello @jhunyan  
You do not mention having looked in the OpenEMR wiki.  
Here are 2 pages that appear to describe what you’re looking for.

The original module documentation which discusses the basics:  
[https://www.open-emr.org/wiki/index.php/Templates\_for\_Patient\_Documents](https://www.open-emr.org/wiki/index.php/Templates_for_Patient_Documents)

The enhanced template capabilities:  
[https://www.open-emr.org/wiki/index.php/Patient\_Portal\_Document\_Templates](https://www.open-emr.org/wiki/index.php/Patient_Portal_Document_Templates)

Good luck, and feel free to come back here to ask any questions you may come up with.  
Best- Harley

---

<div class="post-metadata">

**Author:** ![jhunyan](https://community.open-emr.org/letter_avatar_proxy/v4/letter/j/7c8e57/32.png) [@jhunyan](https://community.open-emr.org/u/jhunyan)\
**Post date:** [November 30, 2025, 1:41am UTC](https://community.open-emr.org/t/letter-writer-template/25926/3 "2025-11-30T01:41:37Z")

</div>

Hi, there is no addressee in the list.

Here is the list of patient data fields currently supported:

- {Address} - patient street address only, e.g., 1224 Oakdale Rd.

- {AdminSignature} - box to input signature of the staff person administering the form

- {AcknowledgePdf:pdf name or id:title} - (Available as of version 6.0.1) Link to open a pdf file and acknowledge its contents.

- {Allergies} - allergies list from patient’s Issues tab

- {CheckMark} - checkbox next to a list item

- {ChiefComplaint} - [data origin unknown]

- {City} - patient city from patient’s demographics

- {CurrentDate:“global”} - (v6.0.1) Enters the server’s current date. User cannot modify this date.

- {CurrentTime} - (v6.0.1) Enters the server’s current time. User cannot modify this time.

- {DatePicker} - (v6.0.1) Date selector, allows user to select a date.

- {DateTimePicker} - (v6.0.1) Date/time selector, allows user to select a date/time.

- {DEM:fieldid} - data from the specified field of patient demographics; get field ID from the Demographics LBV form

- {DOS} - date of service in the format yyyy-mm-dd

- {EncounterForm:LBF} - (v5.2) Link a layout based form.

- {GRP}{/GRP} - (\<=5.2) groups together other fields labeling as referenced by its original form. For example see below

- {HIS:fieldid} - data from the specified field of patient history LBV form

- {LBFxxx:fieldid} - data from the specified field of a LBF (LBV) instance, from list in ‘Administration/ Layouts’

- {Medications} - ? from patient’s Issues: Medications list?

- {ParseAsHTML} - (v6.0.1) Parse as HTML text

- {PatientDOB} - format yyyy-mm-dd

- {PatientID} - external ID as distinct from the database’s internal pid though may be the same

- {PatientName} - in format ‘FirstName Middle Lastname’ from Demographics

- {PatientPhone} - output in this form: (000)000-0000

- {PatientSex} - ‘Male’ / 'Female/ ‘Unassigned’ from Demographics

- {PatientSignature} - box to input patient signature

- {ProblemList} - from Patient record’s ‘Issues’ screen

- {ReferringDOC} - Name of Referring Provider from Demographics/ Choices

- {SignaturesRequired} - (v6.0.1) Redirects user to sign prior to submission.

- {sizedTextInput:120px} - (v6.0.1) Text input in 120 px size

- {smTextInput} - (v6.0.1) Smaller text input field

- {StandardDatePicker} - (v6.0.1) Standard date picker, allows user to select date.

- {State} - full state name from Demographics/ Contact

- {TextBox:03x080} - text box which allows for much longer text than textinput

- {TextInput} - text area to input plain text limited

- {TrueFalseRadioGroup} - (v6.0.1) True or false radio group

- {WitnessSignature} - (v6.0.1) Opens up a signature box for a witness.

- {ynRadioGroup} - set of radio buttons for ‘Yes / No/ Unk’

- {Zip} - Patient’s demographics ‘Contact/ Postal Code’ field

Is there any other way to extract the addressee in the Address book?

Thank you

---

<div class="post-metadata">

**Author:** ![sjpadgett](https://community.open-emr.org/user_avatar/community.open-emr.org/sjpadgett/32/21623_2.png) [@sjpadgett](https://community.open-emr.org/u/sjpadgett)\
**Post date:** [November 30, 2025, 1:50am UTC](https://community.open-emr.org/t/letter-writer-template/25926/4 "2025-11-30T01:50:58Z")

</div>

Thanks for this.

Fyi everybody, I’ve started a new user guide for portal now that we have established the look and feel of portal. We are doing a lot of work on backend.
