FHIR Chat · Applications enabled per facility · implementers

Stream: implementers

Topic: Applications enabled per facility


view this post on Zulip James Dinsmore (Jan 19 2022 at 16:23):

Is there anything in the FHIR spec that can be used to indicate the applications that are enabled on a per hospital/clinic facility basis? We are using the Organization endpoint to generate facility records.

view this post on Zulip Lloyd McKenzie (Jan 20 2022 at 02:43):

Application would typically be represented as a Device. What do you mean by "enabled"? Do you mean "this must be configured to allow use for data associated with this Organization"?

view this post on Zulip James Dinsmore (Jan 20 2022 at 14:49):

By "enabled" I mean active/on. Certain applications in the hospital or clinic are sold as separate add-on features and activated once purchased. So we want the ability to query Organization and limit the results to only those entries where a certain application is active.

In one implementation we just added a custom search parameter to filter Organization but I don't think that was the proper solution. Another solution that was suggested was to use a _list filter with an operation (e.g. _list=$applicationA-active) but that too seems wrong.

I do see that Device.owner references Organization. Our only use thus far of Device has been for implantable devices.

If Device is the correct location for listing these applications I'm having a difficult time seeing how I can properly define its elements.

Would we just use (at a minimum) Device.status (active | inactive), Device.deviceName.name, Device.deviceName.type (with a code of "other"), and Device.owner?

view this post on Zulip Daniel Venton (Jan 20 2022 at 15:18):

It seems to me that since you are trying to do something that isn't directly related to healthcare (software licensing management) there aren't going to be any good matches for resources to meet your need. Anything you do implement is probably going to have to be custom (whether search params or a custom use of a generic resource).

Perhaps you'd use a Contract resource. You the developer (organization) have contracted with a healthcare facility (organization) to provide an Application for an amount of time.
Then you could search for all Contracts (that were in force) for a specific application and _include all the referenced Organization resources.

view this post on Zulip James Dinsmore (Jan 20 2022 at 19:04):

@Lloyd McKenzie I'd like to get your opinion on my response above and Daniel's response.

view this post on Zulip Lloyd McKenzie (Jan 21 2022 at 04:28):

I do agree with Daniel that software license management is well outside the intended scope of FHIR. (That doesn't mean that FHIR isn't regularly used outside its intended scope though :>). Device corresponds to a software 'instance'. So if each organization has its own 'instance', it'd be a simple query of "what organizations own instance of device with type X?". On the other hand if there's a single instance which has permission to function for users from one organization but not another, then you might look at the new Permission resource in the R5 build. (If you're using R4, you may be stuck using Basic to approximate it, but at least you can be forward-looking.) It certainly true that you're unlikely to find any pre-configured solutions that will directly support your requirement without a bit of coaxing.


Last updated: Apr 12 2022 at 19:14 UTC