Ejemplo n.º 1
0
    Physostigmine::Physostigmine(double age, double height, double weight) : Antidote(age, height, weight) {
        a = "Physostigmine Antidote Algorithm \n",
        b = string("As a secondary treatment of anticholinergic syndrome.  ") + FDA + "\n\n",
        c = "";//getRef();
        Question *physWarning = new Question(a+b+
                                             "Warning: Physostigmine Salicylate Injection should not be used in the " +
                                             "presence of asthma, gangrene, diabetes, cardiovascular disease, mechanical " +
                                             "obstruction of the intestine or urogenital tract or any vagotonic state, " +
                                             "and in patients receiving choline esters and depolarizing neuromuscular " +
                                             "blocking agents (decamethonium, succinylcholine).Patient must have normal " +
                                             "QRS on ECG to receive physostigmine.");
        physWarning->setType("warning");
        insertToMap("physWarning", physWarning);
        
        Question *physChildWarning = new Question(a+b+
                                                  "Administration of physostigmine in children should reserved for " +
                                                  "life-threatening conditions.");
        physChildWarning->setType("warning");
        insertToMap("physChildWarning", physChildWarning);
        
        string physChild = a+b+
        "Recommended dosage is "+toStr(physCalcChild())+"mg (0.02 mg/kg max 2mg) of physostigmine intramuscularly or by " +
        "slow intravenous injection, no more than 0.5 mg per minute. If the toxic " +
        "effects persist, and there is no sign of cholinergic effects, the dosage may " +
        "be repeated at 5 to 10 minute intervals until a therapeutic effect is " +
        "obtained or a maximum of 2 mg dosage is attained."+c;
        insertToMap("physChild", physChild);
        
        string physAdult = a+b+
        "Adult dosing: When administering IV give no faster than 1mg/minute to avoid " +
        "adverse events.  Recommended dosage 0.5-2mg IV,IM.  May repeat every 10-30 " +
        "minutes until desired response."+c;
        insertToMap("physAdult", physAdult);

        
    }
Ejemplo n.º 2
0
Question Theme::selectQuestion( const QSqlQuery &query ) const
{ // reject into new method.  Question makeQuestion(const QSqlQueru &query)
    using namespace Tables::Question::Field;
    Question issue;

    QString id = query.value( query.record().indexOf( QUESTION_ID ) ).toString(),
        text = query.value( query.record().indexOf( TEXT ) ).toString(),
        type = query.value( query.record().indexOf( QUESTION_TYPE ) ).toString();
    bool caseSens = query.value( query.record().indexOf( CASE_SENS ) ).toBool(),
        stripSpace = query.value( query.record().indexOf( STRIP_SPACE ) ).toBool();

    QTime time = query.value( query.record().indexOf( RECOMENDED_TIME ) ).toTime();

    issue.setId( id );
    issue.setText( text );
    issue.setType( type );
    issue.setTime( time );
    issue.setCaseSensitivity( caseSens );
    issue.setStripSpaces( stripSpace );
    return issue;
}
Ejemplo n.º 3
0
    BlackWidow::BlackWidow(double age, double height, double weight) : Antidote(age, height, weight) {
        string a = "Black Widow envenomation Algorithm.\n",
        b = string("For the treatment of Black Widow (Latrodectus mactans) envenomation.  ") + FDA + "\n\n",
        c = "\n(Merck & Co., Inc. , 2014)";
        
        string stringSystemicReaction = string(" As with any administration of serum products, support for ") +
        "systemic reaction should be made ready prior to administration";
        string stringSerumSickness = string(" Patients should be observed for serum sickness for an average ") +
        "of 8 to 12 days following administration of antivenin.";
        string stringNeonate = a + b + string("Safety and efficacy has not been established in neonates. ") +
        "Please consult neonatologist for dosing instructions.";
        string stringInfantChildren = a + b +
        string("Prior to therapeutic administration a skin test should be performed ") +
        "to determine sensitivity to antivenin serum.  Inject a 1:10 dilution of  " +
        "antivenin serum intradermally.  If there is no reaction after 10 minutes, " +
        "proceed with antivenin administration.\n\nAntivenin administration in children:\n\n" +
        "Intravenous administration is preferred method in children.  Administer " +
        "entire reconstituted vial (2.5 ml) of antivenin in 10ml to 50ml of Normal Saline " +
        "over 15 minutes.  Symptoms should subside in 1 to 3 hours.";
        string stringAdolescent = a + b +
        string("Prior to therapeutic administration a skin test should be performed ") +
        "to determine sensitivity to antivenin serum.  Inject a 1:10 dilution of  " +
        "antivenin serum intradermally.  If there is no reaction after 10 minutes, " +
        "proceed with antivenin administration.\n\nAntivenin administration in adolescents:\n\n" +
        "Intravenous administration is preferred method in children.  Administer " +
        "entire reconstituted vial (2.5 ml) of antivenin in 10ml to 50ml of Normal Saline " +
        "over 15 minutes.  Symptoms should subside in 1 to 3 hours.";
        string stringElderly = a + b +
        string("Prior to therapeutic administration a skin test should be performed ") +
        "to determine sensitivity to antivenin serum.  Inject a 1:10 dilution of  " +
        "antivenin serum intradermally.  If there is no reaction after 10 minutes, " +
        "proceed with antivenin administration.\n\nAntivenin administration in adolescents:\n\n" +
        "Intravenous administration is preferred method in the elderly.  Administer " +
        "entire reconstituted vial (2.5 ml) of antivenin in 10ml to 50ml of Normal Saline " +
        "over 15 minutes.  Symptoms should subside in 1 to 3 hours.";
        string stringAdultNatural = a + b +
        string("For a healthy patient aged 16 to 60, it is recommended that the patient not receive ") +
        "antivenin serum and only pain symptoms should be treated.  Healthly patients aged " +
        "16 to 60 should receive antivenin only when envenomation symptoms are moderate to severe.";
        string stringAdult = a + b +
        string("Prior to therapeutic administration a skin test should be performed ") +
        "to determine sensitivity to antivenin serum.  Inject a 1:10 dilution of  " +
        "antivenin serum intradermally.  If there is no reaction after 10 minutes, " +
        "proceed with antivenin administration.\n\n" +
        "Intravenous administration adults: " +
        "Administer entire reconstituted vial (2.5 ml) of antivenin in 10ml to 50ml of " +
        "Normal Saline over 15 minutes.  Symptoms should subside in 1 to 3 hours. " +
        "Intramuscular administration adults: " +
        "Reconstitute antivenin vial with diluent supplied in kit.  Administer " +
        "intramuscularly to the anterolateral thigh.  Placement of dose allows tourniquet " +
        "to be applied in the event of systemic reaction.";
        
        string stringSeverity = "Describe the severity of bite. ";
        string *antiveninOptions = new string[2];
        antiveninOptions[0] = "Severe";
        antiveninOptions[1] = "Mild";
        
        Question *severity = new Question(stringSeverity);
        severity->setType("options");
        severity->setOptions(antiveninOptions, 2);
        prompts.insert(strQuestionMapPair("severity", severity));
        
        Question *age0 = new Question(stringNeonate + stringSystemicReaction + stringSerumSickness + c);
        prompts.insert(strQuestionMapPair("age0", age0));
        
        Question *ageLessThen12 = new Question(stringInfantChildren + stringSystemicReaction + stringSerumSickness + c);
        prompts.insert(strQuestionMapPair("ageLessThen12", ageLessThen12));
        
        Question *age12To16 = new Question(stringAdolescent + stringSystemicReaction + stringSerumSickness + c);
        prompts.insert(strQuestionMapPair("age12To16", age12To16));
        
        Question *ageGreaterThen60 = new Question(b + stringElderly + stringSystemicReaction + stringSerumSickness + c);
        prompts.insert(strQuestionMapPair("ageGreaterThen60", ageGreaterThen60));
        
        Question *age16To60Severe = new Question(stringAdult + stringSystemicReaction + stringSerumSickness + c);
        prompts.insert(strQuestionMapPair("age16To60Severe", age16To60Severe));
        
        Question *age16To60Mild = new Question(stringAdultNatural + c);
        prompts.insert(strQuestionMapPair("age16To60Mild", age16To60Mild));

        
    }