phenopacket_mapper.data_standards.data_model module
- class phenopacket_mapper.data_standards.data_model.DataField(name: str, section: str, description: str, data_type: List[type | CodeSystem | str], required: bool = True, specification: str = None, ordinal: str = None)[source]
Bases:
object
This class defines fields used in the definition of a DataModel
- data_type: List[type | CodeSystem | str]
- class phenopacket_mapper.data_standards.data_model.DataFieldValue(field: DataField, value: int | float | str | bool | Date | CodeSystem)[source]
Bases:
object
This class defines the value of a DataField in a DataModelInstance