Stream: smart/scheduling-links
Topic: FHIR Profiles
Robert Scanlon (Apr 05 2021 at 20:30):
Hi all -- Are there any FHIR StructureDefs for the resource element constraints listed in the spec yet? We're looking at participating as a Validation client, and that type of structured metadata would help.
Josh Mandel (Apr 05 2021 at 20:33):
We don't currently -- would something like a set of .fsh profiles cover what you have in mind? Would love help creating these from the current spec.
Robert Scanlon (Apr 05 2021 at 20:46):
Yeah, that's what I had in mind. It probably will be faster for us to encode those particular requirements as fhir artifacts than to write custom code anyhow, so we can take a first pass and share with the group.
Nick Robison (Apr 05 2021 at 21:14):
My first pass at come structure defs are here: https://github.com/nickrobison-usds/vaccine-scheduler/tree/main/publisher-application/src/main/resources/definitions
Let me know if anything seems odd, I'm not super familiar with how to correctly structure these (pun intended).
Josh Mandel (Apr 05 2021 at 22:05):
Awesome Nick! The interesting/fun things will be expressing constraints around nested structures / extensions / identifiers (e.g., for VTrckS PINS). I'm guessing this is where FSH will shine.
Michael O'Keefe (Apr 06 2021 at 15:04):
@Josh Mandel and @Nick Robison (and others): I took a first pass at FSH-ifying the spec in order to support Inferno's valdiation. You can find it here: https://github.com/inferno-community/fsh-smart-scheduling-links. The FSH files are in input/fsh
, and the resulting IG resources (StructureDefinition
, ValueSet
, etc.) are in resources/
. This is just a first pass, so let me know if you have any suggestions! I'll probably be iterating on things in this repo pretty quickly.
Nick Robison (Apr 06 2021 at 15:08):
Wow! That is a lot easier than generating them by hand.
Josh Mandel (Apr 06 2021 at 16:28):
These are great! I'll share some notes in GH issues.
Michael O'Keefe (Apr 06 2021 at 16:54):
Thanks! :)
Michael O'Keefe (Apr 06 2021 at 16:55):
I see those; I'll work on getting fixes for those issues in today or early tomorrow
Michael O'Keefe (Apr 06 2021 at 16:56):
@Nick Robison Yeah, even though I just had a couple of really minor tweaks I wanted to make to the StructureDefinitions you had, FSH is easy enough that writing out all new ones was super convenient
Last updated: Apr 12 2022 at 19:14 UTC