FHIR Chat · Is a resource instance a business object or a record object? · Medication

Stream: Medication

Topic: Is a resource instance a business object or a record object?


view this post on Zulip Jay Lyle (Oct 17 2019 at 11:31):

A. We may have two different interfaces for medication requests, with different requirements and (possibly) different profiles. If we serve a resource under one profile, and another application asks for that order under a different profile, is it the same resource? Is there even a way to specify a profile in a request?

B. A medication order is created a clinical subsystem and transmitted to a pharmacy subsystem. The second record refers to the first. (Revisions sometimes modify the record and sometimes create a new record.) For now, we are concerned with the most current Pharmacy record, but that will eventually change. Is there one order or two?

view this post on Zulip John Moehrke (Oct 17 2019 at 12:42):

I would expect the same exact resource be returned. The expectation we often use is that the Resource could be signed with that signature placed into a Provenance.signature. Thus to be returning different values to different clients would break signatures. It would also end up with those two clients thinking they had the same data but clearly not having the same data. This would be bad for business and bad for patient safety. And very confusing for medical-records retention.

view this post on Zulip Lloyd McKenzie (Oct 17 2019 at 15:09):

@Jay Lyle A resource is a record of the real-world business object. However, sometimes a resource instance is the only record of that real world business object. It's possible for one instance to be flagged as authoritative (using a tag) and the others not-so-tagged. It's certainly possible to retrieve a subsetted view of a resource. If you choose to store that, you need to store the subsetted tag to reflect that you don't have the whole thing. (Subsetted instances are, by definition, not authoritative.)

view this post on Zulip Hugh Glover (Oct 21 2019 at 10:14):

Real world systems will be a mixed economy of FHIR and other stuff. Any record whether a business object or record object is just data and systems will have do do at least a sanity check on it before treating it as information. The only time you can be clear about the content is when you own every step of the workflow and every part of the systems supporting the workflow.

view this post on Zulip Lloyd McKenzie (Oct 21 2019 at 14:08):

I don't think you have to own them all, but you have to at least negotiated how workflow will function across the systems involved with all participants

view this post on Zulip Jay Lyle (Oct 22 2019 at 12:45):

Many thanks. We have some business analysis to do for B.

For question A, is there some content-negotiation approach for saying "I want this order in profile X, not profile Y"?


Last updated: Apr 12 2022 at 19:14 UTC