mex.extractors.ifsg.models package¶
Submodules¶
mex.extractors.ifsg.models.meta_catalogue2item module¶
- class mex.extractors.ifsg.models.meta_catalogue2item.MetaCatalogue2Item(*, IdItem: int, IdCatalogue: int, IdCatalogue2Item: int)¶
Bases:
BaseModel
Model class for ifsg catalogue2item entities.
- id_catalogue: int¶
- id_catalogue2item: int¶
- id_item: int¶
- model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}¶
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
- model_config: ClassVar[ConfigDict] = {'extra': 'ignore', 'populate_by_name': True, 'str_max_length': 100000, 'str_min_length': 1, 'str_strip_whitespace': True, 'use_enum_values': True, 'validate_assignment': True, 'validate_default': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[Dict[str, FieldInfo]] = {'id_catalogue': FieldInfo(annotation=int, required=True, alias='IdCatalogue', alias_priority=2), 'id_catalogue2item': FieldInfo(annotation=int, required=True, alias='IdCatalogue2Item', alias_priority=2), 'id_item': FieldInfo(annotation=int, required=True, alias='IdItem', alias_priority=2)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
This replaces Model.__fields__ from Pydantic V1.
mex.extractors.ifsg.models.meta_catalogue2item2schema module¶
- class mex.extractors.ifsg.models.meta_catalogue2item2schema.MetaCatalogue2Item2Schema(*, IdCatalogue2Item: int)¶
Bases:
BaseModel
Model class for ifsg catalogue2item2schema entities.
- id_catalogue2item: int¶
- model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}¶
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
- model_config: ClassVar[ConfigDict] = {'extra': 'ignore', 'populate_by_name': True, 'str_max_length': 100000, 'str_min_length': 1, 'str_strip_whitespace': True, 'use_enum_values': True, 'validate_assignment': True, 'validate_default': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[Dict[str, FieldInfo]] = {'id_catalogue2item': FieldInfo(annotation=int, required=True, alias='IdCatalogue2Item', alias_priority=2)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
This replaces Model.__fields__ from Pydantic V1.
mex.extractors.ifsg.models.meta_datatype module¶
- class mex.extractors.ifsg.models.meta_datatype.MetaDataType(*, IdDataType: int, DataTypeName: str)¶
Bases:
BaseModel
Model class for ifsg MetaDataType entities.
- data_type_name: str¶
- id_data_type: int¶
- model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}¶
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
- model_config: ClassVar[ConfigDict] = {'extra': 'ignore', 'populate_by_name': True, 'str_max_length': 100000, 'str_min_length': 1, 'str_strip_whitespace': True, 'use_enum_values': True, 'validate_assignment': True, 'validate_default': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[Dict[str, FieldInfo]] = {'data_type_name': FieldInfo(annotation=str, required=True, alias='DataTypeName', alias_priority=2), 'id_data_type': FieldInfo(annotation=int, required=True, alias='IdDataType', alias_priority=2)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
This replaces Model.__fields__ from Pydantic V1.
mex.extractors.ifsg.models.meta_disease module¶
- class mex.extractors.ifsg.models.meta_disease.MetaDisease(*, ICD10Code: str | None, IdType: int, IdSchema: int, ReferenceDefA: bool, ReferenceDefB: bool, ReferenceDefC: bool, ReferenceDefD: bool, ReferenceDefE: bool, IfSGBundesland: bool, InBundesland: str | None, DiseaseName: str | None, DiseaseNameEN: str | None, SpecimenName: str | None)¶
Bases:
BaseModel
Model class for ifsg meta disease entities.
- disease_name: str | None¶
- disease_name_en: str | None¶
- icd10_code: str | None¶
- id_schema: int¶
- id_type: int¶
- ifsg_bundesland: bool¶
- in_bundesland: str | None¶
- model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}¶
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
- model_config: ClassVar[ConfigDict] = {'extra': 'ignore', 'populate_by_name': True, 'str_max_length': 100000, 'str_min_length': 1, 'str_strip_whitespace': True, 'use_enum_values': True, 'validate_assignment': True, 'validate_default': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[Dict[str, FieldInfo]] = {'disease_name': FieldInfo(annotation=Union[str, NoneType], required=True, alias='DiseaseName', alias_priority=2), 'disease_name_en': FieldInfo(annotation=Union[str, NoneType], required=True, alias='DiseaseNameEN', alias_priority=2), 'icd10_code': FieldInfo(annotation=Union[str, NoneType], required=True, alias='ICD10Code', alias_priority=2), 'id_schema': FieldInfo(annotation=int, required=True, alias='IdSchema', alias_priority=2), 'id_type': FieldInfo(annotation=int, required=True, alias='IdType', alias_priority=2), 'ifsg_bundesland': FieldInfo(annotation=bool, required=True, alias='IfSGBundesland', alias_priority=2), 'in_bundesland': FieldInfo(annotation=Union[str, NoneType], required=True, alias='InBundesland', alias_priority=2), 'reference_def_a': FieldInfo(annotation=bool, required=True, alias='ReferenceDefA', alias_priority=2), 'reference_def_b': FieldInfo(annotation=bool, required=True, alias='ReferenceDefB', alias_priority=2), 'reference_def_c': FieldInfo(annotation=bool, required=True, alias='ReferenceDefC', alias_priority=2), 'reference_def_d': FieldInfo(annotation=bool, required=True, alias='ReferenceDefD', alias_priority=2), 'reference_def_e': FieldInfo(annotation=bool, required=True, alias='ReferenceDefE', alias_priority=2), 'specimen_name': FieldInfo(annotation=Union[str, NoneType], required=True, alias='SpecimenName', alias_priority=2)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
This replaces Model.__fields__ from Pydantic V1.
- reference_def_a: bool¶
- reference_def_b: bool¶
- reference_def_c: bool¶
- reference_def_d: bool¶
- reference_def_e: bool¶
- specimen_name: str | None¶
mex.extractors.ifsg.models.meta_field module¶
- class mex.extractors.ifsg.models.meta_field.MetaField(*, GuiText: str, GuiTooltip: str | None, IdCatalogue: int, IdType: int, IdDataType: int, IdField: int, IdFieldType: int, ToTransport: int, Sort: int, StatementAreaGroup: str | None)¶
Bases:
BaseModel
Model class for ifsg meta field entities.
- gui_text: str¶
- gui_tool_tip: str | None¶
- id_catalogue: int¶
- id_data_type: int¶
- id_field: int¶
- id_field_type: int¶
- id_type: int¶
- model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}¶
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
- model_config: ClassVar[ConfigDict] = {'extra': 'ignore', 'populate_by_name': True, 'str_max_length': 100000, 'str_min_length': 1, 'str_strip_whitespace': True, 'use_enum_values': True, 'validate_assignment': True, 'validate_default': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[Dict[str, FieldInfo]] = {'gui_text': FieldInfo(annotation=str, required=True, alias='GuiText', alias_priority=2), 'gui_tool_tip': FieldInfo(annotation=Union[str, NoneType], required=True, alias='GuiTooltip', alias_priority=2), 'id_catalogue': FieldInfo(annotation=int, required=True, alias='IdCatalogue', alias_priority=2), 'id_data_type': FieldInfo(annotation=int, required=True, alias='IdDataType', alias_priority=2), 'id_field': FieldInfo(annotation=int, required=True, alias='IdField', alias_priority=2), 'id_field_type': FieldInfo(annotation=int, required=True, alias='IdFieldType', alias_priority=2), 'id_type': FieldInfo(annotation=int, required=True, alias='IdType', alias_priority=2), 'sort': FieldInfo(annotation=int, required=True, alias='Sort', alias_priority=2), 'statement_area_group': FieldInfo(annotation=Union[str, NoneType], required=True, alias='StatementAreaGroup', alias_priority=2), 'to_transport': FieldInfo(annotation=int, required=True, alias='ToTransport', alias_priority=2)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
This replaces Model.__fields__ from Pydantic V1.
- sort: int¶
- statement_area_group: str | None¶
- to_transport: int¶
mex.extractors.ifsg.models.meta_item module¶
- class mex.extractors.ifsg.models.meta_item.MetaItem(*, ItemName: str, ItemNameEN: Annotated[str | None, MinLen(min_length=0)], IdItem: int)¶
Bases:
BaseModel
Model class for ifsg meta item entities.
- id_item: int¶
- item_name: str¶
- item_name_en: str | None¶
- model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}¶
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
- model_config: ClassVar[ConfigDict] = {'extra': 'ignore', 'populate_by_name': True, 'str_max_length': 100000, 'str_min_length': 1, 'str_strip_whitespace': True, 'use_enum_values': True, 'validate_assignment': True, 'validate_default': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[Dict[str, FieldInfo]] = {'id_item': FieldInfo(annotation=int, required=True, alias='IdItem', alias_priority=2), 'item_name': FieldInfo(annotation=str, required=True, alias='ItemName', alias_priority=2), 'item_name_en': FieldInfo(annotation=Union[str, NoneType], required=True, alias='ItemNameEN', alias_priority=2, metadata=[MinLen(min_length=0)])}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
This replaces Model.__fields__ from Pydantic V1.
mex.extractors.ifsg.models.meta_schema2field module¶
- class mex.extractors.ifsg.models.meta_schema2field.MetaSchema2Field(*, IdSchema: int, IdField: int)¶
Bases:
BaseModel
Model class for ifsg schema2field entities.
- id_field: int¶
- id_schema: int¶
- model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}¶
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
- model_config: ClassVar[ConfigDict] = {'extra': 'ignore', 'populate_by_name': True, 'str_max_length': 100000, 'str_min_length': 1, 'str_strip_whitespace': True, 'use_enum_values': True, 'validate_assignment': True, 'validate_default': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[Dict[str, FieldInfo]] = {'id_field': FieldInfo(annotation=int, required=True, alias='IdField', alias_priority=2), 'id_schema': FieldInfo(annotation=int, required=True, alias='IdSchema', alias_priority=2)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
This replaces Model.__fields__ from Pydantic V1.
mex.extractors.ifsg.models.meta_schema2type module¶
- class mex.extractors.ifsg.models.meta_schema2type.MetaSchema2Type(*, IdSchema: int, IdType: int)¶
Bases:
BaseModel
Model class for ifsg schema2type entities.
- id_schema: int¶
- id_type: int¶
- model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}¶
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
- model_config: ClassVar[ConfigDict] = {'extra': 'ignore', 'populate_by_name': True, 'str_max_length': 100000, 'str_min_length': 1, 'str_strip_whitespace': True, 'use_enum_values': True, 'validate_assignment': True, 'validate_default': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[Dict[str, FieldInfo]] = {'id_schema': FieldInfo(annotation=int, required=True, alias='IdSchema', alias_priority=2), 'id_type': FieldInfo(annotation=int, required=True, alias='IdType', alias_priority=2)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
This replaces Model.__fields__ from Pydantic V1.
mex.extractors.ifsg.models.meta_type module¶
- class mex.extractors.ifsg.models.meta_type.MetaType(*, Code: str, IdType: int, SqlTableName: str)¶
Bases:
BaseModel
Model class for ifsg meta type entities.
- code: str¶
- id_type: int¶
- model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}¶
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
- model_config: ClassVar[ConfigDict] = {'extra': 'ignore', 'populate_by_name': True, 'str_max_length': 100000, 'str_min_length': 1, 'str_strip_whitespace': True, 'use_enum_values': True, 'validate_assignment': True, 'validate_default': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[Dict[str, FieldInfo]] = {'code': FieldInfo(annotation=str, required=True, alias='Code', alias_priority=2), 'id_type': FieldInfo(annotation=int, required=True, alias='IdType', alias_priority=2), 'sql_table_name': FieldInfo(annotation=str, required=True, alias='SqlTableName', alias_priority=2)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
This replaces Model.__fields__ from Pydantic V1.
- sql_table_name: str¶