Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pmanko committed Jan 10, 2025
1 parent 857bb6a commit 2c0352a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions input/cql/HIVIndicatorElements.cql
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ define "methadone_prescribed at date":

define "methadone_prescribed >= 60mg":
"methadone_prescribed at date" MR
where MR.dosageInstruction >= 60
where exists(MR.dosageInstruction d
where exists d.doseAndRate dr
where dr.dose.value >= 60)

define "buprenorphine_prescribed at date":
[MedicationRequest] MR
Expand All @@ -87,8 +89,9 @@ define "buprenorphine_prescribed at date":

define "buprenorphine_prescribed >= 8mg":
"buprenorphine_prescribed at date" MR
where MR.dosage >= 8

where exists(MR.dosageInstruction d
where exists d.doseAndRate dr
where dr.dose.value >= 60)

define "OAMT_initiated":
exists(
Expand Down

0 comments on commit 2c0352a

Please sign in to comment.