FHIR Chat · R4 Sept 2018 · dotnet

Stream: dotnet

Topic: R4 Sept 2018


view this post on Zulip Brian Postlethwaite (Aug 11 2018 at 05:02):

Hi all, just an update that the R4 version of the client will be done as the ballot freeze happens
I've done some dry runs, and there are some minor issues to resolve, but will be sorted.

view this post on Zulip Peter Jordan (Aug 13 2018 at 01:27):

@Brian Postlethwaite Is there any chance of adding an Hl7.Fhir.Model.FhirInteger class in addition to, or instead of, Hl7.Fhir.Model.Integer? This might make it easier to render integers as parameter values.

view this post on Zulip Brian Postlethwaite (Aug 13 2018 at 11:10):

Not sure what you're asking us for here Peter. How would it make things easier to render?

view this post on Zulip Brian Postlethwaite (Aug 13 2018 at 11:10):

(and render where?)

view this post on Zulip Peter Jordan (Aug 13 2018 at 20:42):

It's not a 'biggie', but maybe instead of this...

ValueSet.ParameterComponent vpc1 = new ValueSet.ParameterComponent { Name = "count", Value = new Integer(countNo) };

it might be slightly nicer to have this...

ValueSet.ParameterComponent vpc1 = new ValueSet.ParameterComponent { Name = "count", Value = new FhirInteger(countNo) };

in the same way that the .NET library exposes FhirDecimal, FhirString, FhirBoolean and FhirDateTime classes.

view this post on Zulip Brian Postlethwaite (Aug 13 2018 at 23:05):

Probably a bit late for that now I'd suggest.

view this post on Zulip Ewout Kramer (Aug 15 2018 at 09:16):

You mean that calling it FhirInteger instead of Integer would have been more consistent? I guess that's true. The reason I had to call the other Fhir{somethig} is that Boolean and String are already existing classes in System, whereas Integer was not. But, yes, that's the kind of change that it's in the category of breaking changes (if we replace) or simply confusing (if we'd offer two options).

view this post on Zulip Brian Postlethwaite (Aug 20 2018 at 06:14):

Those interested in the progress of this release, I've just Updated the code generation and am pushing all the changes to github.
The unit tests don't all pass yet, but wanted to get a build out there for others to look at too as they get to it.

view this post on Zulip Brian Postlethwaite (Aug 21 2018 at 02:20):

The invariant processing doesn't work due to the update in the trace function now optionally accepting a selector as the second parameter. (invariant dom-3 uses it)

view this post on Zulip Brian Postlethwaite (Aug 21 2018 at 02:27):

From the unit test ValidateInvariantAllExamples:

Validation failed in 1062 of 1106 examples
Issues with Invariant: dom-3 (1062), csd-1 (4), pdf-0 (6), sdf-0 (26), tst-0 (1)

Some of these are warnings, so I guess we can ignore those... at least in the test.

view this post on Zulip Brian Postlethwaite (Aug 21 2018 at 03:53):

I'm putting the R4 client down for a bit, other work to be done now.
There is an issues with the examples.zip file from the spec where its content is not conformant fhir and thus the test fails. (when the examples file is updated, will commit and recheck)
There are a few issues that need to be resolved in the fhirpath engine that cause issues in validation and search data extraction that need to be resolved.

view this post on Zulip Brian Postlethwaite (Aug 21 2018 at 03:54):

For the server implementers using the fhirpath search extraction, there is one part that I think you'll want to be optimizing out, and that's there are a lot of search parameters that use resolve() as Patient or similar formats, which I don't think is really very performant, and considering tweaking that out as I implement it in my server.

view this post on Zulip Peter Jordan (Sep 12 2018 at 05:04):

Hi @Brian Postlethwaite - when's the FHIR 3.5.0 client version likely to be ready? I'm hoping to implement it next week, but I'm guessing that what's already on Github may be good enough for my purposes.

view this post on Zulip Brian Postlethwaite (Sep 12 2018 at 06:22):

No planned changes goes to what's on github. Nothing in nugget yet though

view this post on Zulip Peter Jordan (Sep 16 2018 at 01:10):

Pretty straightforward migration from FHIR 3.3.0 to 3.5.0 versions of the C# library. Only breaking changes for my Terminology Server were data type changes for CapabilityStatement.kind element and document sub-elements, plus the removal of ValueSet.Extensible. Great job again @Brian Postlethwaite and co.

view this post on Zulip Yunwei Wang (Sep 18 2018 at 01:44):

Is Nuget package ready for connectathon?

view this post on Zulip Brian Postlethwaite (Sep 19 2018 at 01:20):

The source code is there in the R4 branch, but no package as yet. (you'd have to do that yourself at the moment)

view this post on Zulip Yunwei Wang (Sep 20 2018 at 16:26):

@Brian Postlethwaite do you plan to create a NuGet package (alpha, maybe) before connectathon? My current code uses Nuget package, we have a policy forbidding us from checking in external source codes into our code repository.

view this post on Zulip Ewout Kramer (Sep 25 2018 at 08:59):

@Brian Postlethwaite do you plan to create a NuGet package (alpha, maybe) before connectathon? My current code uses Nuget package, we have a policy forbidding us from checking in external source codes into our code repository.

Hi Yunwei, I'll build a package for you today!

view this post on Zulip Ewout Kramer (Sep 25 2018 at 15:46):

Done, just pushed it to NuGet.

This release contains the stuff you need for the R4 connectathon tracks and carries version 0.96.1. For DSTU2/3 the most recent release is still 0.96.0.

view this post on Zulip Yunwei Wang (Sep 25 2018 at 21:53):

Thank you Ewout. I updated nuget package to 0.96.1. There are some validation error while I am trying to validate CapabilityStatement:
1. {Code="NotSupported" Details.Text="Terminology service failed while validating code 'xml' (system ''): Cannot resolve canonical reference 'urn:ietf:bcp:13' to CodeSystem"}
2. {Code="BusinessRule" Details.Text="Compilation of FhirPath for constraint 'dom-3' failed: Unknown symbol 'trace'"}
3. {Code="Invalid" Details.Text="Instance failed constraint dom-3 "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource""}
I have fixed other errors but not sure about how to deal with these three.
Looks like the first two are validator's own errors.
I am confused about the third one. Since this is CapabilityStatement, it does NOT contain any other resources.

view this post on Zulip Ewout Kramer (Sep 26 2018 at 09:16):

Thank you Ewout. I updated nuget package to 0.96.1. There are some validation error while I am trying to validate CapabilityStatement:
1. {Code="NotSupported" Details.Text="Terminology service failed while validating code 'xml' (system ''): Cannot resolve canonical reference 'urn:ietf:bcp:13' to CodeSystem"}
2. {Code="BusinessRule" Details.Text="Compilation of FhirPath for constraint 'dom-3' failed: Unknown symbol 'trace'"}
3. {Code="Invalid" Details.Text="Instance failed constraint dom-3 "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource""}
I have fixed other errors but not sure about how to deal with these three.
Looks like the first two are validator's own errors.
I am confused about the third one. Since this is CapabilityStatement, it does NOT contain any other resources.

Hi Yunwei, I am happy to see the validator got this far - but it is still very alpha. In fact I think I should not have pushed the Specification package at all for R4, since there are still failing unit-tests. I know @Brian Postlethwaite has worked hard to fix a big part of them, but we have not had time to do QA on the R4 release as we do on the others. I am sorry about that. If you like, you can report the R4 errors here (https://github.com/ewoutkramer/fhir-net-api/issues), so you can track their status.

view this post on Zulip Yunwei Wang (Sep 26 2018 at 14:22):

Ewout, no problem at all. I am very happy with the package to start my working. I will disable some of my validation tests. Great work! See you this weekend.


Last updated: Apr 12 2022 at 19:14 UTC