Closed kkotak closed 8 years ago
Can you please try npm install fhir.js
? Looks like you may have omitted the ".js" in your attempt here.
(Incredibly confusingly, your command attempted -- and failed -- to install a different library: https://github.com/lantanagroup/FHIR.js)
Yes! Sorry to bother. That worked! BTW, I'm a bit confused about the various fhir.js variations. I'm new to the HL7 world. If I have an AngularJS/NodeJS framework, what's the best way to use the package? I notice that there are Bower, JQUery, Native, and other packages too.
Thanks.
Glad to hear that worked.
If you're talking to fhir servers from the frontend, try the Angular adapter or the promise based adapter. If you're talking through a node backend, try the promise based adapter.
For questions, please see http://fhir.org (chat and/or forums).
$ npm install fhir
CC(target) Release/obj.target/libxml/vendor/libxml/buf.o CC(target) Release/obj.target/libxml/vendor/libxml/catalog.o CC(target) Release/obj.target/libxml/vendor/libxml/chvalid.o CC(target) Release/obj.target/libxml/vendor/libxml/dict.o CC(target) Release/obj.target/libxml/vendor/libxml/encoding.o CC(target) Release/obj.target/libxml/vendor/libxml/entities.o CC(target) Release/obj.target/libxml/vendor/libxml/error.o CC(target) Release/obj.target/libxml/vendor/libxml/globals.o CC(target) Release/obj.target/libxml/vendor/libxml/hash.o CC(target) Release/obj.target/libxml/vendor/libxml/HTMLparser.o CC(target) Release/obj.target/libxml/vendor/libxml/HTMLtree.o CC(target) Release/obj.target/libxml/vendor/libxml/legacy.o CC(target) Release/obj.target/libxml/vendor/libxml/list.o CC(target) Release/obj.target/libxml/vendor/libxml/parser.o ../vendor/libxml/parser.c:13492:43: warning: passing 'const xmlChar _' (aka 'const unsigned char ') to parameter of type 'const char ' converts between pointers to integer types with different sign [-Wpointer-sign] hdlr = xmlFindCharEncodingHandler(doc->encoding); ^
~~~~ ../vendor/libxml/include/libxml/encoding.h:175:42: note: passing argument to parameter 'name' here xmlFindCharEncodingHandler (const char *name); ^ 1 warning generated. CC(target) Release/obj.target/libxml/vendor/libxml/parserInternals.o CC(target) Release/obj.target/libxml/vendor/libxml/pattern.o CC(target) Release/obj.target/libxml/vendor/libxml/relaxng.o CC(target) Release/obj.target/libxml/vendor/libxml/SAX2.o CC(target) Release/obj.target/libxml/vendor/libxml/SAX.o CC(target) Release/obj.target/libxml/vendor/libxml/tree.o CC(target) Release/obj.target/libxml/vendor/libxml/threads.o CC(target) Release/obj.target/libxml/vendor/libxml/uri.o CC(target) Release/obj.target/libxml/vendor/libxml/valid.o CC(target) Release/obj.target/libxml/vendor/libxml/xinclude.o CC(target) Release/obj.target/libxml/vendor/libxml/xlink.o CC(target) Release/obj.target/libxml/vendor/libxml/xmlIO.o CC(target) Release/obj.target/libxml/vendor/libxml/xmlmemory.o CC(target) Release/obj.target/libxml/vendor/libxml/xmlmodule.o CC(target) Release/obj.target/libxml/vendor/libxml/xmlreader.o CC(target) Release/obj.target/libxml/vendor/libxml/xmlregexp.o CC(target) Release/obj.target/libxml/vendor/libxml/xmlsave.o CC(target) Release/obj.target/libxml/vendor/libxml/xmlschemas.o ../vendor/libxml/xmlschemas.c:24203:10: warning: explicitly assigning value of variable of type 'xmlSchemaValType' to itself [-Wself-assign] valType = valType;