Stream: implementers
Topic: Medication query with code parameter
André Sander (Mar 17 2019 at 17:10):
Hi,
how can I search for a medication resource and specify the codesystem along with the code?
Our resources have multiple codes describing the medication (GTIN, NDC, ATC, PZN). Since there is only a parameter for code how can I tell the backend that this code comes from a specific system?
Lloyd McKenzie (Mar 17 2019 at 17:16):
When you're searching for a code, the search type is token. If you read up on the token data type, you'll see that it allows you to match on just the code, code + system and codes that don't have a specified system. (With modifiers you can do other things too like match on text, do subsumption-based searches, etc.). E.g. Observation?code=http%3A//loinc.org|12345-6
.
André Sander (Mar 17 2019 at 21:38):
Thank you very much - appreciate your help!
Last updated: Apr 12 2022 at 19:14 UTC