An interesting problem came up this week. We encountered a situation where the we needed a document’s location abbreviation instead of the full name.
Centricity supports several expressions that retrieve the locations, but not all methods include the abbreviation:
- DOCUMENT.LOCOFCARENAME
- DOCUMENT.LOCOFCARE (undocumented)
- PATIENT.HOMELOCATIONNAME
- PATIENT.HOMELOCATIONABBREVNAME
- USER.CURLOCATIONNAME
- USER.CURLOCATIONABBREVNAME
- USER.HOMELOCATIONNAME
To get the abbreviation for the document’s location, this expression appears to work well with a single call:
{find('AllLocation', 'ABBREVNAME', 'LOCID', DOCUMENT.LOCOFCARE)}
DOCUMENT.LOCOFCARE actually returns the LOCID for the document’s location of care. This allows find to use the location abbreviation using the table’s key.