ACTIVE |
1) Permission granted to call ACTIVE^GMPLENFM for the purpose of
obtaining a list of the patient's active problems.
Requires DFN = ien of patient in File #2 Returns the data in the ^TMP global
as follows, at the request of IB -
^TMP("IB",$J,"INTERFACES",DFN,"GMP PATIENT ACTIVE PROBLEMS",#) =
Piece 1: Text of problem
2: ICD code of problem
3: Date of Onset in 00/00/00 format
4: "SC" or "NSC" or "", if problem is [not] related to a SC Cond.
5: "Y" or "N" or "", if problem is [not] related to a SC Condition
(Pieces 4 and 5 give the same data, just in different formats.)
6: "A" or "I" or "P" or "H" or "M" or "C" or "S" or "L"
or "", if problem is related to exposure to Agent Orange,
Ionization, Persian Gulf, Head and/or Neck Cancer, Military
Sexual Trauma, Combat Veteran, SHAD, Camp Lejeune or null
respectively
7: Full text of the special exposure indicated in piece 6, if any
where each # is a different problem, 1 - n with n being the
total number of active problems; the 0-node is also set to
the total (n).
|
SELECT |
2) Permission granted to call SELECT^GMPLENFM for the purpose of allowing
users access to the EXPRESSIONS file to create lists of Clinic
Common Problems. SELECT^GMPLENFM is used for the lookup
rather than a simple ^DIC call in order to setup the Problem List
context for searching the Lexicon.
Requires no input values. Returns the entry in the Lexicon Utility
selected to add to a form as a commonly selected problem in the
^TMP global as follows, as requested -
^TMP("IB",$J,"INTERFACES","GMP SELECT CLINIC COMMON PROBLEMS") =
Piece 1: IEN of problem in Lexicon Utility's Expressions file (#757.01)
2: Text of problem
3: ICD Code of problem, if known
|