Visual Infusion Phlebitis Score¶
vips.py defines the visual infusion phlebitis score observation class and its standard behaviour and policy triggers.
-
class
vips.
nh_clinical_patient_observation_vips
(pool, cr)[source]¶ Represents a Visual Infusion Phlebitis Score
observation
, which is used to early detect the possible development of phlebitis on any patient with an intravenous access device in place.The score is computed from several visual assessments done by the medical staff in charge:
pain
,redness
,swelling
, palpable venouscord
andpyrexia
.-
calculate_score
(vips_data)[source]¶ Computes the score based on the VIPS parameters provided.
Parameters: vips_data (dict) – The VIPS parameters: pain
,redness
,swelling
,cord
andpyrexia
.Returns: score
Return type: dict
-
complete
(*args, **kwargs)[source]¶ It determines which acuity case the current observation is in with the stored data and responds to the different policy triggers accordingly defined on the
_POLICY
dictionary.After the policy triggers take place the activity is completed and a new VIPS activity is created. Then the case based frequency is applied, effectively scheduling it.
Returns: True
Return type: bool
-
cord
¶ Parameters: - selection – specifies the possible values for this field. It is given as either a list of pairs (value, string), or a model method, or a method name.
- selection_add – provides an extension of the selection in the case of an overridden field. It is a list of pairs (value, string).
The attribute selection is mandatory except in the case of related fields or field extensions.
-
pain
¶ Parameters: - selection – specifies the possible values for this field. It is given as either a list of pairs (value, string), or a model method, or a method name.
- selection_add – provides an extension of the selection in the case of an overridden field. It is a list of pairs (value, string).
The attribute selection is mandatory except in the case of related fields or field extensions.
-
pyrexia
¶ Parameters: - selection – specifies the possible values for this field. It is given as either a list of pairs (value, string), or a model method, or a method name.
- selection_add – provides an extension of the selection in the case of an overridden field. It is a list of pairs (value, string).
The attribute selection is mandatory except in the case of related fields or field extensions.
-
redness
¶ Parameters: - selection – specifies the possible values for this field. It is given as either a list of pairs (value, string), or a model method, or a method name.
- selection_add – provides an extension of the selection in the case of an overridden field. It is a list of pairs (value, string).
The attribute selection is mandatory except in the case of related fields or field extensions.
-
score
¶
-
swelling
¶ Parameters: - selection – specifies the possible values for this field. It is given as either a list of pairs (value, string), or a model method, or a method name.
- selection_add – provides an extension of the selection in the case of an overridden field. It is a list of pairs (value, string).
The attribute selection is mandatory except in the case of related fields or field extensions.
-