Introduction Units & Dose Converters Math Calculator Medical Equations Clinical Criteria Decision Trees Search by Specialty EMR Edition Pocket PC Edition Mobile Edition Purchase Subscription |
MedCalc Connect! Functionality allows you to input new formulae and parameters of your own design. Click the link below for an example of such a request: /cgi-bin/mkeq?eq1=A|B+C|kg&eq2=D|A+2|kg&B=1|kg&C=|kg|0|100 This HTTP GET request produces a two equation multicalc on the fly. The user is left to input a value for "C" because the option after the "=" sign and before the "|" character is absent. Notice the extra parameters for "C." These represent optional minimum and maximum allowed inputs. The pipe character "|" is used to separate equation and parameter options. If an option is left blank, you must include the pipe character anyway. Equation designators in the GET request are structured like this: eq#=Result_Parameter_Name|Equation_Right_Side|Result_Parameter_Unit|Hide_Option Parameter designators in the GET request are structured like this: Parameter_Name=Default_Value|Parameter_Unit|Min_Allowed_Value|Max_Allowed_Value Spaces are not permitted anywhere in equation or parameter designators. It is also important to capitalize all "Parameter_Names" and "Equation_Result_Names" so there will be no potential conflicts with the underlying JavaScript keywords and function names. MedCalc Connect can hide equations, intermediate results or both in the case of a multiformula page. Here is an example of a request containing a "Hide_Option:" /cgi-bin/mkeq?eq1=A|B+C|kg&eq2=D|A+2|kg|hide_eq&B=1|kg&C=|kg Even though the equation is not displayed, its function remains in the final results of the calculation. Other options include "hide_res" to hide the result, and "hide_res_eq" to hide both the result and equation as shown in the two examples below: /cgi-bin/mkeq?eq1=A|B+C|kg&eq2=D|A+2|kg|hide_res&B=1|kg&C=|kg /cgi-bin/mkeq?eq1=A|B+C|kg&eq2=D|A+2|kg|hide_res_eq&B=||0|100&C=|kg Notice that in the last equation above the equation parameter "B" has no unit designation or default value, but does have minimum and maximum allowed inputs. To learn more about how MedCalc 3000 can be integrated into your Electronic Medical Record and Lab systems please contact us at support@MedCalc3000.com
|