FreeMED Opensource EMR/PM Software |
FreeMED. AuthorizationsHandle all aspects of authorizations for patient visits. This allows calculation and manipulation of visits by coverages and office visits. Summary
replace
Puts an authorization back to pre-appointment status. This has the exact opposite effect as use_authorization, as it increases the number of visits remaining on an authorization. Parameters
ReturnsBoolean, successful See Alsouse_authorization
”Use” an authorization. This computes remaining visits and other information for the authorization. This has the exact opposite effect as <replace_authorization>. Parameters
ReturnsBoolean, successful See Also<replace_authorization> valid_set
Find set of valid authorizations from a set of unvalidated authorization keys. Parameters
ReturnsArray of valid authorization keys, or NULL array if none exist. See Also |
Find authorizations based on a coverage id
function find_by_coverage ( $coverage )
Gets the SQL record associated with an authorization.
function get_authorization ( $auth )
Puts an authorization back to pre-appointment status.
function replace_authorization ( $auth )
“Use” an authorization.
function use_authorization ( $auth )
Determine if an authorization is valid, based on the date given.
function valid ( $auth, $date = NULL )
Find set of valid authorizations from a set of unvalidated authorization keys.
function valid_set ( $set, $date = NULL )