Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fhir-proof

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fhir-proof

[![Build Status](https://travis-ci.org/janstuemmel/fhir-proof.svg?branch=master)](https://travis-ci.org/janstuemmel/fhir-proof)

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
55
increased by400%
Maintainers
1
Weekly downloads
 
Created
Source

Build Status

FhirProof

This library provides a (very small atm) subset of javascript classes for the HL7 FHIR standard.

Install

npm install fhir-proof --save

run tests with npm test

Usage


import { Observation, CodeableConcept, Coding } from 'fhir-proof';

const c = Coding({
  system: 'http://loinc.org',
  code: '8302-2',
  display: 'height'
});

const cc = CodeableConcept({
  text: 'Height',
  coding: [ c ]
});

const o = Observation({
  id: '1',
  status: 'final',
  code: cc
});

// will throw an error because foo is no observation status code
const o2 = Observation({ status: 'foo' });

Please look in the tests directory for more usage examples.

FAQs

Package last updated on 24 Mar 2017

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc