Base Extension

Extends nh_clinical_location for additional Open eObs UI.

UI Location

class base_extension.nh_ui_location[source]

Extends location.

_get_patient_info(cr, uid, ids, field_names, arg, context=None)[source]

Used by function fields patient_score and patient_risk to get the current EWS information for each patient in an open spell.

create(cr, uid, vals, context=None)[source]

Extends Odoo’s create(), refreshing the materialized view ward_locations.

search(cr, uid, domain, offset=0, limit=None, order=None, context=None, count=False)[source]

Extends Odoo’s search(), allowing users who are members of the Ward Manager group to search from all locations for which they’re responsible for.