-
Notifications
You must be signed in to change notification settings - Fork 0
/
concepts.py
71 lines (61 loc) · 1.63 KB
/
concepts.py
1
2
3
4
5
6
7
8
9
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
from execution_engine.omop.concepts import Concept
OMOP_INTENSIVE_CARE = 32037
OMOP_INPATIENT_VISIT = 9201
OMOP_OUTPATIENT_VISIT = 9202
OMOP_SURGICAL_PROCEDURE = 4301351 # OMOP surgical procedure
OMOP_MMSE = 40491929
OMOP_ASA = 4199571
OMOP_MINICOG = 37017178
OMOP_MOCA = 37174522
OMOP_RASS = 36684829
# Gender
OMOP_GENDER_FEMALE = 8532
OMOP_GENDER_MALE = 8507
IntensiveCare = Concept(
concept_id=OMOP_INTENSIVE_CARE,
concept_name="Intensive Care",
concept_code="Intensive Care",
domain_id="Visit",
vocabulary_id="Custom",
concept_class_id="Custom",
)
InpatientVisit = Concept(
concept_id=OMOP_INPATIENT_VISIT,
concept_name="Inpatient Visit",
concept_code="Inpatient Visit",
domain_id="Visit",
vocabulary_id="Custom",
concept_class_id="Custom",
)
OutpatientVisit = Concept(
concept_id=OMOP_OUTPATIENT_VISIT,
concept_name="Outpatient Visit",
concept_code="Outpatient Visit",
domain_id="Visit",
vocabulary_id="Custom",
concept_class_id="Custom",
)
MMSE = Concept(
concept_id=OMOP_MMSE,
concept_name="Mini-mental state examination score",
concept_code="447316007",
domain_id="Measurement",
vocabulary_id="SNOMED",
concept_class_id="Observable Entity",
)
unit_score = Concept(
concept_id=44777566,
concept_name="score",
concept_code="score",
domain_id="Unit",
vocabulary_id="UCUM",
concept_class_id="Unit",
)
RASS = Concept(
concept_id=OMOP_RASS,
concept_name="Richmond Agitation-Sedation Scale",
concept_code="457441000124102",
domain_id="Measurement",
vocabulary_id="SNOMED",
concept_class_id="Staging / Scales",
)