The term diatonic has several meanings.
In regards to scales, see:
In regards to interval classification, see: