ADVANCED CONCEPTS A hospitalized patient prescribed nifedipine XL (Procardia) 60 mg once a day informs you that at home he was taking nicardipine (Cardene) 20 mg three times a day and thinks this is the wrong drug. What is your best action?
ADVANCED CONCEPTS Which statement by a patient prescribed en…
ADVANCED CONCEPTS Which statement by a patient prescribed enalapril (Vasotec) indicates the need for additional teaching?
Consider the code below. // A typical account has a balanc…
Consider the code below. // A typical account has a balance that is a result of summing a sequence of transactions (or amounts) public class Account { private int balance; private List amounts; // Requires: true // Effects: Initializes this to have a zero balance and an empty sequence of transactions public Account() { amounts = new ArrayList(); balance = 0; if (repOk() == false) { System.out.println(“Account(): rep-inv violated”); System.exit(-1); } } // Requires: true // Effects: append amount to the sequence of transactions, and add it to balance public void customerTransaction(int amount) { amounts.add(amount); balance += amount; if (repOk() == false) { System.out.println(“customerTransaction(): rep-inv violated”); System.exit(-1); } } public int getBalance() { return balance; } // Rep-invariant1: a) amounts != null // b) balance = sum of all amounts.get(i), where 0 = 0 boolean repOk() { } (1 pt) Implement repOk() based on Rep-Invariant1. (1 pt) Give 2 example values for balance and amounts that do not violate Rep-invariant1. For each example, provide the client code. (0.5 pt) Give 2 example values for balance and amounts that do violate Rep-invariant1. (1 pt) Consider an updated Rep-invariant2. Implement repOk() based on it. // Rep-invariant2: a) amounts != null // b) balance = sum of all amounts.get(i), where 0 = 0 // d) amounts.get(i) cannot be 0, where 0
BASIC CONCEPTS A patient who has a serious chronic disorder…
BASIC CONCEPTS A patient who has a serious chronic disorder (epilepsy) has been taking a drug to control it that has a moderate likelihood of increasing the risk for birth defects or fetal damage. She tells you that she would like to have a child. What is your best response?
BASIC CONCEPTS What is the action of the biguanide class of…
BASIC CONCEPTS What is the action of the biguanide class of antidiabetic drugs that lowers blood glucose levels?
ADVANCED CONCEPTS Which statement by a patient prescribed en…
ADVANCED CONCEPTS Which statement by a patient prescribed enalapril (Vasotec) indicates the need for additional teaching?
The nurse is administering an intradermal skin test injectio…
The nurse is administering an intradermal skin test injection to a patient. Where should the nurse place the needle?
BASIC CONCEPTS What precaution do you need to take when a pa…
BASIC CONCEPTS What precaution do you need to take when a patient is prescribed a drug that has a “black box warning?”
An end-tidal carbon dioxide detector connected to the end of…
An end-tidal carbon dioxide detector connected to the end of a nasogastric tube indicates the presence of carbon dioxide in the tube. What is your best interpretation of this finding?
BASIC CONCEPTS A 25-year-old patient is prescribed a drug fo…
BASIC CONCEPTS A 25-year-old patient is prescribed a drug for acne for 6 months that is teratogenic. Which precaution is most important to teach this patient?