What are the criteria for capitalizing development expenditure under IAS 38?

Under IAS 38 Intangible Assets, research costs must always be expensed. Development costs must only be capitalized when all six PIRATE criteria are met: