380 likes | 571 Views
Harnessing Real-world Data: for Adaptive Healthcare Systems. PRISME SIG: Patient Centred R&D, Alderley Park, 21 st May 2012 Iain Buchan. Patient at the Centre of What?. Organisation/ Pathway 1. System. Organisation/ Pathway 2. Organisation/ Pathway k…. Real -world evidence =
E N D
Harnessing Real-world Data:for Adaptive Healthcare Systems PRISME SIG: Patient Centred R&D,Alderley Park, 21st May 2012 Iain Buchan
Patient at the Centre of What? Organisation/Pathway 1 System Organisation/Pathway 2 Organisation/Pathway k… Real-world evidence = Evidence base (average patient) Me (and n-of-1 of my responses) My care setting Evidence base aboutthe average patientpredicting < 30% oftreatment response
Troublesome Threes • 3 Ingredients • Data; Models; Expertise • 3 Myths • Big data warehouses are the solution • Science provides the models to utilise the data • Clinicians will continue to be the main source of data • 3 Pipelines • R&D; Quality Improvement; Payor & Public Health
Dormant Data Body Mass Index (BMI) trend in Wirral 3y-olds from 1988 to 2003 0.5 0.4 0.3 0.2 0.1 Three-monthly rolling average BMI SDS 0 Actions -0.1 Clues -0.2 -0.3 -0.4 Mar-88 Jul-89 Nov-90 Apr-92 Aug-93 Jan-95 May-96 Sep-97 Feb-99 Jun-00 Nov-01 Mar-03 Aug-04 Month of measurement by Health Visitor SDS = standard deviation score from 1990 British Growth Reference charts – adjusts for age and sex of the child
Easily Disregarded Data Trends in liver function sought in patients with long-term conditions. Most did not have regular repeat tests. Complex time structure to model.
Improved Liver Function on Starting Glitazone First glitazoneRx Mean log(ALT) before Mean log(ALT) after Fitted trends do not join evidence of change of glitazone effect on ALT Decrease (pooled) = 0.15 (se=0.009), p<1x10-59 Similar irrespective of co-prescriptions {G = 0.12; GM = 0.16; GS = 0.16; GSM = 0.15G = glitazone, M = metformin, S = sulponylurea}
Rosiglitazone to Pioglitazone: No Liver Signal Rosi Pio ALT on Rosi ALT on Pio Lines almost join no evidence of a change in ALT
Trapped Data • Narrative • Vioxx risk of MI detectable pre-2004 • By text mining 154k RA patient notes • Not by ICD-9 codes from same notes • Repeated for 2 other risks LePendu et al. 2012, J BioMedSem 3(1):S5 • Rubrics • Code for type 2 diabetes annotated “DM r/o” • Access blocked by some ethics committees
Miscoded DataUK Diabetes Prevalence from Different Databases Data from Tim Doran, University of Manchester
Clinical (audit) question leading to scientific finding:required local metadata (assay change) not in national datasets Anaemia at lower levels of kidney impairment than commonly thought
Data Warehouses are not the Solution • Need contextual metadatacontinuously adding valueto big data • Need engaged communitiesadding the metadata • OMOP lessons • Current big data only for crude effects • Different answers from different datasets & methods
Big Data in Context or Datasets (+ models) (searched by experts) • Data Models Expertise • “sense-making network”
Fragmented Evidence & Workflows Patient is the union, not the sum of pathways Need usefully complex models of health & care Public Health Self Care Weight control Physical activity Secondary Care Primary Care Diabetology: Glucose focus Weight Blood pressure Nephrology: Blood pressure focus Specialist A Specialist B
Health Records& Knowledge Silos Health Avatars& Dynamic Models Data-intensive Paradigm -shift Open Unifying Modelling: Across mechanisms and contexts models = Avatar e.g. Coronary heart disease Expertise Expertise Expertise e.g. Chronic obstructivepulmonary disease e.g. Lung cancer • Multi-scale & • Multi-system • Health: • Research • Policy • Care Unified Graphical Model Electronic Health Records(eHR) Large scale inference Model refinement Data Data Data
Not About Mining Big Data Problem Space Data Space Observation Space y = b1x1 + b2x2 + b3x3 + c ...like squinting at an image through a doyley and prismNeed to harness networks of reasoning about models Not just structure in big data
Model-based Machine Learning • Suspected myth: false division of children into allergic tendency (atopy) or not • Life-course data: birth cohort of 1,000 children from Manchester with careful measurements • Approach: unsupervised search forpatterns of sensitisation shape hypotheses
Unsupervised Clustering ofAllergic Sensitisation Development 1,053 Children Sensitization Class switch class 8 Allergens P(Sens’n) in year 1 Sensitized Age 1 Sensitized Age 3 Sensitized Age 5 Sensitized Age 8 Mite Cat Dog Pollen Egg Milk Mold Peanut P(Gain) P (Loose) Sens’n 3 intervals Skin Test Age 1 Skin Test Age 3 Skin Test Age 5 Skin Test Age 8 Blood Test Age 1 Blood Test Age 3 Blood Test Age 5 Blood Test Age 8 Sens’n state P(+ skin) Sens’ P(+ blood) Sens’ P(+ skin) Not Sens’ P(+ blood) Not Sens’
Predicted Real-world Outcomes First Admitted > 3 Years Old (remove early virus wheeze) Admitted at Any Age
Mirage of Evidence Health Sciences Evidence Base Algorithm Care Audit Research Commissioning Reality: feedback is too little too late Algorithms may be out of date by the time they are “validated” Note EU Directive 2007/47
Predicting Mortality from Cardiac Surgery 0.08 Observed in UK (SCTS audit) Expected via EuroSCORE I model 0.07 0.06 Drifting EuroSCORE Calibration 0.05 In-hospital mortality rate 0.04 0.03 0.02 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 Year Source: G. Hickey 2012
Re-inventing Reuse • 3 Pipelines • Research and Development • Provider Quality Improvement • Payor & Public Health Evidence • 1 Bottle-neck • Human resource to make sense of data
Potential to Borrow Strength Clinical Trial: 1 vs. 2 per day dosing adherence (* deprivation) Clinical Audit: Depression vs. readmission Public Health: Recalibrated deprivation score “Users who selected the variables in your basket also selected these variables and these models…”
Health Intelligence ‘e-Lab’from/for a Population Local Value Adding Anonymised linked records Firewall 1 Metadata Analysis UnifiedHealth Intelligence Platform 2nd Level Privacy Control Global Value Adding Firewall 2 External collaborator/client
Data queries: From this… select distinct PatientID, GPPracticeCode from Patients where DeathDate is null and PatientID in (select distinct PatientID from Patients where Dob<=1991 and PatientID in (select distinct PatientID from Patients where Dob>=1931 ) ) and PatientID in (select distinct PatientID from Patients where PatientID in (select distinct j.PatientID from Journal j where j.ReadCode in ('.C21.','.C2A.','.C2D.','.C2G2','C1021','C109.','C1094','C1095','C1097','C1099','C109D','C109F','C109G','C109H','C109J','C10F.','C10F4','C10F5','C10F7','C10F9','C10FD','C10FF','C10FG','C10FH','C10FJ','L1806','X40J5','X40J6','X40Jk','XaELQ','XaFn7','XaFn8','XaFn9','XaFWI','XSETp','XU70f','XU71F','XUKO0','XULXc','XUPHn','XUSbx') and j.EntryDate<@p4DateLimit1 ) ) and PatientID not in (select distinct PatientID from Patients where PatientID in (select distinct j.PatientID from Journal j where j.ReadCode in ('.1226','.12C2','.12C3','.12C5','.12C8','.12CA','.12CB','.12CC','.12CD','.12CE','.12CF','.12CG','.12CH','.12CJ','.12CL','.12CM','.12CN','.12CP','.12CR','.12CS','.12CT','.12J3','.14A.','.14A3','.14A4','.14A5','.14A6','.14AD','.14AH','.14AJ','.14AL','.14AM','.14AN','.14AP','.14AQ','.14AR','.14H1','.187.','.1I10','.1I3.','.1I5.','.1I6.','.1J60','.1O1.','.2241','.679X','.68B2','.68B6','.6C0.','.7721','.7722','.865.','.8651','.8652','.8653','.8654','.865Z','.B1NZ','.G12.','.G121','.G122','.G123','.G12Z','.G131','.G2..','.G21.','.G211','.G212','.G213','.G21Z','.G22.','.G221','.G222','.G223','.G22Z','.G23.','.G231','.G232','.G233','.G234','.G235','.G236','.G23Z','.G2Z.','.G32.','.G34.','.G4..','.G41.','.G42.','.G420','.G43.','.G44.','.G440','.G441','.G442','.G443','.G444','.G445','.G446','.G45.','.G451','.G452','.G45Z','.G46.','.G47.','.G48.','.G49.','.G4Z.','.G5..','.G51.','.G511','.G52.','.G52Z','.G5Z.','.G6..','.G61.','.G612','.G613','.G614','.G62Z','.G63.','.G631','.G632','.G633','.G634','.G635','.G636','.G637','.G63Z','.G64.','.G641','.G642','.G643','.G644','.G645','.G646','.G64Z','.G65.','.G651','.G652','.G653','.G654','.G655','.G656','.G657','.G65Z','.G66.','.G67.','.G670','.G68.','.G681','.G682','.G68Z','.G69.','.G691','.G692','.G693','.G69Z','.G6A.','.G6A1','.G6A2','.G6AZ','.G6B.','.G6B2','.G6B3','.G6B5','.G6B6','.G6BZ','.G6C.','.G6E.','.G6Z.','.K2B5','.N2..','.N21.','.N211','.N212','.N213','.N214','.N21Z','.N22.','.N221','.N222','.N223','.N224','.N225','.N226','.N227','.N22Z','.P324','.P9H2','.P9N2','.P9OZ','.RJ10','1226.','12C..','12C2.','12C3.','12C5.','12C8.','12CA.','12CB.','12CC.','12CD.','12CE.','12CF.','12CG.','12CH.','12CJ.','12CL.','12CM.','12CN.','12CP.','12CR.','12CS.','12CT.','12J3.','14A..','14A3.','14A4.','14A5.','14A6.','14AD.','14AH.','14AJ.','14AL.','14AM.','14AN.','14AP.','14AQ.','14AR.','14H1.','1I10.','1I3..','1I5..','1I6..','1J60.','1O1..','2241.','679X.','68B2.','68B6.','6C0..','7902.','79020','79021','79022','79023','79024','79025','7902y','7902z','7930.','79300','79301','79302','79304','7930y','7930z','79340','79341','79342','79350','79351','79356','793E1','793M1','793M2','793M3','7L1H.','7L1H0','7L1H1','7L1H2','7L1H3','7L1H4','7L1H7','7L1H8','7P0G0','A17y0','A17y1','A2704','A32y1','A364.','A3640','A3642','A3643','A364z','A742.','A7420','A7422','A7423','A742z','A7A..','A860.','A8600','A932.','A9320','A9321','A9322','A9323','A9324','A932z','A93y1','A98y2','A98y3','AB2y0','AB404','AB414','AB4z4','AD03.','B241.','B2410','B2411','B2412','B2413','B241z','B25..','B727.','B728.','B93y1','Byu21','C1322','C34y1','C3733','F3918','F391B','G01..','G010.','G011.','G012.','G01y.','G01y0','G01yz','G01z.','G020.','G1...','G10..','G100.','G101.','G102.','G10z.','G11..','G110.','G111.','G112.','G113.','G114.','G11z.','G12..','G120.','G121.','G122.','G12z.','G13..','G130.','G131.','G132.','G133.','G13y.','G13z.','G14..','G140.','G1400','G1401','G1402','G1403','G1404','G1405','G140z','G141.','G1410','G1411','G1412','G141z','G14z.','G1y..','G1y0.','G1yz.','G1yz0','G1yz1','G1yzz','G1z..','G21..','G210.','G2100','G2101','G210z','G211.','G2110','G2111','G211z','G21z.','G21z0','G21z1','G21zz','G23..','G230.','G231.','G232.','G233.','G234.','G23z.','G3...','G30..','G300.','G301.','G3010','G3011','G301z','G302.','G303.','G304.','G305.','G306.','G307.','G3070','G3071','G308.','G309.','G30A.','G30B.','G30X.','G30X0','G30y.','G30y0','G30y1','G30y2','G30yz','G30z.','G31..','G310.','G311.','G3110','G3111','G3112','G3113','G3114','G3115','G311z','G312.','G31y.','G31y0','G31y1','G31y2','G31y3','G31yz','G32..','G33..','G330.','G3300','G330z','G331.','G332.','G33z.','G33z0','G33z1','G33z2','G33z3','G33z5','G33z6','G33z7','G33zz','G34..','G340.','G3400','G3401','G341.','G3410','G3411','G3412','G3413','G341z','G343.','G344.','G34y.','G34y0','G34y1','G34yz','G34z.','G34z0','G35..','G350.','G351.','G353.','G35X.','G36..','G360.','G361.','G362.','G363.','G364.','G365.','G366.','G38..','G380.','G381.','G382.','G383.','G384.','G38z.','G3y..','G3z..','G40..','G400.','G40z.','G41..','G411.','G41y.','G41yz','G41z.','G5...','G50..','G5005','G501.','G51..','G510.','G5100','G5101','G5102','G510z','G511.','G5110','G5111','G5112','G5113','G5114','G5115','G5116','G511z','G51z.','G51z0','G51z1','G51z2','G51z3','G51z4','G51z5','G51zz','G52..','G520.','G5200','G5201','G5202','G5203','G5204','G5205','G5206','G5207','G520z','G52y.','G52y0','G52y1','G52y2','G52y3','G52y4','G52y5','G52y6','G52y7','G52yz','G52z.','G534.','G53z.','G54..','G540.','G5400','G5401','G5402','G5403','G540z','G541.','G5410','G5411','G5412','G5413','G5414','G5415','G5416','G5417','G541z','G542.','G5420','G5421','G5422','G542X','G542z','G543.','G5430','G5431','G5432','G5433','G5434','G543z','G544.','G5440','G5441','G5442','G544X','G54z.','G54z0','G54z1','G54z2','G54z3','G54z4','G54z5','G54zz','G55..','G550.','G551.','G552.','G553.','G554.','G5540','G5541','G5542','G5543','G5544','G554z','G555.','G556.','G557.','G5570','G5571','G5572','G5573','G5574','G5575','G557z','G558.','G5580','G5581','G5582','G5583','G558z','G559.','G55y.','G55y0','G55z.','G56..','G560.','G561.','G5610','G5611','G5612','G5613','G5614','G561z','G562.','G5620','G5621','G562z','G563.','G564.','G565.','G5650','G5651','G5652','G5653','G5654','G5655','G565z','G566.','G5660','G5661','G5662','G566z','G567.','G5670','G5671','G5672','G5673','G5674','G567z','G56y.','G56y0','G56y1','G56y2','G56y3','G56y4','G56y5','G56yz','G56z.','G56zz','G57..','G570.','G5700','G5701','G5702','G5703','G570z','G571.','G572.','G5720','G5721','G572z','G573.','G5730','G5731','G5732','G5733','G5734','G5735','G573z','G574.','G5740','G5741','G574z','G575.','G5750','G5751','G5752','G5753','G575z','G576.','G5760','G5761','G5762','G5763','G5764','G5765','G576z','G577.','G57y.','G57y0','G57y1','G57y2','G57y3','G57y4','G57y6','G57y9','G57yA','G57yz','G57z.','G58..','G580.','G5800','G5801','G5802','G5803','G5804','G581.','G5810','G582.','G58z.','G5y..','G5y0.','G5y1.','G5y3.','G5y30','G5y31','G5y32','G5y33','G5y34','G5y35','G5y3z','G5y4.','G5y40','G5y4z','G5y5.','G5y6.','G5y7.','G5y8.','G5y9.','G5yA.','G5yy.','G5yy0','G5yy1','G5yy2','G5yy3','G5yy4','G5yy5','G5yy6','G5yy7','G5yy8','G5yy9','G5yyA','G5yyz','G5yz.','G5z..','Gyu00','Gyu1.','Gyu10','Gyu11','Gyu12','Gyu13','Gyu14','Gyu15','Gyu3.','Gyu30','Gyu32','Gyu33','Gyu34','Gyu35','Gyu36','Gyu40','Gyu5.','Gyu55','Gyu56','Gyu57','Gyu58','Gyu59','Gyu5a','Gyu5A','Gyu5b','Gyu5B','Gyu5c','Gyu5C','Gyu5d','Gyu5D','Gyu5e','Gyu5E','Gyu5f','Gyu5F','Gyu5G','Gyu5H','Gyu5J','Gyu5K','Gyu5L','Gyu5M','Gyu5N','Gyu5P','Gyu5Q','Gyu5R','Gyu5S','Gyu5T','Gyu5U','Gyu5V','Gyu5W','Gyu5X','Gyu5Y','Gyu5Z','J6157','L09y1','L09y2','L1280','L1281','L185.','L1850','L1851','L1852','L1853','L1854','L185z','L186.','L1860','L1861','L1862','L1863','L1864','L1865','L186z','L263.','L381.','L3810','L3811','L3812','L3813','L3814','L381z','L388.','N0001','N0420','P5...','P51..','P510.','P511.','P5110','P5111','P5112','P5113','P511z','P512.','P52..','P520.','P521.','P52z.','P53..','P54..','P540.','P541.','P542.','P543.','P544.','P545.','P54y.','P54z.','P55..','P550.','P551.','P552.','P553.','P55y.','P55z.','P56..','P560.','P561.','P56y.','P56z.','P56z0','P56z1','P56z2','P56zz','P57..','P58..','P59..','P5X..','P5y..','P5z..','P6...','P60..','P600.','P601.','P6010','P601z','P602.','P6020','P6021','P602z','P603.','P60z.','P60z0','P60z1','P60z2','P60zz','P61..','P610.','P611.','P61z.','P62..','P63..','P64..','P640.','P641.','P64z.','P65..','P650.','P651.','P652.','P653.','P65z.','P66..','P67..','P68..','P6W..','P6X..','P6y..','P6y0.','P6y1.','P6y2.','P6y3.','P6y30','P6y3z','P6y4.','P6y40','P6y41','P6y42','P6y43','P6y44','P6y45','P6y46','P6y4z','P6y5.','P6y50','P6y51','P6y52','P6y5z','P6y6.','P6y60','P6y61','P6y62','P6y63','P6y64','P6y6z','P6y7.','P6y8.','P6yy.','P6yy0','P6yy1','P6yy2','P6yy3','P6yy4','P6yy5','P6yy6','P6yy7','P6yy8','P6yy9','P6yyA','P6yyB','P6yyC','P6yyD','P6yyz','P6z..','P6z0.','P6z1.','P6z10','P6z11','P6z1z','P6z2.','P6zz.','P7224','P72z0','P74..','P740.','P7401','P740z','P741.','P7410','P7411','P741z','P742.','P74z.','P74z2','P74z3','P74z4','P74zz','PJ3y0','PK35.','PKy71','PKyG.','PKyz1','Pyu20','Pyu21','Pyu22','Pyu23','Pyu24','Pyu25','Pyu29','Pyu2F','Pyu2G','Pyu2H','Q48y1','Q490.','Q491.','Q494.','R059.','R2y10','S71..','S710.','S7100','S7101','S7102','S7103','S710y','S710z','S711.','S7110','S7111','S7112','S7113','S711y','S711z','S714.','S7140','S7141','S71z.','SP...','SP00.','SP002','SP003','SP004','SP084','SP085','SP11.','SP110','SP111','SP112','SP11z','SP2y1','Syu2G','Ua1sS','X0007','X00mm','X011a','X011b','X011c','X011d','X011e','X011f','X011g','X011h','X011i','X011n','X011o','X011U','X011V','X011W','X011X','X011Y','X011Z','X102Y','X2003','X2004','X2006','X2007','X2008','X2009','X200a','X200A','X200b','X200B','X200C','X200d','X200D','X200e','X200E','X200f','X200g','X200G','X200h','X200H','X200i','X200I','X200j','X200J','X200k','X200K','X200l','X200L','X200m','X200M','X200n','X200N','X200o','X200O','X200p','X200P','X200Q','X200r','X200R','X200s','X200S','X200t','X200T','X200u','X200U','X200v','X200V','X200w','X200W','X200x','X200X','X200y','X200Y','X200z','X200Z','X2010','X2011','X2013','X2015','X2017','X2018','X2019','X201a','X201b','X201B','X201c','X201C','X201d','X201D','X201e','X201f','X201F','X201g','X201G','X201h','X201H','X201I','X201L','X201M','X201N','X201P','X201Q','X201R','X201T','X201u','X201U','X201V','X201W','X201X','X201Y','X201Z','X2021','X2024','X2025','X2026','X2027','X2028','X2029','X202a','X202A','X202B','X202c','X202C','X202d','X202D','X202e','X202E','X202f','X202F','X202G','X202h','X202H','X202i','X202I','X202j','X202J','X202k','X202K','X202l','X202L','X202m','X202M','X202n','X202N','X202O','X202p','X202P','X202q','X202Q','X202r','X202R','X202s','X202S','X202t','X202T','X202u','X202U','X202v','X202V','X202w','X202W','X202X','X202Y','X202Z','X203e','X203E','X203H','X203k','X203v','X204f','X204q','X204x','X205P','X207c','X208s','X208t','X208u','X208v','X208V','X208x','X208y','X208z','X2090','X2091','X2092','X40AU','X40AV','X50Jx','X708p','X70EO','X70EP','X70MZ','X70ON','X74dy','X776j','X776R','X776T','X776w','X776x','X777a','X777c','X777d','X777f','X777g','X777h','X777i','X777J','X777k','X777l','X777o','X777p','X777q','X777r','X777T','X777u','X777v','X777w','X777W','X777x','X777y','X777Y','X777z','X777Z','X7780','X7782','X7783','X7784','X7785','X7786','X7787','X7788','X778A','X778D','X778E','X778G','X778h','X778j','X778Q','X778W','X778X','X779D','X779u','X779v','X779w','X779x','X779y','X77A0','X77Ab','X77Ae','X77Af','X77Ag','X77Ah','X77AN','X77AP','X77AW','X77AX','X77AY','X77Ba','X77Bb','X77BB','X77BC','X77BD','X77Be','X77BE','X77Bf','X77Bg','X77Bh','X77Bi','X77Bj','X77BJ','X77Bk','X77BK','X77Bl','X77Bm','X77Bn','X77Bo','X77BO','X77Bp','X77Bq','X77BQ','X77Br','X77Bs','X77BS','X77Bt','X77BT','X77BU','X77Bv','X77BV','X77Bw','X77BW','X77Bx','X77BX','X77By','X77Bz','X77BZ','X77C0','X77C1','X77C2','X77C3','X77C4','X77C7','X77C8','X77C9','X77CA','X77CB','X77ta','X77td','X77te','X77tf','X77tg','X77th','X77ti','X77tj','X77tk','X77tl','X77tm','X77tn','X77to','X77tp','X77tq','X77tr','X77tt','X77tu','X77tv','X77tV','X77tw','X77tW','X77tx','X77tX','X77ty','X77tY','X77tz','X77tZ','X77u0','X77u5','X77u9','X77uA','X77uB','X77uE','X77uf','X77uF','X77ug','X77uG','X77uH','X77uI','X77uJ','X77uL','X77uM','X77uN','X77uo','X77up','X77uq','X77ur','X77us','X77ut','X77uu','X77uv','X77uw','X77ux','X77uX','X77uy','X77uz','X77v0','X77v1','X77v2','X77v3','X77v4','X77v5','X77v6','X77v7','X77v8','X77v9','X77va','X77vA','X77vb','X77vB','X77vc','X77vC','X77vd','X77vD','X77ve','X77vE','X77vf','X77vF','X77vg','X77vh','X77vH','X77vi','X77vI','X77vj','X77vJ','X77vK','X77vL','X77vm','X77vM','X77vn','X77vN','X77vo','X77vO','X77vp','X77vP','X77vQ','X77vr','X77vR','X77vs','X77vt','X77vT','X77vu','X77vU','X77vv','X77vV','X77vw','X77vW','X77vx','X77vX','X77vY','X77vz','X77vZ','X77w0','X77w1','X77w2','X77w3','X77w4','X77w5','X77w6','X77w7','X77w8','X77w9','X77wa','X77wb','X77wB','X77wc','X77wD','X77we','X77wE','X77wf','X77wF','X77wg','X77wh','X77wH','X77wi','X77wI','X77wj','X77wJ','X77wk','X77wl','X77wL','X77wm','X77wM','X77wn','X77wN','X77wo','X77wO','X77wp','X77wq','X77wQ','X77wr','X77ws','X77wS','X77wt','X77wT','X77wu','X77wU','X77wv','X77wV','X77ww','X77wW','X77wx','X77wX','X77wy','X77wY','X77wz','X77wZ','X77x0','X77x1','X77x2','X77x3','X77x4','X77x5','X77x6','X77x7','X77x8','X77x9','X77xa','X77xA','X77xb','X77xB','X77xc','X77xC','X77xd','X77xD','X77xe','X77xE','X77xf','X77xF','X77xg','X77xG','X77xh','X77xH','X77xi','X77xI','X77xj','X77xJ','X77xk','X77xK','X77xl','X77xL','X77xm','X77xM','X77xn','X77xN','X77xo','X77xO','X77xp','X77xP','X77xq','X77xQ','X77xr','X77xR','X77xs','X77xS','X77xt','X77xT','X77xu','X77xU','X77xv','X77xV','X77xw','X77xW','X77xx','X77xX','X77xy','X77xY','X77xz','X77xZ','X77y0','X77y1','X77y2','X77y3','X77y4','X77y5','X77y6','X77y7','X77y8','X77y9','X77ya','X77yA','X77yb','X77yB','X77yc','X77yC','X77yd','X77yD','X77ye','X77yE','X77yF','X77yg','X77yG','X77yh','X77yH','X77yi','X77yI','X77yj','X77yJ','X77yk','X77yK','X77yl','X77yL','X77ym','X77yn','X77yN','X77yo','X77yO','X77yp','X77yP','X77yq','X77yQ','X77yr','X77yR','X77ys','X77yS','X77yt','X77yT','X77yu','X77yU','X77yv','X77yV','X77yw','X77yW','X77yx','X77yX','X77yy','X77yY','X77yz','X77yZ','X77z0','X77z1','X77z2','X77z3','X77z4','X77z5','X77z6','X77z7','X77z8','X77z9','X77za','X77zA','X77zb','X77zB','X77zC','X77zD','X77ze','X77zE','X77zf','X77zF','X77zg','X77zG','X77zh','X77zH','X77zi','X77zI','X77zj','X77zJ','X77zk','X77zK','X77zL','X77zm','X77zM','X77zn','X77zN','X77zo','X77zO','X77zp','X77zP','X77zQ','X77zr','X77zR','X77zs','X77zS','X77zT','X77zu','X77zU','X77zv','X77zV','X77zw','X77zx','X77zy','X77zY','X77zz','X7800','X7801','X780a','X780g','X780h','X780j','X780Z','X7815','X7816','X781c','X781d','X781e','X781f','X781o','X781p','X781q','X781r','X781s','X781t','X781u','X781v','X781w','X781x','X781y','X781z','X7820','X7821','X7822','X7823','X7824','X7825','X7826','X7827','X7828','X7829','X782A','X782B','X782C','X782D','X782E','X782F','X782G','X782H','X782I','X782J','X782K','X782L','X782M','X782N','X782O','X78kZ','X78nn','X78no','X78Qf','X90DE','XA06l','XA06m','XA06n','Xa07f','Xa07g','Xa07h','Xa07j','Xa07k','Xa07l','XA0Ae','Xa0C4','Xa0Ct','Xa0D0','Xa0D3','Xa0k6','Xa0kU','Xa0kY','Xa0lU','Xa0TT','Xa0TU','Xa0tx','Xa0ue','Xa0YL','Xa1dP','Xa1dQ','Xa1dR','Xa1fq','Xa1JD','Xa1nk','Xa1nl','Xa2Bq','Xa2E8','Xa2jV','Xa3A7','Xa3fK','Xa3fL','Xa3fM','Xa3fN','Xa3fO','Xa3fP','Xa3fR','Xa3fS','Xa3fT','Xa3fU','Xa3hW','Xa3ki','Xa3kx','Xa3ru','Xa6aj','Xa6av','Xa6bf','Xa6bg','Xa6Yx','Xa6Zk','Xa7nH','Xa7nI','Xa7nJ','Xa7rt','Xa7rx','Xa7tF','Xa7tG','Xa7tH','Xa8Dm','Xa9Bp','Xa9C7','Xa9Cm','Xa9Cn','Xa9EK','XaAC3','XaAzi','XaB0g','XaBdb','XaBDJ','XaBL1','XaBL2','XaBL4','XaBtO','XaBtP','XaBwi','XaC13','XaC2K','XaC2L','XaC2P','XaD2b','XaD2d','XaD2e','XaD2f','XaD2g','XaD2h','XaD2i','XaD3G','XaD3H','XaD3I','XaD3K','XaDki','XaDo0','XaDv6','XaDyG','XaDyH','XaDyJ','XaDyK','XaDyL','XaEga','XaEgY','XaEgZ','XaEKN','XaEXt','XaFsG','XaFsH','XaFsI','XaG1Q','XaI9b','XaI9d','XaI9k','XaI9x','XaI9y','XaI9z','XaIA0','XaIA1','XaIA3','XaIA4','XaIA5','XaIf1','XaIFW','XaIIq','XaIkr','XaImX','XaINF','XaIpn','XaIPz','XaIQx','XaIr0','XaItG','XaIwM','XaIwY','XaIya','XaIyb','XaIyY','XaIyZ','XaJsw','XaJWB','XaJX0','XaKuW','XaKXc','XaKyd','XaL3O','XaLbB','XaLBn','XaLBo','XaLQq','XaLSE','XaMK5','XaMK6','XaMmb','XaMmc','XaMme','XaMR5','XaMR6','XaMrB','XaMTp','XaMTq','XaMts','XaMVG','XaMVH','XaMVJ','XaMVK','XaMws','XaNRA','XaNUf','XaO4o','XaO5n','XaOc8','XaOfa','XaOfF','XaOft','XaOgX','XaOiT','XC05C','XC0bX','XC0Dd','XC0E6','XC0E7','XC0fE','XC0I6','XC0Kv','XC0MC','XC0ZV','XE0b7','XE0Jj','XE0jv','XE0o3','XE0oG','XE0oH','XE0oI','XE0Rp','XE0tf','XE0Ua','XE0Ue','XE0Uh','XE0Ui','XE0Uj','XE0Uk','XE0Un','XE0Us','XE0Ut','XE0Uw','XE0Ux','XE0Uy','XE0UY','XE0Uz','XE0UZ','XE0V0','XE0V1','XE0V2','XE0V3','XE0V4','XE0V5','XE0V6','XE0V7','XE0V8','XE0V9','XE0VA','XE0VB','XE0VC','XE0VD','XE0VE','XE0Vo','XE0Vq','XE0Vs','XE0Vu','XE0Vw','XE0Vy','XE0vz','XE0w0','XE0W0','XE0W2','XE0W4','XE0W6','XE0Wa','XE0WA','XE0Wc','XE0WC','XE0We','XE0WE','XE0Wg','XE0WG','XE0Wi','XE0Wk','XE0Wm','XE0WM','XE0Wo','XE0Wq','XE0WQ','XE0Ws','XE0WS','XE0Wu','XE0WU','XE0WW','XE0WY','XE0yQ','XE1ig','XE1KA','XE1KB','XE1KC','XE1KD','XE1KE','XE1KF','XE1KG','XE1KH','XE1KI','XE1KJ','XE1KK','XE1KO','XE1KS','XE1KT','XE1m9','XE1NA','XE1NC','XE1NE','XE1NG','XE1p8','XE1p9','XE1qJ','XE1tl','XE2aA','XE2bE','XE2QF','XE2QG','XE2Qi','XE2Rv','XE2uV','XE2vz','XM00K','XM0Bd','XM0rN','XM0rO','XM0rP','XM0rS','XM0tK','XM0v4','XM1GB','XM1Ji','XM1Jw','XM1Jx','XM1Jy','XM1Jz','XM1KA','XM1KN','XM1Py','XM1Qk','XM1Ql','XM1Qo','XM1Qp','XM1Xd','XM1XU','XM1Xy','XM1XY','XM1Y7','XSDT6','XSDVN','XU0Ft','XU0hC','XU0Sg','XU0tV','XU0xr','XU1aa','XU1C8','XU1d0','XU1Dt','XU1Fl','XU1ZY','XU2Lo','XU2Lt','XU2Lu','XU2Ma','XU2Mb','XU2Md','XU2Me','XU2Mh','XU2no','XU2qx','XU2qy','XU2qz','XU2rO','XU2vD','XU2wE','XU33X','XU360','XU37j','XU3Ea','XU3iO','XU42w','XU48m','XU5HV','XU5sV','XU5wu','XU5x5','XU5y8','XU5yJ','XU5yK','XU5zN','XU5zO','XU5zP','XU61e','XU61f','XU631','XU632','XU6og','XU6oh','XU6oi','XU6ok','XU6sb','XU6sk','XU6uH','XU6Wt','XU6x0','XU71H','XU77n','XU7AF','XU7AG','XU7av','XU7bD','XU7Cd','XU7Ce','XU7Cl','XU7Cm','XU7CV','XU7CW','XU7CX','XU7CY','XU7DF','XU7ea','XU7nF','XU7nM','XU7ry','XU7XF','XU7Y8','XU7Y9','XU82b','XU83j','XU8A0','XU8Az','XU8cf','XU8Dk','XU8fa','XU8FS','XU8g7','XU8gf','XU8GI','XU8IG','XU8M3','XU8nm','XU8nV','XU8oA','XU8SS','XU8TF','XU8zs','XU984','XU9aR','XU9au','XU9Cu','XU9Ed','XU9em','XU9f2','XU9Gi','XU9JV','XU9ks','XU9oE','XU9qk','XU9SQ','XU9tI','XU9tP','XU9vb','XU9x1','XU9Zs','XUA31','XUaa9','XUaaA','XUAAl','XUADH','XUAfX','XUAGK','XUAgM','XUAh4','XUAJU','XUAl7','XUaLd','XUaLQ','XUaLR','XUaLT','XUaLU','XUaLV','XUaLW','XUaLX','XUaOj','XUAOu','XUaPb','XUAsI','XUAvZ','XUAW1','XUAw2','XUAwb','XUawW','XUawX','XUAx3','XUaZd','XUB0a','XUB4M','XUB8F','XUB9s','XUBAY','XUBEl','XUBfF','XUBfh','XUBGv','XUBH1','XUBHW','XUbLj','XUBlp','XUBLs','XUBMS','XUBnr','XUBnY','XUBOb','XUBpo','XUbRT','XUBsj','XUBTC','XUBVb','XUBvt','XUC0g','XUC0P','XUC1J','XUc6s','XUc7T','XUc7U','XUc7V','XUC8V','XUC9H','XUC9M','XUCcQ','XUCD3','XUCiX','XUCJe','XUCKB','XUCKH','XUcnm','XUcnn','XUcno','XUCno','XUcnw','XUcnx','XUco7','XUcoN','XUCoQ','XUCp6','XUCQY','XUcRi','XUcRj','XUcRk','XUcRl','XUcRm','XUcRn','XUcRr','XUCrs','XUcRX','XUct0','XUCV7','XUCVo','XUCVp','XUCvY','XUCw7','XUCWn','XUcWw','XUcWy','XUcWz','XUcXu','XUCXz','XUcYH','XUCZ1','XUCz4','XUCZu','XUd0G','XUd0H','XUD45','XUD6y','XUD7U','XUD80','XUD9q','XUdB0','XUdB5','XUdB7','XUdB8','XUdB9','XUDB9','XUdBA','XUdBB','XUdBC','XUdBD','XUdBL','XUDbP','XUdcY','XUdcZ','XUDDA','XUDdd','XUDEL','XUDFy','XUDi9','XUDiR','XUDjM','XUDKF','XUDKk','XUDkn','XUDl6','XUDMD','XUdMI','XUdMx','XUDQ1','XUDqH','XUDR7','XUdrC','XUDRH','XUDSC','XUDt8','XUDuB','XUDWn','XUDxe','XUDXF','XUdxW','XUdxX','XUDxX','XUDyE','XUdyv','XUdyw','XUE16','XUE72','XUE73','XUE7L','XUE9C','XUE9g','XUeag','XUEBa','XUEbK','XUeBo','XUEbW','XUECM','XUeCv','XUEf4','XUEGD','XUEhv','XUeiP','XUeiQ','XUEKU','XUELH','XUELj','XUEoE','XUEss','XUeTk','XUeXg','XUExo','XUEXv','XUEYW','XUEZ6','XUF0N','XUF19','XUF1G','XUf34','XUf35','XUf37','XUf38','XUF3p','XUf3X','XUF4U','XUF8G','XUf9G','XUFbt','XUfcC','XUfcq','XUfdz','XUfeL','XUfEW','XUfG8','XUfgo','XUfHj','XUfhN','XUfHW','XUfiF','XUFIh','XUFii','XUFil','XUfIu','XUFiu','XUFMi','XUFMm','XUfmT','XUfmz','XUfNK','XUfOI','XUfOj','XUfp0','XUFQ1','XUfqP','XUfqQ','XUFqR','XUfQs','XUfqw','XUfQy','XUFR0','XUFrO','XUfsP','XUftG','XUfTn','XUFTX','XUfUM','XUFut','XUFyL','XUfyT','XUfYt','XUfZK','XUfzu','XUG2n','XUg2R','XUG3E','XUG3M','XUg41','XUg4e','XUG4s','XUG7G','XUg7J','XUg7p','XUg7Q','XUg7r','XUg83','XUg9V','XUGa1','XUGbU','XUgBy','XUgC6','XUGCk','XUgCv','XUgdC','XUgdF','XUgDP','XUge2','XUgEl','XUgeP','XUgeQ','XUgFM','XUgG6','XUGGL','XUggs','XUGh2','XUgJi','XUgJI','XUGJK','XUgJO','XUgJP','XUgL7','XUgLX','XUGmC','XUgoe','XUGOJ','XUGPG','XUGPQ','XUgqn','XUgQS','XUgQX','XUgQY','XUGsq','XUGT2','XUgU0','XUGum','XUGuP','XUgVq','XUgYb','XUGYb','XUGZ5','XUH1p','XUh2n','XUh3v','XUH5D','XUh6K','XUH73','XUH74','XUHaO','XUhAu','XUHBm','XUhBN','XUHCA','XUhDh','XUHF8','XUHir','XUHjA','XUHKn','XUHOG','XUhoh','XUHoU','XUHp1','XUhpS','XUHQh','XUHql','XUHqM','XUHqS','XUHRo','XUHSN','XUHSw','XUHsx','XUHTA','XUHud','XUHUL','XUHvG','XUHXc','XUHy5','XUhyJ','XUHzu','XUI1v','XUI5T','XUI6y','XUI7E','XUI8u','XUi9p','XUI9r','XUIa7','XUIad','XUIaR','XUICL','XUiCP','XUiCu','XUICW','XUiD9','XUIDu','XUIe5','XUiEF','XUIFF','XUIfH','XUIFM','XUiJ7','XUiLw','XUIPW','XUiST','XUITd','XUIW2','XUIys','XUIz6','XUJBC','XUJbD','XUJBT','XUJca','XUJCx','XUJdm','XUJeG','XUJi3','XUJLA','XUJld','XUJr0','XUJrd','XUJSg','XUJT2','XUJWw','XUJx0','XUJze','XUK1n','XUK4I','XUK6s','XUKb5','XUKbn','XUKcl','XUKdJ','XUKEw','XUKFP','XUKgl','XUKKb','XUKKe','XUKLT','XUKMB','XUKms','XUKmU','XUKoW','XUKpr','XUKqm','XUKsd','XUKtE','XUKTu','XUKuC','XUKuU','XUKuz','XUKUz','XUKwI','XUKYW','XUKyy','XUL17','XUL40','XUL4f','XUL76','XULc3','XULCB','XULeF','XULg9','XULhk','XULi7','XULjl','XULjm','XULk2','XULKn','XULkW','XULnZ','XULpr','XULr3','XULTb','XULtO','XULX6','XULXt','XULyW','XULZW','XUM1z','XUM2S','XUM6M','XUMAF','XUMBO','XUMBV','XUMcw','XUMDS','XUMeH','XUMg4','XUMhe','XUMJN','XUMSw','XUMUc','XUMVe','XUMVE','XUMvT','XUMWF','XUMxi','XUMyA','XUN06','XUN2d','XUN7E','XUN7x','XUN9E','XUNaM','XUNAx','XUNB1','XUNb4','XUNc1','XUNCC','XUNCn','XUNCO','XUNEM','XUNFM','XUNi0','XUNJU','XUNK4','XUNk6','XUNl7','XUNmM','XUNmN','XUNmO','XUNmP','XUNmQ','XUNpg','XUNpW','XUNqi','XUNQy','XUNre','XUNrg','XUNrM','XUNs0','XUNs4','XUNsA','XUNsC','XUNsv','XUNtk','XUNtr','XUNts','XUNtT','XUNtu','XUNtV','XUNum','XUNUo','XUNw4','XUNw6','XUNwH','XUNws','XUNwU','XUNYy','XUNza','XUNzb','XUNzc','XUNzU','XUNzZ','XUO1D','XUO4m','XUO5R','XUO6o','XUO9w','XUOBx','XUOC0','XUOED','XUOEy','XUOIK','XUOIL','XUOKD','XUOKH','XUOL1','XUOMZ','XUOQe','XUORZ','XUOTh','XUPpN','XUPpU','XUPQu','XUS9y','XUSaS','XUScX','XUSdP','XUSen','XUSf4','XUSgl','XUSiK','XUSjZ','XUSKO','XUSKP','XUSKQ','XUSKR','XUSkv','XUSmN','XUSQ7','XUSqa','XUSqv','XUSRl','XUSRU','XUSry','XUSSI','XUSSJ','XUStg','XUSU1','XUSwL','XUSXf','XUSYE','XUSZN','XUTia','XUTis','XUTlM','XUTlP','XUTof','XUTot','XUToX','XUTpA','XUTpB','XUTt9','XUTvc','XUTvd','XUTve','XUTvf','XUTvg','XUTvh','XUTvk','XUTvl','XUTvm','XUTvn','XUTvo','XUTvp','XUTvs','XUTvw','XUTvx','XUTvy','XUTvz','XUTw0','XUTw1','XUTw2','XUTw3','XUTw4','XUTw5','XUTw6','XUTw7','XUU0a','XUU0b','XUU0c','XUU0d','XUU0e','XUU0i','XUU0W','XUU0X','XUU0Y','XUU0Z','XUU37','XUU3j','XUU3k','XUU5v','XUU72','XUUhh','XUUSX','XUUu9','XUUuA','XUUuB','XUUuC','XUUuD','XUUuE','XUUuF','XUUuG','XUUuH','XUUuI','XUUuJ','XUUuK','XUUuL','XUUuM','XUUuN','XUUve','XUUY7','XUUY8','XUUYh','XUUZJ','XUUZK','XUW5l','XUW5m','XUW5n','XUW5o','XUW5p','XUW69','XUW6b','XUW6c','XUW6d','XUW6O','XUW6S','XUW6W','XUWdL','XUWOu','XUX2w','XUYeE','XUYeq','XUYij','XUYj8','XUYjY','XUYmD','XUYmI','XUYmU','XUYPw','XUYQz','XUYRH','XUYsl','XUYX7','XUZHF','XUZHQ','XUZiC') and j.EntryDate>@p5DateLimit1 ) ) and PatientID in (select distinct PatientID from Patients where PatientID in (select distinct j.PatientID from Journal j inner join (select PatientID, MAX(EntryDate) as max_entrydate from Journal where ReadCode in ('','f1...','f13..','f221.','f25W.','fw2..','x006f','x05d1','x05d2','X797a','X797n','XU6gD','XU6gE','XU6gF','XU6gH','XU6gI','XU6gJ','XU6gK','XU6gL','XU6gM','XU6gN','XU6gQ','XUbmy','XUbxv','XUby2','XUby3','XUby4','XUc1k','XUc2i','XUcdE','XUcdF','XUcdG','XUd1d','XUd1e','XUd1f','XUd1g','XUd1h','XUd1i','XUd1j','XUd1k','XUd1l','XUd1m','XUd1n','XUd1o','XUd1p','XUd1q','XUd1r','XUd1s','XUd1t','XUdPn','XUdPo','XUdSP','XUe2f','XUe6n','XUe6o','XUfQE','XUfrN','XUgJm','XUhyH','XUhyI','XUUng','XUUnh','XUUni','XUUnj','XUUnm','XUUns','XUUnv','XUUo4','XUUo5','XUUo6','XUUo7','XUUo8','XUUo9','XUUoA','XUUoB','XUUoC','XUUoD','XUUoE','XUUoF','XUUoG','XUUoH','XUUoI','XUUoj','XUUoJ','XUUoK','XUUoL','XUUom','XUUoM','XUUoN','XUUoO','XUUoP','XUUoQ','XUUoR','XUUoS','XUUoT','XUUoU','XUUox','XUUpF','XUUpG','XUUpH','XUUpI','XUUpJ','XUUpO','XUVCz','XUVKo','XUWCm','XUWCn','XUXCo','XUXCq','XUXk7','XUZ2d','XUZ2e','XUZ2h','XUZ2o','XUZ2O','XUZ2q','XUZ39','XUZ3A','XUZ3b','XUZ3e','XUZ3I','XUZ3j','XUZ3n','XUZ4A','XUZ4m','XUZ4Q','XUZ4t','XUZ5B','XUZ5E','XUZ63','XUZ6d','XUZ6h','XUZ6N','XUZ6V','XUZ7F','XUZ7G','XUZ7M','XUZ8D','XUZ8J','XUZ8o','XUZ8t','XUZ8V','XUZ8W','XUZ8X','XUZ90','XUZ9j','XUZ9Q','XUZ9R','XUZ9v','XUZ9y','XUZA9','XUZAZ','XUZBh','XUZBH','XUZBW','XUZC5','XUZCa','XUZCb','XUZCj','XUZCP','XUZCw','XUZCY','XUZD5','XUZD9','XUZDF','XUZDO','XUZHp','za0le','za0lg','za0Lk','za0Ll','za0Lm','za0Ln','za0We','za0Ze','za0Zf','za10q','za12o','za13I','za1Aj','za1D3','za1D4','za1D5','za1FJ','za1HR','za1HS','za1I8','za1I9','za1IA','za1In') and EntryDate<@p6DateLimit1 group by PatientID) x on j.PatientID = x.PatientID and j.EntryDate=x.max_entrydate where j.ReadCode in ('','f1...','f13..','f221.','f25W.','fw2..','x006f','x05d1','x05d2','X797a','X797n','XU6gD','XU6gE','XU6gF','XU6gH','XU6gI','XU6gJ','XU6gK','XU6gL','XU6gM','XU6gN','XU6gQ','XUbmy','XUbxv','XUby2','XUby3','XUby4','XUc1k','XUc2i','XUcdE','XUcdF','XUcdG','XUd1d','XUd1e','XUd1f','XUd1g','XUd1h','XUd1i','XUd1j','XUd1k','XUd1l','XUd1m','XUd1n','XUd1o','XUd1p','XUd1q','XUd1r','XUd1s','XUd1t','XUdPn','XUdPo','XUdSP','XUe2f','XUe6n','XUe6o','XUfQE','XUfrN','XUgJm','XUhyH','XUhyI','XUUng','XUUnh','XUUni','XUUnj','XUUnm','XUUns','XUUnv','XUUo4','XUUo5','XUUo6','XUUo7','XUUo8','XUUo9','XUUoA','XUUoB','XUUoC','XUUoD','XUUoE','XUUoF','XUUoG','XUUoH','XUUoI','XUUoj','XUUoJ','XUUoK','XUUoL','XUUom','XUUoM','XUUoN','XUUoO','XUUoP','XUUoQ','XUUoR','XUUoS','XUUoT','XUUoU','XUUox','XUUpF','XUUpG','XUUpH','XUUpI','XUUpJ','XUUpO','XUVCz','XUVKo','XUWCm','XUWCn','XUXCo','XUXCq','XUXk7','XUZ2d','XUZ2e','XUZ2h','XUZ2o','XUZ2O','XUZ2q','XUZ39','XUZ3A','XUZ3b','XUZ3e','XUZ3I','XUZ3j','XUZ3n','XUZ4A','XUZ4m','XUZ4Q','XUZ4t','XUZ5B','XUZ5E','XUZ63','XUZ6d','XUZ6h','XUZ6N','XUZ6V','XUZ7F','XUZ7G','XUZ7M','XUZ8D','XUZ8J','XUZ8o','XUZ8t','XUZ8V','XUZ8W','XUZ8X','XUZ90','XUZ9j','XUZ9Q','XUZ9R','XUZ9v','XUZ9y','XUZA9','XUZAZ','XUZBh','XUZBH','XUZBW','XUZC5','XUZCa','XUZCb','XUZCj','XUZCP','XUZCw','XUZCY','XUZD5','XUZD9','XUZDF','XUZDO','XUZHp','za0le','za0lg','za0Lk','za0Ll','za0Lm','za0Ln','za0We','za0Ze','za0Zf','za10q','za12o','za13I','za1Aj','za1D3','za1D4','za1D5','za1FJ','za1HR','za1HS','za1I8','za1I9','za1IA','za1In') and j.EntryDate<@p6DateLimit1 ) ) and PatientID in (select distinct PatientID from Patients where PatientID in (select distinct j.PatientID from Journal j inner join (select PatientID, MAX(EntryDate) as max_entrydate from Journal where ReadCode in ('.22K.','22K..','X76CN','X76CO','X76CP','XUHPV','XUSxA') group by PatientID) x on j.PatientID = x.PatientID and j.EntryDate=x.max_entrydate where j.ReadCode in ('.22K.','22K..','X76CN','X76CO','X76CP','XUHPV','XUSxA') and j.CodeValue<=@p7CodeValue1 ) ) and PatientID not in (select distinct PatientID from Patients where PatientID in (select distinct j.PatientID from Journal j where j.ReadCode in ('Xa5sa','Xa5sb','Xa5sc','Xa5sd','Xa5se','Xa5sf','Xa5sg','Xa5sh','Xa5sH','Xa5si','Xa5sI','Xa5sj','Xa5sJ','Xa5sk','Xa5sK','Xa5sl','Xa5sL','Xa5sm','Xa5sM','Xa5sn','Xa5sN','Xa5so','Xa5sO','Xa5sp','Xa5sP','Xa5sq','Xa5sQ','Xa5sR','Xa5sS','Xa5sT','Xa5sU','Xa5sV','Xa5sW','Xa5sX','Xa5sY','Xa5sZ') ) )
Preserving Consent for Consent Local Health Community Integrated Health Record Essential Local Metadata SQL Study Recruitment Tool Bulk ETL with Anonymisation e-Lab email HTTPS e-Lab Anonymised Repository Researcher /Manager Clinician SQL HTTPS Study Protocol Designer Query Objects HTTPS Clinical Care Boundary Patient-Clinician Relationships HTTPS
1 Website Many uses Many users Common data Population focus
e-Lab Currency: Work Object Work Object (Research Object) Research protocol Statistical analysis scripts Data-sources Analysis-logs & notes VisibleValue-Adding Data-preparation scripts Figures/Graphics Working datasets Manuscripts References Slides Socially Stimulating Science & Service Intelligence, In-silico
Data Sharing: Contextualised Local Community Integrated Health Record Collaboration with othertrusted e-Labs Depersonalised records SharedWork object Local uses Each locality can police the passage of objects at its boundary. Changes to objects are fully auditable.
SOA for Borrowing Strength Federation of e-Lab communities shares work objects without remote data warehousing Strength is borrowedand costs reducedby pooling expertise
Harness Heterogeneity Diversity of settings (disease-risk & treatment)across regionscould be harnessedto tease out evidencewith smaller samplesfaster than at present Ref: Thompson et al. Statistical methods for the time-to-event analysis of individual participant data from multiple epidemiological studies. International Journal of Epidemiology 2010;39:1345–1359
Toward m-Health: n-of-1 Gateway • Dark arease.g. adherence vs. antibiotic resistance • Current signal“how did you get on with your medicine?...” • m-Health • Smartphone app. with drug • Quality of life scores • Position and acceleration • Watch/plaster • Temperature • Pulse Patient/Citizen Co-produced Health Record Algorithm/ System Clinician/ Health Ally
Med-App Ecosystem:Reducing Schizophrenia Relapse Note: EU Directive 2007/47 (algorithm = medical device)
Conclusion • Current healthcare evidencepredicts less than 30% of true outcomes • Smart networking of data, models and expertise across environments is key tohealth system adaptation • Payer, provider, industry andacademia need to co-adaptin a social machine of R&D Rousseau: “Social Contract” Pre-competitive alliance framework