Decoupling Code

One thing you realise the more you write code is that the less “moving parts” you have the better or to put it another way the more you put your moving parts into one contained place the better. Pushing items which change or where there will be change in the future to places you can manage is really useful.

Interfaces help a lot here and if you can talk interfaces and just pass the implementation of what you want to do to specific areas, you code is more maintainable.

Continue reading Decoupling Code

LINQ Trinkets

LINQ is probably one of the main reasons why I’ve stuck with C#. It’s such a powerful in memory data manipulation namespace in dotNet and the main reason why you can abbreviate tens of lines of code into one.

I’ve accumulated a few queries which I use regularly which I hope you may find useful and which I know I’ll be referring to again. Continue reading LINQ Trinkets

Integrating with Community Pharmacists

I’m just going to go out and say it. Community pharmacists are a very under utilised useful resource we have for commissioning care in the local area.  I actually see them fit a similar position to Information Technology (IT), medication is ubiquitous and infiltrates into all aspects of services which we provide and needs to be given appropriate focus to make an important impact just like IT. Pharmacists have this paid service called MURs (Medicines Use Review) and it kind of goes like this

Continue reading Integrating with Community Pharmacists

Reasons

GPs for a little while have been asked to compare each other’s outpatient referrals rates. The idea is that this peer to peer open review will help us understand each others referral patterns. For some reason and due to a natural competitive nature of human behaviour, I think we have these peer to peer figures put to us to try to get us to refer less into hospital outpatients .

Continue reading Reasons

The Answer is 42. So what is the question?

For those who know me, I frequently say the number 42 to my peers in relation to why patients get admitted to hospital. We know the answer, that they are in hospital but what is the question, what brought them in in the first place or more importantly can we predict their chance of admission in the future? Over the next few years we are going to get a deluge of companies claiming their risk stratification tool is the best thing since sliced bread and that their algorithms have prevented x% of admissions in the last year and saved the NHS this much. This blog is about my modest practical experiences on this matter for those commissioning groups who are looking at this area. In fact I don’t even discuss about any particular risk tool. Ironically this blog also won’t tell you the answer but give a few simple concepts and I hope some of it’s content will help you.

Continue reading The Answer is 42. So what is the question?

Circular Dependencies and Interfaces

I was told by someone that if you put a picture of a cat in your blog, you’ll get instant site views to the sound of “oos” and “aahs”. Unfortunately since the majority of my demographic is probably non-cat loving males, I’m not hedging my bets.

I thought I’d put this post up more for my benefit as a tutorial on interfaces, but I hope others will find it useful. The other reason is that although I’ve seen answers on the internet around this topic, I’ve not really been satisfied with the content which can lack code example code (possibly for the right reasons).

Continue reading Circular Dependencies and Interfaces

GP in the UK who knows a bit of IT