NextGen Knowledge Center

ISLOCKED Function

Use:Checks if an encounter is locked or not. You can pass in an encounter id if the user wants to know if an encounter is locked other than the current encounter.
Syntax:
{ISLOCKED( <<string>> )}
Arguments:

<<string>>
    Encounter ID
Returns:1 = Displays 1 when the encounter is locked

0 = Displays 0 when the encounter is open or unlocked

Example:
{ISLOCKED( {@EN.ID})}

Result: Displays 1 if the encounter is locked else 0.