Cookie Consent by Free Privacy Policy Generator 📌 Turn FHIR Dosage into human readable text in your wanted language and much more with fhir-dosage-utils


✅ Turn FHIR Dosage into human readable text in your wanted language and much more with fhir-dosage-utils


💡 Newskategorie: Programmierung
🔗 Quelle: dev.to

TD;LR

import FhirDosageUtils from "fhir-dosage-utils";

// See https://jy95.github.io/fhir-dosage-utils/api/interface/Params for more info about config
const config = {
  language: "en",
};

// A FHIR Dosage example
const dosage = {
  timing: {
    repeat: {
      frequency: 1,
      period: 8,
      periodUnit: "h",
    },
  },
};

// Prepare utility class
let dosageUtils = await FhirDosageUtils.build(config);

// 1. You can turn dosage(s) to text
// display "1 time every 8 hours"
console.log(dosageUtils.fromDosageToText(dosage));
console.log(dosageUtils.fromMultipleDosageToText([dosage]));

// 2. You can extract part(s) of dosage, to your liking
// display "every 8 hours"
console.log(
  dosageUtils.getFields(dosage, "periodPeriodMax" /*, other parameters*/),
);

// 3. You can detect if Dosage objects contains only "sequential" instructions
// display "true"
console.log(dosageUtils.containsOnlySequentialInstructions([dosage]));

// 4. Turn this array of Dosage objects into a data structure useful to handle "sequential" and "concurrent" instructions (cf. "sequence" property).
// Display "[ [dosage] ]"
console.log(dosageUtils.groupBySequence([dosage]));

// ... And many things
// Read https://jy95.github.io/fhir-dosage-utils/api/class/default for more info

Key Features

  • Compatible: Works with Dosage R4 and Dosage R5
  • Extensibility Easily adaptable and extendable to accommodate your requirements
  • Internationalization Seamlessly extendable to other languages with i18next
  • Integration Ease Works effortlessly in various environments like the browser, Node.js, ...

Read more on : https://jy95.github.io/fhir-dosage-utils/

...

✅ Developing SMART On FHIR Applications with Auth0 and InterSystems IRIS FHIR Server - Introduction


📈 40.69 Punkte

✅ How to Convert WhatsApp Chat Into Text (.txt) Readable Format


📈 34.28 Punkte

✅ Transform Your Video Transcripts: From Raw to Readable Text


📈 31.64 Punkte

✅ 'Seamless' voice-to-text feature for Android will let you turn speech into text instantly


📈 30.3 Punkte

✅ make your JavaScript code more efficient, readable, and maintainable.(Part 1)


📈 30.03 Punkte

✅ Generating Random Human-Readable Slugs in JavaScript


📈 29.69 Punkte

✅ YouTube Is Introducing Handles, With Unique Human-Readable URLs For Every Channel


📈 29.69 Punkte

✅ YouTube Is Introducing Handles, With Unique Human-Readable URLs For Every Channel


📈 29.69 Punkte

✅ MongoDB: How To Convert BSON Documents to a Human-readable Format


📈 29.69 Punkte

✅ JavaScript more efficient and readable code for make a calculator with only 20 lines with


📈 26.92 Punkte

✅ How To Unroll A Long Twitter Thread Into A Readable Blog Post?


📈 26.79 Punkte

✅ Skype will now turn your voice messages into text messages


📈 25.92 Punkte

✅ How to make long functions more readable


📈 25.41 Punkte

✅ Use "cz-vinyl" package to commit more readable messages with one command


📈 25.41 Punkte

✅ 400 million exposed medical images, over 20,000 compromised payment card records, and much much more...


📈 24.9 Punkte

✅ Hate hub hacked, Cisco bugs squished, Bluekeep attacks begin, and much, much, more


📈 24.9 Punkte

✅ This week in KDE: Highlight changed settings and much much more


📈 24.9 Punkte











matomo

Datei nicht gefunden!