Stream: Profiling Academy
Topic: Derive search query from FHIR Profile
Moritz Kähler (Jan 26 2022 at 10:44):
Is there a way to use the FHIR profiles to find data that is complaint to a given profile without relying on the meta.profile tag?
I'm looking for a way to "translate" a FHIR profile into a search query.
Richard Townley-O'Neill (Jan 27 2022 at 00:10):
AFAIK the only ways to know that a resource conforms to a profile are to validate it for conformance, or to trust the source. :grinning:
Validation can be done with https://www.hl7.org/fhir/resource-operation-validate.html
So you could use the validate operation to filter candidates.
Richard Townley-O'Neill (Jan 27 2022 at 00:11):
This is not my area.
Moritz Kähler (Jan 27 2022 at 08:08):
Thanks for you answer. I know, that validation can be used to check if a resource is is complaint to a given profile.
If I would use the validator for this scenario, I would have to retch all resources of a given type and run the validation. This is to expensive to be used in every load query.
Last updated: Apr 12 2022 at 19:14 UTC