I believe the depicted tautomer for meloxicam is not energetically favorable. It should be ring hydroxyl and regular amide for the chain. The same goes for the related piroxicam.