FHIR Chat · C17 Versioned API · connectathon mgmt

Stream: connectathon mgmt

Topic: C17 Versioned API


view this post on Zulip Grahame Grieve (Jan 09 2018 at 01:44):

welcome...

view this post on Zulip Peter Jordan (Jan 17 2018 at 20:08):

An additional (simple) use case scenario, to those on the Wiki, would be to make metadata requests based on versions contained in the Accept Header and test that responses contain the requisite Capability Statement. I've suggested adding this to Touchstone. Another scenario is to request r4-specific capabilities (e.g. CodesSystem$validate-code) when r3 is specified in the Accept Header - my (r3/r4) server will now return an operation outcome in this case.

view this post on Zulip Grahame Grieve (Jan 18 2018 at 10:18):

heads up on this - the only slot I have for a presentation is - I think - 2pm Eastern US time on Monday (I'll be at the airport on the way to US). I'll try and get a formal notification out tomorrow

view this post on Zulip Grahame Grieve (Jan 22 2018 at 20:07):

@Jenni Syed to answer your question about the accept header: my server will iterate the accept headers (split by ','), looking for application/fhir+[x]; fhir-version=Y, and use the first encountered version of Y, whether that's supportable for the particular exchange or not.

view this post on Zulip Grahame Grieve (Jan 27 2018 at 15:30):

ok I think, looking at the room, that we'll do track introduction here rather than in person - interested parties are just all over the place

view this post on Zulip Grahame Grieve (Jan 27 2018 at 15:31):

so at least my server fully supports all the scenarios somewhat

view this post on Zulip Grahame Grieve (Jan 27 2018 at 15:32):

who is interested in testing here.

view this post on Zulip Peter Jordan (Jan 27 2018 at 17:12):

+1 for returning r2,r3, r4 as versions. Interested in the use case for not returning a FHIR parameters resource if the accept header doesn't specify FHIR. Are there other precedents in the spec for returning 'raw' JSON or XML?

view this post on Zulip Grahame Grieve (Jan 27 2018 at 17:18):

no. there's no precedent

view this post on Zulip Grahame Grieve (May 13 2018 at 14:13):

@Kevin Olbrich http://test.fhir.org/r3/$versions is go now

view this post on Zulip Kevin Olbrich (May 13 2018 at 14:15):

FYI, @Brian Postlethwaite suggested an alternative. Populating the format section of the CapabilityStatement with a list of the possible mime types along with the supported version parameters. So it might contain application/json+fhir;fhirVersion=3.0, application/fhir+json;fhirVersion=1.0.

view this post on Zulip Grahame Grieve (May 13 2018 at 14:16):

an interesting idea

view this post on Zulip Grahame Grieve (May 13 2018 at 14:16):

but I really like $versions since the most common use of the conformance statement is to cehck the version.... $versions is just that

view this post on Zulip Kevin Olbrich (May 13 2018 at 14:17):

BTW is there a way to subset the CapabilityStatement to give back just the fhirVersion ?

view this post on Zulip Grahame Grieve (May 13 2018 at 14:19):

http://test.fhir.org/r3/metadata?_elements=fhirVersion&_format=json

view this post on Zulip Grahame Grieve (May 13 2018 at 14:19):

http://test.fhir.org/r3/metadata?_elements=fhirVersion,format&_format=json

view this post on Zulip Kevin Olbrich (May 13 2018 at 14:20):

Awesome! Now I can get my client to stop pulling in the entire thing.

view this post on Zulip Grahame Grieve (May 13 2018 at 14:21):

probably doesn't work on many servers

view this post on Zulip Christiaan Knaap (May 13 2018 at 14:29):

We do :-)
http://vonk.fire.ly/metadata?_elements=fhirVersion

view this post on Zulip Christiaan Knaap (May 13 2018 at 14:33):

And I'm afraid your response is a bit too sparse: "Servers SHOULD always return mandatory elements whether they are requested or not. Servers SHOULD mark the resources with the tag SUBSETTED to ensure that the incomplete resource is not actually used to overwrite a complete resource."

view this post on Zulip Grahame Grieve (May 13 2018 at 14:38):

hmm. I used to get that right

view this post on Zulip Grahame Grieve (May 13 2018 at 15:52):

@Christiaan Knaap this one is tricky.... _elements doesn't include the meta... so it's excluded...

view this post on Zulip Grahame Grieve (May 13 2018 at 15:53):

I guess we should document explicitly that meta is not subject to _elements

view this post on Zulip Christiaan Knaap (May 13 2018 at 19:29):

That would be clearer indeed. But since the tag 'SUBSETTED' must be added, you'll have to add meta anyway. And in this case a couple of other elements are mandatory and therefore included: status, date, kind, acceptUnknown, format.

view this post on Zulip Brian Postlethwaite (May 14 2018 at 07:38):

Ours too
http://sqlonfhir-stu3.azurewebsites.net/fhir/metadata?_elements=fhirVersion

view this post on Zulip Grahame Grieve (Jul 02 2018 at 22:19):

@Kevin Olbrich do we want to do this one again?

view this post on Zulip Kevin Olbrich (Jul 03 2018 at 14:07):

I don't think so, but @Andrew Marcus might disagree.

view this post on Zulip Grahame Grieve (Jul 03 2018 at 20:00):

maybe. but that's really about something else...

view this post on Zulip Kevin Olbrich (Jul 03 2018 at 20:45):

I agree, it's different. I don't feel like there's a lot more to iron out with the versioned api right now.


Last updated: Apr 12 2022 at 19:14 UTC