SlideShare a Scribd company logo
1 of 7
What the Rule Will Accomplish: This rule will attempt to total the amount of a drug
ingredient which has been administered to a patient in the last 24 hours. If the total
administered amount is less than 4000 MG, then a pop-up will appear on the eMAR
stating the total amount which has been administered in the last 24 hours (not
including the current administration). The user will be able to click close and continue
on with the current administration. If the total administered amount will exceed 4000
MG by the inclusion of the current administration, then a pop-up will appear on
the eMAR stating that the current administration will cause the total to exceed 4000
MG. The user will be able to erase the current administration or override it. If the total
administered amount is greater than 4000 MG prior to the current administration, then
a pop-up will appear on the eMAR stating that fact. The user will be forced to erase
the current administration.
KB ARTICLE: 42533 - EMAR RULE: WARN FOR MAXIMUM AMOUNT OF DRUG
INGREDIENT (ACETAMINOPHEN) BEING ADMINISTERED IN LAST 24 HOURS
Required Steps to See Rule in Action:
1. Attach the designated ingredient ("ACETAMIN") to all applicable drugs in PHA Drug
Dictionary
(Ingredients tab)
2. Designate an ingredient amount for each applicable drug in the PHA Drug Dictionary
(Amount
prompt on Ingredients tab)
3. Designate a unit (Ex: MG) for the ingredient in question
(Unit prompt in the Drug Ingredient Dictionary)
4. Create the keyword in the PHA Keyword Dictionary
5. Create MIS Override Comment(s) for use within the PHA rule (see linked KB 41528)
6. Create the rule in the PHA Rule Dictionary
7. Update keyword code to remove "XXX" and swap in a designated iv containing
acetaminophen
drug (if applicable)
8. If changing keyword code, make sure to re-file rule after keyword edits
9. Attach rule in CDP (Rules tab)
10. Select a patient for testing
11. Enter several Rxs on the profile for drugs containing the designated ingredient
12. Access the eMAR
13. Acknowledge and administer the Rxs in question
14. Ensure the rule pop-up appears under the appropriate conditions as described in the first
paragraph of this article.
Keyword Dictionary: There is 1 keyword required for the rule logic to work. As with any rule with custom keywords, the custom keyword(s) must be created prior to the creation of the rule.
Keyword 1:
Function: RX
Name: RX
Mnemonic: z.total.acet.doses
Active: Y
Name: Total Acet Admin Doses in Last 24 hrs
Assign to Group: Z
Number of Arguments:
Execute at Translation: N
Special Flag:
Value:
Code:
""^TOTT^ADM.PAT.mri.urn^INGR^RULEFLAG,
@PHA.OT.type[@order.type]^TOTT,
@ADM.PAT.mri.urn^ADM.PAT.mri.urn,
"ACETAMIN"^INGR,
@PHA.DRUG.ingredients[,INGR]^RULEFLAG,
""^ADM.PAT.urn^urn^OTT^admin.q^/ZTOTALINGRAMT^TOTALINGRAMT,
^$(T)^z,^?(T)^y,
DO{@Next(ADM.PAT.urn,ADM.PAT.mri.urn.x)&(RULEFLAG) 1,
DO{@Next(urn,PHA.RX.pat.tr.x) IF{"CAN"=@status;
@PHA.OT.type[@order.type]^OTT,
%PHA.RX.compile.med.array(urn,^/ZD),
""^DRUG^INCL,
DO{+/ZD[DRUG]^DRUG IF{@PHA.DRUG.ingredients[DRUG,INGR] 1^INCL}},
IF{INCL_.=.;
DO{@Next(admin.q) IF{(@.sd-(@admin.seconds))>86400;
IF{("Y"'=@admin.given)!(@admin.undone);
""^DRUG^DRUGINGRAMT^CV^DOS^DISPINGRAMT,
DO{+/ZD[DRUG]^DRUG IF{@PHA.DRUG.ingredients[DRUG,INGR]_.=.;
@PHA.DRUG.ingr.amount[DRUG,INGR]^DRUGINGRAMT,
IF{("IV"=OTT)&(DRUG="XXX") @carrier.volume[,1]^CV,
@PHA.DRUG.dispense.size[DRUG];@PHA.DRUG.order.size[DRUG]}^DOS,
((IF{CV;@admin.dose?0D}:6D)/DOS)^DISPINGRAMT,
(DRUGINGRAMT*DISPINGRAMT):0D+/ZTOTALINGRAMT^/ZTOTALINGRAMT}}}}}}}}},
;
@t.urn^urn,@t.PHA.DRUG.mnemonic^PHA.DRUG.mnemonic,
;
""^ADRUGINGRAMT^CVA^ADOS^ADISPINGRAMT^ATOTALINGRAMT,
@PHA.DRUG.ingr.amount[,INGR]^ADRUGINGRAMT,
IF{("IV"=TOTT)&(med="XXX") @carrier.volume[,1]^CVA,
@PHA.DRUG.dispense.size;@PHA.DRUG.order.size}^ADOS,
((IF{CVA;/MAR.ADMIN.DOSE?0D}:6D)/ADOS)^ADISPINGRAMT,
(ADRUGINGRAMT*ADISPINGRAMT):0D^ATOTALINGRAMT,
;
/ZTOTALINGRAMT
From KB Article: 42533
RULE LOGIC:
Rules Dictionary (Entry Screen):
Mnemonic: ACET.TOTAL
Active: Y
Name: TOTAL ACET ADMIN DOSES
Data Fields From: RX
Enabled For: PCS
Ignore Renew Stop:
Evaluate at: PCS MAR
Rules Dictionary (Shortcut):
Shortcut Type Shortcut Definition
TOTALINGRAMT VARIABLE [f z.total.acet.doses]
FINALINGRAMT VARIABLE (TOTALINGRAMT+ATOTALINGRAMT)
Rules Dictionary (Editor):
At the Table field, type LINE, and hit Enter. Create the following lines:
LINE(1)
If Value: TOTALINGRAMT
Associated Data:
Comparison: Does Not Exist
Value:
Associated Data:
Outcome: rx ok
Associated Data:
Link: Else
Button:
Message:
LINE(2)
If Value: TOTALINGRAMT
Associated Data:
Comparison: Greater Than
Value: 4000
Associated Data:
Outcome:
Associated Data:
Link: Else
Button: Erase
Message: Prior admins have exceeded 4000 MG of acetaminophen in last 24 hrs.
LINE(3)
If Value: FINALINGRAMT
Associated Data:
Comparison: Greater Than
Value: 4000
Associated Data:
Outcome:
Associated Data:
Link: Else
Button: Erase
Override
Message: Current admin will exceed 4000 MG of acetaminophen in last 24 hrs.
Total Acetaminophen Administration in last 24 hrs: [f TOTALINGRAMT] MG
If overriding, please select override reason from down arrow.
LINE(4)
If Value: FINALINGRAMT
Associated Data:
Comparison: Less Than or Equal To
Value: 4000
Associated Data:
Outcome:
Associated Data:
Link: Else
Button: Close
Message: Total Acetaminophen Administration in last 24 hrs: [f TOTALINGRAMT] MG
END
If Value:
Associated Data:
Comparison:
Value:
Associated Data:
Outcome: OK
Associated Data:
Link:
Button:
Message:
If you do not have access to KB Article: 42533 - Copy Rule into Word to make
bigger.
EMAR Rule Warns of Maximum Acetaminophen Dose in 24 Hours

More Related Content

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

EMAR Rule Warns of Maximum Acetaminophen Dose in 24 Hours

  • 1. What the Rule Will Accomplish: This rule will attempt to total the amount of a drug ingredient which has been administered to a patient in the last 24 hours. If the total administered amount is less than 4000 MG, then a pop-up will appear on the eMAR stating the total amount which has been administered in the last 24 hours (not including the current administration). The user will be able to click close and continue on with the current administration. If the total administered amount will exceed 4000 MG by the inclusion of the current administration, then a pop-up will appear on the eMAR stating that the current administration will cause the total to exceed 4000 MG. The user will be able to erase the current administration or override it. If the total administered amount is greater than 4000 MG prior to the current administration, then a pop-up will appear on the eMAR stating that fact. The user will be forced to erase the current administration.
  • 2. KB ARTICLE: 42533 - EMAR RULE: WARN FOR MAXIMUM AMOUNT OF DRUG INGREDIENT (ACETAMINOPHEN) BEING ADMINISTERED IN LAST 24 HOURS Required Steps to See Rule in Action: 1. Attach the designated ingredient ("ACETAMIN") to all applicable drugs in PHA Drug Dictionary (Ingredients tab) 2. Designate an ingredient amount for each applicable drug in the PHA Drug Dictionary (Amount prompt on Ingredients tab) 3. Designate a unit (Ex: MG) for the ingredient in question (Unit prompt in the Drug Ingredient Dictionary) 4. Create the keyword in the PHA Keyword Dictionary 5. Create MIS Override Comment(s) for use within the PHA rule (see linked KB 41528) 6. Create the rule in the PHA Rule Dictionary 7. Update keyword code to remove "XXX" and swap in a designated iv containing acetaminophen drug (if applicable) 8. If changing keyword code, make sure to re-file rule after keyword edits 9. Attach rule in CDP (Rules tab) 10. Select a patient for testing 11. Enter several Rxs on the profile for drugs containing the designated ingredient 12. Access the eMAR 13. Acknowledge and administer the Rxs in question 14. Ensure the rule pop-up appears under the appropriate conditions as described in the first paragraph of this article.
  • 3.
  • 4.
  • 5. Keyword Dictionary: There is 1 keyword required for the rule logic to work. As with any rule with custom keywords, the custom keyword(s) must be created prior to the creation of the rule. Keyword 1: Function: RX Name: RX Mnemonic: z.total.acet.doses Active: Y Name: Total Acet Admin Doses in Last 24 hrs Assign to Group: Z Number of Arguments: Execute at Translation: N Special Flag: Value: Code: ""^TOTT^ADM.PAT.mri.urn^INGR^RULEFLAG, @PHA.OT.type[@order.type]^TOTT, @ADM.PAT.mri.urn^ADM.PAT.mri.urn, "ACETAMIN"^INGR, @PHA.DRUG.ingredients[,INGR]^RULEFLAG, ""^ADM.PAT.urn^urn^OTT^admin.q^/ZTOTALINGRAMT^TOTALINGRAMT, ^$(T)^z,^?(T)^y, DO{@Next(ADM.PAT.urn,ADM.PAT.mri.urn.x)&(RULEFLAG) 1, DO{@Next(urn,PHA.RX.pat.tr.x) IF{"CAN"=@status; @PHA.OT.type[@order.type]^OTT, %PHA.RX.compile.med.array(urn,^/ZD), ""^DRUG^INCL, DO{+/ZD[DRUG]^DRUG IF{@PHA.DRUG.ingredients[DRUG,INGR] 1^INCL}}, IF{INCL_.=.; DO{@Next(admin.q) IF{(@.sd-(@admin.seconds))>86400; IF{("Y"'=@admin.given)!(@admin.undone); ""^DRUG^DRUGINGRAMT^CV^DOS^DISPINGRAMT, DO{+/ZD[DRUG]^DRUG IF{@PHA.DRUG.ingredients[DRUG,INGR]_.=.; @PHA.DRUG.ingr.amount[DRUG,INGR]^DRUGINGRAMT, IF{("IV"=OTT)&(DRUG="XXX") @carrier.volume[,1]^CV, @PHA.DRUG.dispense.size[DRUG];@PHA.DRUG.order.size[DRUG]}^DOS, ((IF{CV;@admin.dose?0D}:6D)/DOS)^DISPINGRAMT, (DRUGINGRAMT*DISPINGRAMT):0D+/ZTOTALINGRAMT^/ZTOTALINGRAMT}}}}}}}}}, ; @t.urn^urn,@t.PHA.DRUG.mnemonic^PHA.DRUG.mnemonic, ; ""^ADRUGINGRAMT^CVA^ADOS^ADISPINGRAMT^ATOTALINGRAMT, @PHA.DRUG.ingr.amount[,INGR]^ADRUGINGRAMT, IF{("IV"=TOTT)&(med="XXX") @carrier.volume[,1]^CVA, @PHA.DRUG.dispense.size;@PHA.DRUG.order.size}^ADOS, ((IF{CVA;/MAR.ADMIN.DOSE?0D}:6D)/ADOS)^ADISPINGRAMT, (ADRUGINGRAMT*ADISPINGRAMT):0D^ATOTALINGRAMT, ; /ZTOTALINGRAMT From KB Article: 42533
  • 6. RULE LOGIC: Rules Dictionary (Entry Screen): Mnemonic: ACET.TOTAL Active: Y Name: TOTAL ACET ADMIN DOSES Data Fields From: RX Enabled For: PCS Ignore Renew Stop: Evaluate at: PCS MAR Rules Dictionary (Shortcut): Shortcut Type Shortcut Definition TOTALINGRAMT VARIABLE [f z.total.acet.doses] FINALINGRAMT VARIABLE (TOTALINGRAMT+ATOTALINGRAMT) Rules Dictionary (Editor): At the Table field, type LINE, and hit Enter. Create the following lines: LINE(1) If Value: TOTALINGRAMT Associated Data: Comparison: Does Not Exist Value: Associated Data: Outcome: rx ok Associated Data: Link: Else Button: Message: LINE(2) If Value: TOTALINGRAMT Associated Data: Comparison: Greater Than Value: 4000 Associated Data: Outcome: Associated Data: Link: Else Button: Erase Message: Prior admins have exceeded 4000 MG of acetaminophen in last 24 hrs. LINE(3) If Value: FINALINGRAMT Associated Data: Comparison: Greater Than Value: 4000 Associated Data: Outcome: Associated Data: Link: Else Button: Erase Override Message: Current admin will exceed 4000 MG of acetaminophen in last 24 hrs. Total Acetaminophen Administration in last 24 hrs: [f TOTALINGRAMT] MG If overriding, please select override reason from down arrow. LINE(4) If Value: FINALINGRAMT Associated Data: Comparison: Less Than or Equal To Value: 4000 Associated Data: Outcome: Associated Data: Link: Else Button: Close Message: Total Acetaminophen Administration in last 24 hrs: [f TOTALINGRAMT] MG END If Value: Associated Data: Comparison: Value: Associated Data: Outcome: OK Associated Data: Link: Button: Message: If you do not have access to KB Article: 42533 - Copy Rule into Word to make bigger.