as required

definition: according to need (physicians use PRN in writing prescriptions)
example:
speech part: adverb
synonyms: as needed

How as required is being used?