This tune is transcribed in David Taylor’s "Music for the Sets — the Yellow Book" (Mallinson, 1995). There don’t seem to be any other published sources.
Not to be confused with this other warning:
Dr Bell fell down the well
And broke his collar bone
Doctors should attend the sick
And leave the well alone.