Git Product home page Git Product logo

vscode-fhir-tools's Issues

'FHIR validate resource' command didn’t handle the case of spaces in the file name

If the file name contains any spaces, the validation will failed.

If the file name is 'test data.json', the command will run the CL
java -jar c:\Users\XXX\.vscode\extensions\yannick-lagger.vscode-fhir-tools-1.4.0\validator_cli.jar test data.json -version 4.0.1
which will lead to the issue to parse the file name.

I think the command should run the CL with "" like:
java -jar c:\Users\XXX\.vscode\extensions\yannick-lagger.vscode-fhir-tools-1.4.0\validator_cli.jar "test data.json" -version 4.0.1

It validates only against FHIR 4.0

When validating a structure definition you can read the fhirVersion element and base the argument for -version on the HL7 validator on this value. fhirVersion is not a mandatory field so the -version can be 4.0 by default. An alternative is to have the version be configurable.

Menu Commands

I have installed the extension and do not see the new commends in the "Edit" menu (as per your screenshots).

I have tried with both an XML and JSON file in the editor but neither work.

XML<->JSON conversion to new file

Can you add functionality to convert between XML and JSON without simply replacing the current file.
For example, I'd like to be able to select a file someFile.xml, right-click on it, select "FHIR XML to JSON", and have it create a new someFile.json, rather than replacing the .XML file with .JSON file.

Post conversion document type

Starting with a FHIR JSON file, I ran the JSON to XML conversion

The XML was created correctly, however, the language mode was still JSON - can this be flipped to XML automatically?
image

FHIR validation failed

Hi,
tried the validation, but get the following error is displayed in the output:

i (FHIR validate resource): {
  "url": "https://kodjin-staging.edenlab.dev/fhir/Observation/$validate",
  "method": "POST",
  "status": 401,
  "responseText": ""
}

can i choose the fhir-server used for validation and/or it's credentials?

thanks in advance

Conversion large file xml to json does nothing

Trying to convert a large FHIR file from xml to json. It is 100MB (because it contains base64 encoded documents). Is there a limitation on the size which can be converted?

(The conversion does nothing - no message, no conversion)

Using custom jar file

we are using an older version of FHIR that requires a custom jar file. I would like to be able to indicate that the custom params are all that is to be used, and that the -jar param must be included in the user defined parameters. vs using the jar the extension retrieved.

I would also like to have the parameters/settings saved so that I don't need to copy and paste the parameters each time I want to validate a file.

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.