Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am starena on github.
  • I am starena (https://keybase.io/starena) on keybase.
  • I have a public key whose fingerprint is 33CE C902 4A3C 3625 A3EF D64E FE18 038D 7B65 CBCA

To claim this, I am signing this object:

var HL7Dictionary = require('hl7-dictionary');
// Use v 2.4 dictionnary
var dictionary = HL7Dictionary.definitions['2.4'];
// lookup each kind of message
var msgArray = Object.keys(dictionary.messages).map(function(key){ return dictionary.messages[key]; });
msgArray.forEach(message => {
console.log("Message " + message.name + " - " + message.desc);