| GMRADGPM MARK CHART |
extended action |
|
This protocol will hang off of the DGPM MOVEMENT EVENTS protocol and for a new admission, a bulletin to mark that patients chart for all of the active allergies will be fired. |
D EN1^GMRADGMV |
|
| GMRAOR ALLERGY ENTER/EDIT |
action |
|
This protocol will allow the user to enter/edit patient allergy/adverse reaction data. |
N DFN S DFN=$S(ORVP[";DPT(":+ORVP,1:0) D:DFN>0 EN2^GMRAPEM0 K GMRAUSER,GMRAOUT |
|
| GMRA SIGN-OFF ON DATA |
extended action |
|
This protocol will be activated whenever a reaction is Signed. $P Field name Field type --------------------------------------------------------------- 1 PATIENT Pointer to File 2 (PATIENT) 2 REACTANT Free Text of Reaction 3 GMR ALLERGY Variable Pointer * 4 ORIGINATION DATE/TIME Date/Time (FileMan format) 5 ORIGINATOR Pointer to File 200 (NEW PERSON) 6 OBSERVED/HISTORICAL Set of Codes (o=Observed,h=Historical) 12 ORIGINATOR SIGN OFF Set of Codes Listed below are the variables that will be defined for that reaction. (1=Signed,(Zero or Null)=Unsigned) 14 MECHANISM Set of Codes (U=Unknown,P=Pharmacologic,A=Allergy) 16 VERIFIED Set of Codes (1=Verified,(0 or Null)=Not Verified) 17 VERIFICATION DATE/TIME Date/Time (FileMan format) 18 VERIFIER Pointer to File 200 20 ALLERGY TYPE Free Text/Set of Codes 1 to 3 characters long (Where "D" = Drug, "F" = Food, "O" = Other) *The GMR ALLERGY field is a variable pointer which points to one of five possible files. They are: File Name File Reference --------- -------------- GMR ALLERGIES GMR(120.8, (e.g., 212;GMR(120.8,) Variables: NATIONAL DRUG PSNDF( DRUG PSDRUG( DRUG INGREDIENTS PS(50.416, VA DRUG CLASS PS(50.605, GMRAPA = The Internal Entry Number of the reaction in File 120.8 (PATIENT ALLERGIES) GMRAPA(0) = The zero node of the entry in File 120.8. Below is a description of the data for that node. |
|
|
| GMRA VERIFY DATA |
extended action |
|
This protocol will be activated whenever a reaction is Verified. $P Field name Field type --------------------------------------------------------------- 1 PATIENT Pointer to File 2 (PATIENT) 2 REACTANT Free Text of Reaction 3 GMR ALLERGY Variable Pointer * 4 ORIGINATION DATE/TIME Date/Time (FileMan format) 5 ORIGINATOR Pointer to File 200 (NEW PERSON) 6 OBSERVED/HISTORICAL Set of Codes (o=Observed,h=Historical) 12 ORIGINATOR SIGN OFF Set of Codes Listed below are the variables that will be defined for that reaction. (1=Signed,(Zero or Null)=Unsigned) 14 MECHANISM Set of Codes (U=Unknown,P=Pharmacologic,A=Allergy) 16 VERIFIED Set of Codes (1=Verified,(0 or Null)=Not Verified) 17 VERIFICATION DATE/TIME Date/Time (FileMan format) 18 VERIFIER Pointer to File 200 20 ALLERGY TYPE Free Text/Set of Codes 1 to 3 characters long (Where "D" = Drug, "F" = Food, "O" = Other) *The GMR ALLERGY field is a variable pointer which points to one of five possible files. They are: File Name File Reference --------- -------------- GMR ALLERGIES GMR(120.8, (e.g., 212;GMR(120.8,) Variables: NATIONAL DRUG PSNDF( DRUG PSDRUG( DRUG INGREDIENTS PS(50.416, VA DRUG CLASS PS(50.605, GMRAPA = The Internal Entry Number of the reaction in File 120.8 (PATIENT ALLERGIES) GMRAPA(0) = The zero node of the entry in file 120.8. Below is a description of the data for that node. |
|
|
| GMRA ENTERED IN ERROR |
extended action |
|
This protocol will be activated whenever a reaction is Entered in Error. $P Field name Field type --------------------------------------------------------------- 1 PATIENT Pointer to File 2 (PATIENT) 2 REACTANT Free Text of Reaction 3 GMR ALLERGY Variable Pointer * 4 ORIGINATION DATE/TIME Date/Time (FileMan format) 5 ORIGINATOR Pointer to File 200 (NEW PERSON) 6 OBSERVED/HISTORICAL Set of Codes (o=Observed,h=Historical) 12 ORIGINATOR SIGN OFF Set of Codes Listed below are the variables that will be defined for that reaction. (1=Signed,(Zero or Null)=Unsigned) 14 MECHANISM Set of Codes (U=Unknown,P=Pharmacologic,A=Allergy) 16 VERIFIED Set of Codes (1=Verified,(0 or Null)=Not Verified) 17 VERIFICATION DATE/TIME Date/Time (FileMan format) 18 VERIFIER Pointer to File 200 20 ALLERGY TYPE Free Text/Set of Codes 1 to 3 characters long (Where "D" = Drug, "F" = Food, "O" = Other) *The GMR ALLERGY field is a variable pointer which points to one of five possible files. They are: File Name File Reference --------- -------------- GMR ALLERGIES GMR(120.8, (e.g., 212;GMR(120.8,) NATIONAL DRUG PSNDF( Variables: DRUG PSDRUG( DRUG INGREDIENTS PS(50.416, VA DRUG CLASS PS(50.605, GMRAPA = The Internal Entry Number of the reaction in File 120.8 (PATIENT ALLERGIES) GMRAPA(0) = The zero node of the entry in File 120.8. Below is a description of the data for that node. |
|
|
| GMRA MEDWATCH DATA COMPLETE |
extended action |
|
This protocol will be activated whenever a reaction has a MEDWatch form $P Field name Field type --------------------------------------------------------------- 1 PATIENT Pointer to File 2 (PATIENT) 2 REACTANT Free Text of Reaction 3 GMR ALLERGY Variable Pointer * 4 ORIGINATION DATE/TIME Date/Time (FileMan format) 5 ORIGINATOR Pointer to File 200 (NEW PERSON) 6 OBSERVED/HISTORICAL Set of Codes (o=Observed,h=Historical) entered. Listed below are the variables that will be defined for that 12 ORIGINATOR SIGN OFF Set of Codes (1=Signed,(Zero or Null)=Unsigned) 14 MECHANISM Set of Codes (U=Unknown,P=Pharmacologic,A=Allergy) 16 VERIFIED Set of Codes (1=Verified,(0 or Null)=Not Verified) 17 VERIFICATION DATE/TIME Date/Time (FileMan format) 18 VERIFIER Pointer to File 200 20 ALLERGY TYPE Free Text/Set of Codes 1 to 3 characters long reaction. (Where "D" = Drug, "F" = Food, "O" = Other) GMRAPA1 = The Internal Entry Number of the reaction in File 120.85 (ADVERSE REACTION REPORTING) GMRAPA1(0) = The zero node of the entry in File 120.85. Below is a description of the data for that node. $P Field name Field type --------------------------------------------------------------- 1 DATE/TIME OF EVENT Date/Time (FileMan format) 2 PATIENT Pointer to File 2 (PATIENT) 3 QUESTION #1 Set of Codes (y=YES,n=NO) 4 QUESTION #2 Set of Codes (y=YES,n=NO) 5 QUESTION #3 Set of Codes (y=YES,n=NO) 6 QUESTION #4 Set of Codes (y=YES,n=NO) 7 QUESTION #5 Set of Codes (y=YES,n=NO) 8 NO. DAY HOSPITALIZED Numeric 9 QUESTION #6 Set of Codes (y=YES,n=NO) Variables: 10 QUESTION #7 Set of Codes (y=YES,n=NO) 11 QUESTION #8 Set of Codes (y=YES,n=NO) 12 DATE MD NOTIFIED Date/Time (FileMan format) 13 OBSERVER Pointer to File 200 (NEW PERSON) 14 SEVERITY Set of Codes (1=Mild, 2=Moderate, 3=Severe) 15 RELATED REACTION Pointer to File 120.8 (PATIENT ALLERGIES) GMRAPA = The Internal Entry Number of the reaction in 16 QUESTION #9 Set of Codes (y=YES,n=NO) 17 QUESTION #10 Set of Codes (y=YES,n=NO) *The GMR ALLERGY field is a variable pointer which points to one of five possible files. They are: File Name File Reference --------- -------------- GMR ALLERGIES GMR(120.8, (e.g., 212;GMR(120.8,) File 120.8 (PATIENT ALLERGIES) NATIONAL DRUG PSNDF( DRUG PSDRUG( DRUG INGREDIENTS PS(50.416, VA DRUG CLASS PS(50.605, GMRAPA(0) = The zero node of the entry in File 120.8. Below is a description of the data for that node. |
|
|
| GMRA RECEIVE |
action |
|
Receive a Health Level Seven (HL7) message from the OE/RR package. |
D EN1^GMRAOR4(.XQORMSG) |
|
| GMRA FIX FREE TEXT LIST |
menu |
|
|
D:'$D(^XTMP("GMRAFX",LTYPE,"IDX")) LIST^GMRAFX D CHKSEL^GMRAFX |
|
| GMRA FIX ADD/EDIT ALLERGY FILE |
action |
|
|
D AEA^GMRAFX |
D DESELECT^GMRAFX |
| GMRA FIX ENTERED IN ERROR |
action |
|
|
D PROCESS^GMRAFX("E") |
D DESELECT^GMRAFX |
| GMRA FIX DETAIL LIST |
action |
|
|
D EN^VALM("GMRA FIX DETAIL") |
D DESELECT^GMRAFX |
| GMRA FIX DETAIL MENU |
menu |
|
|
D DET^GMRAFX1,CHKSEL^GMRAFX1 |
|
| GMRA FIX ENTERED IN ERROR IN DETAIL |
action |
|
|
D PROCESS^GMRAFX1("E") |
D DESELECT^GMRAFX1 |
| GMRA FIX UPDATE REACTANT |
action |
|
|
D PROCESS^GMRAFX("U") |
D DESELECT^GMRAFX |
| GMRA FIX UPDATE REACTANT IN DETAIL |
action |
|
|
D PROCESS^GMRAFX1("U") |
D DESELECT^GMRAFX1 |
| GMRA FIX ADD/EDIT ALLERGY FILE IN DETAIL |
action |
|
|
D AEA^GMRAFX |
D DESELECT^GMRAFX1 |
| GMRA FIX PATIENT A/AR EDIT IN DETAIL |
action |
|
|
D AR^GMRAFX3 |
D DESELECT^GMRAFX1 |
| GMRA FIX DETAIL IN DETAIL |
action |
|
|
D DSPREACT^GMRAFX3 |
D DESELECT^GMRAFX1 |
| GMRA ASSESS SELECT PATIENT |
action |
|
|
D PATIENT^GMRAFA |
S VALMBCK="R" |
| GMRA ASSESS MENU |
menu |
|
|
|
|
| GMRA ASSESS DET REVIEW |
action |
|
|
D RR^GMRAFA1 |
S:$G(VALMBCK)="" VALMBCK="R" |
| GMRA ASSESS DET MENU |
menu |
|
|
|
|
| GMRA ASSESS DET ASSESSMENT |
action |
|
|
D UASSESS^GMRAFA1 |
S:$G(VALMBCK)="" VALMBCK="R" |
| GMRA ASSESS DET ALL EIE |
action |
|
|
D ALLEE^GMRAFA1 |
S:$G(VALMBCK)="" VALMBCK="R" |
| GMRA ASSESSMENT CHANGE |
extended action |
|
This protocol is activated whenever there is a change in a patient's the X(order#) array. For example, piece 1 is populated from the X(1) node and piece 4 is populated from the X(4) node. Note: Reference the data dictionary for the ADVERSE REACTION ASSESSMENT file (#120.86) for a listing of the fields included in the AHDR cross-reference. Note that all pieces are in internal format. adverse reaction assessment. The following variable is defined when the protocol is activated: GMRAL = Internal Entry Number (IEN) in the ADVERSE REACTION ASSESSMENT file (#120.86) GMRAL(0) = Contents of the FileMan X(order#) array in the new-style AHDR cross-reference, flattened. Each caret piece number of this node is populated from the corresponding subscript in |
|
|
| GMRA EDIT VERIFIED DATA |
extended action |
|
This protocol will be activated whenever a verified reaction is modified, GMRAPA1 = Internal Entry Number of the observation in File 120.85 (ADVERSE REACTION REPORTING) GMRAPA1(0) = Zero node of the entry in file 120.85 including observations. Listed below are the variables that will be defined for that reaction; observation variables will only be returned if one was modified or added. Variables: GMRAPA = Internal Entry Number of the reaction in File 120.8 (PATIENT ALLERGIES) GMRAPA(0) = Zero node of the entry in file 120.8 |
|
|