Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Node.JS library for serializing/deserializing FHIR resources between JS/JSON and XML using various node.js XML libraries.
Node.JS library for serializing/deserializing FHIR resources between JS and XML, and validating FHIR resources. The library uses technologies that are safe for use in browser-only applications (node.js is not required).
npm install fhir
To use in a node.js application, require the "fhir" module.
var Fhir = require('fhir');
To use in a browser application, reference dist/bundle.js.
<script type="text/javascript" src="node_modules/fhir/dist/bundle.js"></script>
npm test
var resource = {
resourceType: 'Patient',
...
};
var fhir = new Fhir();
var xml = fhir.objToXml(resource);
var obj = fhir.xmlToObj(xml);
var results = fhir.validate(xml, { errorOnUnexpected: true });
results = fhir.validate(obj, {});
API documentation can be found at http://lantanagroup.github.io/FHIR.js/
FAQs
Library that assists in handling FHIR resources. Supports serialization between JSON and XML, validation and FhirPath evaluation.
The npm package fhir receives a total of 6,413 weekly downloads. As such, fhir popularity was classified as popular.
We found that fhir demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.