Stream: implementers
Topic: Fetch resources for specific Profile
Anand Jahagirdar (Dec 06 2021 at 10:58):
I have defined profiles in the following way:
LabProfile ->CreatinineProfile
Here LabProfile is generic profile and Creatinine is specific profile for one of the Lab result type.
Currently while storing the FHIR resources, I am validating against LabProfiles and tagging with _profile as LabProfile in the meta of the resource.
But while fetching I would like to search for resources with specific CreatinineProfile ( even though I did not tag it while storing).
Not sure how to achieve this?
is there any way to search resources adhering to specific profiles on the fly ( even when resource meta does not contain the profile name explicitly ) ?
Michele Mottini (Dec 06 2021 at 14:37):
Do you really need a profile for a single specific lab? Search by _profile is not widely implemented and somewhat discouraged. Better to search for the creatinine lab code
Last updated: Apr 12 2022 at 19:14 UTC