FHIR Chat · Searching for resources by Identifier · hapi

Stream: hapi

Topic: Searching for resources by Identifier


view this post on Zulip Andrew Broadbent (Apr 06 2017 at 15:53):

Hi there, I've noticed that most (if not all) resource types have the optional element 'Identifier', e.g. Patient.Identifier. Since resource references work by logical id, which isn't assigned until you upload the resource, I've been using the identifier element to hold a business identifier, so that I can hook up the references once everything is imported.

What I'm wondering now is, how do I actually search for a resource using a given identifier? E.g. I have Patient 1 and 2 (P1 and P2). P1 has the business identifier of system="test.com" and value="1", whilst P2 has the business identifier of system="test.com" and value="2". P2 contains some data in it which contains the business id 'test.com' and '1'. What would a fhir search look like to find these? I'm currently using dstu2, so I can't use search parameters.

view this post on Zulip Grahame Grieve (Apr 06 2017 at 21:33):

see http://hl7.org/fhir/DSTU2/search.html#token


Last updated: Apr 12 2022 at 19:14 UTC