edsteva.probes.note.note
NoteProbe
Bases: BaseProbe
The NoteProbe
computes \(c(t)\) the availability of clinical documents
PARAMETER | DESCRIPTION |
---|---|
completeness_predictor |
Algorithm used to compute the completeness predictor EXAMPLE:
TYPE:
|
ATTRIBUTE | DESCRIPTION |
---|---|
_completeness_predictor |
Algorithm used to compute the completeness predictor VALUE:
TYPE:
|
_index |
Variable from which data is grouped VALUE: ["care_site_level", "stay_type", "length_of_stay", "note_type", "care_site_id", "care_site_specialty", "specialties_set"]``
TYPE:
|
_viz_config |
Dictionary of configuration for visualization purpose. VALUE:
TYPE:
|
care_site_relationship |
It describes the care site structure and gives the hierarchy of the different care site levels. (cf.
TYPE:
|
Source code in edsteva/probes/note/note.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 |
|
compute_process
compute_process(
data: Data,
start_date: datetime,
end_date: datetime,
note_types: Union[bool, str, Dict[str, str]] = {
"Urgence": "urge",
"Ordonnance": "ordo",
"CRH": "crh",
},
extra_data: Data = None,
care_site_ids: List[int] = None,
care_site_short_names: List[str] = None,
care_site_levels: Union[bool, str, List[str]] = True,
care_sites_sets: Union[str, Dict[str, str]] = None,
care_site_specialties: Union[bool, List[str]] = None,
specialties_sets: Union[str, Dict[str, str]] = None,
stay_types: Union[bool, str, Dict[str, str]] = True,
stay_sources: Union[bool, str, Dict[str, str]] = None,
length_of_stays: List[float] = None,
provenance_sources: Union[
bool, str, Dict[str, str]
] = None,
condition_types: Union[
bool, str, Dict[str, str]
] = None,
drg_sources: Union[bool, str, Dict[str, str]] = None,
age_ranges: List[int] = None,
gender_source_values: Union[
bool, str, Dict[str, str]
] = None,
**kwargs
)
Script to be used by compute()
PARAMETER | DESCRIPTION |
---|---|
data |
Instantiated
TYPE:
|
start_date |
EXAMPLE:
TYPE:
|
end_date |
EXAMPLE:
TYPE:
|
note_types |
EXAMPLE:
TYPE:
|
extra_data |
Instantiated
TYPE:
|
care_site_ids |
EXAMPLE:
TYPE:
|
care_site_short_names |
EXAMPLE:
TYPE:
|
care_site_levels |
EXAMPLE:
TYPE:
|
care_sites_sets |
EXAMPLE:
TYPE:
|
care_site_specialties |
EXAMPLE:
TYPE:
|
specialties_sets |
EXAMPLE:
TYPE:
|
stay_types |
EXAMPLE:
TYPE:
|
stay_sources |
EXAMPLE:
TYPE:
|
length_of_stays |
EXAMPLE:
TYPE:
|
provenance_sources |
EXAMPLE:
TYPE:
|
condition_types |
EXAMPLE:
TYPE:
|
drg_sources |
EXAMPLE:
TYPE:
|
age_ranges |
EXAMPLE:
TYPE:
|
gender_source_values |
EXAMPLE:
TYPE:
|
Source code in edsteva/probes/note/note.py
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 |
|