$$PARAM() |
Returns the 0 node of the PROBLEM LIST SITE
PARAMETERS file (#125.99)
|
|
DETAIL(IEN,.GMPL) |
Returns detailed data for a problem IEN.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
IEN |
Input |
IEN of PROBLEM file (#9000011).
|
GMPL |
Output |
Array returned as follows (all are in external format
except AUDIT data unless otherwise specified):
Array: Field Returned GMPL("DIAGNOSIS")
DIAGNOSIS (#.01) GMPL("ICDD") ICD DESCRIPTION
GMPL("CSYS") CODING SYSTEM (#80202) GMPL("DTINTEREST") DATE OF
INTEREST (#80201) GMPL("PATIENT") PATIENT NAME (#.02) GMPL("MODIFIED")
LAST MODIFIED (#.03) GMPL("NARRATIVE") NARRATIVE (#.05) GMPL("ENTERED")
DATE ENTERED (#.08)
^ ENTERED BY (#1.03) GMPL("STATUS") STATUS (#.12)
GMPL("PRIORITY") PRIORITY (#1.14) or
null if INACTIVE GMPL("ONSET") DATE OF ONSET
(#.13) GMPL("PROVIDER") ENTERED BY (#1.03) GMPL("RECORDED") RECORDED
(#1.09) ^
REC PROVIDER (#1.04) GMPL("CONDITION") PATIENT
CONDITION (#1.02) GMPL("RESOLVED") DATE RESOLVED (#1.07) GMPL("CLINIC")
CLINIC (#1.08) GMPL("SERVICE") SERVICE (#1.06)
GMPL("FACILITY") FACILITY ID (#.06) ^
FACILITY NAME GMPL("SC") SERV
CONNECTED(#1.1)
(UNKNOWN if not 1/0)
GMPL("SCTC") SNOMED-CT CONCEPT CODE
(#80001) GMPL("SCTD")
SNOMED-CT DESIGNATION
CODE (#80002) GMPL("SCTT")
SNOMED-CT PREFERRED TEXT GMPL("VHATC") VHAT CONCEPT CODE (#80003)
GMPL("VHATD") VHAT DESIGNATION CODE
(#80004) GMPL("VHATT") VHAT
PREFERRED TEXT
GMPL("ICD9MLTP") COUNT OF MAPPING TARGETS GMPL("ICD9MLTP",CNT)
ICD-9/ICD-10 CODE (#80300.01)
^ ICD-9/ICD-10 DESCRIPTION ^
ICD CODING SYSTEM (#80300.02)
GMPL("EXPOSURE") Count of exposures GMPL("EXPOSURE",#) Name of each
exposure GMPL("COMMENT") Count of comments GMPL("COMMENT",#) DATE NOTE
ADDED ^
AUTHOR ^ [NOTE TEXT] GMPL("COMMENT",#,n) Line of comment
text GMPL("AUDIT") Count of changes GMPL("AUDIT",#) FIELD# ^ FIELD
NAME
^ DATE MODIFIED ^
WHO MODIFIED ^ OLD
VALUE ^ NEW VALUE
^ REASON ^PROVIDER
|
|
LIST(.GMPL,DFN,STATUS,COMMENTS?) |
Returns a list of problems for a patient (DFN)
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
GMPL |
Output |
GMPL(0)=number of problems
GMPL(#)=IEN^status^description^icd^onset^
last modified^SC^exposure^*^$ GMPL(#,C#) = comment lines
* is returned if ACUTE, otherwise null
$ is returned if CONDITION is
TRANSCRIBED and VERIFY TRANSCRIBED
PROBLEMS parameter is set to YES,
otherwise null
|
DFN |
Input |
IEN of the PATIENT file
|
STATUS |
Input |
A for active, I for inactive, other for both statuses
|
COMMENTS? |
Input |
1 to return comments. 0, null, or undefined for no
comments.
|
|
ADD(DFN,LOCATION,PROVIDER) |
Interactive list manager action to add a new provider
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
DFN |
Input |
IEN of PATIENT file
|
LOCATION |
Input |
IEN of HOSPITAL LOCATION file
|
PROVIDER |
Input |
IEN of NEW PERSON file
|
|
EDIT(DFN,LOCATION,PROVIDER,PROBLEM) |
Interactive list manager action to edit an existing
problem
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
DFN |
Input |
IEN of PATIENT file
|
LOCATION |
Input |
IEN of HOSPITAL LOCATION file
|
PROVIDER |
Input |
IEN of NEW PERSON file
|
PROBLEM |
Input |
IEN of PROBLEM file
|
|
REMOVE(PROBLEM,PROVIDER,TEXT,.REPLY) |
Removes a problem
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
PROBLEM |
Input |
IEN of PROBLEM file
|
PROVIDER |
Input |
IEN of NEW PERSON file
|
TEXT |
Input |
Text to store
|
REPLY |
Output |
REPLY = -1 if problem, IEN otherwise REPLY(0) = error
message if problem, "" otherwise
|
|
VAF(DFN,SILENT) |
Prints a chartable Problem List report, with optional
prompt for device if 'SILENT
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
DFN |
Input |
IEN of PATIENT file
|
SILENT |
Input |
1 if report to be silently captured to Host File
Server, otherwise will prompt for device
|
|