-
Falsy vs. Nullish Values in JavaScript
JavaScript has 8 falsy values, and 2 nullish values. The two nullish values are also falsy, but the rest of the falsy values are not nullish.
-
The Curious Case of Division By 7
It was a Monday. I was 14, and my math tuition class was in 2 hours. I was hurriedly going through the homework to be done. Yes, we’re all major procrastinators. My tutor had given 12 questions on division by integers. It was always 12 questions, because he could divide that number in many ways. […]
-
GSoC 2017 – Operation Theater Module Workflow Enhancements
This post originally appeared in OpenMRS Talk as my final presentation. Operation Theater Module Workflow Enhancements Mentors: Akshika Wijesundara & Harsha Kumara Code contribution Summary: GitHub There’s a certain pleasure in seeing people make use of your work. That’s one of the main driving forces behind the open source philosophy. It’s deeply satisfying to know […]
-
GSoC 2017 With OpenMRS – Operation Theater Module Workflow Enhancements
It’s a little hard to think 12 weeks have passed already. But as they say, all good things must come to an end. So goes Google Summer of Code 2017 with OpenMRS. This summer, I worked on the Operation Theater module to bring it up to speed with 2017. The project had 2 main targets. […]
-
GSoC 2017 – Week 11
Over the 11th week, I tried to refactor the code to use as many concepts as possible for data collection. I have added required concepts to be loaded via the module activator at module startup. Then I tested adding data to the system with the saved concepts. We’re now properly using concepts to store theater […]
-
GSoC 2017 – Week 10
We’re nearly done with all development now. This week I went through CIEL and identified existing concepts that I can use for data collection. It turns out that the whole set of data collected for past surgery history are available in CIEL. Instead of past procedures, they call it procedure history. There’s a set of […]
-
GSoC 2017 – Week 9
In-theater workflow enhancements includes collecting various data during the surgery is being performed. My original plan was to have a simple page that would show a timer and allow users to add various data as the surgery continues. But later I realized that it’s not practical to have someone typing at a computer during a […]
-
GSoC 2017 – Week 8
Wow, two months gone just like that. This week, my focus was on implementing the pre-theater data collection as per our discussions over the previous weeks. If you followed along, you’d remember that we decided to use concepts and obs groups to record the collected data. The first thing I did was getting the patient’s […]
-
GSoC 2017 – Week 7
During the 7th week, I got feedback on the mock-ups for pre-theater data collection. Just as I suspected, letting the user simply note data as free text was not the best idea. Although a simple note might be useful in communicating the patient history, it’s not usable for analytical purposes. I mean, a text paragraph […]
-
GSoC 2017 – Week 6
It’s the end of the 6th week and I’m happy to bring some UI to the mix. Up until now we’ve been working with the stuff that was made before. But now it’s time for new enhancements. The first part of it is enhancing the pre-theater workflow. Along that line, we discussed what data need […]