Widget:CJP3: Difference between revisions

Jump to navigation Jump to search
Christopher Popma (talk | contribs)
No edit summary
Christopher Popma (talk | contribs)
No edit summary
Line 26: Line 26:
                                           drugNameFull = val.fulltext;
                                           drugNameFull = val.fulltext;
                                           drugNameShort = drugNameFull.split("#")[0];
                                           drugNameShort = drugNameFull.split("#")[0];
                                           pillImprint = value.printouts["Pill Imprint"];
                                           pillImprint = val.printouts["Pill Imprint"];
                                           pillDosage = value.printouts["Pill Dosage"];
                                           pillDosage = val.printouts["Pill Dosage"];
                                           pillIngred = value.printouts["Pill Ingred"];
                                           pillIngred = val.printouts["Pill Ingred"];
                                           pillColor = value.printouts["Pill Color"];
                                           pillColor = val.printouts["Pill Color"];
                                           pillShape = value.printouts["Pill Shape"];
                                           pillShape = val.printouts["Pill Shape"];
                                           pillSize = value.printouts["Pill Size (mm)"];
                                           pillSize = val.printouts["Pill Size (mm)"];
                                           pillScoring = value.printouts["Pill Scoring"];
                                           pillScoring = val.printouts["Pill Scoring"];
                                           ndc = value.printouts["NDC"];
                                           ndc = val.printouts["NDC"];
                                           pillName = value.printouts["Pill Name"];
                                           pillName = val.printouts["Pill Name"];
                                           alert(drugNameFull + '\n' + drugNameShort + '\n' + pillImprint + '\n' + pillDosage + '\n' + pillIngred + '\n' + pillColor + '\n' + pillShape + '\n' + pillSize + '\n' + pillScoring + '\n' + ndc + '\n' + pillName);
                                           alert(drugNameFull + '\n' + drugNameShort + '\n' + pillImprint + '\n' + pillDosage + '\n' + pillIngred + '\n' + pillColor + '\n' + pillShape + '\n' + pillSize + '\n' + pillScoring + '\n' + ndc + '\n' + pillName);
                                         });
                                         });

Revision as of 19:36, 3 June 2014