-
Notifications
You must be signed in to change notification settings - Fork 136
Fhir client for Angular2 #90
Comments
It would be nice if you will pull-request support for ng-2 :) Is it really different from ng-1 in terms of xhr? |
I didn't make any changes in terms xhr, actually I didn't make any changes on the source of fhir.js :) I only used the native build of fhir.js, and created a class that use directly the methods of the native client. The only difference is that my class has a declaration file to make it importable for TypeScript/Angular2. Since I worked on the build, not on the source, I don't know where to put my code in your repository. If you can decide how to integrate it with your project, I could do a pull-request. |
hey @niquola and @bunyaminsg any updates here on a angular adapter for fhir? @bunyaminsg i think it is not your task to adjust the ng-fhir (as far as I understood it is just a wrapper of the dist of fhir.js), it should be kind of a 'official' fhir-js adapter for angular (not angularjs), nah? |
@emreavsar yes, it is just a wrapper to use fhir.js client functions on angular. I'm using it by changing the dist of fhir.js according to my requirements (e.g. for custom headers). It would be great to have a more advanced, configurable and type safe angular library. I'll appreciate to contribute if there will be a work on this. |
Since fhir.js doesn't have an Angular2 adapter, I created an npm package and an example project to use fhir.js with Angular2. I would be glad if anyone interested in Angular could contribute these projects to make them better and more usable.
The text was updated successfully, but these errors were encountered: