F# Compilation Speed

Just recently, I was watching the fsharpConf2023. There was a very interesting talk from the CEO of Darklang, Paul Biggar. Darklang was originally created using OCaml. Later on they decided to switch to F# and the talk is about their experience with F#. Paul Biggar specifically discussed the goods and the bads of F# as a language to use in production. One of the comments that stood out to me was the compilation speed of F#.

Continue reading “F# Compilation Speed”

Loading

Feliz React components

I have been looking for a best practice to create a major single page application using the excellent Feliz library. I also heavily borrowed ideas from a book by the author of Feliz, Zaid Ajaj. The application in mind is intended to be the Dutch National Pediatric Emergency app used for acute interventions in pediatric medical emergencies. The main purpose of the application is to provide all calculations necessary based on age and weight of the patient.

Continue reading “Feliz React components”

Hoe kunnen wij kritisch zieke kinderen (nog) optimaal(-er) behandelen over 5 jaar?

Waarom?

Het ergste wat een ouder kan overkomen is dat zijn/haar kind kritisch levensbedreigend ziek wordt. De Kinder IC is dan vaak de laatste strohalm. Gelukkig wordt de behandeling steeds beter op de IC, maar daarmee worden ook de uitdagingen steeds groter. Een zeer belangrijke uitdaging daarbij is groeiende complexiteit van zorg die geleverd moet worden aan toenemend complexe patiënten.

Continue reading “Hoe kunnen wij kritisch zieke kinderen (nog) optimaal(-er) behandelen over 5 jaar?”

The case for a Generalized Computerized Provider Order Entry system: GenPRES

What is the problem?

To Err is Human. This is how a landmark paper from 2000 starts, recognizing that “the problem is not bad people in health care–it is that good people are working in bad systems that need to be made safer​*​. The consequences of errors can be described by adverse events. Adverse events that are related to medication and or drug/fluid incidents constitute about 20% of all types of adverse events, which makes this the second most common type of adverse event​†​.

Continue reading “The case for a Generalized Computerized Provider Order Entry system: GenPRES”

PICURED Pediatric Intensive Care Research Database

At the PICU (Pediatric Intensive Care Unit) of the University Medical Center Utrecht, we have been working the last years to make the data from our PDMS (Patient Data Management System) available for research. This has resulted in a multilayered system with generic possibilities to extract data and transform those data into a convenient flat table format (as described in a previous post).

Continue reading “PICURED Pediatric Intensive Care Research Database”

Feliz indentation and Fantomas

Indentation is important in F#, as it defines the code blocks and the separate code elements. Using Feliz to define a view, in a Fable.React application, the indentation matters just as much, and even more.

Fantomas is a beautiful tool that automatically formats your code and ensures consistency, also in indentation. But using code like with the Feliz library, there some serious drawbacks.

Continue reading “Feliz indentation and Fantomas”

Testing an Event Driven Design of a Resuscitation Protocol

In a previous post a described an event driven domain design to run a resuscitation protocol. I also mentioned that running this protocol in practice can have some pitfalls. One of these pitfalls is the use of a defibrillator that is required to apply a cardio conversion by delivering a shock. We have to test that this cannot ever occur.

Continue reading “Testing an Event Driven Design of a Resuscitation Protocol”

Event Driven Design of a Resuscitation app

For some time now I have been thinking of writing an app to help with running a resuscitation protocol. The resuscitation protocol as provided by the Dutch Advanced Pediatric Life Support is rather straight forward. Yet to adhere to this protocol in a stressful situation for a patient with a life threatening condition is a challenge to many physicians or health care providers.

Continue reading “Event Driven Design of a Resuscitation app”