medkit.text.ner.adicap_norm_attribute
medkit.text.ner.adicap_norm_attribute#
Classes:
|
Attribute describing tissue sample using the ADICAP (Association pour le Développement de l'Informatique en Cytologie et Anatomo-Pathologie) coding. |
- class ADICAPNormAttribute(code, sampling_mode=None, technic=None, organ=None, pathology=None, pathology_type=None, behaviour_type=None, metadata=None, uid=None)[source]#
Attribute describing tissue sample using the ADICAP (Association pour le Développement de l’Informatique en Cytologie et Anatomo-Pathologie) coding.
Cf https://smt.esante.gouv.fr/wp-json/ans/terminologies/document?terminologyId=terminologie-adicap&fileName=cgts_sem_adicap_fiche-detaillee.pdf for a complete description of the coding.
This class is replicating EDS-NLP’s Adicap class, making it a medkit Attribute.
The code field fully describes the tissue sample. Additional information is derived from code in human readable fields (sampling_code, technic, organ, pathology, pathology_type, behaviour_type)
- Variables
uid – Identifier of the attribute
label – The attribute label, always set to
EntityNormAttribute.LABELcode – ADICAP code as a string (ex: “BHGS0040”)
kb_id – Same as code
sampling_mode (Optional[str]) – Sampling mode (ex: “BIOPSIE CHIRURGICALE”)
technic (Optional[str]) – Sampling technic (ex: “HISTOLOGIE ET CYTOLOGIE PAR INCLUSION”)
organ (Optional[str]) – Organ and regions (ex: “SEIN (ÉGALEMENT UTILISÉ CHEZ L’HOMME)”)
pathology (Optional[str]) – General pathology (ex: “PATHOLOGIE GÉNÉRALE NON TUMORALE”)
pathology_type (Optional[str]) – Pathology type (ex: “ETAT SUBNORMAL - LESION MINEURE”)
behaviour_type (Optional[str]) – Behaviour type (ex: “CARACTERES GENERAUX”)
metadata – Metadata of the attribute