I'm trying to add "POA on file" or "POA NOT on File" to the patient banner, depending on whether the Advanced Directives have been completed.
I added the Power of Attorney directive and when I look at clinical list changes it states: Added new directive of POWER OF ATTORNEY - Signed but I'm not sure how to the "POWER OF ATTORNEY" into the banner since it's not an OBS term.
Try this:
{DCT_PRIOR("list")}
description
Lists directives prior to the current chart update. You can format them into a list with one directive per line or separate them with commas. This symbol replaces LISTDCTPRE.
type
Data symbol function
syntax
DCT_PRIOR(list_type, dat)
arguments
list_type
The list format includes the following arguments:
list - List one per line
comma - List on a single line, separated commas
delimited - List on a single line, rows separated by pipes (|), fields separated by carets (^)
dat
The date the directive was added/changed in the format mm/dd/yyyy.
when to evaluate
When Inserted in Note
returns
Active directives prior to the current chart update
comment
list is the default argument for the list_type parameter.
Fields returned by DCT_PRIOR("delimited"): directive description, directive onset date, directive stop date, directive stop reason
This symbol does not show changes made to the list during the current update.
example 1
{DCT_PRIOR("list")}
returns
NO HOSPITALIZATION
NO SURGERY
example 2
{DCT_PRIOR("comma", "dat")}
returns
03/01/2002 NO HOSPITALIZATION, 03/01/2002 NO SURGERY
where used
Chart: text components, chart notes, and quick text
Encounter Form Editor: Data Display items with a Clinical Function connection and MEL expressions
Related symbols
DCT_ACTIVE
DCT_AFTER
DCT_LIST_CHANGES
DCT_NEW
DCT_REMOVED
Thank you, that worked for what I need. I was trying to include an "if" statement that would actually say "POA on file" if the directive existed. I couldn't get that to work but this should be fine. I really appreciate your reply.