FHIR Chat · FHIR - Condition.subject when searching for conditions · implementers

Stream: implementers

Topic: FHIR - Condition.subject when searching for conditions


view this post on Zulip Nathan Hall (Oct 04 2018 at 22:12):

Let's say I'm searching a fhir rest api for conditions with no patient attached to it, e.g., I want to get back icd10s that match ear. The condition resource requires the subject field. What's the desired outcome here? Do I make a <contained> <condition> or am I thinking about this incorrectly?

view this post on Zulip Michele Mottini (Oct 04 2018 at 23:59):

The Condition resource represent the condition / problem that specific patients have (or had), so there is no 'Condition with no patient attached

view this post on Zulip Michele Mottini (Oct 05 2018 at 00:00):

If you want something like 'all possible conditions' that would probably be a ValueSet or CodeSystem

view this post on Zulip Nathan Hall (Oct 10 2018 at 18:22):

what would be the best way to search for icd-10 with description containing the word brain? what would be the url that someone would hit?

view this post on Zulip Nathan Hall (Oct 10 2018 at 18:23):

http://www.myhost.com/CodeSystem?system=http://canonical-icd10-uri.com&description=brain .. or something else

view this post on Zulip Grahame Grieve (Oct 10 2018 at 18:24):

acme.com/fhir/ValueSet/$expand?text=brain&url=[???]

view this post on Zulip Grahame Grieve (Oct 10 2018 at 18:24):

@Rob Hausam we haven't defined this...?

view this post on Zulip Yunwei Wang (Oct 10 2018 at 18:29):

/ValueSet/$expand?filter=brain&url=http://hl7.org/fhir/sid/icd-10

Need to define an ICD-10 valueset first.

view this post on Zulip Nathan Hall (Oct 10 2018 at 18:31):

great thank you both

view this post on Zulip Rob Hausam (Oct 10 2018 at 20:12):

Yes, I think Yunwei's suggestion will normally work (although there could be some differences in implementation across servers). We haven't defined implicit value sets for ICD-[X] yet, but if and when we do that could be used (only "all codes" is needed for this).


Last updated: Apr 12 2022 at 19:14 UTC