Difference between revisions of "MediaWiki:PatientCalculators/anatomy.js"

From WikiAnesthesia
(Created page with "'use strict'; export default { bmi: { abbreviation: 'bmi', calculate: function( patientData ) { console.log( 'Calculating BMI!' ); },...")
 
Line 1: Line 1:
'use strict';
module.exports = {
 
export default {
     bmi: {
     bmi: {
         abbreviation: 'bmi',
         abbreviation: 'bmi',

Revision as of 07:14, 1 July 2021

module.exports = {
    bmi: {
        abbreviation: 'bmi',
        calculate: function( patientData ) {
            console.log( 'Calculating BMI!' );
        },
        name: 'Body mass index',
        units: 'kg/m^2'
    }
};