Other functions - ndobb/clinical-trials-seq2seq-annotation GitHub Wiki
insur()
insur()
represent a patient's insurance status.
Arguments -
- Quoted Text, e.g.,
insur("medicare")
, or - No arguments.
Example -
'EXC'
'- no medication insurance'
'- neg() medication insur("insurance")'
neg(
insur("insurance")
)
clin()
clin()
a clinic and is always within an .loc()
method.
Arguments -
- Quoted Text, e.g.,
clin("Adult Medicine Clinic")
, or - No arguments.
Example -
'INC'
'- patients in different age groups and both sex referred from orthopedic outpatient
clinic with chronic ankle pain and suspected clinically to have impingement syndrome .'
'- patients in different age groups and both sex enc(REFERRAL) from
enc(clin("orthopedic outpatient clinic")) with chronic() obs("ankle pain") and possible()
clinically to have cond("impingement syndrome") .'
enc(REFERRAL)
.loc(
clin("orthopedic outpatient clinic")
)
.for(
obs("ankle pain")
.chronic(),
cond("impingement syndrome")
.possible()
)
hosp()
hosp()
a hospital and is always within an .loc()
method.
Arguments -
- Quoted Text, e.g.,
hosp("acute care hospitals")
, or - No arguments.
Example -
'INC'
'- ( 4 ) having routine prenatal visits and plan to have the birth in the
medical center'
'- ( 4 ) eq(temporal_per(PRESENT)) routine mod("prenatal") enc(OUTPATIENT)
and eq(temporal_per(FUTURE)) to have the birth() in the loc(hosp("medical center"))'
intersect(
enc(OUTPATIENT)
.mod("prenatal")
.temporality(
eq(temporal_per(PRESENT))
),
birth()
.temporality(
eq(temporal_per(FUTURE))
)
.loc(
hosp("medical center")
)
)
res()
res()
refers to a residence and is always within an .loc()
method.
Arguments -
- Quoted Text, e.g.,
res("Germany")
Example -
'INC'
'- patients recipients in France from 2008 to 2015 of a first kidney transplant'
'- patients recipients in loc(res("France")) from eq(val("2008"), op(BETWEEN), val("2015"))
of a eq(temporal_rec(FIRST_TIME)) mod("kidney") proc("transplant")
proc("transplant")
.loc(
res("France")
)
.temporality(
eq(val("2008"), op(BETWEEN), val("2015"))
)
.temporality(
eq(temporal_rec(FIRST_TIME))
)
.mod("kidney")
risk()
risk()
refers to a patient's risk of having a given cond()
or other function.
Arguments -
- A function (typically a
cond()
) for which patients are at risk.
Example -
'INC'
'3. Any patient who is high risk for SOS irrespective of conditioning regimen :'
'3. Any patient who is pol(HIGH) risk() for cond("SOS") irrespective of conditioning regimen :'
risk(
cond("SOS")
)
.pol(HIGH)
unit()
unit()
a unit or department within a hospital and is always within an .loc()
method.
Arguments -
- Quoted Text, e.g.,
unit("trauma department")
, or - No arguments.
Example -
'INC'
'adult patients ( age 18 and above ) who admitted to burn unit
during sampling period'
'adult() patients ( eq(op(GTEQ),val("18")) ) who enc(INPATIENT)
to loc(unit("burn unit")) during sampling period'
intersect(
adult()
.equiv(
age().num_filter(eq(op(GTEQ), val("18")))
),
enc(INPATIENT)
.loc(
unit("burn unit")
)
)