FHIR Chat · determining if an attribute is a modifier element · implementers

Stream: implementers

Topic: determining if an attribute is a modifier element


view this post on Zulip Kevin Olbrich (Feb 28 2017 at 21:57):

How does one determine if an attribute on a Resource is a modifier element from the xml schema? (Example.. Account.status)

view this post on Zulip Lloyd McKenzie (Feb 28 2017 at 21:59):

You can't. XML schema has no notion of "modifier" (nor vocabulary binding, mustSupport or a bunch of other metadata we capture in structure definitions). Thus the recommendation to generate code from resource definitions rather than schemas when possible (or to use the reference implementaitons).

view this post on Zulip Kevin Olbrich (Mar 01 2017 at 00:16):

ok, so where would I find the fhir definitions for v1.6.0?

view this post on Zulip Brian Postlethwaite (Mar 01 2017 at 00:38):

http://hl7.org/fhir/directory.html

view this post on Zulip Kevin Olbrich (Mar 01 2017 at 01:00):

so the definitions for 1.8.0 are at http://hl7.org/fhir/2017Jan/definitions.xml.zip and 1.6.0 are at http://hl7.org/fhir/2016Sep/definitions.xml.zip... is there some reason the actual version numbers aren't in the URL? Then it would be easy to know what the url would be for both old and new versions. As it is now, developers would have to maintain a mapping of dates to version numbers or a hard coded list if they wanted to generate code against an arbitrary version of the standard.

view this post on Zulip Brian Postlethwaite (Mar 01 2017 at 01:06):

Those interim versions and prepared for specific connectathon events at those dates.

view this post on Zulip Brian Postlethwaite (Mar 01 2017 at 01:07):

The official published versions have their official release number as the name in the URL, (not the internal version number) e.g. hl7.org/fhir/DSTU2 and hl7.org/fhir/STU3 (which is where I expect it will be published)

view this post on Zulip Grahame Grieve (Mar 01 2017 at 02:21):

might be nice to have some redirects on the version numbers, but too hard to do deep redirects.

view this post on Zulip Kevin Olbrich (Mar 01 2017 at 03:02):

Yeah, urls like 'http://hl7.org/fhir/v1.8.0/...' would be very helpful. Putting the generated files on github attached to a release would also be very helpful.


Last updated: Apr 12 2022 at 19:14 UTC