FHIR Chat · search code.e · javascript

Stream: javascript

Topic: search code.e


view this post on Zulip Marcelo Cabello (Nov 24 2017 at 15:45):

I'm looking to how set a search such in as SQL LIKE for a Drug on Medication using the api js.fhir . Documentation points to use MongoDB syntax to do that . I tried some times without success and I wonder if can do that in fhir.js.

            var queryObject = {
                code: {
                    $text: textToSearch
                },
                _sort: "code"
            };

Any tips to suggest?


Last updated: Apr 12 2022 at 19:14 UTC