15.4.15. crate_anon.nlp_manager.parse_clinical¶
Copyright (C) 2015-2018 Rudolf Cardinal (rudolf@pobox.com).
This file is part of CRATE.
CRATE is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
CRATE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with CRATE. If not, see <http://www.gnu.org/licenses/>.
-
class
crate_anon.nlp_manager.parse_clinical.
Bmi
(nlpdef: Union[crate_anon.nlp_manager.nlp_definition.NlpDefinition, NoneType], cfgsection: Union[str, NoneType], commit: bool = False)[source]¶ Body mass index (in kg / m^2).
-
class
crate_anon.nlp_manager.parse_clinical.
BmiValidator
(nlpdef: Union[crate_anon.nlp_manager.nlp_definition.NlpDefinition, NoneType], cfgsection: Union[str, NoneType], commit: bool = False)[source]¶ Validator for Bmi (see ValidatorBase for explanation).
-
class
crate_anon.nlp_manager.parse_clinical.
Bp
(nlpdef: Union[crate_anon.nlp_manager.nlp_definition.NlpDefinition, NoneType], cfgsection: Union[str, NoneType], commit: bool = False)[source]¶ Blood pressure, in mmHg. (Since we produce two variables, SBP and DBP, and we use something a little more complex than NumeratorOutOfDenominatorParser, we subclass BaseNlpParser directly.)
-
class
crate_anon.nlp_manager.parse_clinical.
BpValidator
(nlpdef: Union[crate_anon.nlp_manager.nlp_definition.NlpDefinition, NoneType], cfgsection: Union[str, NoneType], commit: bool = False)[source]¶ Validator for Bp (see ValidatorBase for explanation).
-
class
crate_anon.nlp_manager.parse_clinical.
Height
(nlpdef: Union[crate_anon.nlp_manager.nlp_definition.NlpDefinition, NoneType], cfgsection: Union[str, NoneType], commit: bool = False, debug: bool = False)[source]¶ Height. Handles metric and imperial.
-
class
crate_anon.nlp_manager.parse_clinical.
HeightValidator
(nlpdef: Union[crate_anon.nlp_manager.nlp_definition.NlpDefinition, NoneType], cfgsection: Union[str, NoneType], commit: bool = False)[source]¶ Validator for Height (see ValidatorBase for explanation).