Samdastools
This is only useful for development around the Elexis(tm) electronic medical record system.
It converts between the Samdas format as used in Elexis' encounter entries, and standard formats HTML and Delta.
install
npm install --save @rgwch/samdastools
Usage
const Samdas=require('@rgwch/samdastools')
const deltaText=Samdas.toDelta(samdastext)
const htmlText=Samdas.toHtml(samdastext)
const samdas1=Samdas.fromHtml(htmltext)
const samdas2=Samdas.fromDelta(deltaText)
Test
jasmine
License
MIT