FHIR Chat · Which form of FHIR specification should be used for tooling? · implementers

Stream: implementers

Topic: Which form of FHIR specification should be used for tooling?


view this post on Zulip Seref Arikan (May 04 2016 at 17:43):

I've been trying to understand the mechanisms with which one could build FHIR implementations that are aware of FHIR resources and types.

Structure definitions look like a good way of defining FHIR and the documentation itself says : "Note that as part of the specification itself, a full set of structure definitions for all resources and data types is published.".

However, it is not clear to me which particular download in the download page corresponds to the structure definitions mentioned above. Looking into available files, I ended up with profile xml files but there are also validation and code generation schemas on the same page. Moreover, different schemas appear to follow different approaches: the code generation schema defines the Observation.Component type I was asking here a few days back, but another artefact (forgot which one) defines that type as BackboneElement.

Hapi's FHIR implementation seems to use an Excel sheet (could not find that one) to generate models as far as I can understand from the message archives of that group.

So what should I use if I want to process the FHIR metadata, that is, types, resources, their structure, constraints etc. Is this metadata distributed across different artefacts for different purposes? As you can see, I'm spectacularly confused, so some guidance would be great.

view this post on Zulip Jason Walonoski (May 04 2016 at 17:53):

Right now, I'm using

  • extension-definitions.json
  • profiles-others.json
  • profiles-resources.json
  • profiles-types.json
  • search-parameters.json
  • expansions.json
  • v2-tables.json
  • v3-codesystems.json
  • valuesets.json

Plus the schema files. All of this is available once you run the publish.bat or publish.sh in the build. Not sure where it can be downloaded from.

view this post on Zulip Dave Carlson (May 04 2016 at 18:02):

I use most of the same files listed by Jason, except the .xml versions. I would not recommend building, instead download from here: http://hl7.org/fhir/downloads.html Get the FHIR Definitions download from first group, either JSON or XML, with or without text, depending on your needs.

view this post on Zulip Grahame Grieve (May 04 2016 at 18:38):

the file validation.xml.zip (or the json equivalent) has the master files

view this post on Zulip Grahame Grieve (May 04 2016 at 18:39):

HAPI latest code is generated by the build process from internal unpublished material. At some stage I'll be updating it to also use validation.xml.zip

view this post on Zulip Grahame Grieve (May 04 2016 at 18:40):

validation.xml.zip is the file Dave referred to, the FHIR definitions download

view this post on Zulip Seref Arikan (May 05 2016 at 06:24):

thanks. validation.xml.zip it is then.

view this post on Zulip Seref Arikan (May 05 2016 at 08:02):

Grahame: could you possibly comment on the intended use for files or groups of files in the FHIR downloads, from an implementer perspective? This information appears to be distributed across the whole FHIR documentation and I'm having difficulty putting the pieces together. Even a brief wiki page would be a great help.

I can think of uses for the files when I look at them, but I'm never sure, so I don't know if I'm supposed to stitch together information from multiple files or use a specific one.

I am coming from an "engine designer/implementer" perspective, with scenarios similar to what Hapi does for FHIR and well beyond, mostly drawing on my PhD work at UCL. I realize you're probably very short on time and my kind of interest may not be what FHIR is focusing on at the moment but a little effort into it could open a lot of doors.

I'd be more than happy to write down what I'm looking for if that helps?

view this post on Zulip Grahame Grieve (May 05 2016 at 10:55):

well... we always want the documentation to be clear, but we also have to bridge the gap between lots of different perspectives and a single document - sometimes, adding more narrative isn't the solution, since most people have an upper limit (tl;dr)

view this post on Zulip Grahame Grieve (May 05 2016 at 10:57):

I look at the downloads page and think that it seems self-explanatory to me, but otoh I live and breath this

view this post on Zulip Grahame Grieve (May 05 2016 at 10:57):

so perhaps you could write it down

view this post on Zulip Seref Arikan (May 05 2016 at 15:07):

thanks, will do


Last updated: Apr 12 2022 at 19:14 UTC