Rewriting a Rx recalculates the quantitiy even when a quantity was previously set

Preconditions

an existing drug in the list of medications with non parsable instructions
eg Ativan 1mg 1 po qhs sparingly M:28 R:0

Steps to Reproduce

renew the drug
the previous quantity appears briefly (28) and then gets overwritten with the parsed quantity (in this case it will calculate 0)
Ativan 1mg 1 po qhs sparingly M:0 R:0

Expected Result

Ativan 1mg 1 po qhs sparingly M:28 R:0

Observed Result

Ativan 1mg 1 po qhs sparingly M:28 R:0

Additional Comments

if the calculated quantity from parsing the instructions is 0 please do not overwrite a non zero pre-existing quantity

Assignee

John Wilson

Reporter

Peter H-C

Labels

OSCAR Build Date

2019/07/10

OSCAR Build Tag

991

Client Browser

Firefox

Client OS

Windows 7

Are you or your organization planning on submitting a fix for this bug in the next 30 days?

No

Validated by Reporter

No

SourceForge Link

None

SourceForge Reporter

None

SourceForge Assigned To

None

SourceForge Date Created

None

SourceForge ID

None

Affects versions

Priority

4
Configure