Stream: javascript
Topic: JavaScript reference implementation 1.4 STU3
Tara Oskam (Jun 28 2016 at 19:03):
Hello
Tara Oskam (Jun 28 2016 at 19:03):
I am trying to use the reference implementation for v1.4 STU3 in javascript
Tara Oskam (Jun 28 2016 at 19:04):
When running the project I get a schema error, that options is a reserved word in mongoose, however it is also an attribute of the questionnaire resource.
Tara Oskam (Jun 28 2016 at 19:05):
Any assistance would be greatly appreciated.
Erich Schulz (Jun 28 2016 at 22:26):
can you get to the code and change blah.options
to blah["options"]
?
Josh Mandel (Jun 29 2016 at 13:47):
Are you running the build from http://hl7-fhir.github.io/downloads ? It's abandoned/unmaintained since 2014 (https://github.com/hl7-fhir/fhir-svn/tree/5ea8dcba1722c0bf73eff2b5bbe208fc756a9543/implementations/javascript).
Josh Mandel (Jun 29 2016 at 13:48):
I've commented before that it needs to be removed from the downloads page (GF#8659) and I think the resolution was to remove them. @Grahame Grieve is there any reason not to delete at this point?
Igor Sirkovich (Jun 29 2016 at 14:04):
@Josh Mandel, I'm wondering what reference JavaScript implementation should developers use instead of this abandoned one. Is https://github.com/FHIR/fhir.js up to date with STU3 / 1.4.0?
Josh Mandel (Jun 29 2016 at 14:59):
So the abandoned one was a kind of node.js server-side ORM system based on MongoDB. In other words, it wasn't a client library in the sense you probably want, anyway. For fhir.js: this should be compatible with the current release, but I've really only used it for DSTU2, so please let us know what you find!
Tara Oskam (Jun 29 2016 at 15:52):
Great, will do! Thank you!
Grahame Grieve (Jun 29 2016 at 20:39):
@Josh Mandel - there's no reason other than I haven't got to it yet. But while I can simply remove the javascript reference implementation, should I replace it with any other reference?
Tara Oskam (Jul 05 2016 at 14:19):
@Grahame Grieve @Josh Mandel I have successfully searched using the FHIR.js library and the UHN's STU3 server. The library appears to be working with STU3. Other functionality is currently being tested. @Igor Sirkovich
Tara Oskam (Jul 05 2016 at 16:47):
create is working
Last updated: Apr 12 2022 at 19:14 UTC