FHIR Chat · StrucDef for StrucDef? · implementers

Stream: implementers

Topic: StrucDef for StrucDef?


view this post on Zulip René Spronk (Jul 10 2020 at 13:18):

It seems the Java based validator requires snapshots (usually I never look at such 'tooling' details, but now I have to, wishing to support a validation training exercise on multiple servers). Are servers expected to publish a profile for StuctureDefinition, so one is aware of what variation it's using?

view this post on Zulip Lloyd McKenzie (Jul 10 2020 at 15:12):

To validate you either have to have the snapshot or access to all of the downstream resources needed to generate one.

view this post on Zulip Grahame Grieve (Jul 10 2020 at 20:22):

the validator generates it's own snapshots if they aren't provided

view this post on Zulip Lloyd McKenzie (Jul 10 2020 at 21:19):

If they aren't provided and the base models are available, presumably? (Couldn't generate them without)

view this post on Zulip Grahame Grieve (Jul 10 2020 at 21:19):

sure

view this post on Zulip Haritha (Jul 21 2020 at 14:21):

Hello All,
I have started exploring FHIR Recently and trying to explore more on StructureDefinition. I have created an API for FHIR and trying to create new Structure Definition for any of the resource. Could you please help me in this?

view this post on Zulip PKumar (Jul 22 2020 at 09:03):

Hi Team, I also have similar question on Structure definition. In addition to question from @Haritha , I would like to know the business use case of implementing structure definition, does the structure definition should vary from client to client based on level of permission that I decide to provide?

view this post on Zulip Lloyd McKenzie (Jul 22 2020 at 14:31):

It could. If you have a profile referenced by a CapabilityStatement and the CapabilityStatement is specific to a user, it's possible for the profile to be user-specific too. For example, if a user has access to vital signs but not lab data, the Observation referenced by the user-specific CapabilityStatement could be constrained to only vital signs. That said, I'm not aware of any systems that are actually doing this.

view this post on Zulip PKumar (Jul 22 2020 at 17:03):

Thanks @Lloyd McKenzie

In your example, how does the actual work flow should look like? I am assuming that, when a client sends out API request to access vital signs, Should the request pass through the capability statement resource and validate if this request can be allowed to fetch vital signs or not? and if yes, the request now should hit the corresponding API to get vital signs??

view this post on Zulip PKumar (Jul 22 2020 at 17:05):

I am fundamentally confused from the implementation standpoint...in fact, I have this doubt with respect to struc def, capability statement and consent. Are these resources are meerly to educate the end users or allow thirdparty to know the system capabilities or does these play active role in the workflow of fetching a resource data securely as per set rules?

view this post on Zulip Lloyd McKenzie (Jul 22 2020 at 17:40):

Client systems would typically query the 'metadata' endpoint of the server to determine what its capabilities are before interacting with it to do other things. However, they aren't required to do that. And how often they do that is up to them. The CapabilityStatement exposed at metadata allows clients to configure themselves appropriately to interact with the server, but the server is still responsible for rejecting non-valid requests. (And typically, the CapabilityStatement won't be able to express all the rules, so some permissions will only be known by trying something and having it fail.)

view this post on Zulip PKumar (Jul 23 2020 at 13:19):

Thanks very much @Lloyd McKenzie

So, this confirms to me that metadata endpoints are for educating the client on what they can do with my FHIR server and accordingly design their interactions.

view this post on Zulip Lloyd McKenzie (Jul 23 2020 at 14:38):

In your context, yes. You can also have CapabilityStatements that define what systems should do (as part of an implementation guide or an RFP) or as a declaration of what a particular shrink-wrapped piece of software is capable of (independent of where it's installed)

view this post on Zulip PKumar (Jul 23 2020 at 15:03):

Ok @Lloyd McKenzie , Thank You!


Last updated: Apr 12 2022 at 19:14 UTC