Coder Social home page Coder Social logo

outburn-il / fume-community Goto Github PK

View Code? Open in Web Editor NEW
50.0 1.0 5.0 688 KB

FUME is a FHIR conversion tool. Transform any data format to and from FHIR, including CSV, JSON and HL7 V2, using the FUME mapping language

Home Page: https://try.fume.health

License: GNU Affero General Public License v3.0

JavaScript 1.51% TypeScript 98.49%
fhir fhir-converter hl7 csv-to-fhir fhir-mapper fhir-mapping-engine json-to-fhir v2-to-fhir

fume-community's People

Contributors

kaplanlior avatar mechanik-daniel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

lizozom

fume-community's Issues

422 Unprocessable Entity : Cannot read properties of undefined (reading 'replace')

Hello

I installed and started the server.

The Get method at http://localhost:42420/ JSON response :

{
   "public_sandbox": "https://try.fume.health",
   "api_instructions": "POST a JSON object to this endpoint, containing an input json value and a FUME expression.",
   "example_body": {
     "input": {
       "values": [
         "value1",
         "value2"
       ]
     },
     "fume": "values[1]",
     "contentType": "application/json"
   },
   "should_return": "value2"
}

I try to POST a JSON object to this endpoint, but the response is always the same.

422 Unprocessable Entity

{
   "__isFumeError": true,
   "message": "Cannot read properties of undefined (reading 'replace')",
   "code": "",
   "name": "TypeError",
   "token": "splitLineFunc",
   "cause": "",
   "position": 37
}

Body I sent:

{
   "input": {
     "values": [
       "value1",
       "value2"
     ]
   },
   "fume": "values[1]",
   "contentType": "application/json"
}

What am I doing wrong? Is there an error somewhere in the post request body?

@mechanik-daniel @kaplanlior

Add swagger documentation

Please create a swagger documentation and expose it at a dedicated server endpoint.
If there is a best-practice for the name of the endpoint - use that.
Take into account that in the near future we would like to add the same feature to the enterprise version, where some additional api's exists - so build it in a way that will make it easy to maintain the diffs between the two versions

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.