has
Provides limited support for the reverse chaining on https://www.hl7.org/fhir/search.html#has. For example: search all Patient that have Condition - Diabetes. This search uses the subject field in the Condition resource. Code snippet:
FhirEngine.search<Patient> {
has<Condition>(Condition.SUBJECT) {
filter(Condition.CODE, Coding("http://snomed.info/sct", "44054006", "Diabetes"))
}
}
Sources
androidJvm source
Link copied to clipboard