1.2.0 • Published 9 years ago

fhir-node v1.2.0

Weekly downloads
2
License
ISC
Repository
github
Last release
9 years ago

fhir-node

This node npm package allows for the propagation of FHIR requests to GT's FHIR database.

The module requires a parameter/options object that has 4 parameters: 1. start 2. end 3. format

The module also has an optional callback function. If this parameter is left empty, it returns a promise.

For information on promises see: https://www.npmjs.com/package/promise

##Examples

###To install: npm install fhir-node

###To require: var fhir = require('fhir-node');

####options var params = { start: 41, end: 138, format: 'json' };

####promise fhir(params).then(function(records){ console.log(records); });

fhir().then(function(records){
	console.log(records);
});

####callback fhir(params, function(records){ console.log(records); });

fhir(null, function(records){
	console.log(records);
});

Leaving options empty or null will result in querying the entire patient list.

Currently only returns "entry" records (does not return metadata regarding the request). Also currently reads from read-only server.

1.2.0

9 years ago

1.1.3

9 years ago

1.1.2

9 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago