Since the precise cause of Bertrand's problems is still unknown, we have to take a scientific view on Bertrand's treatment.
To put it a little too dispassionately, Bertrand, to us, is a laboratory experiment.
We track all of his activities, all of his inputs and all of his outputs.
And, we look for patterns and correlations. Mostly, we look at the effects of things like changes in diet, medication levels and sleeping patterns to see if they have an effect on his seizure levels. It's important to log everything so that we don't succumb to personal impressions.
Until very recently, we did all of this with pencil and paper logs and an occasional mass transcription into a spreadsheet.
This approach got to be tedious. We were always wondering where we'd last had the logbook. And typing up all that data was a real pain.
So, I created an iPhone/iPad/iPod Touch/web application for Bertrand's medical log. Now, whenever we're within reach of a cell phone, Bertrand's iPad or a computer, we have access to his medical log. The result has been a major quality of life improvement for us, and for Bertrand.
We now have all of his log data in an easily queried form, and we have it with us at all times.
Here's a screen shot of the app on the iPhone:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHrsQ35F2njqJnXXw7pkapV6lE7x358y8Ozij3Se8J__d47kMsb-fJrvvEO1BljRG-TLYM_zGPJEDxSP05Wm2gb3h19RvmZ54aC_l8a5ZJuiaGwnRiR4AKr5fO6_lj6CbUaWv3NUKaOc8/s400/iPhoneSimulatorScreenshot_20100522_201316.png)
It's pretty simple. It's just a series of "events" by day. Each event has a time, a type and an amount associated with it. One feature I added during his ACTH treatment was a running calorie/fluid intake counter at the bottom of each day:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2PJHAn79PUr3VEkQahTkK4ASZHgWBrDNxPNBP1jjFqF8TmW2bKJipesapgCplcJhvLBv3xTGl_Duru2osuGF2AXRcBxobSMFHo_SZ-qcEbjeKVCn6knqgqEG8cQ9xBqfx_nZF1eOHfmI/s400/iPhoneSimulatorScreenshot_20100522_201346.png)
We discovered from this that Bertrand was drinking over 2 liters in fluids each day--twice his recommended level.
To speed data entry, when you click on the type of event, it gives you the option of any type of event that's happened within the last 3 days:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjy7VmzyDM1Z4a2Q9nyx-eLkEf3ATPOmnBK_6jslUrStexH5BU0K74qa65Gap1bBBst9qbPy8pX6DYhUBjTH-biJdOjGVp4oVGm8OPOasJOMrfyiG4lin5BD2HBLDoq6M8O8USBM9uozlg/s400/iPhoneSimulatorScreenshot_20100522_201428.png)
Since there's a small set of activities we track, we almost never have to do any typing on our iPhones, which makes it quick and easy to make log entries. By selecting an entry, we can change its time, and we can choose to duplicate it for right now, or delete it:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJ13Bg-hd0mQxmh7x_qpZPv-8spqLEQ_tC1sYFKqNAvHCX8t3jhDtFW72j0Zi7cAIV1vYnsfenxQL7k2lvdLKHguN710Rd66uUyLicdQE3pQnmcDKHc6aqXj8iaNXIz0WOxNuvpt4EX4k/s400/iPhoneSimulatorScreenshot_20100522_201518.png)
Finally, it looks great on the iPad, where we can see almost a day's worth of info at a time:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinD3x6RQ7LtcBuIIBo4rwlM7_6VUwcjL8oNJ7uvsTs3i-4v1IZ_MTywML7vJUOmd6DhyphenhyphenufJy-ppb6zF-_bnCOA6bnfEGuVXgfoac7qisLEkPkyKKrtb6hEc5WNdfJPIbOQEDGaS8ONw8c/s400/iPhoneSimulatorScreenshot_20100522_201714.png)
Last week, when I was in Washington, D.C., I found myself repeatedly checking the app on my phone to see how Bertrand was doing.
So, yeah, there's now an app for that.
[I wrote a post on my blog about
how to create native-looking iPhone apps in HTML, CSS and JavaScript if anyone is interested in the technical details; the source code is available there as well.]