How to identify resource type

How can I identity resource type if I have already Loinc and snomed code?
Suppose that I have following codes

1.temperature instability?(Yes/No) -> Loinc code (8310-5) and snomed CT (256237001,123979008,703421000)
2.feeding intolerance?(Yes/No) -> Snomed CT(299698007)

and how can I make query in EHR to get this above given input value.

You might be able to do something like the following:

GET http://my.ehr.com/fhir-3.0.0/Observation?code=8310-5