OSCAR build date: March 21 2015
OSCAR build tag: 477
Client browser: Firefox 17 ESR
Client OS: Windows 7
Preconditions:
- Demographic must an have expired and "longterm" (0 days to expiry) drug in Medications area
- For comparison, demographic should also have an active drug (30 + days to expiry)
- For further comparison, demographic should also have an expired and "acute" drug
Steps to reproduce:
- Go to echart of pre-set demographic
- Notice drugs listed under "Medication" heading include the active drug, as well as the expired longterm drug
- expired acute drug does not show
- Click on the "+" next to "Consultations" and scroll to the bottom "Medications" area
- Notice only active drug displays
Expected Result:
- Medications area of "Consultations" screen should show active drugs (acute and longterm) as well as expired longterm. Same logic as which drugs show/dont show on eChart screen.
Observed:
- Only active drugs display, and expired longterm drugs do not.
Other details:
- The "Longterm" drugs should always show as a "current" medication, regardless of expiry status. Longterm drugs should not disappear from any record of drugs until the physicians marks them as "deleted" or "discontinued".
This behaviour also occurs in Master (build # 2393).
fixed RxPrescriptionData.isCurrent
it affects a number of places that call this.
add a long term drug if it's not deleted (archived) and not discontinued.
https://source.oscartools.org:8080/11786
Can you please indicate link for R12.1 fix?
cant cherry pick.so another fix will need to be done for R12.1
Ok, if you are not working on it soon, feel free to assign to me, I would implement the same changes to R12.1
R12.1: https://source.oscartools.org:8080/#/c/12567/
Re-tested Master and R12_1 -> issue has been resolved.