Skip to content

Instantly share code, notes, and snippets.

@pacharanero
pacharanero / openehr-EL-as-ruby.rb
Last active September 26, 2018 08:58
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