description
List all observation values, optionally with the date, of the specified observation term.
type
Data symbol function
syntax
LIST_OBS(observation,status,list_type,format)
arguments
observation |
The observation term short name |
status |
Signed - returns only values that have been signed
Update - returns unsigned values only from the current update, not from any other updates
Pencil - returns values that have been signed, including the unsigned values from the current update, not from any other updates
|
format |
Data format, either VALUE, to return the observation value only, or VALUEDATE, to return both the observation value and date and time
|
list_type |
Defines the way you would like the information represented:
Comma - Returns a comma delimited list of observation values and optionally dates
List - Returns a list of observation values and optionally dates
Delimited - Returns a delimited list of all observation information, with pipes(|) between observation records and carets (^) between fields. Information returned is in the following table.
|
Field # |
Description |
Example |
1 |
Observation Value |
69 |
2 |
Observation Date |
01/01/2003 |
3 |
Observation Time |
5:05:00 PM |
4 |
Signing User |
Jerry Lewis, M.D.
Note. Blank if unsigned
|
5 |
Entering User |
Dean Martin |
6 |
Flags |
AA |
7 |
Comment |
Measured with ruler |
8 |
State |
F |
9 |
Location of Care |
Eastside |
10 |
Document Type |
Phone Note |
11 |
Visible Document ID |
23 |
when to evaluate
When Inserted in Note or continuously
returns
A list of observation values with optional dates for a specified observation term
comment
You must use the observation term short name. Arguments are not case-sensitive.
example 1
{LIST_OBS('Weight','Signed','list',"valuedate")}
returns:
122 (04/09/1999 3:14:00 PM)
122 (02/20/1999 10:08:00 AM)
121 (02/13/1999 2:37:00 PM)
121 (02/11/1999 4:23:00 PM)
122 (02/11/1999 9:01:00 AM)
example 2
LIST_OBS(‘height’,’signed’,’delimited’,’valuedate’)}
71 (07/11/2003 11:20:00 AM)^07/11/2003^11:20:00 AM^Julius Hibbard^Julius Hibbard^^^^Westside^Office Visit^235|70 (07/11/2003 11:19:30 AM)^07/11/2003^11:19:30 AM^Julius Hibbard^Julius Hibbard^^^^Enterprise Clinic - ALL^Office Visit^234|71.5 (06/09/2003 2:13:50 PM)^06/09/2003^2:13:50 PM^Harry Winston MD^Harry Winston MD^^^^Eastside^Office Visit^89|72 (06/09/2003 2:13:20 PM)^06/09/2003^2:13:20 PM^Harry Winston MD^Harry Winston MD^^^^Westside^Office Visit^88|70 (06/09/2003 2:13:20 PM)^06/09/2003^2:13:20 PM^Harry Winston MD^Harry Winston MD^^^^Westside^Office Visit^87|71 (06/09/2003 2:12:50 PM)^06/09/2003^2:12:50 PM^Harry Winston MD^Harry Winston MD^^^^Enterprise Clinic - ALL^Office Visit^86
where used
Encounter Forms, text components, letters, handouts and quick text
|