Skip to content

Instantly share code, notes, and snippets.

View pacharanero's full-sized avatar
💭
messing with a Discourse forum, somewhere

Marcus Baw pacharanero

💭
messing with a Discourse forum, somewhere
View GitHub Profile

Keybase proof

I hereby claim:

  • I am pacharanero on github.
  • I am pacharanero (https://keybase.io/pacharanero) on keybase.
  • I have a public key ASDc5uKNq_dgues2qo3MkS5M8xbQBzslpmZhlln0x4B75go

To claim this, I am signing this object:

@pacharanero
pacharanero / openehr-EL-as-ruby.rb
Last active February 13, 2025 12:17
An illustration of how OpenEHR Expression Language woud look as Ruby
# real ruby libraries you can use to save having to develop them anew
require 'iso-639'
# fictional ruby libraries that would add the missing datatypes
require 'icd10' # a library which handles ICD-10 bindings
require 'snomed-ct' # a library which handles SNOMED-CT bindings
require 'adl-binding' # a library which lets us handle ADL as a ruby object
require 'terminology' # some arbitrary terminology helper library
# openEHR-ELOM.breast_cancer_treatment.v1
#!/bin/bash -x
set -e
# COMMAND
# curl -Lks https://gist.github.com/pacharanero/7159a58a8e7334d4c3ea6a0c4aefe33f/raw | /bin/bash
update-ubuntu () {
export DEBIAN_FRONTEND=noninteractive
echo -e "\e[31mUpgrading Ubuntu.\n\n\n\e[0m"
sudo apt-get update