22
Spreadsheets In Spreadsheets In Clinical Medicine Clinical Medicine Grenville J. Croll & Grenville J. Croll & Raymond J. Butler Raymond J. Butler EuSpRIG 2006, Cambridge, EuSpRIG 2006, Cambridge, UK UK

Spreadsheets In Clinical Medicine Grenville J. Croll & Raymond J. Butler EuSpRIG 2006, Cambridge, UK

Embed Size (px)

Citation preview

Page 1: Spreadsheets In Clinical Medicine Grenville J. Croll & Raymond J. Butler EuSpRIG 2006, Cambridge, UK

Spreadsheets In Spreadsheets In Clinical Medicine Clinical Medicine

Grenville J. Croll & Raymond Grenville J. Croll & Raymond J. ButlerJ. Butler

EuSpRIG 2006, Cambridge, EuSpRIG 2006, Cambridge, UKUK

Page 2: Spreadsheets In Clinical Medicine Grenville J. Croll & Raymond J. Butler EuSpRIG 2006, Cambridge, UK

What We Know about What We Know about Spreadsheets Spreadsheets

Spreadsheets are error-proneSpreadsheets are error-prone Spreadsheets are not testedSpreadsheets are not tested Errors are difficult to findErrors are difficult to find Users are overconfidentUsers are overconfident Users are inconsistentUsers are inconsistent Users interpret information Users interpret information

differentlydifferently Backup and Archiving are Backup and Archiving are

overlookedoverlooked Spreadsheets are pervasiveSpreadsheets are pervasive

Page 3: Spreadsheets In Clinical Medicine Grenville J. Croll & Raymond J. Butler EuSpRIG 2006, Cambridge, UK

What We Know about What We Know about Medicine Medicine

Medical error is a major killerMedical error is a major killer 98,000 deaths per year in US 98,000 deaths per year in US 30,000 in UK30,000 in UK 7th largest cause of death7th largest cause of death Rate of non-fatal injuries is not Rate of non-fatal injuries is not

knownknown

Spreadsheets are used in Clinical Spreadsheets are used in Clinical MedicineMedicine

Page 4: Spreadsheets In Clinical Medicine Grenville J. Croll & Raymond J. Butler EuSpRIG 2006, Cambridge, UK

Spreadsheets in Clinical Spreadsheets in Clinical Medicine Medicine

Initial Google SearchesInitial Google Searches Spreadsheet + Oncology, Anesthesia, Spreadsheet + Oncology, Anesthesia,

Cardiac Cardiac etcetc

very many hitsvery many hits Search of PubMed DatabaseSearch of PubMed Database

>800 references, many clinical>800 references, many clinical Discovered Discovered www.medal.orgwww.medal.org - Institute - Institute

of Algorithmic Medicine - 8,000 of Algorithmic Medicine - 8,000 spreadsheetsspreadsheets

Numerous specialist sitesNumerous specialist sites

Page 5: Spreadsheets In Clinical Medicine Grenville J. Croll & Raymond J. Butler EuSpRIG 2006, Cambridge, UK

Spreadsheets in Clinical Spreadsheets in Clinical Medicine Medicine

Widely used for decision support Widely used for decision support Applied in diagnosis, dosage, Applied in diagnosis, dosage,

prescription, case management, prescription, case management, classification, statistical planning & classification, statistical planning & analysisanalysis

Home-grown by practitionersHome-grown by practitioners Used by medical device manufacturersUsed by medical device manufacturers Described in books & papers for re-Described in books & papers for re-

keyingkeying Many downloadable, modifiable templatesMany downloadable, modifiable templates

Page 6: Spreadsheets In Clinical Medicine Grenville J. Croll & Raymond J. Butler EuSpRIG 2006, Cambridge, UK

Controls on Software Controls on Software DevelopmentDevelopment

Drug development & trials Drug development & trials Onerous FDA software development Onerous FDA software development

requirements requirements Medical DevicesMedical Devices

Medical Device RegulationsMedical Device Regulations Apply to Medical Devices intended for Apply to Medical Devices intended for

salesale Clinical MedicineClinical Medicine

No regulation foundNo regulation found Medics free to develop & deploy for own Medics free to develop & deploy for own

useuse

Page 7: Spreadsheets In Clinical Medicine Grenville J. Croll & Raymond J. Butler EuSpRIG 2006, Cambridge, UK

Some Initial testingSome Initial testing Investigated the following modelsInvestigated the following models

Pediatric AnesthesiaPediatric Anesthesia Apache II – Risk of Cardiac Problems in Apache II – Risk of Cardiac Problems in

patients undergoing non-cardiac surgerypatients undergoing non-cardiac surgery Brodaty – to support a decision to assess Brodaty – to support a decision to assess

an elderly patient for masked depressionan elderly patient for masked depression Investigation restricted to Investigation restricted to

spreadsheet mechanics only as spreadsheet mechanics only as we are not medically qualifiedwe are not medically qualified But 15 pages of notesBut 15 pages of notes

Used HMRC SpACE methodologyUsed HMRC SpACE methodology

Page 8: Spreadsheets In Clinical Medicine Grenville J. Croll & Raymond J. Butler EuSpRIG 2006, Cambridge, UK

Pediatric AnesthesiaPediatric Anesthesia“…. here are two guides to help you in your anesthesia practice.  First is a Microsoft Excel spreadsheet titled ‘Pediatric Anesthesia Worksheet’. Use it to calculate medications and other parameters for pediatric patients”. 

Page 9: Spreadsheets In Clinical Medicine Grenville J. Croll & Raymond J. Butler EuSpRIG 2006, Cambridge, UK

Pediatric AnesthesiaPediatric Anesthesia

Page 10: Spreadsheets In Clinical Medicine Grenville J. Croll & Raymond J. Butler EuSpRIG 2006, Cambridge, UK

Pediatric AnesthesiaPediatric Anesthesia

Page 11: Spreadsheets In Clinical Medicine Grenville J. Croll & Raymond J. Butler EuSpRIG 2006, Cambridge, UK

Apache II - Chronic Apache II - Chronic HealthHealth

Page 12: Spreadsheets In Clinical Medicine Grenville J. Croll & Raymond J. Butler EuSpRIG 2006, Cambridge, UK

Apache II - Chronic Apache II - Chronic HealthHealth

Page 13: Spreadsheets In Clinical Medicine Grenville J. Croll & Raymond J. Butler EuSpRIG 2006, Cambridge, UK

Cardiac RisksCardiac Risks

Page 14: Spreadsheets In Clinical Medicine Grenville J. Croll & Raymond J. Butler EuSpRIG 2006, Cambridge, UK

Problems FoundProblems Found

Constants in formulasConstants in formulas Complex nested IF’sComplex nested IF’s Formulas with no dependentsFormulas with no dependents Poor or no embedded Poor or no embedded

documentationdocumentation Little/No data validationLittle/No data validation Some Mixed unitsSome Mixed units Weak cell protectionWeak cell protection

Page 15: Spreadsheets In Clinical Medicine Grenville J. Croll & Raymond J. Butler EuSpRIG 2006, Cambridge, UK

Embedded constantsEmbedded constants

Same risk as in finance/tax etc Same risk as in finance/tax etc domainsdomains

What happens if medical practice What happens if medical practice changes? changes?

What happens if manufacturers What happens if manufacturers reformulate drugs to require reformulate drugs to require different dosages?different dosages?

Table Lookups preferableTable Lookups preferable

Page 16: Spreadsheets In Clinical Medicine Grenville J. Croll & Raymond J. Butler EuSpRIG 2006, Cambridge, UK

Nested IF’sNested IF’s

e.g. Atropine dose calculation e.g. Atropine dose calculation (L7):(L7): =IF(E19*0.02>0.6,0.6,IF(E19*0.02<0=IF(E19*0.02>0.6,0.6,IF(E19*0.02<0

.1,0.1,E19*0.02)).1,0.1,E19*0.02)) E19 is “Bodyweight”E19 is “Bodyweight” The rest are embedded constants for The rest are embedded constants for

drug dosagedrug dosage Hard to follow Hard to follow Hard to updateHard to update Table Lookup preferableTable Lookup preferable

Page 17: Spreadsheets In Clinical Medicine Grenville J. Croll & Raymond J. Butler EuSpRIG 2006, Cambridge, UK

Other IssuesOther Issues

DocumentationDocumentation None/almost none embeddedNone/almost none embedded

Data ValidationData Validation None or inadequateNone or inadequate Forms tools, data validation Forms tools, data validation

essentialessential UnitsUnits

Milligrams / Micrograms appear in Milligrams / Micrograms appear in same column same column

NB Medication errors cause 7,000 NB Medication errors cause 7,000 annual deaths in USannual deaths in US

Page 18: Spreadsheets In Clinical Medicine Grenville J. Croll & Raymond J. Butler EuSpRIG 2006, Cambridge, UK

Pediatric Anesthesia Pediatric Anesthesia DocumentationDocumentation

Page 19: Spreadsheets In Clinical Medicine Grenville J. Croll & Raymond J. Butler EuSpRIG 2006, Cambridge, UK

Inherent RisksInherent Risks

Distribution channelsDistribution channels Large scale web enabled Large scale web enabled

distributiondistribution via Global Medical Literaturevia Global Medical Literature

Secondary “viral distribution”Secondary “viral distribution” Inability to recall sourceInability to recall source Spurious “stamp of approval” Spurious “stamp of approval” Spreadsheet may be changed Spreadsheet may be changed

somewhere in the chainsomewhere in the chain

Page 20: Spreadsheets In Clinical Medicine Grenville J. Croll & Raymond J. Butler EuSpRIG 2006, Cambridge, UK

ConclusionsConclusions

Initial indications are that same risks Initial indications are that same risks existexist

No specific clinical good practice for No specific clinical good practice for spreadsheet development & deploymentspreadsheet development & deployment

No evidence that this well studied No evidence that this well studied problem is known in the clinical domainproblem is known in the clinical domain

Opportunity for dialogue and Opportunity for dialogue and advancementadvancement

Obvious reasons for increased caution Obvious reasons for increased caution when one is involved in medical when one is involved in medical procedures!procedures!

Page 21: Spreadsheets In Clinical Medicine Grenville J. Croll & Raymond J. Butler EuSpRIG 2006, Cambridge, UK

DisclaimersDisclaimers

““The authors have exerted every effort to The authors have exerted every effort to ensure that the drug dosages set forth ensure that the drug dosages set forth are in accordance with current are in accordance with current recommendations at the time of recommendations at the time of publication. The user is urged to check publication. The user is urged to check the drug's package insert for any the drug's package insert for any changes in indications and dosages as changes in indications and dosages as well as for warnings and precautions. well as for warnings and precautions. The responsibility is ultimately that of The responsibility is ultimately that of the prescribing clinician”.the prescribing clinician”.

Page 22: Spreadsheets In Clinical Medicine Grenville J. Croll & Raymond J. Butler EuSpRIG 2006, Cambridge, UK

““Delegation of responsibility Delegation of responsibility is no barrier to the is no barrier to the

repeated perpetration of repeated perpetration of grave errorsgrave errors””

G.J.Croll & R.J. Butler, July 2006G.J.Croll & R.J. Butler, July 2006