I'm calling this:
http://www.overpass-api.de/api/xapi?debug=*[amenity=hospital][bbox=13.20524,43.70861,13.22842,43.72338]
And I have a result that is correct, since it shows me the only hospital in the area. Then, following the instructions explained in this answer, I've modified the call like this:
https://www.overpass-api.de/api/interpreter?data=[out:json];node[amenity=hospital](43.70861,13.20524,43.72338,13.22842);out%20meta;
With this I do not have the same result, since "elements" is empty, like there is no hospital in the area. If I remove the "amenity=hospital" filter, I do have correct nodes from the area selected (but still, not the hospital!), so why the results are different?
Also, If I wanted to use the first solution, how could I read the xapi file I get? (I'm using angular for a web app)