-
Question
-
Resolution: Answered
-
Minor
-
None
-
want to create spec's that are easily understandable and implementable
Is is possible to create a variable like this:
AND:
#Light tobacco user
• OR: Risk Category Assessment: Type of Tobacco Used satisfies all:
o (result: Smokeless Tobacco User)
o Satisfies any:
<= 3 days starts before start of Occurrence A of $EncounterInpatient
<= 1 day starts after or concurrent with start of Occurrence A of $EncounterInpatient
By creating a variable of $RiskCategoryAssessmentTypeTobaccoUsed:
• "Risk Category Assessment: Type of Tobacco Used" satisfies any:
o <= 3 days starts before start of Occurrence A of $EncounterInpatient
o <= 1 day starts after or concurrent with start of Occurrence A of $EncounterInpatient
...the code within the Numerator becomes this:
AND:
#Light tobacco user
• OR: $RiskCategoryAssessmentTypeTobaccoUsed (result: Smokeless Tobacco User)