These codes are used to indicate where a medical service was provided in US healthcare (https://www.cms.gov/medicare/coding-billing/place-of-service-codes/code-sets).
The codes should be 2 digits. Single digits should have a leading 0. It's possible data loading might drop such values, and then this regex would fail.
This regex will also match codes that are currently unassigned (see link above)