All Protocols

Package: Problem List Protocols List

Name Type Lock Description Entry Action Exit Action
Name Type Lock Description Entry Action Exit Action
GMPL HIDDEN MENU menu This menu contains the List Manager functions relevant to the operation of the Problem List application; it is accessible from any "Select Action" prompt by entering "??".
GMPL PROBLEM LIST menu This menu uses the List Manager utility to display a patient's problem list with data relevant to the needs of a clinician. Various actions may be taken here such as adding, removing, editing, inactivating, and appending comments; the user may also see a detailed display of selected problem(s) or change which problems appear on the displayed view of the list. A new patient's list may be selected or a printout of the list generated.
GMPL DATA ENTRY menu This menu uses the List Manager utility to display a patient's problem list with data relevant to the needs of a clinic or billing clerk. Various actions may be taken here such as adding, removing, editing, and printing problems.
GMPL DT MENU menu This menu contains actions available for navigating the problems selected to review in the "Detailed Display" action. The user may go on to the next selected problem when finished reviewing, or exit and return to the problem list.
GMPL EDIT MENU menu This protocol is for use with the List Manager utility, to display the current editable values of the selected problem entry in a list format for editing.
GMPL USER PREFS menu This menu contains actions allowing a user to change his/her preferred view of patient problem lists. A set of services may be defined here that will be used as a default screen when displaying patient problem lists for this user; the view may be changed dynamically within the Problem List application through the "Change View" action, but it will not be stored as a new default unless updated here.
GMPL LIST MENU menu This protocol is for use with the List Manager utility, to display the user's preferred list of commonly seen problems to facilitate selection and addition to the patient's problem list.
GMPL MENU BUILD LIST menu This menu allows the creation of lists of problems, to facilitate selecting a new problem to add to a patient's problem list. Problems are added or removed in categories, which may also be ordered or titled for clarity.
GMPL MENU BUILD GROUP menu This menu allows the creation of categories of problems, to facilitate selecting a new problem to add to a patient's problem list. Categories may then be linked together to form lists, in which they may be ordered and titled. Categories may be reused in multiple lists, as well.
GMPL CODE LIST menu This menu uses the List Manager utility to display all of a patient's problems with data relevant to a billing clerk/coder. Only the ICD code may be edited, but a detailed display of all information stored about a problem is available to facilitate the assignment of a code.
GMPL NEW PROBLEM action This action will allow the addition of a new entry to a patient's problem list. The user will be asked to select a term from the Clinical Lexicon Utility describing the problem, and to enter other relevant information. D ADD^GMPL
GMPL EDIT REFORMULATE action This action allows limited reformulation of the current problem. If new problem text is entered, the narrative is passed to the Clinical Lexicon Utility to find a match; both the user's narrative and the new Clinical term will be stored, as with a new problem entry. If the new problem selected from the CLU is already an entry on the patient's list, the user will be alerted. D TERM^GMPLEDT1 D CK^GMPLEDT3
GMPL ANNOTATE action This action will append a brief comment(s) to a problem entry, up to 200 characters in length. D NOTES^GMPL
GMPL DETAILED DISPLAY action This action will present an expanded display of each problem selected from the patient's problem list. All available information will be shown, including comments by all authors and an audit trail of changes made to the problem. D EXPAND^GMPL
GMPL PATIENT action This allows selection of a new patient from within the Problem List application; a new list will be generated and displayed for review. D NEWPAT^GMPLMGR1
GMPL PRINT action This action allows printing a copy of the problem list, either the currently displayed view (which may be abbreviated) or the complete list in chartable format. D EN^GMPLPRNT
GMPL INACTIVATE action This action allows a problem to be inactivated. D STATUS^GMPL
GMPLX BLANK1 action Blank placeholder for menu actions. Q
GMPLX BLANK2 action Blank placeholder for menu actions. Q
GMPL EDIT PROBLEM action This option allows editing of select fields of a problem entry; all changes made to a patient's problem are recorded in the Problem Audit file. A problem is selected, and control is transferred to the List Manager and GMPL EDIT MENU protocol. D EDIT^GMPL
GMPL DELETE action This action will remove an entry from a patient's problem list; the problem is not physically deleted from the file, but flagged as "removed" and, except for historical purposes, generally ignored. D DELETE^GMPL
GMPL EDIT PROVIDER action This action allows the entry/editing of the primary provider of care for this problem. D PROV^GMPLEDT1 D CK^GMPLEDT3
GMPL EDIT SAVE action This action allows the user to save any changes made to the current problem, and return to the entire problem list. If this action is not selected and the problem has been changed, the user will be asked when exiting if s/he wishes to save the changes. W !!,"Saving ..." D EN^GMPLSAVE W " done." S VALMBCK="Q"
GMPL EDIT REMOVE action This action will remove the current entry from the patient's list; the problem is not physically deleted from the file, but flagged as "removed" and, except for historical purposes, generally ignored. The user is then returned to the entire problem list. D DELETE^GMPLEDT2
GMPL EDIT NOTES action This action will allow editing of comments that have previously been appended to a problem entry. Notes will be displayed for editing only if the current user is the author of the note; accessing this action through the Manager's Menu will set a flag allowing all notes for the current problem to be displayed and edited. D NTES^GMPLEDT4 D CK^GMPLEDT3
GMPL EDIT STATUS action This action allows editing the status assigned to a problem; if the problem is inactivated, the user will be asked for Date Resolved also. D STATUS^GMPLEDT1 D CK^GMPLEDT3
GMPL EDIT ONSET action This action allows the entry/editing of the date of onset of a problem. D ONSET^GMPLEDT1 D CK^GMPLEDT3
GMPL EDIT SC action This action allows editing the service connection status of the current problem; if the service connection of this problem was previously unknown, it may be entered here. Data will only be asked for if the patient has service connection indicated in the Patient file. MCCR will be using this data for billing purposes. D SC^GMPLEDT1 I 'GMPSC W !!,"This patient has no service-connection on file.",! H 2 D CK^GMPLEDT3
GMPL VIEW ACTIVE action This action will screen the problems from the current patient's list for only those that are currently active. S:GMPLVIEW("ACT")'="A" GMPREBLD=1,GMPLVIEW("ACT")="A"
GMPL VIEW SERVICE action This action will screen the problems from the current patient's list for only those associated with the selected service(s) for care. D NEWSRV^GMPLMGR1
GMPL VIEW PROVIDER action This action will screen the problems from the current patient's list for only those listed as being treated by the selected provider. D NEWPROV^GMPLMGR1
GMPL VIEW INACTIVE action This action will screen the problems from the current patient's list for only those that are currently inactive. S:GMPLVIEW("ACT")'="I" GMPREBLD=1,GMPLVIEW("ACT")="I"
GMPL VIEW BOTH action This action will remove any current screen on problem status and include problems that are both active and inactive on the display. S:GMPLVIEW("ACT")'="" GMPREBLD=1,GMPLVIEW("ACT")=""
GMPL EDIT SERVICE action This action allows the entry/editing of the service primarily responsible for the care of this problem. This data will be used for screening and grouping the problems displayed in the user's selected view of the list. D SOURCE^GMPLEDT1 D CK^GMPLEDT3
GMPL EDIT NEW NOTE action This action will allow appending addtional comment(s) to the currently selected problem. D NOTE^GMPLEDT1 D CK^GMPLEDT3
GMPL VERIFY action If the parameter "Verify Transcribed Problems" is turned on in the Problem List Site Parameters file (#125.99), this action will allow a clinician to mark the selected problem(s) as verified. A "$" will appear immediately in front of the problem text for problems that were transcribed in by a clerk and the above described parameter is on; entering a "$" at the "Select Action" prompt will invoke this action. D VERIFY^GMPL
GMPL DT CONTINUE action If multiple problems were selected for review under the "Detailed Display" action, this will allow retrieval of the data from the next problem of those selected. D EN^GMPLDISP
GMPL PRINT LIST action This action will generate a complete listing of the patient's problem list in chartable format. Active and inactive problems will appear here in this listing. S Y="A",VALMBCK=$S(VALMCC:"",1:"R") D EN1^GMPLPRNT
GMPL VIEW ALL PROV action This action will remove any current screen on primary providers of care for problems, and include problems being treated by all providers. S:GMPLVIEW("PROV")'=0 GMPLVIEW("PROV")=0,GMPREBLD=1
GMPL VIEW ALL SERV action This action will remove any current screen on services associated with problems, and include problems being treated by all services. S:"S"'[GMPLVIEW("VIEW") GMPLVIEW("VIEW")="S",GMPREBLD=1
GMPL EDIT SP action This action allows editing the special exposures associated with the current problem; if exposures related to this problem were previously unknown, it may be entered here. Data will only be asked for if the patient is indicated for Agent Orange, Ionizing Radiation, or Persian Gulf exposures in the Patient file. MCCR will be using this data for billing. D SP^GMPLEDT1 I 'GMPAGTOR,'GMPION,'GMPGULF W !!,"This patient has no special exposures on file.",! H 2 D CK^GMPLEDT3
GMPL OE PROBLEM LIST action This action will allow entry to the Problem List application from the OE/RR Clinician and Nurse menus. The variable ORVP is checked for the current patient, and then control is passed to the PL. S DFN=+$G(ORVP) D:DFN DEM^VADPT S:DFN GMPDFN=DFN_U_VADM(1)_U_$E(VADM(1))_VA("BID") D EN^GMPL
GMPL OE DATA ENTRY action This action will allow entry to the Problem List application from the OE/RR Ward Clerk menu. The variable ORVP is checked for the current patient, and then control is passed to the PL. S DFN=+$G(ORVP) D:DFN DEM^VADPT S:DFN GMPDFN=DFN_U_VADM(1)_U_$E(VADM(1))_VA("BID") D DE^GMPL
GMPL EDIT VERIFY action If the parameter "Verify Transcribed Problems" is turned on in the Problem List Site Parameters file (#125.99), this action will allow a clinician to mark the current problem as verified. A "$" will appear immediately in front of the problem text if the current problem was transcribed in by a clerk and the above described parameter is on; entering a "$" at the "Select Item" prompt will invoke this action. D VERIFY^GMPLEDT2 D CK^GMPLEDT3
GMPL MENU ADD GROUP action This action allows adding one or more problem categories to a selection list. D ADD^GMPLBLD
GMPL MENU EDIT GROUP DISPLAY action This action allows the user to change the text that appears as the subheader of a category of problems, and whether or not to display the problems in the category automatically on entry to the list. D EDIT^GMPLBLD1
GMPL MENU REMOVE GROUP action This action allows the user to remove a problem category from the current list; it remains in the Problem Selection Category file for future use. D REMOVE^GMPLBLD
GMPL MENU NEW LIST action This action allows the user to switch to editing a new problem selection list. D NEWLST^GMPLBLD2
GMPL MENU VIEW LIST action This action allows the user to toggle between displaying the sequence numbers assigned to each category for ordering, or the display numbers only. S GMPLMODE=$S(GMPLMODE="E":"I",1:"E"),VALMBCK="R",VALMSG=$$MSG^GMPLX W !,"Rebuilding selection list display to"_$S(GMPLMODE="E":" not",1:"")_" show sequence numbers ..." D BUILD^GMPLBLD("^TMP(""GMPLIST"",$J)",GMPLMODE)
GMPL MENU RESEQUENCE GROUPS action This action allows the user to place the problem caetgories on the current list in a different order; problems will be automatically renumbered. D RESEQ^GMPLBLD1 I $D(GMPREBLD) D BUILD^GMPLBLD("^TMP(""GMPLIST"",$J)",GMPLMODE) K GMPREBLD
GMPL MENU SAVE LIST action This action allows the user to save any changes that have been made to the current list and exit the utility. D SAVE^GMPLBLD2 S ^GMPL(125,+GMPLSLST,0)=$P(GMPLSLST,U,2)_U_DT_U_$P(GMPLSLST,U,4)_U_$P(GMPLSLST,U,5) D HDR^GMPLBLD
GMPL LIST SELECT ITEM action This action will allow selection of a problem listed in the displayed menu, to be added to the current patient's problem list. The same prompts will be stepped through for each problem selected as if it had been entered through the regular 'Add' action. If the item selected is a category heading, the list will be expanded to include all the problems included in that category for selection. D ITEM^GMPLMENU D CK^GMPLMENU
GMPL LIST CLU action This action will allow selection of a problem not listed in the displayed menu, to be added to the current patient's problem list. The code invoked here is the same as for the regular 'Add' action, possibly allowing a look-up into the Clinical Lexicon Utility. D CLU^GMPLMENU D CK^GMPLMENU
GMPL MENU DELETE GROUP action This action allows the user to delete a problem category; it will be completely removed from the Problem Selection Category file, if no list currently contains it. D DELETE^GMPLBLD2
GMPL MENU CREATE GROUP action This action transfers control to the List Manager utility, to bring up a new screen allowing the entry/editing of any problem category. The user will be asked for the category s/he wishes to review and edit, and a screen similar to the 'Build List' menu will be shown allowing similar actions to edit the contents of the selected category. A new category may be entered here, which will be available to add to the current list upon return to the 'Build List' screen when finished. D EDIT^GMPLBLD I $D(GMPSAVED) D BUILD^GMPLBLD("^TMP(""GMPLIST"",$J)",GMPLMODE),HDR^GMPLBLD K GMPSAVED
GMPL MENU SAVE GROUP action This action allows the user to save any changes that have been made to the current category and exit the utility. D SAVE^GMPLBLD2 S ^GMPL(125.11,+GMPLGRP,0)=$P(GMPLGRP,U,2)_U_DT_U_$P(GMPLGRP,U,4) D HDR^GMPLBLDC
GMPL MENU NEW GROUP action This action allows the user to switch to editing a new problem category. D NEWGRP^GMPLBLD2
GMPL MENU ADD PROBLEM action This action allows adding one or more problems to a problem category. D ADD^GMPLBLDC
GMPL MENU REMOVE PROBLEM action This action allows the user to remove a problem from the current category. D REMOVE^GMPLBLDC
GMPL MENU RESEQUENCE PROBLEMS action This action allows the user to place the problems in the current category in a different order; problems will be automatically renumbered for display and selection purposes. D RESEQ^GMPLBLD1 I $D(GMPREBLD) D BUILD^GMPLBLDC("^TMP(""GMPLIST"",$J)",GMPLMODE) K GMPREBLD
GMPL MENU EDIT PROBLEM action This action allows the user to edit the problem and its associated code; if no code is currently assigned to the problem, one may be entered. D EDIT^GMPLBLDC
GMPL MENU VIEW GROUP action This action allows the user to toggle between displaying the sequence numbers assigned to each problem for ordering, or the display numbers only. S GMPLMODE=$S(GMPLMODE="E":"I",1:"E"),VALMBCK="R",VALMSG=$$MSG^GMPLX W !,"Rebuilding problem category display to"_$S(GMPLMODE="E":" not",1:"")_" show sequence numbers ..." D BUILD^GMPLBLDC("^TMP(""GMPLIST"",$J)",GMPLMODE)
GMPL CODE ICD SEARCH action This option allows the user to search the ICD Diagnosis file for the selected problem's text; for this option it is recommended that the Multi-Term Lookup utility be setup to operate on this file (#80). D EDIT^GMPLCODE
GMPL EDIT ICD action This action allows a user with the GMPL ICD CODE key to assign a [new] ICD Code to a problem. D ICD^GMPLEDT1 D CK^GMPLEDT3
GMPL VIEW OUTPAT menu This menu contains actions allowing the user to change his/her current view of the patient's problem list. The problems displayed onscreen may be changed by selecting the status, clinic, and/or provider from which the user wishes to see problems listed. The number of problems listed and the total number of problems will be shown in the upper right-hand corner of the screen.
GMPL VIEW RESTORE action This action will replace the currently specified view with the user's pre-defined preferred view. S X=$$VIEW^GMPLX1(DUZ) W:'$L(X) !,"You have no preferred view defined.",! Q:'$L(X) S:X'=GMPLVIEW("VIEW") GMPREBLD=1,GMPLVIEW("VIEW")=X K X S:GMPLVIEW("PROV") GMPLVIEW("PROV")=0,GMPREBLD=1 S:GMPLVIEW("ACT")'="A" GMPLVIEW("ACT")="A",GMPREBLD=1
GMPL UP ADD ITEM action This action allows the user to include additional service(s) in his/her preferred view of patient problem lists. D ADD^GMPLPRF1
GMPL UP REMOVE ITEM action This action allows the user to remove service(s) from his/her preferred view of patient problem lists. D REMOVE^GMPLPRF1
GMPL UP SAVE VIEW action This action allows the user to save any changes made to his/her preferred view of patient problem lists; control is passed back to the User Preferences menu. S GMPSAVED=1,VALMBCK="Q" D SAVE^GMPLPRF1
GMPL MENU ASSIGN LIST action This action allows the user to assign this list to a clinic or to user(s). Linking a list to a clinic will invoke the list whenever a user selects that clinic as the location where the patient was seen, when adding new problems. If a list is linked to a user, this is the list that will always be invoked when that user is adding new problems, regardless of the clinic specified that the patient was seen in. D ASSIGN^GMPLBLD2
GMPL VIEW INCLUDE INACTIVE action This action will include problems that are both active and inactive on the list of problems displayed; active problems will appear first, followed by the inactive problems. D INACTIVE^GMPLMGR1
GMPL VIEW ALL CLIN action This action will remove any current screen on clinics associated with problems, and include problems being followed by all clinics. S:"C"'[GMPLVIEW("VIEW") GMPLVIEW("VIEW")="C",GMPREBLD=1
GMPL VIEW CLINIC action This action will screen the problems from the current patient's list for only those associated with the selected clinic(s) for care. D NEWCLIN^GMPLMGR1
GMPL VIEW INPAT menu This menu contains actions allowing the user to change his/her current view of the patient's problem list. The problems displayed onscreen may be changed by selecting the status, service, and/or provider from which the user wishes to see problems listed. The number of problems listed and the total number of problems will be shown in the upper right-hand corner of the screen.
GMPL VIEW action This allows the user to change the problems displayed onscreen in the patient's list, on-the-fly. Various attributes are presented for selection such as status, provider, and clinic (or service if the patient is currently admitted). D ENVIEW^GMPLMGR2 D EXVIEW^GMPLMGR2
GMPL UP SWITCH action This action allows the user to switch to a different preferred view. If one is currently editing a service view of problem lists, this action will clear the current view and bring up a list of clinics from which to select a view, and vice-versa from clinic to service list. NOTE: Each user may have only ONE preferred view at a time! D SWITCH^GMPLPRF1
GMPL EDIT RECORDED action This action allows editing of the date the problem was originally recorded; date will default to NOW when entering a new problem, but may be changed to an earlier date to reflect entry in the paper chart. D RECORDED^GMPLEDT1 D CK^GMPLEDT3
GMPL UP DELETE VIEW action This action allows the user to delete his/her preferred view and exit the utility. The user will again see all active problems, when initially displaying a patient's problem list. D DELETE^GMPLPRF1
GMPL VIEW SWITCH action This action will allow the user to switch from displaying the problems in an outpatient mode to an inpatient mode, or vice-versa. If clinic information is currently being displayed, service and provider will now be displayed after selecting this action; likewise, if service and provider information are currently displayed, clinic will now be shown. S X=$E(GMPLVIEW("VIEW")),GMPLVIEW("VIEW")=$S(X="S":"C",1:"S"),GMPREBLD=1,Y=$S(X="S":"Clinic",1:"Service/Provider") D CHGCAP^VALM("CLINIC",Y) K X,Y
GMPL SELECTION LIST CSV EVENT action This protocol is invoked when a new ICD9 Code Set Version is installed. The protocol will generate a mail message related to Problem Selection Lists. The mail message will contain a list of any Problem Selection Lists that contain problems with inactive ICD9 codes attached. It will also determine if any attached ICD9 codes are due to be inactivated in the future and a report of those findings is also included. D CSVPEP^GMPLBLCK
GMPL EVENT extended action This protocol will be invoked whenever a problem is added or modified via Problem List options or RPC's. It is triggered by setting the Date Last Modified field #.03 of the Problem file #9000011, in the DTMOD^GMPLX function. The following variables will be available to read and use, but do NOT kill: DFN = Patient ien, file #2 GMPIFN = Problem ien, file #9000011
GMPL MENU COPY GROUP action This action allows the user to copy an existing category to a new category. Local/VISN categories may not be copied into a National category. However National categories may be adopted/copied into a Local/VISN category for local modifications. D COPY^GMPLBLDC