# NOT RUN {
# Determine clients who have medication refill in Q2 of FY21
tx_appointment(ndr_example,
from = "2021-06-01",
to = "2021-09-30"
)
# Determine clients who have medication refill in July 2021
tx_appointment(ndr_example,
from = "2021-07-01",
to = "2021-07-31",
)
# Determine clients with medication refill in "Okun" state for a particular facility
tx_appointment(ndr_example,
from = "2021-01-01",
states = "Okun",
facilities = "Facility1"
)
# }
Run the code above in your browser using DataLab