FHIR Chat · Validate against R5 Preview 3 · implementers

Stream: implementers

Topic: Validate against R5 Preview 3


view this post on Zulip Rik Smithies (Oct 23 2020 at 15:17):

How do I use the command line validator to validate against either the current build, which is what using version "4.5" seems to do, versus the R5 Preview 3 build, which is called "4.5.0".

view this post on Zulip Lloyd McKenzie (Oct 23 2020 at 16:30):

@Grahame Grieve

view this post on Zulip Grahame Grieve (Oct 25 2020 at 19:46):

right now, you can't. I will add that to my list of things to do

view this post on Zulip Rik Smithies (Nov 27 2020 at 16:09):

@Grahame Grieve trying to see if different versions are supported (e.g. 4.5.0, 4.4.0) - the latest validator no longer seems to allow showing arguments.
If I do this: java -jar validator_cli.jar it just says
Exception in thread "main" ... Must provide at least one source file,
instead of giving a list of parameters

view this post on Zulip Grahame Grieve (Nov 27 2020 at 22:47):

@Mark Iantorno is this related to your changes?

view this post on Zulip Mark Iantorno (Nov 27 2020 at 22:59):

What are you validating? If you type Java -jar validator_cli.jar without any args isn't that the expected behavior?

view this post on Zulip Mark Iantorno (Nov 27 2020 at 23:05):

Okay, I just tested against older versions 5.1.20 has this behavior, but when I go back to an much older build (5.1.2) it shows the help

view this post on Zulip Mark Iantorno (Nov 27 2020 at 23:06):

this is unrelated to the HTTP changes

view this post on Zulip Mark Iantorno (Nov 27 2020 at 23:06):

I suspect this might be a result of the changes I made as part of the proxy authentication

view this post on Zulip Mark Iantorno (Nov 27 2020 at 23:06):

I will look at it shortly

view this post on Zulip Mark Iantorno (Nov 27 2020 at 23:06):

just cooking dinner

view this post on Zulip Mark Iantorno (Nov 27 2020 at 23:11):

found the issue

view this post on Zulip Mark Iantorno (Nov 27 2020 at 23:11):

I will push a quick fix

view this post on Zulip Elliot Silver (Nov 27 2020 at 23:12):

Is this the cause of Error connecting to build server - running without build (PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed)?

view this post on Zulip Mark Iantorno (Nov 27 2020 at 23:13):

I don't think that has to do with this

view this post on Zulip Mark Iantorno (Nov 27 2020 at 23:14):

That is something different

view this post on Zulip Mark Iantorno (Nov 27 2020 at 23:16):

I'm just rebuilding and doing a run of the tests now

view this post on Zulip Elliot Silver (Nov 27 2020 at 23:16):

Ok, I'm getting some new errors and messages after upgrading to the latest IG publisher earlier today. Build log attached.

view this post on Zulip Mark Iantorno (Nov 27 2020 at 23:16):

There was a new publisher just pushed out about an hour ago

view this post on Zulip Mark Iantorno (Nov 27 2020 at 23:16):

is that what you are using?

view this post on Zulip Elliot Silver (Nov 27 2020 at 23:17):

yeah.

view this post on Zulip Mark Iantorno (Nov 27 2020 at 23:18):

1.1.43 right?

view this post on Zulip Elliot Silver (Nov 27 2020 at 23:18):

"71 minutes old"

view this post on Zulip Mark Iantorno (Nov 27 2020 at 23:19):

ok

view this post on Zulip Mark Iantorno (Nov 27 2020 at 23:19):

I can't speak to that right now

view this post on Zulip Mark Iantorno (Nov 27 2020 at 23:20):

but if there is an issue, we should discuss in a different thread

view this post on Zulip Mark Iantorno (Nov 27 2020 at 23:20):

I'm going to tackle this one first

view this post on Zulip Mark Iantorno (Nov 27 2020 at 23:20):

in the meantime, use the last release of the publisher

view this post on Zulip Elliot Silver (Nov 27 2020 at 23:31):

Continued on https://chat.fhir.org/#narrow/stream/179252-IG-creation/topic/IG.201.2E1.2E43.20errors/near/218136395.

view this post on Zulip Rik Smithies (Nov 27 2020 at 23:59):

@Mark Iantorno thanks. In general, what's the best way to get an old version of the validator? I only know how to get the current version and the ones associated with particular FHIR versions.

view this post on Zulip Mark Iantorno (Nov 28 2020 at 00:01):

when you click on the link to get the current you are taken to 'latest' release page, but there is a whole list of releases as well

view this post on Zulip Mark Iantorno (Nov 28 2020 at 00:01):

https://github.com/hapifhir/org.hl7.fhir.core/releases

view this post on Zulip Mark Iantorno (Nov 28 2020 at 00:01):

the top one is the latest, but underneath are all the previous builds

view this post on Zulip Mark Iantorno (Nov 28 2020 at 00:03):

There is a build issue with the core libraries currently, once resolved, I will push a fix for this

view this post on Zulip Mark Iantorno (Nov 28 2020 at 00:03):

I'm talking with Grahame about it now

view this post on Zulip Rik Smithies (Nov 28 2020 at 00:03):

the link to the current that I use is on this page http://build.fhir.org/downloads.html and it goes straight to a file download, with no intermediate page. That page is just what I want but I've not seen a link to it that I can remember.

view this post on Zulip Mark Iantorno (Nov 28 2020 at 00:03):

ah kk

view this post on Zulip Mark Iantorno (Nov 28 2020 at 00:04):

let me know if you need anything else

view this post on Zulip Vassil Peytchev (Nov 28 2020 at 00:08):

That page is just what I want but I've not seen a link to it that I can remember.

For those using the authoring tools, subscribing to #tooling/releases brings the Github release page to your fingertips...

view this post on Zulip Mark Iantorno (Nov 28 2020 at 18:09):

@Rik Smithies the latest version of the validator now displays the help information as normal when no arguments are passed to the cli

view this post on Zulip Mark Iantorno (Nov 28 2020 at 18:09):

you can download it from the normal link you use, or from the github release page here: https://github.com/hapifhir/org.hl7.fhir.core/releases/tag/5.2.4

view this post on Zulip Mark Iantorno (Nov 28 2020 at 18:09):

Let me know if you have any issues

view this post on Zulip Rik Smithies (Nov 28 2020 at 18:55):

thanks Mark! is there any plan to add validation against R5 preview 3? Or R5 preview 2 in fact. R5P3 is currently not possible it seems, because you can specify version 4.5 but that actually means "the latest build of R5" rather than the actual 4.5.0 build which was R5P3. I am also not sure if R5P2 can be achieved by pointing the validator at downloaded definitions for that version or if it would need a version 4.4 mode adding to the validator, so that it can fetch these itself.

view this post on Zulip Mark Iantorno (Nov 28 2020 at 19:14):

One day I will be able to answer questions like this. However, this is a Grahame question for now

view this post on Zulip Mark Iantorno (Nov 28 2020 at 19:14):

sorry!

view this post on Zulip Rik Smithies (Nov 28 2020 at 19:28):

no worries Mark - realise you are in at the deep end :-)

view this post on Zulip Grahame Grieve (Dec 08 2020 at 06:01):

and it's not possible right now

view this post on Zulip Rik Smithies (Dec 08 2020 at 09:30):

thanks. What is the behaviour if that validator is pointed at a zipped downloaded set of structure definitions from a FHIR release. Does it use those, or does that get ignored in favour of what is specified with the command line FHIR version? Other than by hacking the code, is there any way to force/trick the validator to use a given set of structure defs? Can I replace them in the downloaded cache for instance?

view this post on Zulip Lloyd McKenzie (Dec 08 2020 at 14:14):

You can definitely hack the cache - but be aware that the cache can get wiped unpredictably and with no warning

view this post on Zulip Grahame Grieve (Dec 08 2020 at 20:12):

and outcomes may vary


Last updated: Apr 12 2022 at 19:14 UTC